/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #250507; 
    --bg-card: #2a1012; 
    --text-main: #f0f0f0;
    --text-muted: #aaaaaa;
    --gold: #d4af37;
    --gold-hover: #b5952f;
	--font-head: 'Poiret One', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Added to enlarge scaling globally */
html {
    font-size: 18px; 
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; }
h1 { font-size: 3.5rem; letter-spacing: 2px; }
h2 { font-size: 2.5rem; color: var(--gold); }

/* --- NAVIGATION & MENU --- */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
    
    /* UPDATED: Solid bar with a 6px smooth gradient edge at the bottom */
    background: linear-gradient(
        to bottom, 
        rgba(37, 5, 7, 0.5) 0%, 
        rgba(37, 5, 7, 0.5) calc(100% - 6px), 
        rgba(37, 5, 7, 0) 100%
    );
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1440px; 
    margin: 0 auto;
}

.logo { 
    position: relative; 
    z-index: 1001; 
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px; 
    width: auto;
    object-fit: contain;
}

.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 2rem; align-items: center; transition: opacity 0.4s ease, transform 0.4s ease; }
.nav-links a { font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; }
.nav-links a:hover { color: var(--gold); }

.btn-nav { border: 1px solid var(--gold); padding: 0.5rem 1.5rem; border-radius: 6px; }

/* Scrolled State */
.navbar.scrolled { 
    /* The scrolled state overrides the gradient with transparent + existing fade */
    background-color: transparent; 
    background-image: linear-gradient(to bottom, rgba(37, 5, 7, 1.0) 77%, rgba(37, 5, 7, 0)); 
    padding: 1rem 0; 
}

.navbar.scrolled .nav-links { opacity: 0; pointer-events: none; transform: translateY(-10px); }

/* Hamburger & Overlay */
.hamburger { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    width: 30px; 
    height: 20px; 
    cursor: pointer; 
    z-index: 1001; 
}
.bar { width: 100%; height: 2px; background-color: var(--text-main); transition: 0.3s; }
.hamburger:hover .bar { background-color: var(--gold); }
.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.menu-overlay { 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    /* 1. Changed from a solid variable to a semi-transparent color */
    background: rgba(37, 5, 7, 0.85); 
    /* 2. Added a subtle blur effect so the menu text is still readable */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center; 
    z-index: 999; 
    opacity: 0; pointer-events: none; 
    transition: opacity 0.5s ease; 
}
.menu-overlay.active { opacity: 1; pointer-events: all; }
.menu-content { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.menu-link { font-family: var(--font-head); font-size: 2.5rem; color: var(--text-main); transition: 0.3s; }
.menu-link:hover { color: var(--gold); transform: scale(1.1); }

/* --- HOMEPAGE HERO & LAYOUT --- */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
}

.hero-video { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* This prevents the letterboxing */
    z-index: 0; 
}

.overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, rgba(37,5,7,0.3), #250507);
    z-index: 1; 
}

.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 1rem; }
.hero-content h1 { opacity: 0; animation: fadeInUp 1s ease-out forwards 0.5s; }
.hero-content p { font-size: 1.2rem; margin: 1rem 0 2rem; color: #ddd; opacity: 0; animation: fadeInUp 1s ease-out forwards 0.8s; }

.hero-logo {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards 0.2s;
}

.btn-main { background: var(--gold); color: var(--bg-dark); padding: 1rem 2.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; display: inline-block; opacity: 0; animation: fadeInUp 1s ease-out forwards 1.1s; border-radius: 6px; }
.btn-main:hover { background: var(--gold-hover); }

.section { padding: 5rem 0; }
.container { 
    width: 90%; 
    max-width: 1440px; 
    margin: 0 auto; 
}
.section-header { text-align: center; margin-bottom: 3rem; }
.line { width: 60px; height: 2px; background: var(--gold); margin: 10px auto; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }

/* --- CARDS --- */
.card-link { display: block; }
.card { background: var(--bg-card); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #333; position: relative; height: 100%; border-radius: 12px; overflow: hidden; }

.card-link:hover .card { 
    transform: translateY(-5px); 
    border-color: var(--gold); 
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.5),          
        0 0 15px rgba(212, 175, 55, 0.4),     
        0 0 40px rgba(212, 175, 55, 0.2);     
}

.card-image { height: 250px; background-size: cover; background-position: center; position: relative; overflow: hidden; }

.hover-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(212, 175, 55, 0.8);
    color: var(--bg-dark);
    display: flex; justify-content: center; align-items: center;
    font-weight: bold; text-transform: uppercase;
    opacity: 0; transition: opacity 0.3s ease;
}
.card-link:hover .hover-overlay { opacity: 1; }

