/**
 * Main Stylesheet für Baden Umzüge & Logistik
 * Version: 1.0.0
 */

/* Google Fonts — Plus Jakarta Sans for headings */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

/* Import animations */
@import url('animations.css');
@import url('gallery.css');
@import url('forms.css');

/* Component placeholder dimensions to prevent CLS */
#header-placeholder {
  min-height: 80px;
}

#footer-placeholder {
  min-height: 300px;
}

/* Base Styles */
:root {
    /* Primary Colors */
    --primary-color: #0b1220;
    --primary-dark: #05080f;
    --primary-light: #1f2a44;

    /* Secondary Colors */
    --secondary-color: #ff533d;
    --secondary-light: #ff735a;

    /* Neutral Palette */
    --neutral-900: #0f172a;
    --neutral-800: #1e293b;
    --neutral-700: #334155;
    --neutral-600: #475569;
    --neutral-500: #64748b;
    --neutral-400: #94a3b8;
    --neutral-300: #cbd5f5;
    --neutral-200: #e2e8f0;
    --neutral-100: #f1f5f9;
    --neutral-50: #f8fafc;

    /* Functional Colors */
    --success-color: #16a34a;
    --warning-color: #f59e0b;
    --error-color: #dc2626;
    --info-color: #2563eb;

    /* Semantic mappings */
    --text-color: var(--neutral-900);
    --text-light: var(--neutral-600);
    --background-light: var(--neutral-50);
    --background-dark: var(--primary-color);

    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 20px -6px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 38px -10px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 28px 60px -12px rgba(15, 23, 42, 0.18);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-speed: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing System */
    --spacing-0: 0;
    --spacing-1: 0.25rem;  /* 4px */
    --spacing-2: 0.5rem;   /* 8px */
    --spacing-3: 0.75rem;  /* 12px */
    --spacing-4: 1rem;     /* 16px */
    --spacing-5: 1.25rem;  /* 20px */
    --spacing-6: 1.5rem;   /* 24px */
    --spacing-7: 1.75rem;  /* 28px */
    --spacing-8: 2rem;     /* 32px */
    --spacing-9: 2.25rem;  /* 36px */
    --spacing-10: 2.5rem;  /* 40px */
    --spacing-12: 3rem;    /* 48px */
    --spacing-16: 4rem;    /* 64px */
    --spacing-20: 5rem;    /* 80px */
    --spacing-24: 6rem;    /* 96px */
    --spacing-32: 8rem;    /* 128px */
    
    /* Border Radius */
    --radius-none: 0;
    --radius-sm: 0.125rem;  /* 2px */
    --radius-base: 0.25rem; /* 4px */
    --radius-md: 0.375rem;  /* 6px */
    --radius-lg: 0.5rem;    /* 8px */
    --radius-xl: 0.75rem;   /* 12px */
    --radius-2xl: 1rem;     /* 16px */
    --radius-full: 9999px;
    
    /* Font Family */
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Font Sizes */
    --font-xs: 0.75rem;     /* 12px */
    --font-sm: 0.875rem;    /* 14px */
    --font-base: 1rem;      /* 16px */
    --font-lg: 1.125rem;    /* 18px */
    --font-xl: 1.25rem;     /* 20px */
    --font-2xl: 1.5rem;     /* 24px */
    --font-3xl: 1.875rem;   /* 30px */
    --font-4xl: 2.25rem;    /* 36px */
    --font-5xl: 3rem;       /* 48px */
  }
  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--neutral-100);
    border-radius: 6px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--neutral-400);
    border-radius: 6px;
    transition: background var(--transition-fast);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
  }
  
  /* Smooth Scroll */
  html {
    scroll-behavior: smooth;
  }

  * {
    -webkit-tap-highlight-color: transparent;
  }

  /* Global Heading Typography */
  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
  }
  
  /* Global Header & Navigation */
  #header-placeholder {
    display: contents;
  }

  header#navbar {
    position: sticky;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    will-change: backdrop-filter, background-color;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, backdrop-filter 150ms ease;
  }

  /* Active page indicator */
  header#navbar a[aria-current="page"] {
    color: var(--secondary-color);
    font-weight: 600;
  }

  header#navbar.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.88);
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
  }

  #services-menu > button {
    position: relative;
  }

  #services-menu > button::after {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    bottom: -60px;
    height: 60px;
  }

  #services-menu .mega-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    margin-top: 0;
    padding-top: 16px;
    max-height: calc(100vh - 5rem);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  }

  #services-menu.is-open .mega-menu,
  #services-menu:hover .mega-menu,
  #services-menu:focus-within .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #services-menu button .fa-chevron-down {
    transition: transform var(--transition-fast);
  }

  #services-menu.is-open button .fa-chevron-down,
  #services-menu:hover button .fa-chevron-down,
  #services-menu:focus-within button .fa-chevron-down {
    transform: rotate(180deg);
  }

  .mega-link,
  .mobile-mega-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0;
    transition: color var(--transition-fast);
  }

  .mega-link::before,
  .mobile-mega-link::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .mega-link:hover,
  .mega-link:focus,
  .mobile-mega-link:hover,
  .mobile-mega-link:focus {
    color: var(--primary-color);
  }

  .mega-link:hover::before,
  .mega-link:focus::before,
  .mobile-mega-link:hover::before,
  .mobile-mega-link:focus::before {
    opacity: 1;
    transform: translateX(0);
  }

  #mobile-menu {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 300ms ease-out, opacity 200ms ease-out, transform 200ms ease-out;
  }

  #mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    max-height: calc(100vh - 5rem);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
  }

  #mobile-menu .mobile-submenu-content {
    display: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  #mobile-menu .mobile-submenu-content.is-open {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered menu item fade-in */
  #mobile-menu > .flex > a,
  #mobile-menu > .flex > .mobile-submenu {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 200ms ease-out, transform 200ms ease-out;
  }

  #mobile-menu.is-open > .flex > a,
  #mobile-menu.is-open > .flex > .mobile-submenu {
    opacity: 1;
    transform: translateY(0);
  }

  #mobile-menu.is-open > .flex > :nth-child(1) { transition-delay: 50ms; }
  #mobile-menu.is-open > .flex > :nth-child(2) { transition-delay: 100ms; }
  #mobile-menu.is-open > .flex > :nth-child(3) { transition-delay: 150ms; }
  #mobile-menu.is-open > .flex > :nth-child(4) { transition-delay: 200ms; }
  #mobile-menu.is-open > .flex > :nth-child(5) { transition-delay: 250ms; }

  @media (prefers-reduced-motion: reduce) {
    #mobile-menu,
    #mobile-menu > .flex > a,
    #mobile-menu > .flex > .mobile-submenu {
      transition: none;
    }
  }

  .mobile-submenu button .fa-chevron-down {
    transition: transform var(--transition-fast);
  }

  .mobile-submenu button[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
  }

  /* Mega-menu backdrop overlay */
  #nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  #nav-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Breadcrumb Navigation Styles */
  .breadcrumb {
    padding: var(--spacing-3) 0;
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
    margin-top: 80px; /* Account for fixed header */
  }
  
  .breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .breadcrumb li {
    display: flex;
    align-items: center;
    font-size: var(--font-sm);
  }
  
  .breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 var(--spacing-2);
    color: var(--neutral-600);
    font-weight: bold;
  }
  
  .breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  
  .breadcrumb a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
  }
  
  .breadcrumb li:last-child {
    color: var(--neutral-600);
    font-weight: 500;
  }
  
  @media (max-width: 640px) {
    .breadcrumb {
      padding: var(--spacing-2) 0;
      font-size: var(--font-xs);
    }
    
    .breadcrumb li:not(:last-child)::after {
      margin: 0 var(--spacing-1);
    }
  }
  
  /* Service Cards Hover Effect */
  .service-card {
    background: var(--neutral-50);
    border-radius: 0.75rem;
    border: 1px solid var(--neutral-200);
    border-left: 3px solid var(--secondary-color);
    padding: 2rem;
    transition: all 200ms ease-out;
    box-shadow: var(--shadow-sm);
  }

  .service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--neutral-200);
    border-left-color: var(--secondary-color);
    background: rgba(255, 83, 61, 0.02);
  }
  
  /* Button System */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.6rem;
    border-radius: 0.85rem;
    font-weight: 600;
    font-size: 0.97rem;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 250ms ease-out;
    box-shadow: var(--shadow-sm);
  }

  .btn i {
    font-size: 1rem;
  }

  .btn:focus-visible {
    outline: 3px solid rgba(255, 83, 61, 0.35);
    outline-offset: 3px;
  }

  /* Button Sizes */
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 0.65rem;
  }

  .btn-md {
    padding: 0.75rem 1.6rem;
    font-size: 0.97rem;
  }

  .btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    border-radius: 1rem;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: #ffffff !important;
    border-color: transparent;
  }

  .btn-primary:hover,
  .btn-primary:focus-visible {
    background: linear-gradient(135deg, #eb4c37 0%, #e8684f 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
  }

  .btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
  }

  .btn-secondary {
    background: rgba(15, 23, 42, 0.04);
    color: var(--primary-color);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: none;
  }

  .btn-secondary:hover,
  .btn-secondary:focus-visible {
    background: rgba(15, 23, 42, 0.1);
    border-color: rgba(15, 23, 42, 0.25);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }

  .btn-ghost {
    background: transparent;
    color: var(--primary-color);
    border-color: transparent;
    box-shadow: none;
  }

  .btn-ghost:hover,
  .btn-ghost:focus-visible {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.12);
  }

  .btn-white {
    background: #ffffff;
    color: var(--primary-color);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: var(--shadow-sm);
  }

  .btn-white:hover,
  .btn-white:focus-visible {
    background: rgba(248, 250, 252, 0.98);
    border-color: rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }

  .btn-white:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
  }

  .btn-primary-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-sm);
  }

  .btn-primary-dark:hover,
  .btn-primary-dark:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
  }

  .btn-primary-dark:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
  }

  .btn-outline {
    background: #ffffff;
    color: var(--primary-color);
    border-color: rgba(15, 23, 42, 0.15);
  }

  .btn-outline:hover,
  .btn-outline:focus-visible {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(15, 23, 42, 0.25);
    color: var(--primary-color);
  }

  .btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
  }

  .btn-outline-light:hover,
  .btn-outline-light:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
  }

  /* Section Spacing */
  section {
    padding: 4rem 0;
  }

  /* Section Background Variants */
  .section-alt {
    background-color: var(--neutral-50);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .section-dark {
    background: var(--primary-color);
    color: var(--neutral-50);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  }

  /* Soft divider between adjacent sections */
  section + section {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* Container Sizes */
  .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
  }
  
  @media (min-width: 640px) {
    .container {
      max-width: 640px;
      padding-right: 2rem;
      padding-left: 2rem;
    }
  }
  
  @media (min-width: 768px) {
    .container {
      max-width: 768px;
    }
  }
  
  @media (min-width: 1024px) {
    .container {
      max-width: 1024px;
    }
  }
  
  @media (min-width: 1280px) {
    .container {
      max-width: 1280px;
    }
  }
  
  /* Form Styling */
  .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--neutral-50);
    border: 2px solid var(--neutral-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
  }
  
  .form-control:hover {
    border-color: var(--neutral-300);
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 22, 38, 0.1), var(--shadow-md);
  }
  
  .form-control::placeholder {
    color: var(--neutral-400);
  }
  
  /* Form Label */
  .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
  }
  
  /* Custom List Styles */
  .feature-list {
    list-style: none;
    padding-left: 0;
  }
  
  .feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
  }
  
  .feature-list li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    font-size: 1.125rem;
  }
  
  .feature-list li {
    padding: 0.5rem 0;
    transition: all var(--transition-fast);
  }
  
  .feature-list li:hover {
    padding-left: 0.5rem;
    color: var(--primary-color);
  }
  
  /* Testimonial Card */
  .testimonial-card {
    background-color: var(--neutral-50);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition-speed);
  }
  
  .testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
  }
  
  .testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
  
  /* Image Styles */
  .img-rounded {
    border-radius: 0.75rem;
    overflow: hidden;
  }
  
  .img-shadow {
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
  }
  
  .img-shadow:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
  }
  
  /* Footer Styles */
  .footer,
  footer.bg-gray-900 {
    position: relative;
    overflow: hidden;
  }

  .footer::before,
  footer.bg-gray-900::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary-color) 50%, transparent 100%);
  }

  .footer a,
  footer.bg-gray-900 a {
    color: var(--neutral-400);
    transition: color 200ms ease-out;
    position: relative;
  }

  .footer a::after,
  footer.bg-gray-900 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 200ms ease-out;
  }

  .footer a:hover,
  footer.bg-gray-900 a:hover {
    color: var(--neutral-50);
  }

  .footer a:hover::after,
  footer.bg-gray-900 a:hover::after {
    width: 100%;
  }
  
  .footer-heading {
    color: var(--neutral-50);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  /* Social Icons Grid */
  .elementor-social-icons-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .elementor-grid-item {
    display: inline-flex;
    flex-shrink: 0;
  }
  
  .elementor-icon {
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .elementor-icon i {
    font-size: 1.25rem;
    line-height: 1;
  }
  
  /* Ensure footer social icons are visible */
  .elementor-social-icon {
    min-width: 40px !important;
    min-height: 40px !important;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
  }

  .elementor-social-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(255, 83, 61, 0.25);
  }
  
  .elementor-social-icon i {
    display: block !important;
    width: auto !important;
    height: auto !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Utility Classes */
  .text-primary {
    color: var(--primary-color);
  }
  
  .bg-primary {
    background-color: var(--primary-color);
  }
  
  .text-white {
    color: var(--neutral-50);
  }
  
  .text-gray {
    color: var(--text-light);
  }
  
  .bg-light {
    background-color: var(--background-light);
  }
  
  .bg-dark {
    background-color: var(--background-dark);
  }

  /* Service Areas Slider Animation */
  @keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
  }

  .animate-scroll {
    animation: scroll 20s linear infinite;
  }

  .animate-scroll:hover {
    animation-play-state: paused;
  }

  @media (prefers-reduced-motion: reduce) {
    .animate-scroll {
      animation: none;
    }
  }

  .service-slide {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    text-decoration: none;
    transform: translateZ(0);
    will-change: transform;
  }

  .service-slide:hover {
    transform: scale(1.05);
  }

  /* Add a gradient overlay to create a fade effect on the sides */
  .relative.overflow-hidden::before,
  .relative.overflow-hidden::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .relative.overflow-hidden::before {
    left: 0;
    background: linear-gradient(to right, rgba(15, 22, 38, 0.5), transparent);
  }

  .relative.overflow-hidden::after {
    right: 0;
    background: linear-gradient(to left, rgba(15, 22, 38, 0.5), transparent);
  }
  
  /* Modern Card Styles */
  .card {
    background: var(--neutral-50);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: all 200ms ease-out;
  }

  .card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    background: rgba(255, 83, 61, 0.02);
  }
  
  /* Modern Badge */
  .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all var(--transition-fast);
  }
  
  .badge-primary {
    background-color: var(--primary-color);
    color: var(--neutral-50);
  }
  
  .badge-secondary {
    background-color: var(--secondary-color);
    color: var(--neutral-50);
  }
  
  .badge-success {
    background-color: var(--success-color);
    color: var(--neutral-50);
  }
  
  /* Modern Section Dividers */
  .section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neutral-300), transparent);
    margin: 4rem 0;
  }
  
  /* Floating Action Button */
  .fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--neutral-50);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-speed);
    cursor: pointer;
    z-index: 999;
  }
  
  .fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
  }
  
  /* Modern Hero Overlay — directional: darker bottom for text readability */
  .hero-overlay {
    background: linear-gradient(to top, rgba(11, 18, 32, 0.6) 0%, rgba(11, 18, 32, 0.3) 100%);
  }

  .hero-overlay h1,
  .hero-overlay h2,
  .hero-overlay p {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  }

  /* Hero text entrance animation */
  .hero-text-enter {
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp 400ms ease-out forwards;
  }

  @keyframes heroFadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-text-enter {
      opacity: 1;
      transform: none;
      animation: none;
    }
  }
  
  /* Glass Effect */
  .glass {
    background: rgba(245, 245, 245, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 245, 0.2);
    border-radius: 0.75rem;
  }
  
  /* Gradient Text */
  .gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* Modern Input Group */
  .input-group {
    position: relative;
  }
  
  .input-group-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    transition: color var(--transition-fast);
  }
  
  .input-group .form-control {
    padding-left: 2.75rem;
  }
  
  .input-group:focus-within .input-group-icon {
    color: var(--primary-color);
  }
  
  /* Animated Underline */
  .link-underline {
    position: relative;
    color: inherit;
    text-decoration: none;
  }
  
  .link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
  }
  
  .link-underline:hover::after {
    width: 100%;
  }
  
  /* Loading Spinner */
  .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--neutral-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  /* Gradient Backgrounds */
  .bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  }
  
  .bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  }
  
  .bg-gradient-dark {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
  }
  
  /* Hover Lift Effect */
  .hover-lift {
    transition: all var(--transition-speed);
  }
  
  .hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  /* Interactive Map Styles */
  .hurti-map-info {
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 350px;
  }

  .hurti-map-info .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  }

  .hurti-map-info .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: #ffffff;
  }

  .hurti-map-info .btn-primary:hover,
  .hurti-map-info .btn-primary:focus-visible {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
  }

  .hurti-map-info .btn-outline {
    background: #ffffff;
    color: var(--primary-color);
    border-color: rgba(15, 23, 42, 0.12);
  }

  .hurti-map-info .btn-outline:hover,
  .hurti-map-info .btn-outline:focus-visible {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(15, 23, 42, 0.2);
  }

  .hurti-map-info .btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  /* Custom Map Controls */
  .hurti-map-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    overflow: hidden;
  }

  .hurti-map-control-button {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    color: var(--neutral-700);
  }

  .hurti-map-control-button:hover {
    background-color: var(--neutral-100);
  }

  .hurti-map-control-button:active {
    background-color: var(--neutral-200);
  }

  .hurti-map-control-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
  }

  /* Google Maps Info Window Overrides */
  .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
  }

  .gm-style-iw-d {
    overflow: visible !important;
  }

  .gm-style-iw-tc::after {
    background: white !important;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1) !important;
  }

  /* Map marker animation */
  @keyframes markerBounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }

  /* Loading state for map */
  #hurti-map.loading {
    background: linear-gradient(
      90deg,
      #f0f0f0 25%,
      #f8f8f8 50%,
      #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
  }

  @keyframes shimmer {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }

