/* Old Pony Martini Pub - Light Coffee Palette */
:root {
    /* Light Coffee Palette - Four Core Colors */
    --white: #FFFFFF;
    --light-green: #E8F5E8;
    --light-brown: #F5E6D3;
    --dark-roast: #4A3728;

    /* Semantic Color Assignments */
    --primary: var(--dark-roast);
    --secondary: #8B6F47;
    --accent: #6B8E23;
    --light: var(--white);
    --dark: var(--dark-roast);
    --background: var(--white);
    --text: var(--dark-roast);

    /* Section Background Variations */
    --section-light: var(--white);
    --section-cream: var(--light-brown);
    --section-sage: var(--light-green);
    --section-warm: #F9F5F0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Urbanist', sans-serif;
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
}

/* Elegant subtitle styling */
.subtitle, .hero-subtitle, .section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--dark-roast);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Section subtitles on light backgrounds use dark text */
.section-light .section-subtitle,
.section-cream .section-subtitle,
.section-sage .section-subtitle,
.section-warm .section-subtitle {
    color: var(--secondary);
}

/* Section subtitles on dark backgrounds use light text */
.section-dark .section-subtitle {
    color: var(--light-brown);
}

/* Feature card subtitles */
.feature-card p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.7;
    font-size: 2.05rem;
    color: var(--dark-roast);
}

.testimonial-card p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Hero section subtitle styling */
.hero-slideshow p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.3px;
    color: var(--white) !important;
}

/* Hero section text - all text should be white */
.hero-slideshow h1,
.hero-slideshow h2,
.hero-slideshow h3,
.hero-slideshow h4,
.hero-slideshow h5,
.hero-slideshow h6,
.hero-slideshow p,
.hero-slideshow .text-text {
    color: var(--white) !important;
}

/* Ensure hero text classes are white */
.hero-slideshow .text-light,
.hero-slideshow .text-white {
    color: var(--white) !important;
}

/* Daily special and event descriptions */
.daily-special p, .event-card p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
}

/* Footer description text */
footer p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1.6;
}

/* Logo styles are now handled by logo-styles.php */

.logo-placeholder::after {
    content: "";
    color: var(--light);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    opacity: 0;
}

.logo-placeholder:hover::after {
    opacity: 0;
}

nav {
    transition: background-color 0.3s ease;
}

.nav-scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

/* Navigation text should be white */
nav a,
nav .nav-item,
.desktop-nav a,
.desktop-nav .nav-item {
    color: var(--white) !important;
}

.nav-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 8px 12px;
    color: var(--white) !important;
}

.nav-item:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--accent);
}

.nav-item:hover:after {
    width: 100%;
}

.hero-slideshow {
    position: relative;
    height: 85vh;
    overflow: hidden;
    background-color: var(--dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.section {
    padding: 90px 0;
    position: relative;
}

.section-about {
    background-color: var(--section-cream);
}

.section-why {
    background-color: var(--section-light);
}

.section-specials {
    background-color: var(--section-sage);
}

.section-testimonials {
    background-color: var(--section-warm);
}

.section-events {
    background-color: var(--section-cream);
}

.section-gallery {
    background-color: var(--section-light);
}

.section-menu {
    background-color: var(--section-sage);
    padding-top: 102px;
    padding-bottom: 60px;
}

.section-contact {
    background-color: var(--section-warm);
}

.section-contact .section-title {
    margin-bottom: 40px;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 45px;
    color: var(--accent);
    font-size: 2.75rem;
    font-weight: 600;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -2%;
    width: 104%;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid var(--light-brown);
    box-shadow: 0 4px 15px rgba(74, 55, 40, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(74, 55, 40, 0.15);
    border-color: var(--accent);
    background: var(--section-warm);
}

.feature-icon {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: var(--accent);
}

.daily-special {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    border: 1px solid var(--light-brown);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 55, 40, 0.08);
}

.daily-special:hover {
    background: var(--section-sage);
    transform: translateX(8px);
    box-shadow: 0 8px 15px rgba(74, 55, 40, 0.12);
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    margin: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid var(--light-brown);
    box-shadow: 0 4px 12px rgba(74, 55, 40, 0.08);
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(74, 55, 40, 0.15);
    background: var(--section-warm);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(107, 142, 35, 0.2);
    font-family: 'Playfair Display', serif;
}

.event-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary);
    border: 1px solid var(--light-brown);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 55, 40, 0.08);
}

