/* ========================================
   LOST DUTCHMAN CONCEPTS - GLOBAL CSS FOUNDATION
   Version 1.0 - DCF Framework Integration
   ======================================== */

/* ========================================
   ROOT VARIABLES & THEME SYSTEM
   ======================================== */
:root {
  /* Responsive Breakpoints */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 480px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1440px;

  /* Brand Colors - Simplified Monochrome + Accent */
  --black: #000000;
  --white: #ffffff;
  --brown-rich: #2c1810;  /* Very dark, rich brown */
  --turquoise-accent: #99cdaf;  /* Limited accent use */

  /* Grayscale for UI */
  --gray-50: #f9f9f9;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-300: #c0c0c0;
  --gray-400: #888888;
  --gray-500: #666666;
  --gray-600: #444444;
  --gray-700: #2a2a2a;
  --gray-800: #1a1a1a;
  --gray-900: #0a0a0a;

  /* Legacy mapping for compatibility */
  --mocha-dark: var(--brown-rich);
  --mocha-medium: var(--gray-700);
  --vanilla-light: var(--gray-100);
  --gold-accent: var(--gray-400);
  --navy-accent: var(--brown-rich);
  --blue-accent: var(--turquoise-accent);
  --primary-bronze: var(--gray-600);
  --copper-accent: var(--turquoise-accent);
  --green-accent: var(--turquoise-accent);
  --earth-tone: var(--gray-200);
  --deep-brown: var(--brown-rich);
  --charcoal-black: var(--gray-800);
  --sage-beige: var(--gray-100);

  /* Map old color names for backward compatibility */
  --brown-dark: var(--brown-rich);
  --tan-light: var(--gray-100);
  --cream-light: var(--gray-50);
  --brown-medium: var(--gray-600);
  --brown-deep: var(--brown-rich);
  --orange-accent: var(--gray-500);
  --yellow-light: var(--white);
  --gold-tan: var(--gray-400);

  /* Functional Colors */
  --color-primary: var(--brown-rich);
  --color-secondary: var(--turquoise-accent);
  --color-accent: var(--turquoise-accent);
  --color-text: var(--gray-900);
  --color-text-light: var(--gray-600);
  --color-background: var(--white);
  --color-surface: var(--gray-50);
  --color-border: rgba(0, 0, 0, 0.1);

  /* Success/Warning/Error */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Typography Scale */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Georgia', 'Times New Roman', serif;

  /* Font Sizes - More Reasonable Responsive */
  --text-xs: clamp(0.75rem, 1.5vw, 0.875rem);
  --text-sm: clamp(0.875rem, 2vw, 1rem);
  --text-base: clamp(1rem, 2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 2.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 3vw, 1.4rem);
  --text-2xl: clamp(1.4rem, 3.5vw, 1.75rem);
  --text-3xl: clamp(1.75rem, 4vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 4.5vw, 2.75rem);
  --text-5xl: clamp(2.5rem, 5vw, 3rem);
  --text-6xl: clamp(3rem, 5.5vw, 3.5rem);

  /* Spacing Scale */
  --space-xs: clamp(0.25rem, 1vw, 0.5rem);
  --space-sm: clamp(0.5rem, 2vw, 0.75rem);
  --space-md: clamp(0.75rem, 3vw, 1rem);
  --space-lg: clamp(1rem, 4vw, 1.5rem);
  --space-xl: clamp(1.5rem, 5vw, 2rem);
  --space-2xl: clamp(2rem, 6vw, 3rem);
  --space-3xl: clamp(3rem, 8vw, 4rem);
  --space-4xl: clamp(4rem, 10vw, 6rem);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Enhanced Shadows for Depth */
  --shadow-sm: 0 1px 3px 0 rgba(35, 18, 8, 0.1);
  --shadow-md: 0 4px 12px 0 rgba(35, 18, 8, 0.15);
  --shadow-lg: 0 10px 25px -3px rgba(35, 18, 8, 0.2);
  --shadow-xl: 0 20px 40px -5px rgba(35, 18, 8, 0.25);
  --shadow-2xl: 0 25px 50px -12px rgba(35, 18, 8, 0.35);
  --shadow-glow: 0 0 30px rgba(141, 97, 50, 0.4);
  --shadow-inset: inset 0 2px 4px 0 rgba(35, 18, 8, 0.1);

  /* Animation Timing */
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Transition Durations */
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-base: 0.3s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);
  --transition-bounce: 0.8s var(--ease-bounce);

  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-popover: 500;
  --z-tooltip: 600;
  --z-toast: 700;
  --z-max: 9999;
}

