:root {
    --ink: #172027;
    --muted: #66717a;
    --line: #dfe5e8;
    --paper: #fbfaf7;
    --white: #ffffff;
    --green: #1f6f5b;
    --gold: #b7832f;
    --red: #b73d3d;
    --blue: #2f5f9e;
    --shadow: 0 18px 45px rgba(23, 32, 39, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, "Noto Sans Devanagari", "Mangal", Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    left: 0;
    padding: 12px clamp(16px, 4vw, 52px);
    position: sticky;
    right: 0;
    top: 0;
    z-index: 20;
}

.brand {
    align-items: center;
    display: flex;
    gap: 10px;
}

.brand-mark {
    align-items: center;
    background: var(--green);
    border-radius: 8px;
    color: var(--white);
    display: grid;
    font-weight: 800;
    height: 42px;
    place-items: center;
    width: 42px;
}

.brand small {
    color: var(--muted);
    display: block;
    font-size: 12px;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 18px;
    font-size: 14px;
}

.nav-call,
.btn {
    border-radius: 8px;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    padding: 10px 14px;
}

.nav-call,
.btn.primary {
    background: var(--green);
    color: var(--white);
}

.btn.light {
    background: var(--white);
    color: var(--ink);
}

.btn.dark {
    background: var(--ink);
    color: var(--white);
}

.nav-toggle {
    background: transparent;
    border: 0;
    display: none;
    font-size: 28px;
}

.hero {
    min-height: 74vh;
    overflow: hidden;
    position: relative;
}

.hero-media {
    background-position: center;
    background-size: cover;
    inset: 0;
    position: absolute;
}

.hero-media::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.2));
    content: "";
    inset: 0;
    position: absolute;
}

.hero-content {
    color: var(--white);
    max-width: 680px;
    padding: clamp(90px, 14vw, 150px) clamp(18px, 6vw, 76px) 96px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1;
    margin: 8px 0 18px;
}

.hero p {
    font-size: 19px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.eyebrow {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.event-ticker {
    align-items: center;
    background: var(--ink);
    color: var(--white);
    display: flex;
    gap: 22px;
    overflow: hidden;
    padding: 12px clamp(16px, 4vw, 52px);
}

.ticker-track {
    animation: ticker 28s linear infinite;
    display: flex;
    gap: 34px;
    white-space: nowrap;
}

@keyframes ticker {
    from { transform: translateX(25%); }
    to { transform: translateX(-100%); }
}

.section {
    padding: 64px clamp(16px, 4vw, 52px);
}

.intro {
    align-items: end;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.video-section {
    align-items: center;
    background: #eef5f1;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.video-section video {
    background: var(--ink);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-height: 520px;
    object-fit: contain;
    width: 100%;
}

.section h2,
.booking-panel h2,
.contact-card h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    margin: 0 0 18px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facility-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.facility-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.facility-card div {
    padding: 18px;
}

.facility-card h3 {
    margin: 0 0 8px;
}

.facility-card p {
    color: var(--muted);
}

.highlight-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-grid span {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    font-weight: 700;
    min-height: 84px;
    padding: 16px;
}

.gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.gallery-item img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.booking-contact {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.booking-panel,
.contact-card,
.install-box,
.login-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: clamp(20px, 4vw, 34px);
}

.form-grid,
.admin-form {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
    color: var(--muted);
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
}

input,
select,
textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-width: 0;
    padding: 11px 12px;
    width: 100%;
}

textarea {
    resize: vertical;
}

.full,
.wide label,
.admin-form .check {
    grid-column: 1 / -1;
}

.mini-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.contact-card > a {
    border-bottom: 1px solid var(--line);
    display: block;
    padding: 11px 0;
}

.map-section {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.terms-section {
    background: #f8f1e6;
}

.terms-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.terms-list li {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #eadbc4;
    border-radius: 8px;
    padding: 12px 14px;
}

.map-box {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    min-height: 320px;
    overflow: hidden;
    place-items: center;
}

.map-box iframe {
    border: 0;
    height: 100%;
    min-height: 320px;
    width: 100%;
}

.site-footer {
    background: var(--ink);
    color: var(--white);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 34px clamp(16px, 4vw, 52px);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.notice {
    border-radius: 8px;
    font-weight: 700;
    padding: 10px 12px;
}

.notice.success {
    background: #e7f5ef;
    color: var(--green);
}

.notice.error {
    background: #fae9e9;
    color: var(--red);
}

.lightbox {
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    display: grid;
    inset: 0;
    padding: 24px;
    place-items: center;
    position: fixed;
    z-index: 40;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-height: 86vh;
    object-fit: contain;
}

.lightbox button {
    background: var(--white);
    border: 0;
    border-radius: 50%;
    font-size: 30px;
    height: 44px;
    position: absolute;
    right: 22px;
    top: 22px;
    width: 44px;
}

.install-page,
.admin-login {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 20px;
}

.install-box,
.login-box {
    max-width: 620px;
    width: 100%;
}

.admin-body {
    background: #f4f7f8;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--ink);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px;
}

.admin-sidebar a {
    border-radius: 8px;
    padding: 10px 12px;
}

.admin-sidebar a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.admin-main {
    padding: 28px;
}

.stats-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid div,
.admin-section,
.detail-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.stats-grid strong {
    display: block;
    font-size: 34px;
}

.stats-grid span {
    color: var(--muted);
}

.admin-section {
    margin-top: 20px;
}

.admin-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 18px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    background: var(--white);
    border-collapse: collapse;
    min-width: 720px;
    width: 100%;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 11px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 13px;
}

.thumb {
    border-radius: 6px;
    height: 58px;
    object-fit: cover;
    width: 78px;
}

.admin-split {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.check {
    align-items: center;
    display: flex;
    gap: 8px;
}

.check input {
    width: auto;
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        background: var(--white);
        border-bottom: 1px solid var(--line);
        display: none;
        flex-direction: column;
        left: 0;
        padding: 16px;
        position: absolute;
        right: 0;
        top: 67px;
    }

    .site-nav.open {
        display: flex;
    }

    .intro,
    .video-section,
    .booking-contact,
    .map-section,
    .admin-split {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: 68vh;
    }

    .hero-content {
        padding-top: 82px;
    }

    .event-ticker,
    .site-footer,
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-grid,
    .admin-form,
    .card-grid,
    .highlight-grid,
    .gallery,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 42px 16px;
    }

    .admin-main {
        padding: 16px;
    }
}

/* Public site polish */
body.lang-hi .en,
body.lang-en .hi {
    display: none !important;
}

body:not(.admin-body) {
    --ink: #15201c;
    --muted: #62706a;
    --line: #d9e2dc;
    --paper: #f7f5ef;
    --green: #0f765e;
    --gold: #c38b2e;
    --rose: #b64b62;
    --shadow: 0 22px 60px rgba(21, 32, 28, 0.16);
}

body:not(.admin-body) .site-header {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
}

body:not(.admin-body) .brand-mark {
    background: linear-gradient(135deg, var(--green), var(--gold));
}

.site-nav a {
    border-radius: 8px;
    padding: 8px 4px;
}

.site-nav a:hover {
    color: var(--green);
}

.lang-switch {
    background: #edf3ef;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 3px;
}

.lang-switch button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
    min-width: 38px;
    padding: 7px 9px;
}

.lang-switch button.active {
    background: var(--white);
    box-shadow: 0 6px 16px rgba(21, 32, 28, 0.12);
    color: var(--green);
}

body:not(.admin-body) .hero {
    min-height: 84vh;
}

body:not(.admin-body) .hero-media {
    background-position: center;
}

body:not(.admin-body) .hero-media::after {
    background:
        radial-gradient(circle at 78% 22%, rgba(195, 139, 46, 0.34), transparent 28%),
        linear-gradient(90deg, rgba(10, 19, 17, 0.9), rgba(10, 19, 17, 0.5) 48%, rgba(10, 19, 17, 0.24));
}

.hero-shell {
    align-items: center;
    display: grid;
    gap: clamp(22px, 5vw, 58px);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    min-height: 84vh;
    padding: clamp(86px, 11vw, 138px) clamp(18px, 6vw, 76px) 60px;
    position: relative;
    z-index: 1;
}

body:not(.admin-body) .hero-content {
    padding: 0;
}

.hero-booking-card {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.91);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 22px;
}

