/* Reset & Base Styles */
:root {
    --black: #0A0A0A;
    --dark: #111111;
    --dark-2: #161616;
    --dark-3: #1C1C1C;
    --gold: #D4AF37;
    --gold-bright: #F4CF67;
    --gold-dim: rgba(212, 175, 55, 0.07);
    --ruby: #E0115F;
    --ruby-glow: #FF007F;
    --white: #FFFFFF;
    --gray: #888888;
    --light-gray: #DEDEDE;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
    --glow: 0 0 40px rgba(212, 175, 55, 0.25);
    --ruby-glow-shadow: 0 0 20px rgba(224, 17, 95, 0.3);
    /* Noise texture (inline SVG base64) - increased opacity to 0.08 for visible premium grain */
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    background-image:
        var(--noise),
        radial-gradient(ellipse 100% 100% at 50% 0%, rgba(212, 175, 55, 0.12) 0%, rgba(10, 10, 10, 0.95) 70%),
        radial-gradient(ellipse 80% 80% at 100% 100%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 10rem 0 12rem 0;
}

.center {
    text-align: center;
}

.subtitle {
    display: block;
    color: var(--ruby);
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.text-gold {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.text-ruby {
    color: var(--ruby);
    text-shadow: 0 0 10px rgba(224, 17, 95, 0.4);
}

/* Buttons (Base structure) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    border: none;
    border-radius: 2px; /* Slight softening for premium feel */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s ease,
                color 0.4s ease;
}

/* Glass/Glow Effects */
.btn-gold {
    background: rgba(212, 175, 55, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
    background: rgba(244, 207, 103, 1);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4), 
                0 0 20px rgba(212, 175, 55, 0.6);
    color: var(--black);
}

.btn-outline {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 1);
    color: var(--gold-bright);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2), 
                inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: #0A0A0A;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--gold);
}

/* ─────────────────────────────────────────
   CINEMATIC HERO
───────────────────────────────────────── */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ── Video ──────────────────────────────── */
.video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Ken Burns slow zoom */
    animation: kenBurns 24s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes kenBurns {
    0%   { transform: scale(1)    translate(0%, 0%); }
    33%  { transform: scale(1.08) translate(-1.5%, 1%); }
    66%  { transform: scale(1.05) translate(1.5%, -0.5%); }
    100% { transform: scale(1.1)  translate(0%, 1.5%); }
}

/* ── Overlay ────────────────────────────── */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Black bottom fade (ensures readability) */
        linear-gradient(to bottom,
            rgba(10,10,10,0)     0%,
            rgba(10,10,10,0)    45%,
            rgba(10,10,10,0.70) 75%,
            rgba(10,10,10,0.97) 100%
        ),
        /* Vignette edges */
        radial-gradient(ellipse 120% 120% at 50% 50%,
            rgba(10,10,10,0.1)  0%,
            rgba(10,10,10,0.72) 100%
        ),
        /* Subtle gold warmth at top */
        linear-gradient(to bottom,
            rgba(212,175,55,0.06) 0%,
            transparent          25%
        );
}

/* ── Content ────────────────────────────── */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Logo ───────────────────────────────── */
.hero-logo-wrapper {
    margin-bottom: 2.5rem;
    animation: logoEntrance 1.8s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.92);
        filter: drop-shadow(0 0 0px rgba(212,175,55,0));
    }
    to {
        opacity: 1;
        transform: translateY(0)   scale(1);
        filter: drop-shadow(0 0 40px rgba(212,175,55,0.35));
    }
}

.hero-logo {
    max-width: 380px;
    width: 90%;
    height: auto;
    animation:
        floating    5s   ease-in-out infinite,
        logoPulse  8s  ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(212,175,55,0.30)); }
    50%       { filter: drop-shadow(0 0 55px rgba(212,175,55,0.55)); }
}

@keyframes floating {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-16px); }
    100% { transform: translateY(0px); }
}

/* ── Hero Text ──────────────────────────── */
.hero-text-wrap {
    margin-bottom: 2.5rem;
    animation: textRise 2s 0.6s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes textRise {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.hero p {
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.85;
    letter-spacing: 0.04em;
    font-weight: 300;
}

/* ── CTA Buttons ────────────────────────── */
.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: textRise 2s 1s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── Scroll Indicator ───────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: textRise 2s 1.4s cubic-bezier(0.22,1,0.36,1) both;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.45rem;
    opacity: 0.5;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 55px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: pulse-line 2.5s ease-in-out infinite;
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.9; transform: scaleY(1); }
    50%       { opacity: 0.3; transform: scaleY(0.5); }
}


