/* VMCSoft Digital - Optimized Stylesheet */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #059669;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-accent: #f1f5f9;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 50%, #1d4ed8 100%);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

header > * {
  position: relative;
  z-index: 1;
}

header p.header-subtitle {
  color: white;
}

header img {
  height: 100px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

header img:hover {
  transform: scale(1.05);
}

header h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 0;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

section {
  margin-bottom: 4rem;
}

section .section-title {
  text-align: center;
}

section:last-child {
  margin-bottom: 0;
}

/* About Section */
.about-content {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Brands Section */
.brands {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.brand-box {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.brand-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.brand-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
  border-color: var(--primary);
}

.brand-box h3 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-box h3::after {
  content: '→';
  font-size: 1.2rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.brand-box:hover h3::after {
  transform: translateX(4px);
}

.brand-box p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
}

.brand-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-link::after {
  content: '↗';
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.brand-link:hover::after {
  transform: translate(2px, -2px);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

/* Responsive Design */
@media (min-width: 768px) {
  header {
    padding: 4rem 2rem;
  }
  
  header h1 {
    font-size: 3.5rem;
  }
  
  header p {
    font-size: 1.5rem;
  }
  
  main {
    padding: 5rem 2rem;
  }
  
  .brands {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .brand-box {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  header h1 {
    font-size: 4rem;
  }
  
  .brands {
    gap: 3rem;
  }
  
  .brand-box {
    padding: 3rem;
  }
}

/* Animation for smooth loading */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-box {
  animation: fadeInUp 0.6s ease-out;
}

.brand-box:nth-child(2) {
  animation-delay: 0.2s;
}

/* Focus states for accessibility */
.brand-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Contact Section */
.contact-content {
  margin: 2rem 0 0;
}

.contact-info {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px var(--shadow);
}

.contact-info h3 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

.contact-form {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-form h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-placeholder {
  background: var(--bg-accent);
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-light);
  font-style: italic;
}

/* Responsive Contact Section */
@media (max-width: 767px) {
  .contact-info {
    padding: 1rem;
  }
  
  .form-placeholder {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .contact-details {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Print styles */
@media print {
  header {
    background: var(--primary) !important;
    -webkit-print-color-adjust: exact;
  }
  
  .brand-box {
    box-shadow: none;
    border: 1px solid var(--border);
  }
  
  .contact-form {
    display: none;
  }
}