.event-card:hover {
    background: var(--section-cream);
    transform: translateX(8px);
    box-shadow: 0 8px 15px rgba(74, 55, 40, 0.12);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 260px;
    box-shadow: 0 4px 10px rgba(74, 55, 40, 0.15);
    border: 2px solid var(--light-brown);
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* CLASSIC LIGHTBOX STYLING */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    animation: lightboxZoom 0.3s ease;
    user-select: none;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    transform: translateX(0px);
}

/* Visual feedback for dragging */
.lightbox-content.dragging {
    transition: none; /* Remove transition during drag for immediate response */
}

.lightbox-content.snap-back {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: var(--accent);
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1001;
}

.lightbox-prev, .lightbox-next {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    pointer-events: all;
    margin: 0 20px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    color: var(--accent);
    transform: scale(1.1);
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

/* Counter */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1001;
}

/* Animations */
@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lightbox-container {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 50px;
        height: 50px;
    }

    .lightbox-prev, .lightbox-next {
        font-size: 20px;
        padding: 12px 15px;
        margin: 0 10px;
    }

    .lightbox-counter {
        bottom: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
    .lightbox-prev:active, .lightbox-next:active {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(0.95);
    }
}

/* ========================================
   EPIC THREE.JS ANIMATED FOOTER STYLES
   ======================================== */

.epic-footer {
    min-height: 100vh;
    background: linear-gradient(135deg,
        #1a0f0a 0%,     /* Dark coffee */
        #2d1810 25%,    /* Rich chocolate */
        #1a2f1a 50%,    /* Deep margarita green */
        #0f1419 75%,    /* Dark night */
        #1a0f0a 100%    /* Back to coffee */
    );
    position: relative;
    overflow: hidden;
}

/* Three.js Canvas */
#liquidWavesCanvas {
    z-index: 1;
    opacity: 0.8;
    mix-blend-mode: screen;
}

