/* Modern CSS for Local Band */
:root {
    --primary: #c3a96f;        /* Gold/Tan from logo text */
    --secondary: #000000;      /* Background black */
    --dark: #1a1a1a;           /* Slightly lighter black for contrast */
    --light: #ffffff;          /* White */
    --accent: #c3a96f;         /* Matching logo accent */
    --highlight: #ffffff;      /* White as highlight in text */

    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Bebas Neue', sans-serif;

    --section-padding: 100px;
}

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

body {
    font-family: var(--font-main);
    color: var(--light);
    background-color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    position: relative;
    color: var(--light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
}

/* === LUXURY SCROLL TRACK === */
.luxe-scroll-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* Slightly thicker for gradient visibility */
  background: rgba(25, 20, 15, 0.15); /* Warm dark base */
  z-index: 9999;
  overflow: hidden;
}

/* === SILK PROGRESS RIBBON === */
.luxe-progress-ribbon {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(210, 180, 140, 0.8) 10%,  /* Warm nude */
    rgba(230, 200, 150, 0.9) 25%,  /* Champagne */
    rgba(240, 210, 160, 1) 40%,    /* Light gold */
    rgba(255, 225, 180, 1) 50%,    /* Bright gold */
    rgba(240, 210, 160, 1) 60%,    /* Light gold */
    rgba(230, 200, 150, 0.9) 75%,  /* Champagne */
    rgba(210, 180, 140, 0.8) 90%,  /* Warm nude */
    transparent 100%);
  transition: width 0.2s cubic-bezier(0.12, 0.65, 0.35, 1); /* Smooth ease-out */
  position: relative;
}

/* === IMMERSIVE GLOW LAYER === */
.luxe-progress-ribbon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 300%;
  transform: translateY(-50%);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 230, 180, 0.5) 20%,
    rgba(255, 240, 200, 0.7) 50%,
    rgba(255, 230, 180, 0.5) 80%,
    transparent 100%);
  filter: blur(12px);
  mix-blend-mode: soft-light;
  opacity: 0.9;
  pointer-events: none;
}

/* === EDGE FEATHER EFFECT === */
.luxe-progress-ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: calc(100% + 20px);
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 240, 200, 0.4) 30%,
    transparent 100%);
  filter: blur(5px);
  animation: edge-feather 3s infinite alternate;
}

@keyframes edge-feather {
  0% { opacity: 0.7; transform: translateX(-5px); }
  100% { opacity: 0.9; transform: translateX(5px); }
}

/* Navigation - Fixed Issues */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.navbar.hidden {
    transform: translate3d(0, -100%, 0);
    box-shadow: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;           
    max-width: none;       
    padding: 0 40px;       /* INCREASED: More padding on left and right edges */
    margin: 0;             
}

/* Logo Container - Tightly wrapped around logo */
.logo {
    display: inline-flex;  /* Doesn't stretch full width */
    align-items: center;
    height: 80px;         /* Match your navbar height */
    margin: 0;            /* Remove any default margins */
}

/* Logo Image - Maintain original size */
.logo-img {
    height: 250px;        /* Fixed height matching container */
    width: auto;          /* Natural aspect ratio */
    max-width: none;      /* Remove any max-width restrictions */
    object-fit: contain;  /* Show full logo without stretching */
}

/* Tablet & Small Desktop */
@media (max-width: 768px) {
    .logo {
        height: 80px;
        padding-top: 0px;
        transform: translateX(-10px); /* Smooth left shift */
    }
    .logo-img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 80px;
        padding-top: 0px;
        transform: translateX(-25px); /* More on mobile */
    }
    .logo-img {
        height: 200px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 60px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    color: var(--light);
}

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

/* ADD THESE STYLES TO YOUR EXISTING styles.css FILE */
/* Hamburger menu button - only visible on mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transform-origin: center;
}

/* Squeeze Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.2);
    transition: all 0.2s ease-out;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Navigation overlay for mobile */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* UPDATE YOUR EXISTING MOBILE STYLES - Replace the existing @media (max-width: 768px) section */
@media (max-width: 1236px) {
    .section {
        padding: 70px 0;
    }

    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Mobile navigation menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 20px;
        display: block;
        text-align: center;
    }

    /* Ensure navbar container has proper flex layout on mobile */
    .navbar .container {
        justify-content: space-between;
        align-items: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .tour-date {
        flex-direction: column;
        text-align: center;
    }

    .date {
        margin-right: 0;
        margin-bottom: 0px;
    }

    .cta {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Video overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 15, 27, 0.7), rgba(15, 15, 27, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 6rem);
    margin-bottom: 20px;
    line-height: 1;
    color: var(--light);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.arrow-down {
    width: 20px;
    height: 30px;
    margin-top: 10px;
    border: 1px solid var(--light);
    border-radius: 15px;
    position: relative;
}

.arrow-down::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--light);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 10px); opacity: 0; }
}

/* Video Section - Expanded Width Version */
.videos-section {
    background: var(--dark);
    padding: 60px 0; /* Remove side padding completely */
    border-top: 3px solid var(--primary);

}

.videos-section .container {
    max-width: 95%; /* Increase from typical 80-90% to 95% */
    padding: 0; /* Remove any container padding */
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly larger min width */
    gap: 20px; /* Reduced gap for more space utilization */
    width: 100%; /* Ensure full width */
}

/* Keep all your existing video item styles */
.video-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-info {
    padding: 15px 20px; /* Slightly reduced top/bottom padding */
    color: white; /* Ensures text is readable on dark bg */
    text-align: left; /* Explicit alignment (fixes potential center-aligned text) */
    line-height: 1.4; /* Better readability */
}

.video-info h3 {
    font-size: 1.3rem;
    margin: 0 0 8px 0; /* Tightened margin (was 5px) */
    font-weight: 600; /* Boldness for titles */
    letter-spacing: 0.5px; /* Slight spacing for elegance */
}

.video-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0; /* Remove default paragraph margins */
    font-weight: 300; /* Lighter weight for subtlety */
}

/* Optional: Add a divider between video and info */
.video-item {
    border: 1px solid rgba(255, 255, 255, 0.1); /* Soft border */
}

