/* InfySheets Architectural Panels - Custom Styles & Accessibility Enhancements */
@layer base {
  :root {
    --color-primary: #006d77;
    --color-navy-deep: #07203d;
    --color-navy-surface: #0a2540;
    --color-teal-deep: #006d77;
    --color-teal-vibrant: #00a896;
    --color-surface: #f8f9ff;
    --color-surface-container: #e5efff;
    --color-surface-container-high: #dbe9fe;
    --color-slate-line: #bac7d5;
  }

  html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9ff;
    color: #0f1c2c;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    letter-spacing: -0.02em;
  }
}

/* Accessible focus rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #00a896 !important;
  outline-offset: 2px !important;
}

/* Material Symbols sizing & vertical alignment */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  display: inline-block;
  user-select: none;
}

/* Swatch Card Hover Effects */
.finish-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.finish-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(7, 32, 61, 0.12);
}

/* Lightbox Modal Animation */
#lightbox-modal {
  transition: opacity 0.2s ease-in-out;
}

#lightbox-modal.flex {
  display: flex !important;
}

/* Smooth Accordion */
.faq-content {
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Custom Scrollbar for desktop */
@media (min-width: 1024px) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }
  ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
}

/* Mobile navigation drawer transition */
#mobile-menu {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

#mobile-menu.hidden {
  display: none !important;
}

/* Print styles for architectural specifications */
@media print {
  header, footer, #mobile-menu, #lightbox-modal, .sample-request-btn, #quote-enquiry {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}

