/* ==========================================================
   Shri Ram Vatika — Site Styles
   ========================================================== */

:root {
    --srv-green-dark: #1f3d2b;
    --srv-green: #2f5d3f;
    --srv-green-light: #4a8a5f;
    --srv-gold: #c9a24b;
    --srv-gold-light: #e6c877;
    --srv-cream: #faf7f0;
    --srv-text: #2b2b28;
    --srv-muted: #6b6b64;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--srv-text);
    background-color: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; }

.text-accent { color: var(--srv-gold); }
.text-light-50 { color: rgba(255,255,255,.65); }

.section-py { padding: 90px 0; }
.bg-soft { background: var(--srv-cream); }
.bg-dark-soft { background: linear-gradient(160deg, var(--srv-green-dark), #14261b); }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--srv-gold);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    color: var(--srv-green-dark);
    margin-bottom: 18px;
    line-height: 1.25;
}

.section-title em { font-style: italic; }

.section-text {
    color: var(--srv-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

/* ===== Buttons ===== */
.btn-srv-primary {
    background: linear-gradient(135deg, var(--srv-green) 0%, var(--srv-green-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 20px rgba(31,61,43,.25);
}
.btn-srv-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(31,61,43,.35);
    color: #fff;
}

.btn-srv-outline {
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.7);
    color: #fff;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: all .25s ease;
}
.btn-srv-outline:hover {
    background: #fff;
    color: var(--srv-green-dark);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px;
    font-weight: 600;
    transition: transform .2s ease;
}
.btn-whatsapp:hover { transform: translateY(-2px); color: #fff; }

/* ===== Navbar ===== */
.srv-navbar {
    padding: 18px 0;
    transition: all .35s ease;
    background: transparent;
}
.srv-navbar.scrolled {
    background: rgba(255,255,255,.96);
    padding: 10px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    backdrop-filter: blur(8px);
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--srv-gold), var(--srv-gold-light));
    color: var(--srv-green-dark);
    font-family: var(--font-display);
    font-weight: 800;
    margin-right: 10px;
    font-size: .95rem;
}
.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    transition: color .3s ease;
}
.brand-text em { color: var(--srv-gold); font-style: normal; }
.srv-navbar.scrolled .brand-text { color: var(--srv-green-dark); }

.srv-navbar .nav-link {
    color: rgba(255,255,255,.92);
    font-weight: 500;
    font-size: .93rem;
    padding: 8px 14px !important;
    transition: color .25s ease;
}
.srv-navbar.scrolled .nav-link { color: var(--srv-text); }
.srv-navbar .nav-link:hover { color: var(--srv-gold-light); }
.srv-navbar.scrolled .nav-link:hover { color: var(--srv-green); }
.srv-navbar .btn-srv-primary { padding: 9px 22px; font-size: .9rem; }

/* ===== Hero ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,38,27,.72) 0%, rgba(20,38,27,.55) 45%, rgba(20,38,27,.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; }

.badge-rera {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    margin: 22px 0 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-title em { color: var(--srv-gold-light); font-style: italic; }

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255,255,255,.9);
    line-height: 1.75;
}

.scroll-cue {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    z-index: 2;
    animation: bounce 2s infinite;
    opacity: .85;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ===== Stats strip ===== */
.stats-strip {
    background: var(--srv-green-dark);
    padding: 50px 0;
    margin-top: -1px;
    position: relative;
    z-index: 3;
}
.stat-card { color: #fff; }
.stat-icon {
    font-size: 1.8rem;
    color: var(--srv-gold);
    margin-bottom: 10px;
    display: block;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    font-weight: 700;
}
.stat-label {
    font-size: .82rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 4px;
}

/* ===== About ===== */
.about-image-wrap { position: relative; }
.main-about-img { width: 100%; height: 460px; object-fit: cover; }
.accent-about-img {
    position: absolute;
    width: 46%;
    bottom: -35px; right: -30px;
    height: 220px;
    object-fit: cover;
    border: 6px solid #fff;
}
.feature-pill {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 500;
    font-size: .93rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
    display: flex; align-items: center; gap: 10px;
}
.feature-pill i { color: var(--srv-green); font-size: 1.15rem; }

/* ===== Amenities ===== */
.amenity-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31,61,43,.15);
}
.amenity-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    transition: transform .5s ease;
}
.amenity-card:hover .amenity-img { transform: scale(1.08); }
.amenity-body { padding: 22px 20px; }
.amenity-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(47,93,63,.1);
    color: var(--srv-green);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-top: -44px;
    margin-bottom: 14px;
    position: relative;
    background: linear-gradient(135deg, var(--srv-gold), var(--srv-gold-light));
    color: var(--srv-green-dark);
    box-shadow: 0 6px 16px rgba(201,162,75,.4);
}
.amenity-body h5 { font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.amenity-body p { font-size: .87rem; color: var(--srv-muted); line-height: 1.6; margin-bottom: 0; }

/* ===== Gallery ===== */
.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    color: var(--srv-text);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: .87rem;
    font-weight: 500;
    transition: all .25s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--srv-green);
    border-color: var(--srv-green);
    color: #fff;
}
.gallery-tile {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;
}
.gallery-tile img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.gallery-tile:hover img { transform: scale(1.12); }
.gallery-tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(20,38,27,.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
    padding: 18px;
    text-align: center;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-tile:hover .gallery-tile-overlay { opacity: 1; }
.gallery-tile-overlay i { font-size: 1.4rem; margin-bottom: 6px; color: var(--srv-gold-light); }
.gallery-tile-overlay span { font-weight: 500; font-size: .92rem; }
.gallery-item { display: block; }
.gallery-item.hide { display: none; }

/* ===== Map / Location ===== */
.site-map {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
}
.location-list { list-style: none; padding: 0; margin: 22px 0; }
.location-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    font-size: .93rem;
    color: var(--srv-text);
}
.location-list li:last-child { border-bottom: none; }
.location-list i { color: var(--srv-gold); font-size: 1.05rem; margin-top: 2px; }

