/* ========================
   VARIABLES & RESET
   ======================== */
:root {
    --maroon: #69140E;       /* Temple Maroon */
    --gold: #C5A059;         /* Sacred Sand Gold */
    --ivory: #FDFBF7;        /* Ivory White */
    --charcoal: #2C2C2C;     /* Deep Charcoal */
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --gold-glow: 0 0 15px rgba(197, 160, 89, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--charcoal);
    background-color: var(--ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; display: block; }

/* ========================
   UTILITIES
   ======================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-ivory { background-color: var(--ivory); }
.bg-maroon { background-color: var(--maroon); color: var(--white); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

.divider-gold {
    width: 60px; height: 3px; background: var(--gold);
    margin: 15px auto;
    border-radius: 2px;
}

/* ========================
   NAVBAR
   ======================== */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: 0.4s;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}
header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 45px; width: auto; }
.logo-text {
    font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--white); font-weight: 700;
}
header.scrolled .logo-text { color: var(--maroon); }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a {
    color: var(--white); font-weight: 500; font-size: 0.95rem;
}
header.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a:hover { color: var(--gold); }

.btn-book-nav {
    border: 1px solid var(--gold); padding: 8px 20px; border-radius: 0;
    color: var(--gold) !important;
}
.btn-book-nav:hover { background: var(--gold); color: var(--maroon) !important; }

.menu-toggle { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
header.scrolled .menu-toggle { color: var(--maroon); }

/* ========================
   HERO SECTION
   ======================== */
.hero {
    height: 100vh; position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
}

.hero-slider, .slide, .hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.slide {
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease;
}
.slide.active { opacity: 1; }

.hero-overlay { background: rgba(0, 0, 0, 0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 20px; }

.hero h1 {
    font-size: 3.5rem; line-height: 1.2; margin: 15px 0;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.subtitle {
    font-family: 'Poppins', sans-serif; letter-spacing: 3px; text-transform: uppercase;
    font-size: 0.9rem; color: var(--gold);
}

.btn-gold {
    display: inline-block; padding: 12px 30px; background: var(--gold);
    color: var(--maroon); font-weight: 600; margin: 10px;
    box-shadow: var(--gold-glow);
}
.btn-outline {
    display: inline-block; padding: 12px 30px; border: 1px solid var(--white);
    color: var(--white); font-weight: 600; margin: 10px;
}
.btn-gold:hover { background: #fff; color: var(--maroon); }
.btn-outline:hover { background: var(--white); color: var(--maroon); }

/* ========================
   FEATURES & ROOMS
   ======================== */
.features-grid {
    display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 50px; gap: 30px;
}
.feature-item {
    text-align: center; max-width: 300px; padding: 20px;
}
.feature-item i { font-size: 2.5rem; color: var(--gold); margin-bottom: 15px; }

.rooms-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.room-card {
    background: var(--white); box-shadow: var(--shadow);
    transition: transform 0.3s; position: relative;
}
.room-card:hover { transform: translateY(-10px); }

.room-img-box { position: relative; height: 250px; overflow: hidden; }
.room-img-box img { transition: 0.5s; height: 100%; object-fit: cover; }
.room-card:hover img { transform: scale(1.1); }
.badge {
    position: absolute; top: 15px; right: 15px; background: var(--gold);
    color: var(--maroon); padding: 5px 12px; font-size: 0.8rem; font-weight: 600;
}

.room-info { padding: 25px; text-align: center; }
.room-info h3 { color: var(--maroon); margin-bottom: 5px; }
.price { color: var(--gold); font-size: 1.25rem; font-weight: 600; margin-bottom: 15px; }
.price span { font-size: 0.9rem; color: #777; font-weight: 400; }

.amenities {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 20px;
    color: #666; font-size: 0.9rem;
}

.btn-room {
    width: 100%; padding: 12px; background: transparent; border: 1px solid var(--maroon);
    color: var(--maroon); font-weight: 600; cursor: pointer; transition: 0.3s;
}
.btn-room:hover { background: var(--maroon); color: var(--white); }

/* ========================
   FACILITIES & GALLERY
   ======================== */
.facilities-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px; text-align: center; margin-top: 40px;
}
.fac-box i { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.fac-box p { font-weight: 500; letter-spacing: 1px; }

.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px;
}
.gallery-grid img {
    height: 250px; object-fit: cover; cursor: pointer;
    transition: 0.3s; border-radius: 4px;
}
.gallery-grid img:hover { filter: brightness(0.8); }

/* Lightbox */
.lightbox {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.9);
    justify-content: center; align-items: center;
}
.lightbox-content { max-width: 90%; max-height: 80vh; border: 2px solid var(--gold); }
.close-lightbox {
    position: absolute; top: 20px; right: 30px; color: #fff;
    font-size: 40px; cursor: pointer;
}

/* ========================
   BOOKING FORM
   ======================== */
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    background: var(--white); padding: 40px; box-shadow: var(--shadow);
}
.booking-form h3 { color: var(--maroon); margin-bottom: 20px; }
.form-group { margin-bottom: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { font-size: 0.9rem; font-weight: 500; color: #555; }
input, select, textarea {
    width: 100%; padding: 10px; border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif; outline: none;
}
input:focus, select:focus { border-color: var(--gold); }

.btn-submit {
    width: 100%; background: #25D366; color: white; border: none;
    padding: 12px; font-weight: 600; cursor: pointer; display: flex;
    justify-content: center; align-items: center; gap: 10px;
}
.btn-submit:hover { background: #1ebd56; }
.map-container { min-height: 400px; background: #eee; }

/* ========================
   FOOTER
   ======================== */
.footer { background: #1a1a1a; color: #aaa; padding-top: 60px; }
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px;
}
.footer-brand h3 { color: var(--gold); margin-bottom: 10px; }
.footer-links a { display: block; margin-bottom: 8px; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-bottom { text-align: center; padding: 20px; font-size: 0.85rem; }
.divider-gold.small { height: 1px; width: 100%; opacity: 0.2; }

/* Floating WhatsApp */
.float-wa {
    position: fixed; bottom: 30px; right: 30px;
    background: #25D366; color: #fff; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 999;
}

/* ========================
   MOBILE RESPONSIVE
   ======================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
        background: var(--ivory); flex-direction: column;
        justify-content: center; align-items: center;
        transition: 0.4s; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .nav-links a { color: var(--charcoal); font-size: 1.2rem; }
    .menu-toggle { display: block; z-index: 1001; }
    .menu-toggle.active { color: var(--charcoal); }

    .hero h1 { font-size: 2.2rem; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 20px; }
    .map-container { height: 300px; }
}

/* Scroll Animation Class */
.reveal {
    opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }