/**
 * Gameday Social - The Canton Pub
 * Mobile-First Responsive Design
 * Upscale Sports Lounge Aesthetic
 */

/* ===================================================================
   CSS Custom Properties (Design Tokens)
   =================================================================== */

:root {
    /* Primary Colors */
    --color-gold: #d4af37;
    --color-gold-light: #f0d77e;
    --color-gold-dark: #8b7355;

    /* Accent Colors - Warm/Leather tones for sports lounge feel */
    --color-accent: #8b4513;
    --color-accent-light: #a0522d;
    --color-burgundy: #722f37;

    /* Neutral Colors */
    --color-bg-dark: #0a0a0a;
    --color-bg-medium: #0f0f0f;
    --color-bg-light: #1a1a1a;
    --color-text-primary: #f5f5f5;
    --color-text-secondary: #c0c0c0;
    --color-text-muted: #808080;

    /* Shadows */
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.2);
    --shadow-gold-intense: 0 0 40px rgba(212, 175, 55, 0.4);

    /* Transitions */
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   CSS Reset & Base Styles
   =================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

/* ===================================================================
   Accessibility
   =================================================================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #d4af37;
    color: #0a0a0a;
    padding: 1rem 2rem;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===================================================================
   Typography
   =================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 2rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.6rem;
    letter-spacing: 0.05em;
}

h2 {
    font-size: 3rem;
    letter-spacing: 0.03em;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
    color: #c0c0c0;
}

a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #f0d77e;
}

/* ===================================================================
   Utilities
   =================================================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.decorative-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 2rem auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.decorative-line::before {
    left: -10px;
    animation: pulseDot 2s ease-in-out infinite;
}

.decorative-line::after {
    right: -10px;
    animation: pulseDot 2s ease-in-out infinite 1s;
}

@keyframes pulseDot {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.3); opacity: 0.7; }
}

.decorative-line-dark {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b7355, transparent);
    margin: 2rem auto 4rem;
}

/* ===================================================================
   Hero Section - Mobile First
   =================================================================== */

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

/* Background Image Layer */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/intro-bg.jpg') no-repeat center center;
    background-size: cover;
    filter: saturate(0.8) contrast(1.1);
    transform: scale(1.05);
    animation: subtle-zoom 20s ease-in-out infinite alternate;
}

@keyframes subtle-zoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

/* Mesh/Pattern Overlay - Creates embroidered texture effect */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
    z-index: 2;
    pointer-events: none;
}

/* Animated Gold Accent Glow */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(139, 115, 85, 0.1) 0%, transparent 40%);
    z-index: 3;
    pointer-events: none;
    animation: glow-shift 8s ease-in-out infinite alternate;
}

@keyframes glow-shift {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Main Overlay with Vignette */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    animation: float-up 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 11s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 13s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 15s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 11s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 16s; }
.particle:nth-child(11) { left: 45%; animation-delay: 0s; animation-duration: 13s; }
.particle:nth-child(12) { left: 75%; animation-delay: 2s; animation-duration: 15s; }

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(0.5);
        opacity: 0;
    }
}

/* Mobile: Reduce particles and simplify animations for performance */
@media only screen and (max-width: 767px) {
    .hero-bg {
        animation: none;
        transform: scale(1.02);
    }

    .particle:nth-child(n+7) {
        display: none;
    }

    #hero::before {
        background-image:
            repeating-linear-gradient(
                0deg,
                transparent,
                transparent 3px,
                rgba(0, 0, 0, 0.02) 3px,
                rgba(0, 0, 0, 0.02) 6px
            );
    }

    /* Improved mobile spacing */
    #hero {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-subtitle-secondary {
        font-size: 1.5rem;
    }

    .hero-address a {
        font-size: 1.3rem;
        padding: 0.8rem 1.4rem;
    }

    .hero-description {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }

    .subscription-section h3 {
        font-size: 2rem;
    }

    #sib-container {
        padding: 2rem 1.5rem;
    }

    /* Better gallery spacing on mobile */
    .gallery-grid {
        gap: 1.5rem;
    }

    .gallery-item {
        aspect-ratio: 16/10;
    }

    /* Location section mobile improvements */
    .location-info h3 {
        font-size: 2.4rem;
    }

    .map-container {
        min-height: 250px;
    }

    /* Larger tap areas for lightbox controls */
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        font-size: 3rem;
        padding: 1.5rem;
        min-width: 48px;
        min-height: 48px;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 3rem;
    animation: logoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.3));
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.5));
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: #d4af37;
    margin-bottom: 0.5rem;
    animation: subtitleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    position: relative;
    display: block;
}

.hero-subtitle-secondary {
    animation-delay: 0.7s;
    color: #c0c0c0;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle:not(.hero-subtitle-secondary)::after {
    display: none;
}

