/* CBD Wholesale Site - Cloudflare Pages Version */
/* Preserving the exact design from the Next.js prototype */
/* Core Web Vitals Optimized - Phase 3 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block');

:root {
  /* Primary Colors - Monotone Navy Theme */
  --primary: #2C3E50;
  --primary-dark: #1A202C;
  --primary-light: #475569;

  /* Backgrounds */
  --background-light: #F7FAFC;
  --background-dark: #0F172A;
  --surface-light: #FFFFFF;
  --surface-dark: #101524;

  /* Text Colors */
  --text-primary-light: #2D3748;
  --text-primary-dark: #F1F5F9;
  --text-muted-light: #64748B;
  --text-muted-dark: #CBD5E0;

  /* Borders */
  --border-light: #E2E8F0;
  --border-dark: #334155;

  /* Semantic Colors */
  --success: #10B981;
  --warning: #F97316;
  --danger: #EF4444;
  --info: #0EA5E9;

  /* Legacy variable names for backward compatibility */
  --background: #F7FAFC;
  --surface: #FFFFFF;
  --text: #2D3748;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --secondary: #EDF2F7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-primary-light: #F1F5F9;
    --text-primary-dark: #2D3748;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.5;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.layout-content-container {
  max-width: 80rem;
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background-color: rgba(247, 250, 252, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.header-nav {
  display: none;
  flex: 1;
  justify-content: flex-end;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: rgba(44, 62, 80, 0.2);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(44, 62, 80, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: rgba(44, 62, 80, 0.1);
}

.btn-lg {
  height: 3rem;
  padding: 0 1.25rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 2.5rem 1rem;
}

.hero-content {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2.5rem;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
  border-radius: 0.75rem;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero h1 {
  color: white;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.033em;
}

.hero h2 {
  color: white;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0.5rem;
}

@media (min-width: 480px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero h2 {
    font-size: 1.125rem;
  }
}

/* Sections */
.section {
  padding: 2.5rem 1rem;
}

.section-header {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .section-header h2 {
    font-size: 2.25rem;
    font-weight: 900;
  }
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Grid */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
  .sm-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Feature Cards */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--surface);
}

.feature-card .icon {
  color: var(--primary);
  font-size: 3.5rem;
}

.feature-card .material-symbols-outlined {
  font-size: 3.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Standardized Page Hero Banners */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
}

.table-container {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--surface);
}

thead th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

tbody td:nth-child(2),
tbody td:nth-child(3) {
  color: var(--text-muted);
}

/* Call to Action */
.cta {
  background-color: var(--surface);
  padding: 2.5rem;
  border-radius: 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .cta {
    padding: 4rem;
  }
}

.cta h2 {
  font-size: 1.875rem;
  font-weight: 900;
  max-width: 42rem;
}

@media (min-width: 1024px) {
  .cta h2 {
    font-size: 2.25rem;
  }
}

.cta p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer h3, .footer h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer p, .footer a, .footer li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--primary);
}

.footer ul {
  list-style: none;
  margin-top: 1rem;
}