/* Dark Mode Theme - Shadows and Surface Colors Only */
[data-theme="dark"] {
  --color-background: var(--charcoal-black);
  --color-surface: #0f1419;
  --color-border: rgba(190, 190, 174, 0.15);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 40px rgba(140, 71, 14, 0.5);
}

/* ========================================
   BASE RESET & TYPOGRAPHY
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  transition: background-color var(--transition-base), color var(--transition-base);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-4xl); }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

/* ========================================
   CONTAINER SYSTEM
   ======================================== */
.container {
  width: 100%;
  max-width: var(--breakpoint-xxl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--breakpoint-lg);
}

.container-wide {
  max-width: 1600px;
}

/* ========================================
   ENHANCED SECTION SYSTEM
   ======================================== */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-smooth);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section.bg-surface {
  background: var(--color-surface);
  position: relative;
}

.section.bg-surface::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(141, 97, 50, 0.02) 100%);
  pointer-events: none;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* ========================================
   GRID SYSTEM
   ======================================== */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-cols-1 { grid-template-columns: 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); }

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
}

/* ========================================
   BUTTON SYSTEM
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  min-height: 44px;
  font-size: var(--text-base);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--turquoise-accent);
  color: #4c4241 !important; /* Force dark brown text in both light and dark mode */
  border: 2px solid var(--turquoise-accent);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  font-weight: 600;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  background: var(--gray-800);
  border-color: var(--gray-800);
  color: var(--yellow-light) !important;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary * {
  position: relative;
  z-index: 2;
  color: inherit;
}

/* Navigation-specific button styling */
.nav-cta .btn-primary {
  background: var(--brown-rich);
  color: var(--yellow-light) !important;
  border: 2px solid var(--brown-rich);
}

.nav-cta .btn-primary:hover {
  background: var(--gray-800);
  border-color: var(--gray-800);
  color: var(--yellow-light) !important;
}

/* Navigation Light/Dark Mode Adaptive Styling */
.nav {
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
}

/* Light Mode Navigation (over dark sections) */
.nav.light-mode {
  background: var(--tan-light);
  box-shadow: 0 2px 10px rgba(75, 65, 63, 0.1);
}

.nav.light-mode .nav-link {
  color: var(--brown-deep);
}

.nav.light-mode .nav-logo a {
  color: var(--brown-deep);
  font-weight: 700;
}

.nav.light-mode .nav-toggle span {
  background: var(--brown-deep);
}