.hero-subtitle-secondary::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: underlineExpand 0.8s ease-out 1.4s forwards;
    transform: translateX(-50%);
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0.3em;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.05em;
    }
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: underlineExpand 0.8s ease-out 1.2s forwards;
    transform: translateX(-50%);
}

@keyframes underlineExpand {
    to {
        width: 100%;
    }
}

/* Hero Address */
.hero-address {
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-address a {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    color: #f5f5f5;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    display: inline-block;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-address a:hover {
    border-color: rgba(212, 175, 55, 0.6);
    color: #d4af37;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Hero Locations Display */
.hero-locations {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@media only screen and (min-width: 768px) {
    .hero-locations {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
}

.hero-location-item {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 1.8rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.hero-location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-location-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.hero-location-item:hover::before {
    opacity: 1;
}

.location-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 0.5rem;
}

.location-status {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.location-status.coming-soon {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.location-address-link {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 1.4rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.location-address-link:hover {
    color: #d4af37;
}

@media only screen and (min-width: 768px) {
    .hero-location-item {
        min-width: 280px;
        padding: 2rem 2.5rem;
    }

    .location-name {
        font-size: 2.2rem;
    }

    .location-address-link {
        font-size: 1.5rem;
    }
}

.hero-description {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #c0c0c0;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* ===================================================================
   Countdown Timer
   =================================================================== */

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    min-width: 60px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: #d4af37;
    line-height: 1;
    transition: transform 0.3s ease;
}

.countdown-number.flip {
    animation: numberFlip 0.5s ease;
}

@keyframes numberFlip {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #808080;
    margin-top: 0.5rem;
}

.countdown-separator {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.5);
    animation: pulse-separator 2s ease-in-out infinite;
}

@keyframes pulse-separator {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media only screen and (min-width: 768px) {
    .countdown-container {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1.5rem 2rem;
        min-width: 80px;
    }

    .countdown-number {
        font-size: 3.2rem;
    }

    .countdown-label {
        font-size: 1.1rem;
    }

    .countdown-separator {
        font-size: 2.8rem;
    }
}

/* Subscription Section */
.subscription-section {
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.subscription-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #f5f5f5;
    margin-bottom: 1rem;
}

.subscription-text {
    font-size: 1.4rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

/* Brevo Form Styles - Mobile First */
.sib-form-container {
    max-width: 100%;
    margin: 0 auto;
}

.sib-form-message-panel {
    font-size: 1.4rem;
    text-align: center;
    margin: 0 auto 2rem;
    padding: 1.2rem;
    border-radius: 8px;
    animation: slideDown 0.3s ease-out;
}

#error-message {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.3);
}

#success-message {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.sib-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    font-size: 1.8rem;
}

#sib-container {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

#sib-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    animation: rotateGradient 15s linear infinite;
    pointer-events: none;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#sib-container:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
}

.sib-form-block {
    padding: 0.8rem 0;
}

#EMAIL {
    width: 100%;
    padding: 1.6rem 1.8rem;
    min-height: 48px; /* Minimum touch target for mobile */
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.05);
    color: #f5f5f5;
    transition: all 0.3s ease;
}

#EMAIL:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

#EMAIL::placeholder {
    color: #808080;
}

.sib-form-block__button {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    background: #000000;
    border-radius: 8px;
    padding: 1.6rem 2rem;
    min-height: 48px; /* Minimum touch target for mobile */
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.sib-form-block__button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.sib-form-block__button:active {
    transform: translateY(0);
}

.sib-hide-loader-icon {
    display: none !important;
}

.input--hidden {
    display: none;
}

.entry__error {
    display: block;
    font-size: 1.3rem;
    color: #ff4d4d;
    margin-top: 0.5rem;
    padding: 0.5rem;
    text-align: left;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    animation: fadeIn 2s ease-out 1.5s both;
}

.scroll-indicator span {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #808080;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #d4af37, transparent);
    animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* ===================================================================
   Gallery Section
   =================================================================== */

#gallery {
    padding: 8rem 2rem;
    background: #0f0f0f;
}

.section-title {
    text-align: center;
    font-size: 3.6rem;
    color: #f5f5f5;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay p {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #d4af37;
    margin: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===================================================================
   Location Section
   =================================================================== */

#location {
    padding: 8rem 2rem;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

/* Subtle accent glow */
#location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

#location::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Locations Grid */
.locations-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media only screen and (min-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.location-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.location-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.1);
}

.location-card:hover::before {
    opacity: 1;
}

.location-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.location-area {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: #f5f5f5;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.location-card .address {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #c0c0c0;
    margin-bottom: 2rem;
}

.opening-status {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4af37;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.1);
}

/* Legacy support */
.location-content {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.location-info {
    text-align: center;
}

.location-info h3 {
    font-size: 2.8rem;
    color: #d4af37;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.location-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, transparent);
}

.location-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: #d4af37;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.address {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hours {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.hours strong {
    color: #f5f5f5;
}

.contact-info {
    margin-top: 3rem;
}

.contact-info strong {
    color: #f5f5f5;
    font-size: 1.6rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-link {
    padding: 1rem 2rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    transform: translateY(-2px);
}

.map-container {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(26, 26, 26, 0.5);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder p {
    color: #808080;
    font-size: 1.6rem;
}

/* ===================================================================
   Footer
   =================================================================== */

footer {
    padding: 4rem 2rem 2rem;
    background: #0a0a0a;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo-img {
    max-width: 120px;
    height: auto;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

.copyright {
    text-align: center;
    font-size: 1.3rem;
    color: #808080;
}

.copyright p {
    margin: 0;
}

/* ===================================================================
   Go to Top Button
   =================================================================== */

#go-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#go-top.show {
    opacity: 1;
    visibility: visible;
}

#go-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 48px; /* Minimum touch target */
    min-height: 48px;
    background: rgba(212, 175, 55, 0.9);
    color: #0a0a0a;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

#go-top a:hover {
    background: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.arrow-up {
    font-size: 2rem;
    font-weight: bold;
}

/* ===================================================================
   Animations
   =================================================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   Responsive Design - Tablet (768px and up)
   =================================================================== */

@media only screen and (min-width: 768px) {
    h1 { font-size: 4.8rem; }
    h2 { font-size: 3.6rem; }

    .hero-title {
        font-size: 6rem;
    }

    .hero-subtitle {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.8rem;
    }

    .logo {
        max-width: 220px;
    }

    #sib-container {
        padding: 3rem 3.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .location-content {
        flex-direction: row;
        gap: 5rem;
    }

    .location-info {
        flex: 1;
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }

    .map-container {
        flex: 1;
        min-height: 400px;
    }

    .map-placeholder {
        height: 400px;
    }

    #go-top {
        bottom: 3rem;
        right: 3rem;
    }

    #go-top a {
        width: 60px;
        height: 60px;
    }

    .arrow-up {
        font-size: 2.4rem;
    }
}

/* ===================================================================
   Responsive Design - Desktop (1024px and up)
   =================================================================== */

@media only screen and (min-width: 1024px) {
    .hero-title {
        font-size: 7.2rem;
    }

    .hero-subtitle {
        font-size: 2.6rem;
    }

    .logo {
        max-width: 260px;
    }

    #sib-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    #gallery {
        padding: 10rem 2rem;
    }

    #location {
        padding: 10rem 2rem;
    }

    .section-title {
        font-size: 4.5rem;
    }
}

