/* ===================================================
   1. RESET & VARIABLES
   =================================================== */
:root {
    --gold: #d4af37;
    --dark: #121212;
    --glass: rgba(255, 255, 255, 0.05);
    --stone: #fcfcfc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    scroll-behavior: smooth;
    background-color: var(--stone);
}

/* ===================================================
   2. HEADER & NAVIGATION (Synced with Index)
   =================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.logo {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #eee;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--gold);
    transition: 0.3s;
}

/* ===================================================
   3. HERO VIDEO SECTION (Fixed Zoom & Quality)
   =================================================== */
.amenities-hero {
    position: relative;
    height: 70vh; /* Reduced height to prevent extreme zooming on video */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Keeps video perfectly centered */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover; /* Spans area without stretching */
    z-index: 1;
    filter: brightness(0.8); /* Deepens colors to hide compression noise */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 3;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-style: italic;
    line-height: 1.1;
}

.subtitle {
    letter-spacing: 5px;
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* ===================================================
   4. AMENITY BLOCKS & LAYOUT
   =================================================== */
.main-wrapper {
    max-width: 1300px;
    margin: 100px auto;
    padding: 0 5%;
}

.amenity-block {
    margin-bottom: 150px;
}

.amenity-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Reverse Layout Logic */
.reverse .amenity-grid {
    grid-template-columns: 1.2fr 1fr;
}

/* Alternate positioning */
.reverse .amenity-info { grid-column: 2; }
.reverse .amenity-visual { grid-column: 1; grid-row: 1; }

.step {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(0,0,0,0.05); /* Soft luxury feel */
    line-height: 1;
    display: block;
    margin-bottom: -25px;
}

.amenity-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.amenity-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    max-width: 500px;
}

.amenity-visual {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.amenity-visual img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    display: block;
}

.amenity-visual:hover img {
    transform: scale(1.08);
}

/* ===================================================
   5. CTA SECTION
   =================================================== */
.cta-section {
    background-color: var(--dark);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.cta-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 45px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.4s;
}

.cta-button:hover {
    background: var(--gold);
    color: white;
}

/* ===================================================
   6. RESPONSIVE MEDIA QUERIES
   =================================================== */

@media (max-width: 1024px) {
    .header { padding: 15px 30px; }
    .amenity-grid, .reverse .amenity-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .reverse .amenity-info { grid-column: 1; grid-row: 1; }
    .reverse .amenity-visual { grid-column: 1; grid-row: 2; }
    .amenity-info p { margin: 0 auto; }
    .amenity-visual img { height: 400px; }
}

@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 22px; font-family: 'Playfair Display', serif; }
    
    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .amenities-hero { height: 50vh; }
    .step { font-size: 3.2rem; }
    .amenity-info h2 { font-size: 1.8rem; }
    .amenity-block { margin-bottom: 70px; }
    .amenity-visual img { height: 300px; }
}

@media (max-width: 480px) {
    .header { padding: 15px 20px; }
    .hero-content h1 { font-size: 1.8rem; }
    .cta-button { width: 100%; }
}

body.menu-open { overflow: hidden; }

/* ===================================================
   7. FOOTER
   =================================================== */
.footer {
    background: #0a0a0a;
    color: #888;
    text-align: center;
    padding: 60px 20px;
    font-size: 13px;
    letter-spacing: 1px;
}