/* Dark Mode Navigation (over light sections) */
.nav.dark-mode {
  background: var(--brown-deep);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav.dark-mode .nav-link {
  color: var(--cream-light);
}

.nav.dark-mode .nav-logo a {
  color: var(--gold-tan);
  font-weight: 700;
}

.nav.dark-mode .nav-toggle span {
  background: var(--cream-light);
}

/* Dropdown menu styling for both modes */
.nav.light-mode .dropdown-menu {
  background: var(--tan-light);
  border: 1px solid var(--brown-medium);
}

.nav.light-mode .dropdown-link {
  color: var(--brown-deep);
}

.nav.light-mode .dropdown-link:hover {
  background: var(--brown-medium);
  color: var(--cream-light);
}

.nav.dark-mode .dropdown-menu {
  background: var(--brown-deep);
  border: 1px solid var(--gold-tan);
}

.nav.dark-mode .dropdown-link {
  color: var(--cream-light);
}

.nav.dark-mode .dropdown-link:hover {
  background: var(--brown-medium);
  color: var(--turquoise-accent);
}

/* Global Theme Toggle System - Dark Mode Only Changes Necessary Colors */
[data-theme="dark"] {
  /* Keep accent colors the same */
  --turquoise-accent: #99cdaf;
  --gold-tan: #b29966;
  --orange-accent: #c98b40;
  --yellow-light: #f3e69f;

  /* Background colors - these can invert */
  --tan-light: #2c2825;      /* Dark background for light sections */
  --brown-dark: #1a1916;     /* Very dark background for dark sections */

  /* Text colors - logical default colors for dark mode */
  --brown-deep: #e5dfce;     /* Light cream text for dark backgrounds */
  --brown-medium: #d1c8b6;   /* Medium cream text for dark backgrounds */
  --cream-light: #d1c8b6;    /* Light cream text for dark backgrounds */

  /* Functional color mappings */
  --color-primary: var(--copper-accent);
  --color-secondary: var(--primary-bronze);
  --color-accent: var(--sage-beige);
  --color-text: var(--cream-light);
  --color-text-light: var(--brown-medium);
}

/* Discovery section specific dark text override for readability */
[data-theme="dark"] .discovery-section [style*="var(--brown-deep)"],
[data-theme="dark"] .discovery-section [style*="var(--brown-medium)"] {
  color: #2c1810 !important; /* Force dark text in discovery section */
}

[data-theme="dark"] .discovery-section h3[style*="var(--brown-deep)"] {
  color: #2c1810 !important; /* Dark text for "Have an Impossible Project?" */
}

[data-theme="dark"] .discovery-section p[style*="var(--brown-medium)"] {
  color: #3d2a1c !important; /* Medium dark text for descriptions */
}

/* VeroMetal Kitchen Hoods section - light yellow/cream text in dark mode */
[data-theme="dark"] .section.bg-surface [style*="#2c1810"] {
  color: #f3e69f !important; /* Yellow for headings in dark mode */
}

[data-theme="dark"] .section.bg-surface [style*="#3d2a1c"] {
  color: #d1c8b6 !important; /* Cream for body text in dark mode */
}

/* Hero section - override dark-section rule for specific yellow text */
[data-theme="dark"] .section.hero-gradient .hero-left p[style*="#f3e69f"] {
  color: #f3e69f !important; /* Ensure hero subtitle stays yellow in dark mode */
}


/* Dark mode section overrides */
[data-theme="dark"] .section.light-section {
  background: var(--brown-dark) !important;
  color: var(--cream-light) !important;
}

[data-theme="dark"] .section.dark-section {
  background: var(--tan-light) !important;
  /* Removed global color override - handle individually */
}

[data-theme="dark"] .section.light-section h1,
[data-theme="dark"] .section.light-section h2,
[data-theme="dark"] .section.light-section h3,
[data-theme="dark"] .section.light-section h4 {
  color: var(--yellow-light) !important;
}

/* Only discovery section gets dark text for readability */
[data-theme="dark"] .discovery-section h1,
[data-theme="dark"] .discovery-section h2,
[data-theme="dark"] .discovery-section h3,
[data-theme="dark"] .discovery-section h4 {
  color: #2c1810 !important; /* Dark brown for readability */
}

/* Dark mode navigation */
[data-theme="dark"] .nav.light-mode {
  background: var(--brown-dark) !important;
}

[data-theme="dark"] .nav.light-mode .nav-link {
  color: var(--cream-light) !important;
}

[data-theme="dark"] .nav.dark-mode {
  background: var(--tan-light) !important;
}

[data-theme="dark"] .nav.dark-mode .nav-link {
  color: var(--brown-deep) !important;
}

/* Prevent white backgrounds in both modes */
body {
  background: var(--tan-light) !important;
}

[data-theme="dark"] body {
  background: var(--brown-dark) !important;
}

/* Ensure cards never have white backgrounds */
[data-theme="dark"] .card {
  background: var(--brown-medium) !important;
  color: var(--cream-light) !important;
}

[data-theme="dark"] .section.dark-section .card {
  background: var(--tan-light) !important;
  color: var(--brown-deep) !important;
}

[data-theme="dark"] .section.light-section .card {
  background: var(--brown-medium) !important;
  color: var(--cream-light) !important;
}

/* ========================================
   GLOBAL IMAGE OVERLAY STYLING
   ======================================== */

/* All image overlay titles - consistent across the site */
.grid-overlay h3,
.grid-overlay h4,
.showcase-overlay h3,
.showcase-overlay h4,
.img-overlay-title,
.overlay h3,
.overlay h4,
.overlay-title {
  color: var(--yellow-light) !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.9) !important;
  font-weight: 600 !important;
}

/* All image overlay descriptions - consistent across the site */
.grid-overlay p,
.showcase-overlay p,
.img-overlay-text,
.overlay p,
.overlay-text {
  color: var(--cream-light) !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.9) !important;
  font-weight: 600 !important;
}

/* Override ANY section-based styling for image overlays */
.section .grid-overlay h3,
.section .grid-overlay h4,
.section .showcase-overlay h3,
.section .showcase-overlay h4,
.section .img-overlay-title,
.section .overlay h3,
.section .overlay h4,
.section .overlay-title {
  color: var(--yellow-light) !important;
}