/* Video Play Button Styles */
/* Remove all audio-related UI elements */
.autoplay-video::-webkit-media-controls-volume-slider,
.autoplay-video::-webkit-media-controls-mute-button,
.autoplay-video::-webkit-media-controls-toggle-closed-captions-button {
    display: none !important;
}

/* Video container styling */
.video-wrapper {
    position: relative;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hide native controls until interaction */
.autoplay-video {
    display: block;
    cursor: pointer;
}

.autoplay-video::-webkit-media-controls {
    display: none !important;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--secondary);
    border-top: 3px solid var(--primary);

}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Logo Container - Uniform Base */
.testimonial-logo {
    height: 110px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
}

/* Universal Logo Styles */
.testimonial-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
}

/* Individual Logo Adjustments */
.logo-lucys img {
    transform: scale(1.8);
    filter: contrast(1.1) saturate(1.1);
    margin-top: 3px;
}

.logo-cru img {
    transform: scale(1.4);
    padding: 6px;
    filter: brightness(1.05);
}

.logo-morenos img {
    transform: scale(1.7);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

/* Hover Effects */
.testimonial-card:hover .testimonial-logo img {
    opacity: 1;
}
.testimonial-card:hover .logo-lucys img {
    transform: scale(2);
}
.testimonial-card:hover .logo-cru img {
    transform: scale(1.57);
}
.testimonial-card:hover .logo-morenos img {
    transform: scale(2);
}

/* Existing Styles (unchanged) */
.stars {
    color: var(--highlight);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.client-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.client-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.client-venue {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Tour Dots Styles - Enhanced */
.tour-dots {
    display: none; /* Hidden by default, shown only on mobile */
    position: relative;
}

@media (max-width: 768px) {
    .tour-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 28px 0 10px; /* More vertical spacing */
        padding: 12px 20px; /* Increased padding */
        width: 100%;
    }
    
    .tour-dot {
        width: 20px; /* Increased from 10px */
        height: 20px; /* Increased from 10px */
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle border */
        cursor: pointer;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
        position: relative;
        outline: none;
    }
    
    /* Dot hover/active states */
    .tour-dot:hover {
        background-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.15);
    }
    
    .tour-dot.active {
        background-color: var(--highlight); /* Using your highlight color */
        transform: scale(1.3);
        box-shadow: 0 0 0 2px rgba(255, 221, 0, 0.3); /* Glow effect */
        border-color: transparent;
    }
    
    /* Pulse animation for active dot */
    .tour-dot.active::after {
        content: '';
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 50%;
        background: transparent;
        border: 1px solid var(--highlight);
        animation: dotPulse 2s infinite;
        opacity: 0;
    }
    
    @keyframes dotPulse {
        0% {
            transform: scale(0.8);
            opacity: 0.7;
        }
        70% {
            transform: scale(1.3);
            opacity: 0;
        }
        100% {
            opacity: 0;
        }
    }
    
    /* Focus state for accessibility */
    .tour-dot:focus-visible {
        outline: 2px solid var(--highlight);
        outline-offset: 2px;
    }
    
    /* Small mobile adjustments */
    @media (max-width: 480px) {
        .tour-dots {
            gap: 14px;
            margin: 24px 0 8px;
        }
        
        .tour-dot {
            width: 13px;
            height: 13px;
        }
    }
}

/* ===== Tour Section ===== */
.tour-section {
    background: var(--dark);
    border-top: 3px solid var(--primary);
    color: var(--light);
    padding: 3rem 1.5rem;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--light);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Desktop Tour Grid */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); /* Increased from 380px */
    gap: 2.5rem;
    padding: 0 2rem;
}

/* MOBILE AUTO-SCROLL STYLES */
@media (max-width: 768px) {
    .tour-section {
        padding: 2rem 0;
    }
    
    .section-title {
        padding: 0 1rem;
        margin-bottom: 2rem;
        font-size: 2rem;
    }
    
    .tour-grid {
        display: flex;
        flex-direction: row;
        grid-template-columns: none;
        gap: 1.5rem;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }
    
    .tour-grid::-webkit-scrollbar {
        display: none;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .tour-section {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .tour-grid {
        gap: 1rem;
        padding: 0 calc(50vw - 170px); /* Updated for wider cards */
    }
}

/* Tour Date Card - Base Styles */
.tour-date {
    display: flex;
    flex-direction: column;
    background: rgba(133, 133, 133, 0.151);
    border-radius: 14px; /* Applies to all corners */
    overflow: hidden; /* Ensures child elements respect the border radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    cursor: pointer;
}

/* Mobile-specific card sizing */
@media (max-width: 768px) {
    .tour-date {
        flex: 0 0 360px; /* Increased from 300px */
        min-width: 360px;
        max-width: 360px;
        height: auto;
        scroll-snap-align: center;
    }
}

@media (max-width: 480px) {
    .tour-date {
        flex: 0 0 340px; /* Increased from 280px */
        min-width: 340px;
        max-width: 340px;
    }
}

/* Highlight styles */
.tour-date.highlight {
    border-left: 5px solid var(--highlight); /* Keep this dynamic */
    background: linear-gradient(90deg, 
        rgba(210, 180, 140, 0.15) 0%, /* Warm tan (linen) */
        rgba(250, 240, 230, 0.05) 100% /* Soft ivory */
    );
    box-shadow: 
        0 6px 16px rgba(210, 180, 140, 0.25), /* Outer glow */
        inset 0 0 12px rgba(255, 245, 235, 0.4); /* Inner glow */
    position: relative;
    z-index: 1;
}

.tour-date.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 245, 235, 0.7), 
        transparent
    );
}

.tour-date.highlight::after {
    content: 'NEXT SHOW';
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    background: linear-gradient(
        135deg,
        rgba(175, 135, 95, 0.98),    /* Deep toffee (darker base) */
        rgba(220, 190, 160, 0.98),    /* Warm sand (mid-tone) */
        rgba(240, 225, 210, 0.98)     /* Light cream (highlight) */
    );
    color: #1a120b;                   /* Near-black for max contrast */
    padding: 0.4rem 1.3rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    z-index: 2;
    /* Multi-layer shadows for depth */
    box-shadow: 
        0 2px 0 rgba(120, 80, 50, 0.3),              /* Hard bottom shadow */
        0 4px 8px rgba(0, 0, 0, 0.25),               /* Ambient shadow */
        inset 0 1px 3px rgba(255, 255, 255, 0.6),    /* Top inner glow */
        inset 0 -1px 2px rgba(100, 70, 40, 0.2);     /* Bottom inner shadow */
    border: 1px solid rgba(150, 110, 70, 0.7);       /* Darker border */
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 0.3),         /* Text highlight */
        0 -1px 1px rgba(0, 0, 0, 0.1);               /* Text depth */
    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* ===== ENHANCED CURRENTLY PLAYING CARD ===== */
