/* ============================================
   SANSKRITI FARM STAY — SHARED STYLES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --saffron: #E8792B;
    --saffron-deep: #C75F18;
    --saffron-light: #F5A563;
    --saffron-glow: #FFF0E5;
    --cream: #FFFAF5;
    --white: #FFFFFF;
    --earth: #5C3D2E;
    --earth-light: #8B6A56;
    --stone: #F5EDE6;
    --text: #2D1B10;
    --text-muted: #7A6455;
    --shadow: rgba(45, 27, 16, 0.08);
    --shadow-md: rgba(45, 27, 16, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--saffron-deep); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
    font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--saffron); margin-bottom: 8px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--earth); margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; line-height: 1.7; }

/* NAV */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 250, 245, 0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 121, 43, 0.1); transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px var(--shadow); }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 24px; max-width: 1200px; margin: 0 auto;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--earth); }
.nav-logo span { color: var(--saffron); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.02em; }
.nav-links a:hover, .nav-links a.active { color: var(--saffron); }
.nav-cta {
    background: var(--saffron); color: var(--white) !important; padding: 10px 24px;
    border-radius: 50px; font-weight: 600; font-size: 0.85rem; transition: all 0.3s;
}
.nav-cta:hover { background: var(--saffron-deep); transform: translateY(-1px); color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--earth); margin: 5px 0; transition: 0.3s; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
    border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 600;
    font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.3s;
}
.btn-primary { background: var(--saffron); color: var(--white); }
.btn-primary:hover { background: var(--saffron-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232, 121, 43, 0.35); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

/* PAGE HEADER (for inner pages) */
.page-header {
    padding: 140px 0 60px; background: var(--earth); text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(232,121,43,0.15), transparent);
}
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); position: relative; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-top: 12px; position: relative; }
.page-breadcrumb {
    position: relative; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 16px;
}
.page-breadcrumb a { color: var(--saffron-light); }

/* FOOTER */
.footer { background: var(--earth); padding: 60px 0 24px; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--white); margin-bottom: 12px; }
.footer-brand h3 span { color: var(--saffron-light); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-heading { font-weight: 600; font-size: 0.9rem; color: var(--white); margin-bottom: 16px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-links a:hover { color: var(--saffron-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--saffron-light); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(45,27,16,0.7) 0%, rgba(45,27,16,0.3) 50%, rgba(232,121,43,0.2) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 120px 24px 80px; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: 500;
    color: var(--white); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--saffron-light); border-radius: 50%; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--white); margin-bottom: 20px; max-width: 700px; }
.hero h1 em { font-style: italic; color: var(--saffron-light); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 520px; line-height: 1.7; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--saffron-light); }
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* CARDS & GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.section-pad { padding: 100px 0; }
.bg-white { background: var(--white); }
.bg-stone { background: var(--stone); }
.bg-cream { background: var(--cream); }
.bg-earth { background: var(--earth); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-60 { margin-bottom: 60px; }

/* ROOM CARDS */
.room-card {
    background: var(--white); border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 24px var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
}
.room-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-md); }
.room-img { height: 260px; overflow: hidden; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.room-card:hover .room-img img { transform: scale(1.05); }
.room-info { padding: 24px; }
.room-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 8px; color: var(--earth); }
.room-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.room-amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.room-tag { background: var(--saffron-glow); color: var(--saffron-deep); padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 500; }

