:root {
    --bg-dark: #050505;
    --bg-dark-alt: #0a0a0a;
    --gold: #c5a059;
    /* More satin, premium gold */
    --gold-light: #e2c691;
    --gold-glow: rgba(197, 160, 89, 0.3);
    --text-light: #f5f5f5;
    --text-muted: #888888;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --container-width: 1400px;
    /* Slightly wider for modern look */
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.gold-text {
    color: var(--gold);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    /* Added for compatibility */
    -webkit-text-fill-color: transparent;
}

.py-large {
    padding: 120px 0;
}

.dark-bg {
    background-color: var(--bg-dark-alt);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 2rem 0;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    /* Slightly more transparent */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

header.hide-logo .logo {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    /* Ensure smooth hiding */
}

.animate-3d {
    display: inline-block;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer3D 4s linear infinite;
    text-shadow: 0 0 15px var(--gold-glow);
    font-weight: 900;
}

@keyframes shimmer3D {
    0% {
        background-position: 0% center;
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--gold-glow));
    }

    50% {
        background-position: 100% center;
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px var(--gold-glow));
    }

    100% {
        background-position: 200% center;
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--gold-glow));
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.9) 100%),
        url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat;
    position: relative;
    perspective: 1000px;
    /* For 3D animations */
}

.hero-content {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    margin-bottom: 2rem;
    line-height: 1;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span.gold-text {
    filter: drop-shadow(0 0 15px var(--gold-glow));
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-light);
    /* Changed from var(--text-muted) for better visibility */
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 1px;
}

/* Video Section Refined */
.section-title {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.video-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Flush videos or minimal gap */
    width: 100%;
    max-width: 100%;
    /* Ensure it can take full width */
}

/* Container-less effect for videos to fill left and right */
.videos .container {
    max-width: 100%;
    padding: 0;
}

.video-item {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
    /* Remove space under video */
}

video {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9);
    transition: var(--transition);
}

.video-item:hover video {
    filter: brightness(1.1);
}

/* Footer Refined */
.footer {
    padding: 30px 0 15px;
    /* Minimal padding */
    background-color: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-bottom: 1.5rem;
}

.footer-brand {
    margin-bottom: 0;
    text-align: left;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-contact {
    text-align: right;
}

.footer-contact h4 {
    color: var(--gold);
    margin-bottom: 0.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.socials {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.socials a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.socials a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: #333;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Scroll Animation Refined */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Mouse Indicator */
.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--gold);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .container {
        padding: 0 3rem;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .py-large {
        padding: 80px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-brand,
    .footer-contact,
    .socials {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
        gap: 5px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}