/* ===== Documents ===== */
.doc-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: all .3s ease;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
}
.doc-card:hover {
    transform: translateY(-6px);
    border-color: var(--srv-green);
    box-shadow: 0 18px 34px rgba(31,61,43,.14);
}
.doc-icon {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(47,93,63,.08);
    color: var(--srv-green);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
}
.doc-card h6 { font-weight: 600; color: var(--srv-text); margin-bottom: 8px; }
.doc-card p { font-size: .82rem; color: var(--srv-muted); min-height: 40px; }
.doc-download {
    display: inline-block;
    margin-top: 10px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--srv-green);
}

/* ===== Legal panels ===== */
.legal-panel {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 28px;
    height: 100%;
}
.legal-panel h5 { color: var(--srv-gold-light); font-weight: 600; margin-bottom: 18px; }
.legal-table { margin-bottom: 0; }
.legal-table th, .legal-table td {
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.1);
    font-size: .87rem;
    padding: 10px 8px;
    vertical-align: top;
}
.legal-table th { font-weight: 500; color: rgba(255,255,255,.55); width: 42%; }

/* ===== Contact ===== */
.contact-info-card {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px dashed #ddd;
}
.contact-info-card:last-of-type { border-bottom: none; }
.contact-info-card i {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(47,93,63,.1);
    color: var(--srv-green);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-info-card strong { display: block; font-size: .92rem; }
.contact-info-card p { margin: 2px 0 0; font-size: .9rem; color: var(--srv-muted); }
.contact-info-card a { color: var(--srv-muted); }

.contact-form-card {
    background: var(--srv-cream);
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
}
.contact-form-card .form-label { font-weight: 500; font-size: .88rem; }
.contact-form-card .form-control {
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 12px 14px;
    font-size: .93rem;
}
.contact-form-card .form-control:focus {
    border-color: var(--srv-green);
    box-shadow: 0 0 0 .2rem rgba(47,93,63,.12);
}

/* ===== Footer ===== */
.srv-footer { background: #10201a; color: #fff; }
.footer-heading { color: var(--srv-gold-light); font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: .87rem; color: rgba(255,255,255,.65); }
.footer-links a { color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-links a:hover { color: var(--srv-gold-light); }
.social-pill {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
.social-pill:hover { background: var(--srv-gold); color: var(--srv-green-dark); }

/* ===== WhatsApp float + back to top ===== */
.whatsapp-float {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 60px; height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(37,211,102,.5);
    z-index: 999;
    animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.back-to-top {
    position: fixed;
    bottom: 26px; left: 26px;
    width: 46px; height: 46px;
    background: var(--srv-green-dark);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--srv-gold); color: var(--srv-green-dark); }

/* ===== Misc / Responsive ===== */
.alert-success-custom { background: #e7f5ec; color: #1f3d2b; border: 1px solid #b7dcc4; }
.alert-danger-custom { background: #fdecec; color: #7a1f1f; border: 1px solid #f3b9b9; }

@media (max-width: 991px) {
    .srv-navbar { background: rgba(20,38,27,.96); }
    .srv-navbar .nav-link { color: #fff; }
    .accent-about-img { display: none !important; }
}