/* AMENITY CARDS */
.amenity-card {
    background: var(--cream); border-radius: 16px; padding: 32px 24px; text-align: center;
    border: 1px solid rgba(232, 121, 43, 0.08); transition: all 0.3s;
}
.amenity-card:hover { border-color: var(--saffron-light); box-shadow: 0 8px 32px var(--shadow); }
.amenity-icon {
    width: 64px; height: 64px; background: var(--saffron-glow); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem;
}
.amenity-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--earth); margin-bottom: 8px; }
.amenity-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* EXPERIENCE CARDS */
.exp-card { position: relative; border-radius: 16px; overflow: hidden; height: 360px; }
.exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.exp-card:hover img { transform: scale(1.05); }
.exp-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(45, 27, 16, 0.8), transparent); }
.exp-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); margin-bottom: 4px; }
.exp-desc { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; height: 200px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(45,27,16,0); transition: background 0.3s; }
.gallery-item:hover::after { background: rgba(45,27,16,0.2); }
.gallery-item.tall { grid-row: span 2; height: 412px; }
.gallery-item.wide { grid-column: span 2; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px var(--shadow-md); position: relative; }
.about-img img { width: 100%; height: 450px; object-fit: cover; }
.about-img-badge { position: absolute; bottom: 20px; left: 20px; background: var(--saffron); color: var(--white); padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 0.9rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about-feat { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.92rem; }
.about-feat::before { content: '✦'; color: var(--saffron); font-size: 0.7rem; }

/* QUOTATION */
.quote-card {
    max-width: 800px; margin: 0 auto; background: var(--white); border-radius: 24px;
    padding: 48px; box-shadow: 0 20px 60px var(--shadow-md); border: 1px solid rgba(232, 121, 43, 0.1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 4px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--earth); margin-bottom: 8px; }
.form-input, .form-select {
    width: 100%; padding: 14px 18px; border: 2px solid var(--stone); border-radius: 12px;
    font-family: 'Outfit', sans-serif; font-size: 0.95rem; color: var(--text); background: var(--cream); transition: border-color 0.3s; outline: none;
}
.form-input:focus, .form-select:focus { border-color: var(--saffron); }
.form-radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.form-radio { flex: 1; min-width: 120px; }
.form-radio input { display: none; }
.form-radio label {
    display: block; padding: 12px 16px; border: 2px solid var(--stone); border-radius: 12px;
    text-align: center; font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; background: var(--cream);
}
.form-radio input:checked + label { border-color: var(--saffron); background: var(--saffron-glow); color: var(--saffron-deep); }
.quote-result { display: none; margin-top: 32px; padding: 28px; background: var(--saffron-glow); border-radius: 16px; border: 1px solid rgba(232, 121, 43, 0.2); }
.quote-result.show { display: block; }
.quote-total { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--saffron-deep); margin-bottom: 4px; }
.quote-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.quote-breakdown { display: grid; gap: 8px; margin-bottom: 20px; }
.quote-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 6px 0; border-bottom: 1px solid rgba(232, 121, 43, 0.1); }
.quote-line:last-child { border-bottom: none; }
.quote-line-label { color: var(--text-muted); }
.quote-line-value { font-weight: 600; color: var(--earth); }
.btn-whatsapp { width: 100%; background: #25D366; color: var(--white); justify-content: center; font-size: 1rem; }
.btn-whatsapp:hover { background: #1FB855; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); color: var(--white); }
.btn-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }
.btn-calc { width: 100%; margin-top: 24px; background: var(--saffron); color: var(--white); justify-content: center; font-size: 1rem; }
.btn-calc:hover { background: var(--saffron-deep); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: var(--saffron-glow); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-label { font-weight: 600; font-size: 0.9rem; color: var(--earth); margin-bottom: 2px; }
.contact-value { font-size: 0.9rem; color: var(--text-muted); }
.contact-map { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px var(--shadow); height: 400px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* LEGAL PAGES */
.legal-content { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.legal-content h3 { font-size: 1.15rem; color: var(--earth); margin: 28px 0 12px; }
.legal-content p, .legal-content li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 24px; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 3000; align-items: center; justify-content: center; padding: 40px; cursor: pointer; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* RESPONSIVE */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px 24px; box-shadow: 0 8px 24px var(--shadow); gap: 16px; }
    .nav-toggle { display: block; }
    .nav-cta { display: none; }
    .about-grid, .contact-grid, .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.tall { height: 300px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 1.6rem; }
}
@media (max-width: 600px) {
    .grid-3 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item, .gallery-item.tall { height: 220px; }
    .gallery-item.wide { grid-column: span 1; }
    .gallery-item.tall { grid-row: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .quote-card { padding: 28px 20px; }
    .about-features { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