/* Animated Gradient Overlay */
.footer-gradient-overlay {
    background: linear-gradient(45deg,
        rgba(245, 158, 11, 0.1) 0%,    /* Coffee gold */
        rgba(139, 69, 19, 0.15) 25%,   /* Chocolate brown */
        rgba(34, 197, 94, 0.1) 50%,    /* Margarita green */
        rgba(245, 158, 11, 0.1) 75%,   /* Back to coffee */
        rgba(139, 69, 19, 0.15) 100%   /* Chocolate */
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease-in-out infinite;
    z-index: 2;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* INSANE COLLISION BUBBLE PHYSICS SYSTEM */
.bubble-physics-container {
    z-index: 3;
    overflow: hidden;
}

.physics-bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Bubble Sizes */
.bubble-tiny {
    width: 6px;
    height: 6px;
}

.bubble-small {
    width: 12px;
    height: 12px;
}

.bubble-medium {
    width: 20px;
    height: 20px;
}

.bubble-large {
    width: 32px;
    height: 32px;
}

.bubble-huge {
    width: 48px;
    height: 48px;
}

/* Bubble Colors with Collision Glow */
.bubble-coffee {
    background: radial-gradient(circle at 30% 30%, #fbbf24, #f59e0b, #d97706);
    box-shadow:
        0 0 20px rgba(245, 158, 11, 0.6),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.bubble-coffee.collision-glow {
    box-shadow:
        0 0 40px rgba(245, 158, 11, 1),
        0 0 60px rgba(245, 158, 11, 0.8),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.bubble-chocolate {
    background: radial-gradient(circle at 30% 30%, #a16207, #8b4513, #654321);
    box-shadow:
        0 0 20px rgba(139, 69, 19, 0.6),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.bubble-chocolate.collision-glow {
    box-shadow:
        0 0 40px rgba(139, 69, 19, 1),
        0 0 60px rgba(139, 69, 19, 0.8),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.bubble-margarita {
    background: radial-gradient(circle at 30% 30%, #4ade80, #22c55e, #16a34a);
    box-shadow:
        0 0 20px rgba(34, 197, 94, 0.6),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.bubble-margarita.collision-glow {
    box-shadow:
        0 0 40px rgba(34, 197, 94, 1),
        0 0 60px rgba(34, 197, 94, 0.8),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Bubble Physics Animation */
@keyframes bubbleFloat {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
        transform: translateY(95vh) translateX(0px) rotate(18deg) scale(1);
    }
    95% {
        opacity: 0.8;
        transform: translateY(-5vh) translateX(var(--drift-x, 0px)) rotate(342deg) scale(1);
    }
    100% {
        transform: translateY(-10vh) translateX(var(--drift-x, 0px)) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

/* Individual Bubble Animations with Random Drift */
.physics-bubble:nth-child(1) {
    left: 5%;
    animation: bubbleFloat 15s linear infinite;
    animation-delay: 0s;
    --drift-x: 20px;
}

.physics-bubble:nth-child(2) {
    left: 12%;
    animation: bubbleFloat 18s linear infinite;
    animation-delay: -2s;
    --drift-x: -15px;
}

.physics-bubble:nth-child(3) {
    left: 20%;
    animation: bubbleFloat 22s linear infinite;
    animation-delay: -4s;
    --drift-x: 30px;
}

.physics-bubble:nth-child(4) {
    left: 28%;
    animation: bubbleFloat 16s linear infinite;
    animation-delay: -6s;
    --drift-x: -25px;
}

.physics-bubble:nth-child(5) {
    left: 35%;
    animation: bubbleFloat 20s linear infinite;
    animation-delay: -8s;
    --drift-x: 40px;
}

.physics-bubble:nth-child(6) {
    left: 42%;
    animation: bubbleFloat 19s linear infinite;
    animation-delay: -10s;
    --drift-x: -35px;
}

.physics-bubble:nth-child(7) {
    left: 50%;
    animation: bubbleFloat 17s linear infinite;
    animation-delay: -12s;
    --drift-x: 25px;
}

.physics-bubble:nth-child(8) {
    left: 58%;
    animation: bubbleFloat 21s linear infinite;
    animation-delay: -14s;
    --drift-x: -20px;
}

.physics-bubble:nth-child(9) {
    left: 65%;
    animation: bubbleFloat 23s linear infinite;
    animation-delay: -16s;
    --drift-x: 35px;
}

.physics-bubble:nth-child(10) {
    left: 72%;
    animation: bubbleFloat 18s linear infinite;
    animation-delay: -18s;
    --drift-x: -30px;
}

.physics-bubble:nth-child(11) {
    left: 80%;
    animation: bubbleFloat 16s linear infinite;
    animation-delay: -20s;
    --drift-x: 45px;
}

.physics-bubble:nth-child(12) {
    left: 88%;
    animation: bubbleFloat 24s linear infinite;
    animation-delay: -22s;
    --drift-x: -40px;
}

.physics-bubble:nth-child(13) {
    left: 95%;
    animation: bubbleFloat 19s linear infinite;
    animation-delay: -24s;
    --drift-x: 15px;
}

/* Continue pattern for all bubbles... */
.physics-bubble:nth-child(n+14) {
    left: calc(3% + (var(--n) * 7%));
    animation: bubbleFloat calc(15s + (var(--n) * 2s)) linear infinite;
    animation-delay: calc(-1s * var(--n));
    --drift-x: calc(10px + (var(--n) * 5px));
}

/* Footer Content */
.footer-content {
    z-index: 10;
}

/* Animated Logo */
.footer-logo-container {
    position: relative;
    display: inline-block;
}

.footer-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.6));
    animation: logoFloatWithBubbles 8s ease-in-out infinite;
    transition: all 0.2s ease-out;
    position: relative;
    z-index: 15;
    will-change: transform;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 50px rgba(245, 158, 11, 0.8));
}

/* Logo gets pushed by bubble collisions */
.footer-logo.bubble-collision {
    animation: logoCollisionReaction 0.8s ease-out;
    filter: drop-shadow(0 0 60px rgba(245, 158, 11, 1)) drop-shadow(0 0 80px rgba(34, 197, 94, 0.8));
}

@keyframes logoCollisionReaction {
    0% { transform: translateX(0px) translateY(0px) rotate(0deg) scale(1); }
    20% { transform: translateX(var(--collision-x, 15px)) translateY(var(--collision-y, -10px)) rotate(var(--collision-rotate, 8deg)) scale(1.1); }
    40% { transform: translateX(calc(var(--collision-x, 15px) * 0.7)) translateY(calc(var(--collision-y, -10px) * 0.7)) rotate(calc(var(--collision-rotate, 8deg) * 0.5)) scale(1.05); }
    60% { transform: translateX(calc(var(--collision-x, 15px) * 0.3)) translateY(calc(var(--collision-y, -10px) * 0.3)) rotate(calc(var(--collision-rotate, 8deg) * 0.2)) scale(1.02); }
    80% { transform: translateX(calc(var(--collision-x, 15px) * 0.1)) translateY(calc(var(--collision-y, -10px) * 0.1)) rotate(calc(var(--collision-rotate, 8deg) * 0.1)) scale(1.01); }
    100% { transform: translateX(0px) translateY(0px) rotate(0deg) scale(1); }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoFloatWithBubbles {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    15% { transform: translateY(-8px) translateX(3px) rotate(1deg); }
    30% { transform: translateY(-12px) translateX(-2px) rotate(-1deg); }
    45% { transform: translateY(-6px) translateX(4px) rotate(2deg); }
    60% { transform: translateY(-15px) translateX(-1px) rotate(-0.5deg); }
    75% { transform: translateY(-9px) translateX(2px) rotate(1.5deg); }
    90% { transform: translateY(-5px) translateX(-3px) rotate(-1deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

/* Typography */
.footer-title {
    background: linear-gradient(45deg, #f59e0b, #22c55e, #8b4513);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 8s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Glass Effect Contact Cards */
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    min-height: 360px;
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: center;
    width: 30%;
    margin: 0 auto;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.card-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 20px;
    grid-row: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: #f59e0b;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.contact-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
    color: #22c55e;
}

.icon-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent);
    border-radius: 50%;
    animation: rippleEffect 3s ease-in-out infinite;
}

@keyframes rippleEffect {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    font-size: 1rem;
    margin-top: 0;
    padding: 0 5px;
    font-weight: 500;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.card-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover .card-hover-effect {
    left: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.2);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.social-link[data-social="facebook"]:hover { border-color: #1877f2; background: rgba(24, 119, 242, 0.2); }
.social-link[data-social="instagram"]:hover { border-color: #e4405f; background: rgba(228, 64, 95, 0.2); }
.social-link[data-social="twitter"]:hover { border-color: #1da1f2; background: rgba(29, 161, 242, 0.2); }
.social-link[data-social="yelp"]:hover { border-color: #ff1a1a; background: rgba(255, 26, 26, 0.2); }

.social-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.social-link:hover .social-tooltip {
    opacity: 1;
    bottom: 130%;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Wave SVG Animation */
.wave-overlay {
    z-index: 5;
    height: 120px;
}

.wave-svg {
    width: 100%;
    height: 100%;
}

.wave-path {
    fill: rgba(245, 158, 11, 0.1);
}

.wave-1 {
    animation: waveMove1 8s ease-in-out infinite;
}

.wave-2 {
    animation: waveMove2 6s ease-in-out infinite reverse;
}

.wave-3 {
    animation: waveMove3 10s ease-in-out infinite;
}

@keyframes waveMove1 {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-20px); }
}

@keyframes waveMove2 {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(15px); }
}

@keyframes waveMove3 {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-10px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .epic-footer {
        min-height: auto;
    }

    .footer-content {
        padding: 3rem 0;
    }

    .footer-logo {
        height: 80px;
    }

    .footer-title {
        font-size: 2rem;
    }

    .footer-subtitle {
        font-size: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
        min-height: 180px;
        width: 100%;
        margin-bottom: 1rem;
    }

    .footer-cards-container {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .card-content {
        font-size: 0.95rem;
        margin-top: 0;
        padding: 0 5px;
        line-height: 1.2;
    }

    .card-title {
        margin-top: 1rem;
        margin-bottom: 0.8rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .footer-links {
        gap: 1rem;
    }

    .contact-info .fa-phone {
        margin-right: 15px;
    }

    .contact-info .fa-map-marker-alt {
        margin-right: 15px;
    }

    /* Footer contact cards - mobile layout with left-aligned icons */
    .contact-card {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .card-icon-container {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .card-content {
        text-align: left;
        margin-top: 0;
        padding: 0;
        flex: 1;
    }
}

/* Ken Burns Effect - Very Subtle */
@keyframes kenBurns {
    0% {
        background-size: 110%;
        background-position: center center;
    }
    25% {
        background-size: 115%;
        background-position: 60% 40%;
    }
    50% {
        background-size: 112%;
        background-position: 40% 60%;
    }
    75% {
        background-size: 118%;
        background-position: 70% 30%;
    }
    100% {
        background-size: 114%;
        background-position: 30% 70%;
    }
}

/* Menu Styling - Tab System like Moose's with Coffee Palette */
.menu-category {
    margin-bottom: 45px;
}

/* Menu Tabs - Modern Industry Standard */
.menu-tabs {
    display: flex;
    border-bottom: 2px solid var(--light-brown);
    margin-bottom: 0;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: center;
    overflow: hidden;
    padding: 0 10px;
}

.menu-tab {
    padding: 16px 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--light-brown);
    border: 1px solid var(--light-brown);
    border-bottom: none;
    border-right: 1px solid var(--white);
    font-weight: 600;
    color: var(--dark-roast);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    position: relative;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    outline: none;
    border-radius: 8px 8px 0 0;
}

.menu-tab:last-child {
    border-right: 1px solid var(--light-brown);
}

.menu-tab.active {
    background: var(--section-sage);
    color: var(--primary);
    border-color: var(--accent);
    border-bottom: 2px solid var(--section-sage);
    z-index: 10;
    position: relative;
}

.menu-tab.active:last-child {
    border-right-color: var(--accent);
}

.menu-tab:hover {
    background: var(--white);
    color: var(--dark-roast);
    z-index: 5;
    border-color: var(--accent);
    box-shadow: 0 2px 4px rgba(74, 55, 40, 0.1);
}

.menu-tab:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Menu Content */
.menu-content {
    display: none;
    animation: fadeIn 0.5s ease;
    background: var(--white);
    padding: 30px;
    border: 2px solid var(--light-brown);
    border-top: none;
    box-shadow: 0 4px 15px rgba(74, 55, 40, 0.08);
    margin-top: 0;
}

.menu-content.active {
    display: block;
}

/* Mobile Responsive Tabs */
@media (max-width: 768px) {
    .menu-tabs {
        justify-content: center;
        border-bottom: 1px solid var(--light-brown);
        padding: 0 5px;
        margin-bottom: 0;
        overflow: hidden;
    }

    .menu-tab {
        padding: 14px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border: 1px solid var(--light-brown);
        border-bottom: none;
        border-right: 1px solid var(--white);
        border-radius: 6px 6px 0 0;
        background: var(--light-brown);
        color: var(--dark-roast);
        outline: none;
        flex: 1;
        text-align: center;
    }

    .menu-tab:first-child {
        border-top-left-radius: 8px;
    }

    .menu-tab:last-child {
        border-top-right-radius: 8px;
        border-right: 1px solid var(--light-brown);
    }

    .menu-tab.active {
        background: var(--white);
        border-bottom: 1px solid var(--white);
        border-color: var(--accent);
    }

    .menu-tab.active:last-child {
        border-right-color: var(--accent);
    }

    .menu-content {
        padding: 20px;
        border: 1px solid var(--light-brown);
        border-top: none;
        border-radius: 0 0 8px 8px;
    }
}

/* Menu Items - List Style like Moose's */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px dashed var(--light-brown);
    transition: all 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: var(--section-warm);
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 8px;
}

.menu-item-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 4px;
}

.menu-item-price {
    font-weight: 600;
    color: var(--accent);
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
    margin-left: 20px;
}

.menu-item-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-style: italic;
    font-weight: 400;
    color: var(--dark-roast);
    line-height: 1.5;
    margin-top: 2px;
}

/* Menu Category Styling */
.menu-category h3 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.menu-category-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--dark-roast);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.menu-category-note {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    background: var(--section-sage);
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Menu Cards - Coffee Theme */
.drink-card, .food-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid var(--light-brown);
    box-shadow: 0 8px 25px rgba(74, 55, 40, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.drink-card:hover, .food-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(74, 55, 40, 0.2);
    border-color: var(--accent);
    background: var(--section-warm);
}

.drink-card::before, .food-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 245, 232, 0.4), transparent);
    transition: left 0.6s ease;
}

.drink-card:hover::before, .food-card:hover::before {
    left: 100%;
}

.drink-card h4, .food-card h4 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.menu-item-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-style: italic;
    font-weight: 400;
    color: var(--dark-roast);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Daily Specials - Enhanced Animation */
.daily-special {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid var(--accent);
    border: 2px solid var(--light-brown);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(74, 55, 40, 0.08);
    position: relative;
    overflow: hidden;
}

.daily-special:hover {
    background: var(--section-sage);
    transform: translateX(12px) scale(1.03);
    box-shadow: 0 12px 25px rgba(74, 55, 40, 0.15);
    border-left-color: var(--secondary);
}

.daily-special::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 230, 211, 0.6), transparent);
    transition: right 0.5s ease;
}

.daily-special:hover::after {
    right: 100%;
}

.daily-special h4 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.daily-special p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--secondary);
    position: relative;
    z-index: 2;
}

/* Event Cards - Enhanced with Coffee Theme */
.event-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary);
    border: 2px solid var(--light-brown);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(74, 55, 40, 0.08);
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    background: var(--section-cream);
    transform: translateX(15px) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(74, 55, 40, 0.15);
    border-left-color: var(--accent);
}

.event-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 245, 232, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.event-card:hover::before {
    transform: scale(1);
}

.event-card h3 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.event-card h4 {
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.event-card p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--secondary);
    position: relative;
    z-index: 2;
}

/* Price styling with coffee theme */
.text-2xl.font-bold.text-accent {
    color: var(--accent) !important;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 4px rgba(74, 55, 40, 0.1);
}

/* Fade in animations for menu items */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.drink-card:nth-child(odd) {
    animation: slideInFromLeft 0.6s ease-out;
}

.drink-card:nth-child(even) {
    animation: slideInFromRight 0.6s ease-out;
}

.food-card:nth-child(odd) {
    animation: slideInFromLeft 0.6s ease-out;
}

.food-card:nth-child(even) {
    animation: slideInFromRight 0.6s ease-out;
}

/* Special Day Cards - Big Cards with Pictures */
.special-day-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(74, 55, 40, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--light-brown);
}

.special-day-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(74, 55, 40, 0.25);
    border-color: var(--accent);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 55, 40, 0.7) 0%, rgba(74, 55, 40, 0.4) 100%);
    transition: all 0.3s ease;
}