.section .grid-overlay p,
.section .showcase-overlay p,
.section .img-overlay-text,
.section .overlay p,
.section .overlay-text {
  color: var(--cream-light) !important;
}

/* Override theme toggle for image overlays - they stay consistent */
[data-theme="dark"] .grid-overlay h3,
[data-theme="dark"] .grid-overlay h4,
[data-theme="dark"] .showcase-overlay h3,
[data-theme="dark"] .showcase-overlay h4,
[data-theme="dark"] .img-overlay-title,
[data-theme="dark"] .overlay h3,
[data-theme="dark"] .overlay h4,
[data-theme="dark"] .overlay-title {
  color: var(--yellow-light) !important;
}

[data-theme="dark"] .grid-overlay p,
[data-theme="dark"] .showcase-overlay p,
[data-theme="dark"] .img-overlay-text,
[data-theme="dark"] .overlay p,
[data-theme="dark"] .overlay-text {
  color: var(--cream-light) !important;
}

.btn-secondary {
  background: var(--gold-tan);
  color: var(--brown-deep);
  border: 2px solid var(--gold-tan);
  position: relative;
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--orange-accent);
  color: white;
  border-color: var(--orange-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  min-height: 36px;
}

.btn-full {
  width: 100%;
}

/* ========================================
   ENHANCED CARD SYSTEM (ACSR-Inspired)
   ======================================== */
.card {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 124, 101, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-bronze), var(--copper-accent));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: rgba(141, 97, 50, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-featured {
  border: 2px solid var(--color-primary);
  transform: scale(1.05);
}

.card-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.card-body {
  margin-bottom: var(--space-lg);
}

.card-footer {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* ========================================
   IMAGE SYSTEM
   ======================================== */
.img-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.img-container:hover img {
  transform: scale(1.05);
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(141, 97, 50, 0.9),
    rgba(140, 71, 14, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl);
  color: white;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.img-container:hover .img-overlay {
  opacity: 1;
}

.img-overlay-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.img-overlay-text {
  text-align: center;
  font-size: var(--text-base);
}

/* ========================================
   FORM SYSTEM
   ======================================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  min-height: 44px;
  font-size: var(--text-base);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(141, 97, 50, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox,
.form-radio {
  margin-right: var(--space-sm);
}

/* ========================================
   NAVIGATION SYSTEM
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: #f8f5f0;
  border-bottom: 1px solid rgba(44, 24, 16, 0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all var(--transition-base);
  padding: var(--space-sm) 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.nav-logo img {
  height: 180px;
  width: auto;
  object-fit: contain;
  position: relative;
  top: -30px;
  margin-bottom: -60px;
}

.nav-logo .company-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo .main-name {
  font-size: 14px;
  font-weight: 600;
  color: #2c1810;
}

.nav-logo .tagline {
  font-size: 9px;
  color: #2c1810;
  font-weight: 400;
  margin-top: 0;
  line-height: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  color: #2c1810;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-sm) var(--space-md);
  white-space: nowrap;
  font-size: var(--text-sm);
  text-decoration: none;
}

.nav-link:hover {
  color: #2c1810;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--turquoise-accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-cta .btn {
  white-space: nowrap;
  font-size: var(--text-sm);
  padding: var(--space-xs) var(--space-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 30px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--color-text);
  transition: all var(--transition-fast);
}

/* Navigation Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-background);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: var(--z-dropdown);
  list-style: none;
  min-width: 200px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}

/* Active page highlighting */
.nav-link.active {
  color: #2c1810;
}

.nav-link.active::after {
  width: 100%;
}

/* ========================================
   FOOTER SYSTEM
   ======================================== */
.footer {
  background: var(--brown-deep);
  border-top: 2px solid var(--gold-tan);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  margin-bottom: var(--space-md);
  color: var(--gold-tan);
}

.footer-link {
  display: block;
  padding: var(--space-xs) 0;
  color: var(--cream-light);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--turquoise-accent);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-light);
}

/* Footer Theme Mode Fixes */
.footer {
  color: var(--cream-light);
}

.footer .text-light {
  color: var(--cream-light) !important;
}

/* Dark Mode Footer - Ensure proper contrast */
[data-theme="dark"] .footer {
  background: var(--tan-light);
  color: var(--brown-deep);
}

[data-theme="dark"] .footer-section h4 {
  color: var(--brown-deep);
}

[data-theme="dark"] .footer-link {
  color: var(--brown-medium);
}

[data-theme="dark"] .footer-link:hover {
  color: var(--turquoise-accent);
}

[data-theme="dark"] .footer .text-light {
  color: var(--brown-medium) !important;
}

[data-theme="dark"] .footer-bottom {
  color: var(--brown-medium);
}

[data-theme="dark"] .tagline {
  color: var(--brown-deep) !important;
}

/* ========================================
   ANIMATION CLASSES
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  from {
    background-position: -200% 0;
  }
  to {
    background-position: 200% 0;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s var(--ease-smooth) both;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s var(--ease-smooth) both;
}

.animate-pulse {
  animation: pulse 2s var(--ease-smooth) infinite;
}

/* Stagger animations */
.animate-stagger > * {
  animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-light { color: var(--color-text-light); }
.text-white { color: white; }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }
.bg-surface { background-color: var(--color-surface); }

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-background);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: var(--space-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .hide-mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none;
  }
}