.tour-date.currently-playing {
    /* Enhanced background with better lighting */
    background: 
        linear-gradient(145deg, 
            rgba(20, 20, 20, 0.98) 0%,
            rgba(35, 35, 35, 0.98) 50%,
            rgba(25, 25, 25, 0.98) 100%
        ),
        radial-gradient(
            circle at 35% 45%,
            rgba(195, 169, 111, 0.25) 0%,
            rgba(195, 169, 111, 0.1) 40%,
            transparent 70%
        );
    
    /* Enhanced shadow system */
    box-shadow: 
        0 10px 35px rgba(0, 0, 0, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(195, 169, 111, 0.3),
        0 0 100px rgba(195, 169, 111, 0.15),
        inset 0 1px 3px rgba(255, 255, 255, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    
    /* Enhanced border with glow */
    border: 1px solid rgba(195, 169, 111, 0.4);
    position: relative;
    z-index: 10;
    
    /* Stable transform for smooth animation */
    transform: translateZ(0);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    
    /* Gentle breathing animation */
    animation: live-card-breathe 5s ease-in-out infinite alternate;
    
    /* Prevent text blur */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes live-card-breathe {
    0% { 
        transform: translateZ(0) scale(1);
        box-shadow: 
            0 10px 35px rgba(0, 0, 0, 0.6),
            0 5px 15px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(195, 169, 111, 0.3),
            0 0 100px rgba(195, 169, 111, 0.15),
            inset 0 1px 3px rgba(255, 255, 255, 0.08),
            inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    }
    100% { 
        transform: translateZ(0) scale(1.015);
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.7),
            0 8px 25px rgba(0, 0, 0, 0.5),
            0 0 70px rgba(195, 169, 111, 0.45),
            0 0 140px rgba(195, 169, 111, 0.25),
            inset 0 2px 5px rgba(255, 255, 255, 0.12),
            inset 0 -3px 6px rgba(0, 0, 0, 0.4);
    }
}

/* ===== REDESIGNED "LIVE NOW" BADGE ===== */
.tour-date.currently-playing::after {
    content: '● LIVE';
    position: absolute;
    top: 1.3rem;
    right: 1.7rem;
    padding: 8px 16px;
    min-width: 50px;
    
    /* Modern glass morphism background */
    background: 
        linear-gradient(135deg, 
            rgba(255, 50, 50, 0.95) 0%,
            rgba(220, 20, 60, 0.98) 50%,
            rgba(180, 20, 50, 1) 100%
        );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* White text with subtle shadow */
    color: rgba(255, 255, 255, 0.98);
    font-size: 0.9rem;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    
    /* Rounded modern style */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 9999; /* Increased to ensure it shows above other elements */
    
    /* Subtle shadow with red glow */
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(220, 20, 60, 0.5),
        0 0 25px rgba(255, 50, 50, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 3px rgba(0, 0, 0, 0.2);
    
    /* Pulsing live indicator animation */
    animation: live-indicator-pulse 2.5s ease-in-out infinite;
    
    /* Crisp text rendering */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transform: translateZ(0);
    
    /* Flex for perfect centering */
    display: flex !important; /* Added !important to ensure display */
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Mobile-specific z-index boost */
@media (max-width: 768px) {
    .tour-date.currently-playing::after {
        z-index: 9999;
    }
}

@keyframes live-indicator-pulse {
    0%, 100% { 
        opacity: 1;
        transform: translateZ(0) scale(1);
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.4),
            0 2px 8px rgba(220, 20, 60, 0.5),
            0 0 25px rgba(255, 50, 50, 0.4),
            inset 0 1px 2px rgba(255, 255, 255, 0.3),
            inset 0 -1px 3px rgba(0, 0, 0, 0.2);
    }
    50% { 
        opacity: 0.95;
        transform: translateZ(0) scale(1.03);
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.5),
            0 3px 12px rgba(220, 20, 60, 0.7),
            0 0 35px rgba(255, 50, 50, 0.6),
            0 0 60px rgba(255, 50, 50, 0.3),
            inset 0 2px 4px rgba(255, 255, 255, 0.4),
            inset 0 -2px 5px rgba(0, 0, 0, 0.3);
    }
}

/* ===== INFO SECTION LIGHTING EFFECTS ===== */
.tour-date.currently-playing .info {
    position: relative;
    overflow: hidden;
}

.tour-date.currently-playing .info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(
            circle at 70% 30%,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.03) 30%,
            transparent 60%
        );
    animation: subtle-glow-pulse 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.tour-date.currently-playing .info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(
            circle at 25% 70%,
            rgba(195, 169, 111, 0.08) 0%,
            rgba(195, 169, 111, 0.04) 40%,
            transparent 70%
        );
    animation: ambient-breathe 12s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

@keyframes subtle-glow-pulse {
    0% { 
        opacity: 0.6;
        transform: scale(0.95);
    }
    100% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes ambient-breathe {
    0% { 
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    100% { 
        opacity: 0.7;
        transform: scale(1.1) rotate(2deg);
    }
}

/* ===== ENHANCED DATE COMPONENT FOR LIVE CARD ===== */
.tour-date.currently-playing .date {
    background: linear-gradient(135deg,
        #f8e5a0 0%,
        #f5d47f 25%,
        #e0c060 50%,
        #d4b15f 75%,
        #c3a96f 100%
    );
    
    /* Enhanced 3D metallic effect */
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.8),
        inset 0 -2px 6px rgba(100, 80, 40, 0.5),
        inset 2px 0 4px rgba(255, 255, 255, 0.4),
        inset -2px 0 4px rgba(100, 80, 40, 0.3);
    
    /* Prevent transform inheritance issues */
    transform: translateZ(0);
    position: relative;
    z-index: 5;
}

/* ===== STABLE CONTENT RENDERING ===== */
.tour-date.currently-playing .venue-header,
.tour-date.currently-playing .venue-header h3,
.tour-date.currently-playing .venue-promo,
.tour-date.currently-playing .venue-desc,
.tour-date.currently-playing .event-meta,
.tour-date.currently-playing .event-time,
.tour-date.currently-playing .event-age,
.tour-date.currently-playing .venue-address,
.tour-date.currently-playing .venue-map-container,
.tour-date.currently-playing .date .month,
.tour-date.currently-playing .date .day {
    /* Ensure content sits above lighting */
    position: relative;
    z-index: 5;
    
    /* Prevent text blur from transforms */
    transform: translateZ(0);
    backface-visibility: hidden;
    
    /* Crisp text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== HOVER ENHANCEMENT FOR LIVE CARD ===== */
.tour-date.currently-playing:hover {
    transform: translateY(-8px) translateZ(0) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(195, 169, 111, 0.6),
        0 0 160px rgba(195, 169, 111, 0.35),
        inset 0 3px 8px rgba(255, 255, 255, 0.15),
        inset 0 -4px 10px rgba(0, 0, 0, 0.5);
    
    border-color: rgba(195, 169, 111, 0.6);
}

.tour-date.currently-playing:hover .info::before {
    opacity: 1;
    animation-duration: 4s;
}

.tour-date.currently-playing:hover .info::after {
    opacity: 0.8;
    animation-duration: 6s;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .tour-date.currently-playing::after {
        top: 1.5rem;
        right: 1.5rem;
        padding: 10px 12px;
        font-size: 800px;
        letter-spacing: 1px;
    }
    
    /* Reduce animation intensity on mobile */
    .tour-date.currently-playing {
        animation-duration: 7s;
    }
    
    .tour-date.currently-playing .info::before {
        animation-duration: 12s;
        opacity: 0.5;
    }
    
    .tour-date.currently-playing .info::after {
        opacity: 0.3;
        animation-duration: 18s;
    }
    
    .tour-date.currently-playing:hover {
        transform: translateY(-4px) translateZ(0) scale(1.01);
    }
}

@media (max-width: 480px) {
    .tour-date.currently-playing::after {
        padding: 5px 10px;
        font-size: 0.6rem;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    .tour-date.currently-playing,
    .tour-date.currently-playing::after,
    .tour-date.currently-playing::before {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Hover state - "pushed in" effect */
.tour-date.highlight:hover::after {
    transform: translateY(1px);       /* Sink slightly */
    box-shadow: 
        0 1px 0 rgba(120, 80, 50, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.25),
        inset 0 1px 4px rgba(0, 0, 0, 0.1),
        inset 0 -1px 2px rgba(255, 255, 255, 0.4);
}

/* Tablet highlight adjustments */
@media (max-width: 768px) {
    .tour-date.highlight {
        border-left: 4px solid var(--highlight);
        box-shadow: 
            0 4px 12px rgba(210, 180, 140, 0.2),
            inset 0 0 8px rgba(255, 245, 235, 0.3);
    }
    
    .tour-date.highlight::after {
        top: 1.25rem;
        right: 1.25rem;
        padding: 0.25rem 0.75rem;
        font-size: 0.75rem;
        letter-spacing: 0.8px;
    }
}

/* Mobile highlight adjustments */
@media (max-width: 480px) {
    .tour-date.highlight {
        border-left: 3px solid var(--highlight);
        box-shadow: 
            0 3px 8px rgba(210, 180, 140, 0.15),
            inset 0 0 6px rgba(255, 245, 235, 0.2);
    }
    
    .tour-date.highlight::after {
        top: 1rem;
        right: 1rem;
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
}

/* Hover effects */
.tour-date:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(210, 180, 140, 0.3);
}

@media (max-width: 768px) {
    .tour-date {
        -webkit-tap-highlight-color: rgba(210, 180, 140, 0.15);
    }
    
    .tour-date:hover {
        transform: translateY(-3px);
    }
}

/* Date Component Styles */
.tour-date .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--dark);
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    position: relative;
}

/* Container glow (subtle but visible) */
.tour-date:hover .date {
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.4);
}

/* Date text glow (strong but not extreme) */
.tour-date:hover .month {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.tour-date:hover .day {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

/* Optional: Add a soft inner glow to container */
.tour-date .date::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
}

.tour-date:hover .date::after {
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Original time element styles */
.tour-date .date time {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tour-date .date .month {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.tour-date .date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Mobile scroll indicator */
@media (max-width: 768px) {
    .tour-section::after {
        content: '';
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
        border-radius: 2px;
        opacity: 0.4;
        animation: scrollHint 3s ease-in-out infinite;
    }
    
    @keyframes scrollHint {
        0%, 100% { 
            opacity: 0.4; 
            transform: translateX(-50%) scaleX(1); 
        }
        50% { 
            opacity: 0.7; 
            transform: translateX(-50%) scaleX(1.3); 
        }
    }
    
    /* Hide scroll hint after user interaction */
    .tour-section.user-interacted::after {
        opacity: 0;
        transition: opacity 0.5s ease;
    }
}

/* Enhanced Info Section - Immersive Design */
/* Default (Desktop) Styles */
.info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0.01) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    height: 100%;
}

/* Mobile Override (e.g. < 768px) */
@media (max-width: 767px) {
    .info {
        padding: 1rem 2rem;     /* Top/bottom: 1rem, sides: 2rem */
        margin-top: -1rem;      /* Pull up to close gap */
    }
}

/* Subtle animated background pattern */
.info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
    radial-gradient(circle at 20% 20%, rgba(210, 180, 140, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(230, 200, 170, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(250, 240, 230, 0.02) 0%, transparent 50%);
animation: subtleGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
    
}

@keyframes subtleGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Ensure content appears above background */
.info > * {
    position: relative;
    z-index: 1;
}

/* Enhanced Venue Header - Centered (Multiple approaches) */
.venue-header {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the flex items */
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center; /* Center text content */
    width: 100%; /* Ensure full width */
}

/* Alternative: Direct centering for the h3 element */
.venue-header h3 {
    width: 100%;
    text-align: center;
}

/* Or try this block-level centering approach */
.venue-header {
    display: block;
    text-align: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.venue-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: white;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

/* Add subtle glow effect on hover */
.venue-header h3:hover {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(255, 255, 255, 0.164);
}

/* Base venue-promo styles */
.venue-promo {
    font-size: 0.75rem;
    background: linear-gradient(
    135deg,
    rgba(245, 225, 195, 0.7) 0%,      /* Creamy beige */
    rgba(230, 200, 170, 0.6) 25%,     /* Soft caramel */
    rgba(220, 190, 160, 0.5) 50%,     /* Warm latte */
    rgba(230, 200, 170, 0.6) 75%,     /* Soft caramel */
    rgba(245, 225, 195, 0.7) 100%     /* Creamy beige */
);
background-size: 200% 200%;
animation: butteryFlow 16s ease-in-out infinite;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 2px 8px rgba(255, 215, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden; /* Crucial for containment */
    display: inline-block; /* Better boundary control */
    isolation: isolate; /* Creates new stacking context */
}

/* Shine effect (now properly contained) */
.venue-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.2) 50%, 
        transparent 100%);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    transform: skewX(-20deg);
    z-index: 1;
}

/* Gradient overlay (contained) */
.venue-promo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%,
        rgba(255,255,255,0) 50%,
        rgba(255, 215, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Card hover triggers promo effects */
.tour-date:hover .venue-promo {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.tour-date:hover .venue-promo::before {
    left: 150%;
    opacity: 0.8;
}

.tour-date:hover .venue-promo::after {
    opacity: 1;
}

/* Remove any overflow from parent elements */
.tour-date {
    overflow: visible; /* Ensures child effects aren't clipped */
}

.venue-header {
    position: relative; /* Creates new stacking context */
    overflow: visible; /* Allows promo effects to show */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .venue-promo {
        margin: 0 auto;
        text-align: center;
        display: inline-block;
    }
}

/* Enhanced Description */
.venue-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 0.5rem 0;
}

/* Subtle left border accent */
.venue-desc::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        var(--primary), 
        var(--highlight)
    );
    border-radius: 1px;
    opacity: 0.6;
}

.venue-desc {
    padding-left: 1rem;
}

/* Enhanced Event Meta - FORCED SINGLE LINE */
.event-meta {
    display: inline-flex; /* Changed from flex to inline-flex */
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--primary);
    padding: 0.75rem;
    background: #c3a86f28;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: visible; /* Changed from hidden */
    white-space: nowrap; /* Crucial - prevents wrapping */
    flex-shrink: 0; /* Prevents container from shrinking */
    justify-content: center;

}

/* Remove all flex-wrap and column behaviors */
.event-meta > * {
    display: inline-block; /* Force inline behavior */
    position: relative;
    z-index: 1;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

/* KILL ALL mobile stacking behaviors */
@media (max-width: 480px) {
    .event-meta {
        flex-direction: row !important; /* Nuclear option */
        display: inline-flex !important;
        overflow-x: auto; /* Allows horizontal scrolling if needed */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    .event-meta > * {
        display: inline !important;
    }
}

/* Add this to your existing .event-meta */
.event-meta {
    position: relative;
    overflow: hidden;
}

/* Glowing swipe animation (add this anywhere in your CSS) */
.event-meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0)
);
    animation: swipeGlow 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes swipeGlow {
    0% { left: -100%; opacity: 0; }
    20% { opacity: 0.5; }
    100% { left: 150%; opacity: 0; }
}

/* Enhanced Address */
.venue-address {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.venue-address::before {
    content: "📍";
    flex-shrink: 0;
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.venue-address:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced Map Container */
.venue-map-container {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    height: 160px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.venue-map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 77, 77, 0.05) 0%,
        transparent 50%,
        rgba(0, 204, 255, 0.05) 100%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.venue-map-container:hover::before {
    opacity: 1;
}

.venue-map-container:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.venue-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: all 0.3s ease;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .info {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .venue-promo {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .event-meta {
        gap: 1rem;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .venue-address {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .venue-map-container {
        height: 140px;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .info {
        padding: 1.25rem;
    }
    
    .venue-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .venue-promo {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .event-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .venue-desc {
        padding-left: 0.75rem;
    }
    
    .venue-desc::before {
        width: 3px;
    }
}

/* CTA section */
.cta {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-top: auto;
}

.btn {
    padding: 0.6rem 1rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex: 1;
    background-color: var(--primary);
    color: white; /* Adding white text for better contrast */
    border: none; /* Removing default border */
    cursor: pointer; /* Adding pointer cursor on hover */
}

/* Hover effect */
.btn:hover {
    background-color: var(--primary); /* Using your primary gold color */
    transform: translateY(-2px); /* Keeping the lift effect */
    box-shadow: 
        0 4px 8px rgba(195, 169, 111, 0.3), /* Gold shadow for depth */
        0 0 12px rgba(195, 169, 111, 0.2); /* Additional glow effect */
    color: var(--light); /* Ensuring text stays white */
    border-color: transparent; /* Removing any border artifacts */
}

/* Responsive Adjustments */


@media (max-width: 768px) {
    .tour-section {
        padding: 2rem 0.5rem;
    }
    
    .tour-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .tour-date.highlight::after {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .info {
        padding: 1.25rem;
    }
    
    .venue-header h3 {
        font-size: 1.2rem;
    }
    
    .venue-map-container {
        height: 130px;
    }
    
    .cta {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
}

/* Form Layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-group {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 80px;
    margin-bottom: 0rem;
}

/* Labels with glass styling */
.form-group label {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Input Fields - Glass style */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    margin-top: 0rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.5;
    color: #2c3e50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Input focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 3px rgba(255, 255, 255, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(44, 62, 80, 0.6);
    font-size: 0.95rem;
}

/* Textarea specific styles */
.form-group textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 1rem;
}

/* Add spacing after textarea form-group */
.form-group:has(textarea) {
    margin-bottom: 2rem;
}

/* Submit Button with glass effect */
.form-submit {
    display: block;
    width: auto;
    max-width: 300px;
    padding: 2rem 2rem 1.2rem 2rem; /* CHANGED: Added extra top padding */
    margin: 1.5rem auto 0;
    background: linear-gradient(135deg, var(--primary), rgba(var(--primary-rgb), 0.8));
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Button wrapper for perfect centering */
.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
}

.button-wrapper .form-submit {
    margin: 0;
}

/* Submit button hover effect */
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, var(--primary), var(--primary));
}

.form-submit:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-group {
        flex: 1 1 100%;
    }
    
    
    .form-row {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .form-submit {
        width: 100%;
        max-width: none;
        margin: 1.5rem 0 0;
        border-radius: 10px;
    }
}

/* Enhanced glass effect for better browsers */
@supports (backdrop-filter: blur(20px)) {
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: rgba(255, 255, 255, 0.75);
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        background: rgba(255, 255, 255, 0.9);
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .tour-date {
        flex-direction: column;
        text-align: center;
    }

    .date {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .cta {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* Core Styles */
body {
    margin: 0;
    font-family: sans-serif;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

/* Form Embed Container (Critical for styling) */
.form-embed-container {
    max-width: 1000px; /* Wider form area */
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 24px; /* Maintains rounded corners */
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.15),
        inset 0 1px 1px rgba(255,255,255,0.08),
        inset 0 -1px 1px rgba(0,0,0,0.05),
        0 0 0 1px rgba(0,0,0,0.03);
    overflow: hidden; /* Ensures rounded corners clip iframe */
}

/* Iframe Styling */
#booking-iframe {
    width: 100%;
    height: 800px; /* Initial reasonable height */
    border: none;
    display: block;
    margin: 0;
    padding: 0;
    /* Enable scrolling on all devices */
    overflow-y: auto;
}

/* Disable ALL scrollbars */
::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

/* Desktop Optimization (Wider Layout) */
@media (min-width: 1024px) {
    .form-embed-container {
        max-width: 1100px; /* Even wider on large desktops */
    }
    #booking-iframe {
        height: 750px; /* More height for complex forms */
    }
}

/* Mobile Fallback */
@media (max-width: 768px) {
    .form-embed-container {
        border-radius: 18px; /* Slightly smaller radius */
    }
    #booking-iframe {
        height: 700px; /* Taller for mobile forms */
    }
}

/* ======================
   Merchandise Section (Now matches testimonials background)
   ====================== */
.merch-section {
    background: var(--secondary);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);


}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.merch-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.merch-item:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

/* ======================
   ONLY UPDATED TRANSITION STYLES
   (Replace only these selectors in your existing CSS)
   ====================== */
.merch-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.merch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: 
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.merch-front {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.merch-back {
    opacity: 0;
    transform: scale(1);
    z-index: 2;
}

.merch-item:hover .merch-front {
    opacity: 0;
    transform: scale(1);
}

.merch-item:hover .merch-back {
    opacity: 1;
    transform: scale(1);
}

/* Single view items remain unchanged */
.merch-image:not(.merch-front):not(.merch-back) {
    position: relative;
    z-index: 1;
}

.merch-item:hover .merch-image:not(.merch-front):not(.merch-back) {
    transform: scale(1.05);
}

/* Rest of your existing styles... */
.merch-info {
    padding: 20px;
}

.merch-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--light);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.merch-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.merch-actions {
    display: flex;
    gap: 10px;
}

/* ======================
   Merch Size Dropdown Fix
   ====================== */
.merch-size {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}

.merch-size:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Style the dropdown options */
.merch-size option {
    background: var(--dark);
    color: white;
    padding: 10px;
}

/* Style the dropdown when focused */
.merch-size:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(195, 169, 111, 0.3);
}

/* Style for Internet Explorer */
.merch-size::-ms-expand {
    display: none;
}

/* Firefox needs extra styling */
@-moz-document url-prefix() {
    .merch-size {
        color: white !important;
        text-shadow: 0 0 0 white;
    }
    .merch-size option {
        background: var(--dark);
    }
}

/* Safari and Chrome need this for the arrow color */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .merch-size {
        color: white;
    }
    .merch-size option {
        background: var(--dark);
        color: white;
    }
}

/* Keep existing hover styles */

.btn-cart {
    flex: 2;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(195, 169, 111, 0.3);
}

/* ======================
   Enhanced Merch CTA Section
   ====================== */
.merch-cta {
    text-align: center;
    margin-top: 80px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.merch-cta:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.merch-cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.merch-cta h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.merch-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .merch-section {
        padding: 70px 0;
    }
    
    .merch-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .merch-cta {
        padding: 40px 30px;
        margin-top: 60px;
    }
    
    .merch-cta h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .merch-grid {
        grid-template-columns: 1fr;
    }
    
    .merch-actions {
        flex-direction: column;
    }
    
    .merch-size, .btn-cart {
        width: 100%;
    }
    
    .merch-cta {
        padding: 30px 20px;
    }
    
    .merch-cta h3 {
        font-size: 1.4rem;
    }
    
    .merch-cta p {
        font-size: 1rem;
    }
}

/* ======================
   Shopping Cart Styles
   ====================== */
.cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(195, 169, 111, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
}

.cart-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(195, 169, 111, 0.8),
        0 0 20px rgba(255, 236, 179, 0.8);
    background-color: var(--primary); /* Ensures solid color */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* Added text glow */
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: var(--highlight);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Add this to your CSS */
.body-no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: var(--dark);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--light);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.close-cart {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.3;
}
.cart-items {
    flex: 1;
    overflow-y: auto;  /* Keep scrolling enabled */
    min-height: 220px;
    
    /* Hide scrollbar for all browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.cart-item {
    display: flex;
    margin: 20px 20px 20px 20px; /* Add margin instead */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.cart-item:first-child {
    margin-top: 20px;
}

.cart-item:last-child {
    margin-bottom: 20px;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.cart-item-img {
    width: 150px;
    height: 170px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-details {
    padding: 15px;
    flex: 1;
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering */
    flex-direction: column;  /* Stack children vertically (optional) */
}

.cart-item-title {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--light);
    font-weight: 600;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.cart-item-size {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.cart-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--primary);
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary);
}

.quantity-value {
    margin: 0 15px;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

.cart-footer {
    padding: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);

}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 10px;
}

.total-price {
    color: var(--primary);
}

.btn-checkout {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(195, 169, 111, 0.6);
}

/* Cart Item Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item {
    animation: slideIn 0.3s ease forwards;
}

/* Checkout Headers - Compact & Stylish */
.checkout-form .checkout-header,
.checkout-form .section-header {
  font-family: var(--font-heading);
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  position: relative;
  text-align: center;
}

.checkout-form .checkout-header {
  font-size: 1.3rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.checkout-form .section-header {
  font-size: 1.1rem;
  padding-left: 0.5rem;
border-bottom: 2px solid rgba(255, 255, 255, 0.1);

}

/* Add to Cart Animation */
@keyframes addToCart {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.add-to-cart-animation {
    animation: addToCart 0.5s ease;
}

/* ===== CHECKOUT FORM (TIGHTLY SCOPED) ===== */
.checkout-form {
    /* Your existing container styles */
    width: calc(100% - 30px);
    margin: 15px auto;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    box-sizing: border-box;
    overflow-y: auto;
}

.checkout-form.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Tightly scope all checkout form children */
.checkout-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 0px;
}

.checkout-form .checkout-header,
.checkout-form .form-group.full-name,
.checkout-form .section-header{
    grid-column: 1 / -1;
}

.checkout-form .form-group.city,
.checkout-form .form-group.address1,
.checkout-form .form-group.address2,
.checkout-form .form-group.email,
.checkout-form .form-group.phone,
.checkout-form .form-group.state,
.checkout-form .form-group.country
.checkout-form .form-group.zip {
    grid-column: span 1;
}

/* Desktop only: Change to 2 columns for email/phone row */
@media (min-width: 1px) {
    .checkout-form .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.checkout-form input,
.checkout-form select {
    width: 100%;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--light); /* Default text color */
    font-size: 0.75rem;
    height: 34px;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.checkout-form input:focus,
.checkout-form select:focus {
    color: black; /* Black text when focused */
}

.checkout-form label {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.65rem;
    font-weight: 500;
}

.checkout-form .form-actions {
    display: flex;
    gap: 8px; /* Balanced gutter */
    margin-top: 16px; /* Matches form section spacing */
    align-items: center; /* Vertical alignment */
    justify-content: flex-end; /* Right-aligned (or use 'space-between' for dual buttons) */
}

.checkout-form .btn {
    /* STRUCTURE */
    padding: 0.375rem 0.75rem; /* 6px 12px (more balanced than 8px) */
    height: 32px; /* Slightly shorter than inputs (34px) for visual hierarchy */
    min-width: max-content; /* Prevents awkward squishing */
    
    /* TEXT */
    font-size: 0.75rem; /* Matches input text size */
    font-weight: 500; /* Slightly bolder for emphasis */
    line-height: 1; /* Removes extra space */
    
    /* BORDERS */
    border-radius: 50px; /* Matches inputs exactly */
    border: 1px solid transparent; /* Consistency with inputs */
    
    /* SPACING */
    margin: 0; /* Override defaults */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .checkout-form {
        top: 400px; /* Starts 250px lower */
        padding: 10px; /* Adjusted padding */
    }

    .checkout-form input,
    .checkout-form select {
        padding: 6px 8px; /* Slightly smaller inputs */
        font-size: 0.7rem;
        height: 32px;
    }

    .checkout-form label {
        font-size: 0.6rem; /* Smaller labels */
    }

    .checkout-form .btn {
        padding: 7px;
        font-size: 0.75rem;
        height: 34px;
    }
}

/* ======================
   Credit Card Form Styles 
   ====================== */
.credit-card-form {
    display: none;
    width: 100%;
    margin: 0;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.credit-card-form.active {
    display: block;
    animation: slideInRight 0.3s ease-out;
}

/* Desktop Payment Header Fix - Make it match mobile exactly */
@media (min-width: 769px) {
    .payment-header {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 5px;
        position: relative;
        gap: 0;
        min-height: 50px;
    }
    
    /* Security badge on top */
    .security-badge {
        order: 1;
        margin: 0;
        padding: 0;
    }
    
    /* Title centered below security badge */
    .payment-header h3 {
        position: static;
        transform: none;
        left: auto;
        order: 2;
        margin: 0;
        padding-top: 0;
        text-align: center;
    }
    
    /* Back button in top-left corner */
    .back-to-shipping {
        position: absolute;
        top: 5px;
        left: 5px;
        margin: 0;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Payment Header */
.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between items */
    padding: 5px;
    position: relative; /* Optional: Helps with absolute positioning if needed */
}

.back-to-shipping {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center; /* Center icon inside the button */
    align-items: center;
    margin-right: auto; /* Push the button to the right */
}

.back-to-shipping:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-2px);
}

/* Ensure the title stays centered */
.payment-header h3 {
    position: absolute; /* Take it out of flex flow */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Fine-tune centering */
    margin: 0;
    font-size: 1.3rem;
    color: var(--light);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 22px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4CAF50;
    font-size: 0.8rem;
    font-weight: 600;
}

.security-badge i {
    color: #4CAF50;
}

/* Card Preview */
.card-preview {
    margin-bottom: 15px;
    perspective: 90px;
}

.card-front {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.card-brand {
    display: flex;
    justify-content: flex-end;
}

.card-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.card-number-display {
    font-size: 1.8rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    margin-bottom: 24px;
    font-weight: 500;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.card-expiry {
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    opacity: 0.9;
}

/* Card Brand Colors */
.card-front.visa {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.card-front.mastercard {
    background: linear-gradient(135deg, #f79e1b 0%, #eb001b 100%);
}

.card-front.amex {
    background: linear-gradient(135deg, #006fcf 0%, #0048a3 100%);
}

.card-front.discover {
    background: linear-gradient(135deg, #ff6000 0%, #ff8f00 100%);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

/* Form Groups */
.credit-card-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.credit-card-form .form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.credit-card-form input,
.credit-card-form select {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #2c3e50; /* Default: dark text */
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    max-height: 50px;
}

.credit-card-form input:focus,
.credit-card-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.1);
    transform: translateY(-1px);
    color: #2c3e50; /* Dark text on focus (normal state) */
}

/* Error state - white text (even on focus) */
.credit-card-form input.error,
.credit-card-form select.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
    color: white !important; /* Force white text */
}

.credit-card-form input.error:focus,
.credit-card-form select.error:focus {
    color: white !important; /* Keep white on focus */
    border-color: #e74c3c; /* Keep red border */
    background-color: rgba(231, 76, 60, 0.1); /* Slightly darker red */
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1); /* Red glow */
}

/* Valid state (optional - adjust if needed) */
.credit-card-form input.valid,
.credit-card-form select.valid {
    color: white !important; /* Keep white on focus */
    border-color: #3ce750; /* Keep red border */
    background-color: #3ce75022; /* Slightly darker red */
    box-shadow: 0 0 0 4px #3ce7502a; /* Red glow */
}    

/* Card Number Input */
.card-number-group .input-wrapper {
    position: relative;
}

.card-brand-indicator {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-160%);
    font-size: 1.5rem;
    opacity: 0.7;
    pointer-events: none;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .card-brand-indicator {
    transform: translateY(-140%);

    }
}    

.card-brand-indicator.visible {
    opacity: 1;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    min-height: 1em;
    margin-top: 0px;
}

/* CVC Tooltip */
.cvc-tooltip {
    position: relative;
    margin-left: 8px;
}

.cvc-tooltip i {
    color: rgba(255, 255, 255, 0.6);
    cursor: help;
    font-size: 0.9rem;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 16px;
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.cvc-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    font-weight: 500;
    max-height: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    padding-top: 10px;
    padding-bottom: 10px;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.error-message::before {
    content: '⚠';
    font-size: 0.9rem;
}

/* Billing Section */
.billing-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 5px;
}

.billing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    margin-top: 8px;

}

.billing-header h4 {
    margin: 0;
    color: var(--light);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Checkbox Wrapper */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Billing Fields */
.billing-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

/* Security Info */
.security-info {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 32px 0;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.security-badges .badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4CAF50;
    font-size: 0.8rem;
    font-weight: 600;
}

.security-badges .badge i {
    font-size: 1rem;
}

.security-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Order Summary Mini */
.order-summary-mini {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin: 24px 0;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.summary-header:hover {
    background: rgba(255, 255, 255, 0.08);
}

.summary-header h4 {
    margin: 0;
    color: var(--light);
    font-size: 1rem;
    font-weight: 600;
}

.toggle-summary {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.toggle-summary i {
    transition: transform 0.3s ease;
}

.toggle-summary.expanded i {
    transform: rotate(180deg);
}

.summary-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.summary-content.expanded {
    max-height: 400px;
}

.summary-items {
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.summary-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-totals {
    padding: 16px 20px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.total-line.total {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    padding-top: 16px;
    color: var(--light);
    font-weight: 700;
    font-size: 1.1rem;
}

.payment-content {
    overflow-y: auto;
    max-height: 400px; /* Adjust this value based on your needs */
}

/* Optional: Custom scrollbar styling */
.payment-content::-webkit-scrollbar {
    width: 3px;
}

.credit-card-form .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.payment-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #d4b87a 100%);
    color: white;
    flex: 1;
    min-height: 56px;
    position: relative;
    box-shadow: 0 4px 16px rgba(195, 169, 111, 0.3);
}

.payment-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 77, 77, 0.4);
}

.payment-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.payment-btn .btn-text {
    font-size: 1rem;
    font-weight: 600;
}

.payment-btn .btn-amount {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 8px;
}

/* Button Loader */
.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .credit-card-form {
        max-width: 100%;
    }
    
    .card-front {
        height: 180px;
        padding: 20px;
    }
    
    .card-number-display {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .credit-card-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .payment-header {
        flex-wrap: wrap;
    }
    
    .security-badge {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .payment-header h3 {
        font-size: 1.1rem;
    }
    
    .method-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .method-tab {
        padding: 16px;
    }
    
    .card-front {
        height: 120px;
        padding: 16px;
    }
    
    .card-number-display {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .credit-card-form input,
    .credit-card-form select {
        padding: 5px;
        font-size: 0.95rem;
    }
    
    .form-sections {
        gap: 24px;
    }
    
    .form-section {
        gap: 8px;
    }
}

/* Billing Address Form Styles */
.billing-address-form {
    padding: 8px;
}

.billing-address-form .checkout-header {
    font-family: var(--font-heading);
    padding-top: 8px;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
    text-align: center;
    font-size: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.billing-address-form .form-grid {
    display: grid;
    gap: 12px;
    margin-top: 0px;
}

.billing-address-form .form-group.full-name {
    grid-column: 1 / -1;
}

.billing-address-form input,
.billing-address-form select {
    width: 100%;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: var(--light);
    font-size: 0.75rem;
    height: 34px;
    transition: all 0.15s ease;
    box-sizing: border-box;
    border-radius: 12px;
}

.billing-address-form input:focus,
.billing-address-form select:focus {
    color: black;
}

.billing-address-form label {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.65rem;
    font-weight: 500;
}

/* Add/modify these styles to your existing CSS */
.form-actions-container {
    position: sticky;
    bottom: 0;
    background: var(--dark);
    padding: 5px;
    z-index: 100;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.form-actions {
    width: 100%;
    margin-top: 8px;
}

.form-actions-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px; /* Maintains spacing between buttons */
}

/* Keep all your existing button styles */
.btn-secondary {
    margin-right: auto; /* Pushes to the left */
}

.btn-primary {
    margin-left: auto; /* Pushes to the right */
}

/* Keep all your existing billing section styles exactly as they are */
.billing-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 5px;
}

.billing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    margin-top: 8px;
}

/* Animation for showing/hiding the form */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* For desktop: Change to 2 columns for certain rows */
@media (min-width: 768px) {
    .billing-address-form .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(0, 0, 0, 0.9) 100%);
    padding: 40px 0 40px;
    color: var(--light);
    position: relative;
    margin-top: 100px;
    border-top: 3px solid var(--primary);
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    padding: 0 10px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.footer-about h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-about p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links li:hover::before {
    transform: translateX(3px);
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-contact p:hover {
    opacity: 1;
}

.footer-contact i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px 20px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.116);
    margin-top: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-links a {
    color: var(--light);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--light);
    line-height: 1.5;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.copyright a:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}