/* ==========================================================================
   Email Hub - Expanding Contact Options
   ========================================================================== */

.email-hub {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.email-hub-trigger {
  position: relative;
  z-index: 2;
}

.email-hub-options {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.email-hub.active .email-hub-options {
  opacity: 1;
  pointer-events: auto;
}

.email-hub-option {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.email-hub.active .email-hub-option:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0ms;
}

.email-hub.active .email-hub-option:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 75ms;
}

/* Collapse animation (reverse stagger) */
.email-hub:not(.active) .email-hub-option:nth-child(2) {
  transition-delay: 0ms;
}

.email-hub:not(.active) .email-hub-option:nth-child(1) {
  transition-delay: 50ms;
}

/* Mobile: stack vertically below trigger */
@media (max-width: 640px) {
  .email-hub {
    flex-direction: column;
    align-items: stretch;
  }

  .email-hub-options {
    position: static;
    flex-direction: column;
    padding-left: 0;
    margin-top: 0.5rem;
    transform: none;
    width: 100%;
  }

  .email-hub-option {
    transform: translateY(-10px);
  }

  .email-hub.active .email-hub-option {
    transform: translateY(0);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .email-hub-options,
  .email-hub-option {
    transition: none !important;
    transition-delay: 0ms !important;
  }
}

/* ─── Keyboard Accessibility ──────────────────────────────── */
/* Global :focus-visible for keyboard navigation (links, custom elements).
   .btn already has its own :focus-visible; this covers everything else. */
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
  border-radius: 2px;
}