/* ========================================
   THEME TOGGLE
   ======================================== */
.theme-toggle {
  position: relative;
  width: 48px;
  height: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.theme-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-base);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.theme-toggle-slider::before {
  content: "☀️";
  font-size: 10px;
  position: absolute;
}

/* ========================================
   ENHANCED ANIMATIONS & VISUAL EFFECTS
   ======================================== */

/* Staggered Animations (ACSR-inspired) */
.stagger-item {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Text Effects */
.text-glow {
  text-shadow: 0 0 20px rgba(141, 97, 50, 0.3);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-bronze), var(--copper-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Force turquoise button text to stay dark brown in all modes */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .nav-cta .btn-primary,
[data-theme="dark"] .nav-cta .btn-primary:hover {
  color: var(--yellow-light) !important; /* Yellow text for better visibility */
}

/* Removed duplicate shimmer effect that was causing text disappearing issues */

/* Floating Elements */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Enhanced Gallery Hover Effects */
.gallery-item {
  transition: all 0.4s var(--ease-out-expo);
}

.gallery-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--shadow-2xl);
}

/* Testimonial Enhancement */
.testimonial-card {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(139, 124, 101, 0.1);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-bronze), var(--copper-accent));
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Enhanced Pricing Display */
.price-highlight {
  position: relative;
  display: inline-block;
}

.price-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper-accent), var(--primary-bronze));
  border-radius: var(--radius-sm);
}

[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
  border-color: transparent;
}

[data-theme="dark"] .theme-toggle-slider {
  transform: translateX(22px);
  background: white;
}

[data-theme="dark"] .theme-toggle-slider::before {
  content: "🌙";
  font-size: 9px;
}

/* ========================================
   LOADING STATES
   ======================================== */
.skeleton {
  background: linear-gradient(90deg,
    var(--color-border) 25%,
    rgba(141, 97, 50, 0.1) 50%,
    var(--color-border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   3x3 GRID SHOWCASE
   ======================================== */
.grid-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.showcase-item-small {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.showcase-item-small:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.showcase-item-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.showcase-item-small:hover img {
  transform: scale(1.05);
}

.showcase-item-small .showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    transparent 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.8) 100%
  );
  padding: var(--space-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.showcase-item-small:hover .showcase-overlay {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .grid-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .grid-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ========================================
   TAB EXAMPLES GRID
   ======================================== */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.example-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.example-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.example-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.example-item:hover img {
  transform: scale(1.05);
}

.example-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    transparent 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.85) 100%
  );
  padding: var(--space-lg);
  color: white;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.example-item:hover .example-overlay {
  transform: translateY(0);
  opacity: 1;
}

.example-overlay strong {
  display: block;
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.example-overlay p {
  font-size: var(--text-sm);
  opacity: 0.9;
}

/* ========================================
   BADGES
   ======================================== */
.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ========================================
   NUCLEAR OPTION: FORCE ACTIVE PAGE COLORS
   ======================================== */
html body.page-home .nav-link[href="index.html"],
html body.page-about .nav-link[href="about.html"],
html body.page-custom-projects .nav-link[href="custom-projects.html"],
html body.page-kitchen-hoods .nav-link[href="kitchen-hoods.html"],
html body.page-why-choose-us .nav-link[href="why-choose-us.html"],
html body.page-contact .nav-link[href="contact.html"] {
    color: #2c1810 !important;
}

html body.page-home .nav-link[href="index.html"]::after,
html body.page-about .nav-link[href="about.html"]::after,
html body.page-custom-projects .nav-link[href="custom-projects.html"]::after,
html body.page-kitchen-hoods .nav-link[href="kitchen-hoods.html"]::after,
html body.page-why-choose-us .nav-link[href="why-choose-us.html"]::after,
html body.page-contact .nav-link[href="contact.html"]::after {
    width: 100% !important;
}


/* ========================================
   TESTIMONIAL CAROUSEL
   ======================================== */
.testimonials-section {
  overflow: hidden;
}

.testimonial-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin: var(--space-2xl) 0 var(--space-3xl) 0;
}

.testimonial-carousel-track {
  display: flex;
  width: 1200%;
  animation: testimonialSlide 90s infinite linear;
  gap: var(--space-lg);
}

.testimonial-slide {
  flex: 0 0 350px;
  padding: 0 var(--space-md);
}

.testimonial-card {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(139, 124, 101, 0.1);
  padding: var(--space-xl);
  text-align: center;
  height: 280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-bronze), var(--copper-accent));
}

