:root {
    --primary-gold: #C5A059;
    --gold-bright: #E8D399;
    --gold-dark: #8C6A3B;
    --black: #080808;
    --black-soft: #121212;
    --white: #F5F5F7;
    --text-muted: #A0A0A0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-slow: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-medium: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Hamburger Menu Base Styles --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

html {
    scroll-behavior: smooth;
    background-color: var(--black);
}

/* --- Global Elements --- */
body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
    /* Hide default cursor */
}

/* --- Noise Texture Overlay --- */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

/* --- Custom Cursor --- */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-gold);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-gold);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.15s ease-out;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* --- Header --- */
header {
    position: fixed;
    width: 100%;
    padding: 2.5rem 0;
    z-index: 900;
    transition: var(--transition-medium);
}

header.scrolled {
    padding: 1.2rem 0;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(20px);
}

.navbar {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--primary-gold);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-sub {
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 4rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    transition: var(--transition-medium);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: var(--transition-medium);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* --- Hero --- */
.hero-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 3s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    font-weight: 900;
}

.gold-text {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-bright), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

/* --- Buttons --- */
.btn-premium {
    padding: 1.4rem 3.5rem;
    border: 1px solid var(--primary-gold);
    color: var(--white);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    display: inline-block;
    text-decoration: none;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    transition: var(--transition-medium);
    z-index: -1;
}

.btn-premium:hover::before {
    left: 0;
}

.btn-premium:hover {
    color: var(--black);
}

/* --- Sections --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-padding {
    padding: 12rem 0;
}

.section-title-sub {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 8px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 3rem;
    line-height: 1.1;
}

/* --- Luxury Cards --- */
.luxury-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

    /* generic two-column layout used in several sections */
    .split-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8rem;
        align-items: center;
    }
    transition: var(--transition-medium);
}

.luxury-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-20px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    display: block;
}

/* --- Image Frames --- */
.img-reveal {
    position: relative;
    overflow: hidden;
}

.img-reveal img {
    width: 100%;
    display: block;
    transition: 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.img-reveal:hover img {
    transform: scale(1.05);
}

/* --- Footer --- */
footer {
    padding: 10rem 0 3rem;
    background: linear-gradient(to bottom, #080808, #050505);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-logo .logo-text {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-sub {
    font-size: 0.75rem;
    letter-spacing: 5px;
    opacity: 0.8;
}

.footer-column h4 {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-medium);
}

.footer-column ul li a:hover {
    color: var(--primary-gold);
    padding-left: 8px;
}

.footer-contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-contact-item span:first-child {
    color: var(--primary-gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-contact-item span:last-child {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #444;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-medium);
}

.social-links a:hover {
    color: var(--primary-gold);
}

/* --- Modals --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--black-soft);
    padding: 5rem;
    border: 1px solid var(--primary-gold);
    max-width: 600px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .luxury-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    /* stack split-grid on small screens */
    .split-grid {
        grid-template-columns: 1fr !important;
        gap: 4rem;
    }
    .split-grid > div {
        justify-self: center;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    .navbar {
        padding: 0 2rem;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        background-color: rgba(8, 8, 8, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.5s ease;
        z-index: 900;
        justify-content: center;
        align-items: center;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }

    .btn-book-now {
        display: none;
    }

    .section-padding {
        padding: 8rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .luxury-grid {
        grid-template-columns: 1fr;
    }
}