.card-content { padding: 1.5rem; }
.card-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-content p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.price { color: var(--gold); font-weight: 600; font-family: var(--font-head); font-size: 1.2rem; }

/* --- AMENITIES, CONTACT, FORM, FOOTER --- */
.bg-light { 
    background: var(--bg-dark); 
}
.features-grid { display: flex; justify-content: space-around; flex-wrap: wrap; text-align: center; gap: 2rem; }

.feature { 
    display: block; 
    transition: transform 0.3s ease, color 0.3s ease; 
}
.feature:hover { 
    transform: scale(1.1); 
}
.feature:hover i {
    color: var(--text-main);
}

.feature i { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; transition: color 0.3s ease; }
.feature h4 { text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }

/* Split Layout (Contact Section) */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; color: var(--text-muted); }

.info-item p { margin: 0; }
.info-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }

.interactive-icon {
    display: inline-block;        
    transition: transform 0.3s ease;
    text-decoration: none;        
    color: var(--gold);          
}
.interactive-icon:hover {
    transform: scale(1.1);       
}
.info-item i { color: var(--gold); width: 20px; }

.contact-text-link {
    transition: color 0.3s ease;
    text-decoration: none;
    color: inherit; 
}
.contact-text-link:hover {
    color: var(--gold); 
}

.booking-form-wrapper { background: var(--bg-card); padding: 2.5rem; border: 1px solid #333; border-radius: 12px; }
.booking-form-wrapper h3 { margin-bottom: 1.5rem; color: white; }
.elegant-form .form-group { margin-bottom: 1.5rem; }
.elegant-form label { display: block; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--gold); }
.elegant-form input, .elegant-form select, .elegant-form textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid #444; color: white; padding: 0.8rem 0; font-family: var(--font-body); }
.elegant-form input:focus, .elegant-form select:focus, .elegant-form textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.elegant-form select option {
    color: #333333;      
    background-color: #ffffff; 
}

.btn-submit { width: 100%; background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 1rem; cursor: pointer; text-transform: uppercase; transition: 0.3s; border-radius: 6px; }
.btn-submit:hover { background: var(--gold); color: var(--bg-dark); }

footer { border-top: 1px solid #442222; padding: 2rem 0; text-align: center; font-size: 0.8rem; color: #886666; }
.socials { margin-top: 1rem; }
.socials a { margin: 0 10px; color: #886666; font-size: 1.2rem; }
.socials a:hover { color: var(--gold); }

/* Custom Form Message Styles */
.form-message {
    margin-top: 1rem;
    text-align: center;
    font-family: var(--font-head);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    height: 0;
    overflow: hidden;
}

.form-message.visible {
    opacity: 1;
    transform: translateY(0);
    height: auto; 
    padding: 1rem 0; 
}

.form-message.success { color: var(--gold); }
.form-message.error { color: #ff6b6b; }

/* --- STUDIO DETAIL PAGE STYLES --- */
.room-hero {
    height: 100vh; /* Changed from 70vh to 100vh */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background-color: var(--bg-dark);
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    object-fit: cover; /* <-- ADD THIS LINE */
    opacity: 0;
    transition: opacity 2.5s ease-in-out, transform 10s linear;
    transform: scale(1);
    z-index: 0;
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 1;
}

.room-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(37,5,7,0.3), #250507);
    z-index: 1;
}

.room-content { position: relative; z-index: 2; text-align: center; }

.room-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.specs-list { margin: 2rem 0; }
.specs-list li {
    margin-bottom: 0.8rem;
    color: #ddd;
    display: flex; align-items: center; gap: 10px;
}
.specs-list i { color: var(--gold); }

.price-tag {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--gold);
    margin: 2rem 0;
}
.price-tag .per { font-size: 1rem; color: var(--text-muted); }

.info-card {
    background: var(--bg-card);
    border: 1px solid #444;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
}
.info-card h4 { color: var(--gold); margin-bottom: 0.5rem; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    html { font-size: 16px; }
    
    /* Add this to reduce severe video cropping on phones */
    .room-hero { 
        height: 55vh; 
    }

    .room-details-grid, .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .booking-form-wrapper { padding: 1.5rem; }
}

.elegant-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.elegant-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}