/* Reset & Base */
:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --accent-gold: #e6c25e;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
    width: 200px;
}

.loader-text {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 2px;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 5px;
}

#progress {
    height: 100%;
    background: var(--accent-gold);
    width: 0%;
    transition: width 0.1s linear;
}

#percent {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Sticky ScrollyWrapper */
.scrolly-wrapper {
    position: relative;
    height: 400vh;
}

.sticky-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Persistent Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.header-logo {
    width: 120px;
    height: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.main-nav a {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Beats (Text Overlays) */
.beats-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.beat {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.beat-content {
    max-width: 600px;
    padding: 0 5%;
}

.beat-content.center {
    margin: 0 auto;
    text-align: center;
}

.beat-content.left {
    margin-left: 10%;
    text-align: left;
}

.beat-content.right {
    margin-left: auto;
    margin-right: 10%;
    text-align: right;
}

h1.hero-title {
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}

.beat p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.gold-text {
    color: #ffffff !important;
    margin-bottom: 20px;
    display: block;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.cta-button {
    pointer-events: auto;
    margin-top: 30px;
    padding: 15px 50px;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.1s ease;
    transform: translate(3px, 3px);
    box-shadow: 0px 0px #ffffff;
}

.cta-button:hover {
    transform: translate(0px, 0px);
    box-shadow: 5px 5px #ffffff;
}

.cta-button:active {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px #ffffff;
}

/* Gallery */
.content-flow {
    position: relative;
    z-index: 20;
    background: var(--bg-color);
}

.gallery-section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(0%);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Location */
.location-section {
    padding: 100px 0;
    background: linear-gradient(to top, #000000, #111111);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-color), #0a0a0a);
}

.about-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.about-intro {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.about-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.about-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.about-closing {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-closing strong {
    color: #ff6b6b;
}

/* Contact Info */
.contact-info {
    margin-bottom: 30px;
}

.phone-link {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--accent-gold);
    padding: 10px 20px;
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    transition: all 0.3s;
}

.phone-link:hover {
    background: var(--accent-gold);
    color: #000;
    opacity: 1;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 30px;
    }

    .about-title {
        font-size: 1.8rem;
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px;
    max-width: 600px;
    backdrop-filter: blur(10px);
    margin: 0 auto;
}

.info-card h3 {
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

.address {
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.hours-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
}

.day {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.day .closed {
    color: #ff6b6b;
}

.map-btn {
    display: inline-block;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 3px;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1.hero-title {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .site-header {
        padding: 20px 30px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .beat-content.left,
    .beat-content.right {
        margin: 0 5%;
        text-align: center;
    }

    .header-logo {
        width: 100px;
    }

    .main-nav {
        display: none;
    }

    .sticky-container {
        align-items: center;
    }

    canvas {
        object-fit: cover;
    }

    h1.hero-title {
        font-size: 2.5rem;
    }
}

/* Ripple Effect */
.ripple-btn {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

span.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: #ADD8E6;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Liquid Glass Effect - Matte Frosted */
.liquid-glass {
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 40px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.liquid-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    pointer-events: none;
}

@media (max-width: 768px) {
    .liquid-glass {
        padding: 25px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}