/* ===================================================================
   Responsive Design - Large Desktop (1440px and up)
   =================================================================== */

@media only screen and (min-width: 1440px) {
    .hero-title {
        font-size: 8rem;
    }

    .container {
        max-width: 1400px;
    }
}

/* ===================================================================
   Lightbox
   =================================================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
}

#lightbox-caption {
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-top: 2rem;
    font-style: italic;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 1rem;
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #d4af37;
    transform: scale(1.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #808080;
    font-size: 1.4rem;
}

/* ===================================================================
   Confetti Animation
   =================================================================== */

#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(-100%) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(720deg);
    }
}

/* ===================================================================
   Section Reveal Animations - Bold & Dynamic
   =================================================================== */

.reveal-section {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for child elements */
.reveal-section.revealed .section-title {
    animation: slideInFromLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-section.revealed .decorative-line-dark {
    animation: expandLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Text shimmer effect for headings */
.section-title {
    background: linear-gradient(
        90deg,
        #f5f5f5 0%,
        #d4af37 25%,
        #f5f5f5 50%,
        #d4af37 75%,
        #f5f5f5 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
    to {
        background-position: 200% center;
    }
}

/* Magnetic hover effect for buttons */
.sib-form-block__button {
    position: relative;
    overflow: hidden;
}

.sib-form-block__button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.sib-form-block__button:hover::before {
    width: 300%;
    height: 300%;
}

.sib-form-block__button:hover {
    background: #1a1a1a;
    border-color: #d4af37;
    color: #d4af37;
}

/* Enhanced Gallery Hover - Bold & Dynamic */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.95);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(-180deg);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.gallery-item::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(-180deg);
    z-index: 10;
    color: #0a0a0a;
    font-size: 3rem;
    font-weight: bold;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.gallery-item:hover::before {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Staggered gallery animation */
.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }
.gallery-item:nth-child(5) { transition-delay: 0.4s; }

/* Gallery item entrance animation */
.gallery-item {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.gallery-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glowing border on gallery hover */
.gallery-item {
    position: relative;
}

.gallery-item::marker {
    display: none;
}

.gallery-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        transparent 100%
    );
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

.gallery-overlay p {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

/* ===================================================================
   Print Styles
   =================================================================== */

@media print {
    #go-top,
    .scroll-indicator,
    .lightbox,
    #confetti-container {
        display: none;
    }
}