.testimonial-stars {
  font-size: var(--text-xl);
  color: var(--gold-accent);
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-md);
  flex: 1;
  display: flex;
  align-items: center;
}

.testimonial-author {
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.testimonial-project {
  font-size: var(--text-sm);
  color: var(--color-light);
}

@keyframes testimonialSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.testimonial-carousel-track:hover {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 280px;
    padding: 0 var(--space-sm);
  }

  .testimonial-card {
    height: 320px;
    padding: var(--space-lg);
  }

  .testimonial-carousel-track {
    width: 800%;
    animation: testimonialSlideMobile 70s infinite linear;
  }

  @keyframes testimonialSlideMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}

@media (max-width: 480px) {
  .testimonial-slide {
    flex: 0 0 250px;
    padding: 0 var(--space-xs);
  }

  .testimonial-card {
    height: 300px;
    padding: var(--space-md);
  }

  .testimonial-carousel-track {
    width: 600%;
    animation: testimonialSlideSingle 60s infinite linear;
  }

  @keyframes testimonialSlideSingle {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}

/* ========================================
   DUAL PATH CTA SECTION
   ======================================== */
.dual-path-cta-section {
  padding: 0;
  margin: 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.cta-side {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(76, 66, 65, 0.9) 0%,
    rgba(117, 101, 87, 0.85) 50%,
    rgba(76, 66, 65, 0.95) 100%
  );
  z-index: 2;
}

.custom-side .cta-overlay {
  background: linear-gradient(
    135deg,
    rgba(75, 65, 63, 0.92) 0%,
    rgba(178, 153, 102, 0.3) 50%,
    rgba(75, 65, 63, 0.95) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: var(--space-3xl);
  max-width: 500px;
}

.cta-icon {
  color: var(--gold-accent);
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

.custom-side .cta-icon {
  color: white;
}

.cta-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-description {
  font-size: var(--text-lg);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.9);
}

.cta-features {
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: white;
  color: var(--mocha-dark);
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-right: var(--space-md);
  flex-shrink: 0;
}

.custom-side .feature-icon {
  background: white;
  color: var(--blue-accent);
}

.cta-button {
  display: inline-block;
  padding: var(--space-lg) var(--space-2xl);
  background: var(--gold-accent);
  color: var(--mocha-dark);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-lg);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  background: white;
}

.custom-button {
  background: white;
  color: var(--blue-accent);
}

.custom-button:hover {
  background: var(--gold-accent);
  color: var(--mocha-dark);
}

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cta-side {
    min-height: 60vh;
  }

  .cta-content {
    padding: var(--space-2xl);
  }

  .cta-title {
    font-size: var(--text-3xl);
  }

  .cta-description {
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  .cta-side {
    min-height: 50vh;
  }

  .cta-content {
    padding: var(--space-xl);
  }

  .cta-title {
    font-size: var(--text-2xl);
  }

  .cta-button {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
  }
}

/* ========================================
   FOOTER UPDATES
   ======================================== */

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-left {
  flex: 1;
}

.footer-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.badge-text {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(164, 138, 85, 0.1);
  color: var(--gold-accent);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-badges {
    justify-content: center;
  }
}