.special-day-card:hover .card-overlay {
    background: linear-gradient(135deg, rgba(74, 55, 40, 0.5) 0%, rgba(74, 55, 40, 0.2) 100%);
}

.card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.card-day {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-theme {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: var(--section-sage);
}

.card-details {
    padding: 25px;
    background: var(--white);
}

.special-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--light-brown);
}

.special-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.special-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.special-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.special-price {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
}

.special-description {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 5px;
}

/* Mobile responsive for special cards */
@media (max-width: 768px) {
    .special-day-card {
        margin-bottom: 20px;
    }

    .card-image {
        height: 150px;
    }

    .card-day {
        font-size: 1.5rem;
    }

    .card-theme {
        font-size: 1rem;
    }

    .card-details {
        padding: 20px;
    }
}

/* SPECTACULAR LOGO ANIMATION SYSTEM */
.logo-container {
    position: relative;
    margin: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 120px;
    overflow: visible;
}

.spinning-logo {
    display: block;
    transition: all 0.3s ease;
}

.logo-main {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Globe Spinning Animation */
@keyframes globeSpin {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(90deg) rotateX(15deg); }
    50% { transform: rotateY(180deg) rotateX(0deg); }
    75% { transform: rotateY(270deg) rotateX(-15deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

.spinning-logo.spinning .logo-main {
    animation: globeSpin 1s ease-in-out;
}

/* Explosion Animation */
@keyframes explode {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

.spinning-logo.exploding .logo-main {
    animation: explode 0.8s ease-out forwards;
}

/* Explosion Particles */
.explosion-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--accent) 0%, var(--secondary) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
}

@keyframes particleScatter {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

/* Menu Items Animation During Explosion */
.desktop-nav-left, .desktop-nav-right {
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-container.exploding .desktop-nav-left {
    transform: translateX(-100px);
    opacity: 0.3;
}

.nav-container.exploding .desktop-nav-right {
    transform: translateX(100px);
    opacity: 0.3;
}

/* Menu Items Coming Back Together */
.nav-container.reforming .desktop-nav-left {
    transform: translateX(20px);
    opacity: 1;
}

.nav-container.reforming .desktop-nav-right {
    transform: translateX(-20px);
    opacity: 1;
}

/* Logo Growing Back and Pushing Menu Items */
@keyframes logoGrowBack {
    0% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.spinning-logo.growing .logo-main {
    animation: logoGrowBack 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Final Push Animation */
.nav-container.pushing .desktop-nav-left {
    transform: translateX(-20px);
}

.nav-container.pushing .desktop-nav-right {
    transform: translateX(20px);
}

/* Hover Effects for Logo */
.spinning-logo:hover .logo-main {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.6));
}

/* Mobile Navigation Adjustments */
@media (max-width: 768px) {
    .logo-container {
        margin: 0 20px;
        width: 80px;
        height: 80px;
    }

    .logo-main {
        height: 60px !important;
    }
}

.contact-info {
    margin-bottom: 20px;
    margin-top: -15px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-info i {
    color: var(--accent);
    font-size: 1.4rem;
    min-width: 25px;
    display: inline-block;
    vertical-align: top;
}

.contact-info .fa-map-marker-alt {
    margin-right: 15px;
}

.contact-info .fa-phone {
    margin-right: 15px;
}

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

footer {
    background: var(--dark);
    padding: 35px 0;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

/* ========================================
   EPIC MODERN MOBILE NAVIGATION
   ======================================== */

/* Mobile Menu Button */
.mobile-menu-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Hamburger Lines */
.hamburger-lines {
    position: relative;
    width: 24px;
    height: 18px;
}

.line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.line1 {
    top: 0;
}

.line2 {
    top: 50%;
    transform: translateY(-50%);
}

.line3 {
    bottom: 0;
}

/* Animated X when active */
.mobile-menu-btn.active .line1 {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active .line2 {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

.mobile-menu-btn.active .line3 {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(26, 15, 10, 0.98) 0%,
        rgba(45, 24, 16, 0.98) 50%,
        rgba(26, 15, 10, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    border-left: 2px solid rgba(245, 158, 11, 0.3);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    right: 0;
}

/* Mobile Nav Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.1);
}

.mobile-nav-logo {
    flex: 1;
}

.mobile-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.6));
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mobile-nav-close:hover {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
    transform: rotate(90deg);
}

/* Mobile Nav Content */
.mobile-nav-content {
    flex: 1;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--accent);
    color: var(--accent);
    transform: translateX(10px);
}

.mobile-nav-link.active {
    background: rgba(245, 158, 11, 0.2);
    border-left-color: var(--accent);
    color: var(--accent);
}

.mobile-nav-link i {
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.mobile-nav-link span {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

/* Mobile Nav Footer */
.mobile-nav-footer {
    padding: 25px;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.05);
    text-align: center;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
    transform: scale(1.1) rotate(5deg);
}

.mobile-nav-address {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.mobile-nav-phone {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Mobile Navigation Responsive Behavior */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
        right: 20px !important;
        background: rgba(245, 158, 11, 0.2) !important;
        border: 2px solid rgba(245, 158, 11, 0.5) !important;
    }

    .desktop-nav-left,
    .desktop-nav-right {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn,
    .mobile-nav-overlay,
    .mobile-nav-menu {
        display: none !important;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Form Inputs - Enhanced Visibility */
input, textarea, select {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(245, 158, 11, 0.3);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 0 20px rgba(245, 158, 11, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 3px rgba(255, 255, 255, 0.2);
    outline: none;
    transform: translateY(-2px);
}

input:hover, textarea:hover, select:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Contact Form Specific Styling */
.section-contact input,
.section-contact textarea {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(245, 158, 11, 0.4);
    color: white;
    font-weight: 500;
}

.section-contact input:focus,
.section-contact textarea:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: #f59e0b;
    color: white;
}

.section-contact label {
    color: var(--dark-roast);
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: none;
    margin-bottom: 8px;
}

/* Pricing Disclaimer Styling */
.pricing-disclaimer {
    color: #000000;
    font-style: italic;
    font-weight: 500;
    text-shadow: none;
    letter-spacing: 0.5px;
    opacity: 1;
}

/* Contact Form Submit Button */
.section-contact button[type="submit"] {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 2px solid #f59e0b;
    color: #1a0f0a;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(245, 158, 11, 0.3),
        inset 0 1px 3px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-contact button[type="submit"]:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #fbbf24;
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(245, 158, 11, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

.section-contact button[type="submit"]:active {
    transform: translateY(-1px);
    box-shadow:
        0 4px 15px rgba(245, 158, 11, 0.3),
        inset 0 1px 3px rgba(255, 255, 255, 0.2);
}

/* Style for select dropdown arrow */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23F5E8D3" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Error message styling */
.text-red-500 {
    color: #f56565;
}

/* Hero Video Styles */
.hero-slideshow {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: kenBurns 15s ease-in-out infinite alternate;
}

.slide.active {
    opacity: 1;
}

.slide:hover {
    animation-play-state: paused;
}

.video-slide {
    background: none !important;
    animation: none !important;
    overflow: hidden;
    /* Ensure video container fills entire slide */
    width: 100% !important;
    height: 100% !important;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 115%;
    height: 115%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    /* 15% zoom to eliminate black bars on all aspect ratios */
    min-width: 115%;
    min-height: 115%;
}

/* Additional video stretch rules for different aspect ratios with 15% zoom */
@media (max-aspect-ratio: 16/9) {
    .hero-video {
        width: 115%;
        height: auto;
        min-height: 115%;
    }
}

@media (min-aspect-ratio: 16/9) {
    .hero-video {
        width: auto;
        height: 115%;
        min-width: 115%;
    }
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Enhanced Gallery Modal with Swipe Support */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    animation: zoom 0.4s ease;
    touch-action: pan-y;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: var(--text);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: var(--accent);
    background: rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 70vh;
    }
    .hero-video {
        min-width: 100%;
        min-height: 100%;
    }
    .section-title {
        font-size: 2.25rem;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .modal-nav {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
    .modal-prev {
        left: 10px;
    }
    .modal-next {
        right: 10px;
    }
    .close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}