.hero-booking-card h2 {
    font-size: 28px;
    line-height: 1.12;
    margin: 14px 0 18px;
}

.status-pill {
    background: #e8f6ef;
    border-radius: 999px;
    color: var(--green);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
}

.hero-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
}

.hero-stats div {
    background: #f7f5ef;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 10px;
}

.hero-stats strong {
    display: block;
    font-size: 26px;
}

.hero-stats span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.btn {
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    box-shadow: 0 12px 26px rgba(21, 32, 28, 0.18);
    transform: translateY(-1px);
}

body:not(.admin-body) .event-ticker {
    background: linear-gradient(90deg, var(--ink), #274a3d);
}

body:not(.admin-body) .intro {
    background: var(--white);
}

body:not(.admin-body) .video-section {
    background:
        linear-gradient(135deg, rgba(15, 118, 94, 0.12), rgba(195, 139, 46, 0.11)),
        #f3f7f1;
}

body:not(.admin-body) .facility-card,
body:not(.admin-body) .gallery-item img {
    transition: transform 180ms ease, box-shadow 180ms ease;
}

body:not(.admin-body) .facility-card:hover,
body:not(.admin-body) .gallery-item:hover img {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

body:not(.admin-body) .highlight-grid span {
    display: grid;
    gap: 10px;
}

body:not(.admin-body) .highlight-grid b {
    color: var(--gold);
    font-size: 12px;
}

body:not(.admin-body) .booking-contact {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(15, 118, 94, 0.08)),
        var(--paper);
}

body:not(.admin-body) .booking-panel {
    border-top: 4px solid var(--green);
}

body:not(.admin-body) .contact-card {
    border-top: 4px solid var(--gold);
    position: sticky;
    top: 92px;
}

body:not(.admin-body) .terms-section {
    background:
        linear-gradient(135deg, rgba(182, 75, 98, 0.1), rgba(195, 139, 46, 0.16)),
        #faf5ea;
}

body:not(.admin-body) .terms-list li::before {
    color: var(--green);
    content: "✓";
    font-weight: 900;
    margin-right: 8px;
}

@media (max-width: 920px) {
    .hero-shell {
        grid-template-columns: 1fr;
        min-height: 84vh;
        padding-top: 98px;
    }

    body:not(.admin-body) .contact-card {
        position: static;
    }
}

@media (max-width: 620px) {
    .hero-shell {
        min-height: 82vh;
    }

    body:not(.admin-body) .hero h1 {
        font-size: 44px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}