/* ── 3D Layered Glass Sections ───────────────── */
.stays, .about, .gallery, .testimonials, .contact, .showcase {
    position: relative;
    background: rgba(12, 12, 12, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -30px 60px rgba(0,0,0,0.9);
    margin-top: -40px; /* Pull up to overlap previous section physically */
    padding-top: 8rem; /* Compensate for overlap */
    transform-origin: top center;
    overflow: hidden;
}

/* Base stays setup (inherits glass layer above) */
.stays {
    margin-top: 0; /* Hero doesn't need physical overlap margin */
}

/* Ambient gold glow top-right of stays */
.stays::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.stays .container { position: relative; z-index: 1; }

/* Stays Cards */
.stays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.stay-card {
    background:
        linear-gradient(145deg, #191919 0%, #141414 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.stay-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.6) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.stay-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.08);
}

.stay-image {
    height: 450px;
    overflow: hidden;
}

.stay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.stay-card:hover .stay-image img {
    transform: scale(1.1);
}

.stay-info {
    padding: 2rem;
}

.stay-tag {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stay-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}



.about::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 65%);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.3), transparent);
}

.about .container { position: relative; z-index: 1; }

.about-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    height: 600px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.1s linear;
}

.about-content {
    flex: 1;
}

.features {
    margin-top: 2rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gold-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
}



.gallery::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212,175,55,0.04) 0%, transparent 65%);
    pointer-events: none;
}

.gallery .container { position: relative; z-index: 1; }

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 1rem;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.gallery-item:nth-child(2) { grid-row: span 2; height: auto; }
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0);
    transition: var(--transition);
}

.gallery-item:hover::after {
    background: rgba(10, 10, 10, 0.4);
}

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

/* Testimonials */
.testimonials {
    text-align: center;
    /* Inherits 3D layer styles */
}

/* Gold line top and bottom */
.testimonials::before, .testimonials::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.25), transparent);
}
.testimonials::before { top: 0; }
.testimonials::after  { bottom: 0; }

.testimonials .container { position: relative; z-index: 1; }

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    margin-bottom: 3rem;
    line-height: 1.4;
    color: var(--light-gray);
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    text-align: left;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.author-details .name {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.author-details .location {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
}



.contact::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(212,175,55,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact .container { position: relative; z-index: 1; }

.contact-box {
    display: flex;
    background:
        linear-gradient(135deg, #161616 0%, #131313 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(212,175,55,0.1);
    overflow: hidden;
}

.contact-form {
    flex: 2;
    padding: 5rem;
    background: linear-gradient(145deg, #171717 0%, #141414 100%);
}

.contact-info {
    flex: 1;
    padding: 5rem;
    background: linear-gradient(145deg, rgba(19, 19, 19, 0.85) 0%, rgba(16, 16, 16, 0.95) 100%),
                url('https://images.unsplash.com/photo-1590076215662-311ab81d9f80?auto=format&fit=crop&w=800&q=90') center/cover no-repeat;
    border-left: 1px solid rgba(212,175,55,0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea, select {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1c1c1c 0%, #1a1a1a 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
}

textarea {
    height: 150px;
    resize: none;
}

.info-item {
    margin-top: 2rem;
}

.info-item span {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    display: block;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, #050505 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.5), transparent);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--gray);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ─────────────────────────────────────────
   PREMIUM INTERACTIONS
───────────────────────────────────────── */


/* ── Buttons (Interactive Sweeps) ────────── */
/* Ripple sweep layer */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
    z-index: -1;
}

.btn:hover::before { 
    transform: translateX(100%) skewX(-15deg); 
}

/* ── Nav Links ───────────────────────────── */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.35s cubic-bezier(0.22,1,0.36,1);
}

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

/* ── Stay Cards ──────────────────────────── */
.stay-card {
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.45s ease,
                border-color 0.3s ease;
}

.stay-info h3 {
    transition: color 0.3s ease;
}

.stay-card:hover .stay-info h3 {
    color: var(--gold);
}

.stay-tag {
    display: inline-block;
    transition: letter-spacing 0.3s ease;
}

.stay-card:hover .stay-tag {
    letter-spacing: 0.2rem;
}

/* ── Gallery ─────────────────────────────── */
.gallery-item {
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.15);
    z-index: 2;
}

/* ── Gold Dots in About ──────────────────── */
.features li {
    transition: transform 0.3s ease;
}

.features li:hover {
    transform: translateX(8px);
}

.gold-dot {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.features li:hover .gold-dot {
    transform: scale(1.8);
    box-shadow: 0 0 8px rgba(212,175,55,0.7);
}

/* ── Form Inputs ─────────────────────────── */
input, textarea, select {
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08), 0 0 20px rgba(212,175,55,0.06);
    transform: translateY(-2px);
}

/* ── Social Links Footer ─────────────────── */
.social-links a {
    position: relative;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
    letter-spacing: 0.15rem;
}

/* ── Scroll Indicator Pulse ──────────────── */
.scroll-indicator .line {
    animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Logo hover lift ─────────────────────── */
.hero-logo-wrapper {
    transition: transform 0.4s ease;
}

.hero-logo-wrapper:hover .hero-logo {
    filter: drop-shadow(0 0 50px rgba(212,175,55,0.55));
}

/* Responsive */
@media (max-width: 992px) {

    .about-flex, .contact-box {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .section-padding {
        padding: 5rem 0;
    }
}