.footer li {
  margin-top: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Product Page Styles */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumbs span {
  color: var(--text-muted);
}

.product-page {
  padding: 2rem 1rem 4rem;
}

@media (min-width: 768px) {
  .product-page {
    padding: 3rem 2rem 5rem;
  }
}

.product-overview {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .product-overview {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
}

.product-media {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  background: var(--surface) center/cover no-repeat;
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 1rem;
}

.product-thumbnails .thumbnail {
  aspect-ratio: 1;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: var(--surface) center/cover no-repeat;
  opacity: 0.85;
  transition: opacity 0.2s, border-color 0.2s;
}

.product-thumbnails .thumbnail:hover,
.product-thumbnails .thumbnail.active {
  opacity: 1;
  border-color: var(--primary);
}

.product-summary {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.product-kicker {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .product-title {
    font-size: 2.75rem;
  }
}

.product-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(44, 62, 80, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-table-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.table-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.table-header p {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table th,
.product-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  font-size: 0.95rem;
}

.product-table thead {
  background: rgba(44, 62, 80, 0.06);
}

.product-table th {
  font-weight: 700;
  color: var(--primary);
}

.product-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.product-table tbody tr:last-child {
  border-bottom: none;
}

.product-table td {
  color: var(--text);
}

.product-meta {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.product-meta p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-detail-panels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
}

.detail-panel,
.detail-accordion {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.04);
}

.detail-panel h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.detail-panel p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.detail-panel p:last-child {
  margin-bottom: 0;
}

.detail-accordion {
  padding: 0;
}

.detail-accordion[open] > summary {
  border-bottom: 1px solid var(--border);
}

.detail-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

.detail-accordion summary::-webkit-details-marker {
  display: none;
}

.detail-accordion summary::after {
  content: '▾';
  margin-left: auto;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
  color: var(--primary);
}

.detail-accordion[open] > summary::after {
  transform: rotate(180deg);
}

.detail-accordion ul {
  padding: 1rem 1.5rem 1.5rem;
  display: grid;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.detail-accordion ul li {
  margin-left: 1.25rem;
  position: relative;
}

.detail-accordion ul li::before {
  content: '•';
  position: absolute;
  left: -1.25rem;
  color: var(--primary);
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 1rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  padding: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: 'Manrope', sans-serif;
  background-color: white;
  color: var(--text);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 7rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.p-4 { padding: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.w-full { width: 100%; }
.max-w-full { max-width: 100%; }

/* Responsive padding */
@media (min-width: 640px) {
  .sm-p-10 { padding: 2.5rem; }
  .sm-px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: block;
  color: var(--text);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ============================================
   UNIFIED DESIGN SYSTEM - FOR ALL NEW PAGES
   ============================================

   USE THESE STANDARDS CONSISTENTLY:

   COLORS:
   - Primary Navy: #2C3E50 (dark headers, primary buttons)
   - Primary Light: #475569 (hover states, secondary elements)
   - Primary Dark: #1A202C (darkest elements)
   - Text Primary: #2D3748 (main text)
   - Text Muted: #64748B (secondary text)
   - Border: #E2E8F0 (light borders)
   - Success: #10B981
   - Warning: #F97316
   - Danger: #EF4444
   - White: #FFFFFF (surfaces)
   - Light Gray: #F7FAFC (backgrounds)

   TYPOGRAPHY:
   - Font Family: 'Manrope', sans-serif
   - H1: 2.25rem, weight 900
   - H2: 1.875rem, weight 700
   - H3: 1.125rem, weight 700
   - Body: 1rem, weight 400
   - Small: 0.875rem, weight 400
   - Label: 0.875rem, weight 600

   SPACING:
   - Section padding: 2.5rem
   - Container max-width: 1280px
   - Margins: 0.5rem, 1rem, 1.5rem, 2rem, 2.5rem
   - Gaps: 0.5rem, 1rem, 1.5rem, 2rem

   COMPONENTS:
   - Cards: border-radius 12px, 1px border #E2E8F0, padding 1.5-2rem
   - Buttons: border-radius 8px, padding 0.75rem 1.5rem
   - Forms: border-radius 8px, 1px border #E2E8F0
   - Links: #2C3E50 (not blue), hover: darker
   - Shadows: 0 1px 3px rgba(0,0,0,0.05) or 0 4px 12px rgba(0,0,0,0.1)

   RESPONSIVE:
   - Mobile first approach
   - Tablet breakpoint: 768px
   - Desktop breakpoint: 1024px

   DO NOT USE:
   - #3498db (blue) for links - use #2C3E50
   - Multiple gray shades - use #64748B or #CBD5E0
   - Inline color styles - use CSS variables
   - Different primary colors per page
   - Non-standard border-radius values

   ============================================ */

/* Consistent Link Styling */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Remove default link underline in some contexts */
.btn a,
.nav-links a,
.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ============================================================================
   HAMBURGER MENU & MOBILE NAVIGATION
   ============================================================================ */

/* Hamburger Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 28px;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  pointer-events: none;
}

.mobile-nav-drawer.active {
  pointer-events: auto;
}

.mobile-nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  backdrop-filter: blur(0px);
}

.mobile-nav-drawer.active .mobile-nav-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  left: -100%;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background-color: var(--surface-light);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active .mobile-nav-content {
  left: 0;
}

/* Mobile Nav Header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.mobile-nav-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.mobile-nav-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-close .material-symbols-outlined {
  font-size: 28px;
}

/* Mobile Nav Links */
.mobile-nav-links {
  padding: 1rem 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-nav-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.mobile-nav-links a:hover {
  background-color: var(--background);
  padding-left: 1.5rem;
}

.mobile-nav-links a:hover::before {
  transform: scaleY(1);
}

.mobile-nav-links a.active {
  background-color: var(--background);
  color: var(--primary);
  font-weight: 600;
  padding-left: 1.5rem;
}

.mobile-nav-links a.active::before {
  transform: scaleY(1);
}

.mobile-nav-links a .material-symbols-outlined {
  font-size: 24px;
  color: var(--primary);
}

.mobile-nav-links a:hover .material-symbols-outlined,
.mobile-nav-links a.active .material-symbols-outlined {
  color: var(--primary);
}

/* Mobile Nav CTA Button */
.mobile-nav-cta {
  margin: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white !important;
  border-radius: 8px;
  padding: 1rem 1.25rem !important;
  font-weight: 600;
}

.mobile-nav-cta .material-symbols-outlined {
  color: white !important;
}

.mobile-nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Desktop Nav - Hide on smaller screens */
.desktop-nav {
  display: flex;
}

/* Responsive Breakpoints */
@media (max-width: 1280px) {
  .header-nav .nav-links a {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .mobile-nav-content {
    width: 100%;
    max-width: 100%;
  }

  .header {
    padding: 1rem 1.25rem;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .mobile-nav-content {
    background-color: var(--surface-dark);
  }

  .mobile-nav-header {
    border-bottom-color: var(--border-dark);
  }

  .mobile-nav-links a {
    color: var(--text-primary-dark);
  }

  .mobile-nav-links a:hover,
  .mobile-nav-links a.active {
    background-color: var(--background-dark);
  }

  .hamburger-icon span {
    background-color: var(--text-primary-dark);
  }
}

/* Accessibility */
.mobile-nav-drawer[aria-hidden="true"] {
  visibility: hidden;
}

.mobile-nav-drawer[aria-hidden="false"] {
  visibility: visible;
}

/* Smooth Animations */
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-content,
  .mobile-nav-overlay,
  .hamburger-icon span,
  .mobile-menu-btn {
    transition: none;
  }
}
