:root {
    --bg-main: #f9f6f0; --bg-alt: #f0ebe1; --text-main: #2d241e; --text-muted: #5a4f46;
    --accent: #b47a30; --accent-hover: #966120; --card-bg: #ffffff; --border-color: #e2d9cc;
    --glass-bg: rgba(255, 255, 255, 0.85);
}
body.dark-theme {
    --bg-main: #110f0e; --bg-alt: #1a1613; --text-main: #f5f5f5; --text-muted: #a39c96;
    --accent: #d4af37; --accent-hover: #bda13e; --card-bg: #1e1b18; --border-color: #332b26;
    --glass-bg: rgba(26, 22, 19, 0.85);
}
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: var(--bg-main); color: var(--text-main); transition: background-color 0.4s ease, color 0.4s ease; }
h1, h2, h3, h4, .footer-logo { font-family: 'Playfair Display', serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar & Top Bar */
.top-brand-bar { background: #000; color: #fff; padding: 5px 40px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; position: fixed; top: 0; width: 100%; z-index: 1001; }
.agency-tag { opacity: 0.7; font-weight: 300; }
.navbar { position: fixed; top: 25px; width: 100%; padding: 25px 40px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: transparent; transition: all 0.4s ease; }
.navbar.scrolled { padding: 15px 40px; background: var(--glass-bg); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.logo { font-size: 24px; font-weight: 700; color: var(--accent); }
.logo span { font-size: 14px; font-family: 'Poppins', sans-serif; color: var(--text-muted); }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; }
.hover-underline { position: relative; padding-bottom: 5px; }
.hover-underline::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--accent); transition: width 0.3s ease; }
.hover-underline:hover::after { width: 100%; }
.btn-book { background: var(--accent); color: #fff !important; padding: 10px 20px; border-radius: 30px; }
.theme-btn { background: none; border: none; color: var(--text-main); font-size: 20px; cursor: pointer; transition: transform 0.3s; }
.theme-btn:hover { transform: rotate(20deg); color: var(--accent); }
.menu-btn { display: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

/* Hero */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.video-container video { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); }
.hero-content { z-index: 1; color: #fff; padding: 0 20px; }
.subtitle { color: var(--accent); text-transform: uppercase; letter-spacing: 3px; font-size: 14px; margin-bottom: 15px; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 30px; }
.hero h1 span { font-style: italic; font-weight: 400; color: #ddd; }
.btn-primary { display: inline-block; padding: 15px 35px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.4s; }
.btn-primary:hover { background: var(--accent); color: #fff; }

/* Sections */
.section { padding: 100px 0; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.section-desc { text-align: center; max-width: 700px; margin: 0 auto 50px auto; color: var(--text-muted); }

/* Amenities & Gallery */
.amenities-section { background-color: var(--bg-alt); }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.amenity-card { background: var(--card-bg); padding: 40px 30px; border-radius: 12px; text-align: center; border: 1px solid var(--border-color); transition: 0.3s; }
.amenity-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
body.dark-theme .amenity-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
.amenity-card i { font-size: 40px; color: var(--accent); margin-bottom: 20px; }
.gallery-section { background: var(--bg-main); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.gallery-item { overflow: hidden; border-radius: 12px; }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; transition: 0.6s; filter: grayscale(15%) brightness(90%); }
.gallery-item:hover img { transform: scale(1.1); filter: grayscale(0%) brightness(110%); }

/* Booking */
.glass-effect { background: var(--glass-bg); backdrop-filter: blur(15px); border: 1px solid var(--border-color); padding: 50px; border-radius: 20px; max-width: 800px; margin: 0 auto; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.input-group-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-group-row > * { flex: 1; }
.input-group label { display: block; font-size: 12px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
input { width: 100%; padding: 15px; background: var(--bg-alt); color: var(--text-main); border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; transition: 0.3s; }
input:focus { outline: none; border-color: var(--accent); }
.auth-box { background: rgba(180, 122, 48, 0.1); padding: 20px; border-radius: 12px; border: 1px dashed var(--accent); text-align: center; margin-bottom: 20px; }
.auth-box p { color: var(--text-muted); margin-bottom: 15px; font-size: 14px; }
.btn-secondary { background: var(--accent); color: #fff; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.btn-secondary:hover { background: var(--accent-hover); }
.price-box { display: flex; justify-content: space-between; align-items: center; background: var(--bg-alt); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); margin-bottom: 20px; }
.price-details h4 { color: var(--accent); font-size: 1.2rem; }
.price-amount span { font-size: 2rem; font-weight: 700; }
.btn-submit { width: 100%; padding: 18px; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: 0.3s; }
.btn-submit:disabled { background: var(--border-color); color: var(--text-muted); cursor: not-allowed; }
.btn-submit:not(:disabled) { background: var(--text-main); color: var(--bg-main); }
.btn-submit:not(:disabled):hover { background: var(--accent); color: #fff; }
.hidden { display: none !important; }

/* FAQ */
.faq-section { background: var(--bg-main); }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { background: var(--card-bg); border: 1px solid var(--border-color); margin-bottom: 15px; border-radius: 8px; overflow: hidden; }
.accordion-header { width: 100%; padding: 20px; background: none; border: none; text-align: left; font-size: 1.1rem; font-weight: 500; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.accordion-header:hover { background: var(--bg-alt); color: var(--accent); }
.accordion-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.4s; color: var(--text-muted); line-height: 1.6; }
.accordion-content.active { padding: 20px; border-top: 1px solid var(--border-color); }
.accordion-header i { transition: 0.3s; }
.accordion-header.active i { transform: rotate(180deg); color: var(--accent); }

/* Footer & Floating */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border-color); padding: 80px 0 0 0; color: var(--text-main); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { font-size: 2rem; color: var(--accent); margin-bottom: 20px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card-bg); color: var(--text-main); border: 1px solid var(--border-color); transition: 0.3s; }
.social-links a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 25px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 2px; background: var(--accent); }
.contact-info li { display: flex; gap: 15px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.footer-bottom { background: var(--card-bg); padding: 25px 40px; display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); font-size: 0.9rem; color: var(--text-muted); }
.agency-credit strong { color: var(--accent); }

.floating-btn { position: fixed; bottom: 30px; z-index: 99; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.3); transition: 0.3s; }
.floating-btn:hover { transform: translateY(-5px) scale(1.05); }
.call-btn { left: 30px; background: var(--text-main); }
body.dark-theme .call-btn { background: var(--bg-alt); color: var(--accent); border: 1px solid var(--accent); }
.wa-btn { right: 30px; background: #25D366; }

/* Animations & Mobile */
.fade-in { opacity: 0; transform: translateY(40px); transition: 0.8s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.animate-slide-up { animation: slideUp 1.2s forwards; }
@keyframes slideUp { 0% { opacity: 0; transform: translateY(50px); } 100% { opacity: 1; transform: translateY(0); } }

/* ========================================== */
/* DOORLOOM STYLE LAYOUT & STICKY WIDGET CSS  */
/* ========================================== */

.villa-layout { display: flex; gap: 50px; position: relative; }
.villa-content { flex: 6.5; }
.villa-sidebar { flex: 3.5; position: relative; }

/* The Sticky Magic */
.sticky-widget {
    position: sticky;
    top: 100px; /* Navbar ke neeche itna space chhod ke chipkega */
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: 0.3s ease;
}

.widget-header { padding: 25px; border-bottom: 1px solid var(--border-color, #e2e8f0); }
.widget-header h3 { font-family: 'Poppins', sans-serif; font-size: 24px; color: var(--text-dark); margin: 0; }
.widget-header small { font-size: 14px; color: var(--text-muted); font-weight: 400; }

.widget-body { padding: 25px; }

/* Date Grid inside Widget */
.date-grid { display: flex; border: 1px solid var(--text-muted); border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.date-input { flex: 1; padding: 12px 15px; position: relative; }
.date-input:first-child { border-right: 1px solid var(--text-muted); }
.date-input label { display: block; font-size: 10px; font-weight: 700; color: var(--text-dark); margin-bottom: 5px; text-transform: uppercase; }
.date-input input { border: none; background: transparent; width: 100%; font-family: 'Poppins'; font-size: 14px; color: var(--text-dark); outline: none; cursor: pointer; }

/* Guest Inputs */
.guest-details input { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid var(--border-color, #e2e8f0); border-radius: 8px; font-family: 'Poppins'; font-size: 14px; transition: 0.3s; }
.guest-details input:focus { border-color: var(--accent); outline: none; }

/* Live Calculator Box */
.price-breakdown { margin-top: 20px; margin-bottom: 20px; animation: fadeIn 0.4s ease; }
.price-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--text-dark); margin-bottom: 10px; }
.price-row.total { font-weight: 600; font-size: 18px; margin-top: 15px; }
.price-breakdown hr { border: none; border-top: 1px solid var(--border-color, #e2e8f0); margin: 15px 0; }
.advance-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 5px; font-style: italic; }
.hidden { display: none !important; }

/* Book Button */
.btn-book-now { width: 100%; padding: 16px; background: var(--accent); color: #fff; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.btn-book-now:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(180, 122, 48, 0.3); }
.btn-book-now:disabled { background: #cbd5e1; cursor: not-allowed; }

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .villa-layout { flex-direction: column; }
    .sticky-widget { position: relative; top: 0; margin-top: 30px; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .menu-btn { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 250px; background: var(--glass-bg); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; transition: 0.4s; }
    .nav-links.active { right: 0; }
    .hero h1 { font-size: 2.5rem; }
    .input-group-row { flex-direction: column; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}