/* ==========================================================================
   1. Theme tokens and global defaults
   ========================================================================== */
:root {
    --navy:#102d26;
    --green:#1f5947;
    --green2:#2f765c;
    --gold:#d7ad62;
    --cream:#f6f5ef;
    --ink:#1d2924;
    --muted:#65716b;
    --line:#e4e8e2;
    --shadow:0 16px 45px #102d2614
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    font:16px/1.7 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
    color:var(--ink)
}
a {
    color:inherit;
    text-decoration:none
}
img {
    max-width:100%;
    display:block
}
input,select,textarea,button {
    font:inherit
}
.wrap {
    width:min(1160px,calc(100% - 36px));
    margin:auto
}
.topline {
    background:var(--navy);
    color:#e5eee8;
    font-size:.82rem;
    padding:7px 0
}
.topline-inner {
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap
}
.header {
    position:sticky;
    top:0;
    z-index:20;
    background:#fffffff5;
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line)
}
.nav {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:78px
}
.brand {
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--navy);
    font-weight:850;
    letter-spacing:-.03em
}
.brand small {
    display:block;
    font-size:.63rem;
    letter-spacing:.13em;
    color:var(--muted)
}
.brand-mark {
    width:43px;
    height:43px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:var(--green);
    color:white;
    font-size:1.35rem
}
.navlinks {
    display:flex;
    align-items:center;
    gap:22px;
    font-size:.9rem;
    font-weight:700
}
.navlinks a:hover {
    color:var(--green2)
}
.nav-toggle {
    display:none
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 18px;
    border-radius:8px;
    font-weight:800;
    border:1px solid transparent;
    cursor:pointer
}
.btn-primary {
    background:var(--green);
    color:#fff
}
.btn-primary:hover {
    background:var(--navy)
}
.btn-gold {
    background:var(--gold);
    color:#1b2a22
}
.hero {
    color:#fff;
    background:linear-gradient(90deg,#0a241de8,#0a241d70 65%,#0a241d20),url('/assets/img/kanha-forest.webp') center/cover;
    min-height:590px;
    display:flex;
    align-items:center
}
.hero-content {
    padding:65px 0;
    max-width:790px
}
.eyebrow,.kicker {
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.15em;
    font-weight:850;
    color:var(--gold)
}
h1,h2,h3 {
    line-height:1.16;
    letter-spacing:-.035em;
    color:var(--navy)
}
.hero h1 {
    font-size:clamp(2.5rem,6vw,4.8rem);
    color:white;
    margin:18px 0
}
.hero p {
    max-width:640px;
    color:#e6eee8;
    font-size:1.1rem
}
.actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:26px
}
.section {
    padding:72px 0
}
.soft {
    background:var(--cream)
}
.section-head {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:27px
}
.section-head h2 {
    font-size:clamp(1.9rem,4vw,2.8rem);
    margin:8px 0
}
.section-head p,.muted,.lead {
    color:var(--muted)
}
.grid {
    display:grid;
    gap:22px
}
.g3 {
    grid-template-columns:repeat(3,minmax(0,1fr))
}
.g4 {
    grid-template-columns:repeat(4,minmax(0,1fr))
}
.card {
    border:1px solid var(--line);
    border-radius:15px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 4px 18px #102d2608
}
.card-img {
    height:220px;
    position:relative;
    background:#e6ece7
}
.card-img img {
    width:100%;
    height:100%;
    object-fit:cover
}
.badge {
    position:absolute;
    top:13px;
    left:13px;
    background:white;
    color:var(--green);
    border-radius:40px;
    padding:5px 10px;
    font-size:.72rem;
    font-weight:800
}
.card-body {
    padding:20px
}
.card h3 {
    font-size:1.15rem;
    margin:0 0 9px
}
.card p {
    color:var(--muted);
    font-size:.93rem
}
.card-foot {
    display:flex;
    justify-content:space-between;
    gap:10px;
    align-items:center;
    border-top:1px solid var(--line);
    padding-top:13px;
    margin-top:14px
}
.text-link {
    color:var(--green);
    font-weight:850
}
.price {
    font-weight:850;
    color:var(--green)
}
.price small {
    display:block;
    color:var(--muted);
    font-size:.75rem;
    font-weight:500
}
.split {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:45px;
    align-items:center
}
.split-img {
    height:470px;
    border-radius:18px;
    overflow:hidden
}
.split-img img {
    width:100%;
    height:100%;
    object-fit:cover
}
.checklist {
    padding-left:20px
}
.checklist li {
    padding:4px 0;
    color:#4f5e55
}
.content-box {
    border:1px solid var(--line);
    border-left:4px solid var(--green2);
    border-radius:12px;
    padding:22px;
    margin:16px 0;
    background:#fff
}
.content-box:nth-of-type(even) {
    border-left-color:var(--gold);
    background:#fcfaf5
}
.content-box h3 {
    margin-top:0
}
.content-box p,.content-box li {
    color:#526159
}
.form-card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:15px;
    padding:24px;
    box-shadow:var(--shadow)
}
.form-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:13px
}
.field {
    display:flex;
    flex-direction:column;
    gap:5px
}
.field.full {
    grid-column:1/-1
}
.field label {
    font-size:.82rem;
    font-weight:750
}
.field input,.field select,.field textarea {
    border:1px solid #d6dfd9;
    border-radius:8px;
    padding:11px 12px;
    width:100%;
    background:#fff
}
.field textarea {
    min-height:100px;
    resize:vertical
}
.form-note {
    font-size:.77rem;
    color:var(--muted)
}
.page-hero {
    background:var(--cream);
    padding:52px 0
}
.page-hero h1 {
    font-size:clamp(2.1rem,5vw,3.6rem);
    margin:10px 0
}
.crumb {
    font-size:.82rem;
    color:var(--muted)
}
.listing-toolbar {
    display:flex;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:25px
}
.listing-toolbar input {
    border:1px solid var(--line);
    border-radius:8px;
    padding:10px
}
.pagination {
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:30px
}
.pagination a,.pagination span {
    padding:7px 13px;
    border:1px solid var(--line);
    border-radius:7px
}
.pagination .current {
    background:var(--green);
    color:#fff
}
.gallery {
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    grid-template-rows:180px 180px;
    gap:9px;
    border-radius:15px;
    overflow:hidden
}
.gallery img {
    width:100%;
    height:100%;
    object-fit:cover
}
.gallery img:first-child {
    grid-row:span 2
}
.detail-title {
    padding:30px 0 18px
}
.detail-title h1 {
    font-size:clamp(2rem,4vw,3rem);
    margin:0 0 10px
}
.rating {
    color:#bc8b30;
    font-weight:800
}
.detail-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:28px;
    margin-top:28px;
    align-items:start
}
.sidebar {
    position:sticky;
    top:100px
}
.highlights {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:20px 0
}
.highlight {
    background:#f6f8f5;
    border:1px solid var(--line);
    border-radius:9px;
    padding:12px;
    font-size:.88rem
}
.highlight strong {
    display:block;
    color:var(--navy)
}
.day {
    border:1px solid var(--line);
    border-radius:11px;
    margin:13px 0;
    overflow:hidden
}
.day h3 {
    background:#f0f6f1;
    padding:14px 17px;
    margin:0;
    font-size:1rem
}
.day p {
    padding:0 17px;
    color:#526159
}
.quote {
    padding:22px;
    border:1px solid var(--line);
    border-radius:13px;
    background:white
}
.stars {
    color:#c9973f
}
.footer {
    background:#0b211b;
    color:#c7d5cc;
    padding:55px 0 18px;
    margin-top:30px
}
.footer-grid {
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:30px
}
.brand-light {
    color:white
}
.brand-light small {
    color:#a9bbb0
}
.footer h3 {
    color:white;
    font-size:1rem
}
.footer-grid>div>a:not(.brand) {
    display:block;
    margin:8px 0;
    font-size:.9rem
}
.footer p {
    font-size:.9rem;
    color:#aebfb4
}
.footer-bottom {
    border-top:1px solid #ffffff22;
    margin-top:35px;
    padding-top:18px;
    display:flex;
    justify-content:space-between;
    gap:10px;
    font-size:.8rem
}
.notice {
    padding:14px;
    border:1px solid #ead8ad;
    background:#fff9e9;
    border-radius:9px;
    color:#6c5424;
    font-size:.87rem
}
.faq details {
    border-bottom:1px solid var(--line);
    padding:16px 0
}
.faq summary {
    font-weight:800;
    color:var(--navy);
    cursor:pointer
}
.faq p {
    color:var(--muted)
}
.mobile-cta {
    display:none
}
.admin-body {
    background:#f3f6f3
}
.admin-wrap {
    width:min(1180px,calc(100% - 32px));
    margin:28px auto
}
.admin-nav {
    background:var(--navy);
    color:#fff;
    padding:15px 20px;
    display:flex;
    gap:18px;
    align-items:center;
    flex-wrap:wrap;
    border-radius:12px
}
.admin-nav a {
    color:#fff
}
.admin-panel {
    background:#fff;
    padding:24px;
    border:1px solid var(--line);
    border-radius:12px;
    margin-top:20px;
    overflow:auto
}
.admin-panel table {
    border-collapse:collapse;
    width:100%;
    font-size:.9rem
}
.admin-panel th,.admin-panel td {
    padding:11px;
    border-bottom:1px solid var(--line);
    text-align:left
}
.admin-panel th {
    color:var(--navy);
    background:#f5f7f5
}
.admin-panel input,.admin-panel textarea,.admin-panel select {
    max-width:100%
}
.admin-form {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px
}
.admin-form .full {
    grid-column:1/-1
}
.alert {
    padding:12px;
    border-radius:8px;
    background:#e8f4e9;
    margin:12px 0
}
.alert.error {
    background:#fff0ed
}
.stat-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px
}
.stat-box {
    background:#f5f8f5;
    padding:18px;
    border-radius:10px
}
.stat-box strong {
    display:block;
    font-size:1.8rem;
    color:var(--green)
}
@media(max-width:900px) {
    .g4 {
        grid-template-columns:repeat(2,1fr)
    }
    .g3 {
        grid-template-columns:repeat(2,1fr)
    }
    .footer-grid {
        grid-template-columns:repeat(2,1fr)
    }
    .navlinks {
        gap:12px;
        font-size:.83rem
    }
    .detail-layout {
        grid-template-columns:minmax(0,1fr) 300px
    }
}
@media(max-width:700px) {
    .topline-inner {
        justify-content:center
    }
    .nav {
        min-height:68px
    }
    .nav-toggle {
        display:block;
        border:1px solid var(--line);
        background:#fff;
        padding:8px;
        border-radius:7px
    }
    .navlinks {
        display:none;
        position:absolute;
        top:68px;
        left:0;
        right:0;
        background:white;
        padding:18px;
        box-shadow:var(--shadow);
        flex-direction:column;
        align-items:stretch
    }
    .navlinks.open {
        display:flex
    }
    .hero {
        min-height:520px
    }
    .section {
        padding:52px 0
    }
    .section-head {
        display:block
    }
    .g3,.g4,.split,.detail-layout {
        grid-template-columns:1fr
    }
    .split-img {
        height:330px
    }
    .gallery {
        grid-template-rows:190px 100px 100px
    }
    .gallery img:first-child {
        grid-column:span 2;
        grid-row:auto
    }
    .sidebar {
        position:static
    }
    .footer-grid {
        grid-template-columns:1fr 1fr
    }
    .form-grid,.admin-form {
        grid-template-columns:1fr
    }
    .field.full,.admin-form .full {
        grid-column:auto
    }
    .highlights {
        grid-template-columns:1fr
    }
    .stat-grid {
        grid-template-columns:repeat(2,1fr)
    }
    .mobile-cta {
        display:block;
        position:fixed;
        bottom:0;
        left:0;
        right:0;
        padding:10px;
        background:white;
        border-top:1px solid var(--line);
        z-index:30
    }
    .mobile-cta .btn {
        width:100%
    }
    body {
        padding-bottom:65px
    }
    .footer-bottom {
        display:block
    }
    .footer-bottom span {
        display:block;
        margin-top:5px
    }
}
@media(max-width:440px) {
    .footer-grid {
        grid-template-columns:1fr
    }
    .g3,.g4 {
        grid-template-columns:1fr
    }
}
/* ==========================================================================
   2. Admin rich-text editor and image upload controls
   ========================================================================== */
.rich-editor {
    border:1px solid #cbd5e1;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    color:#172033
}
.rich-toolbar {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    padding:9px;
    background:#f1f5f9;
    border-bottom:1px solid #dbe2ea
}
.rich-toolbar button {
    border:1px solid #cbd5e1;
    background:#fff;
    border-radius:6px;
    padding:7px 11px;
    cursor:pointer;
    color:#172033;
    min-width:34px
}
.rich-toolbar button:hover {
    background:#e2e8f0
}
.rich-toolbar button:disabled {
    opacity:.6;
    cursor:wait
}
.rich-toolbar span {
    font-size:12px;
    color:#64748b;
    margin-left:4px
}
.rich-area {
    min-height:220px;
    padding:14px;
    outline:none;
    line-height:1.65;
    overflow-wrap:anywhere
}
.rich-area:focus {
    box-shadow:inset 0 0 0 2px #c9a45c
}
.rich-area img {
    max-width:100%;
    height:auto;
    border-radius:6px
}
.rich-area a {
    color:#175cd3;
    text-decoration:underline
}
.upload-field {
    margin-top:10px;
    padding:12px;
    border:1px dashed #cbd5e1;
    border-radius:8px;
    background:#f8fafc
}
.upload-field>label {
    display:block;
    font-weight:600;
    margin-bottom:7px
}
.upload-field input[type=file] {
    display:block;
    max-width:100%;
    margin:5px 0
}
.upload-field small {
    display:block;
    color:#64748b;
    margin-top:5px
}
.image-preview,.image-previews {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    margin-top:10px
}
.image-preview img,.image-previews img {
    width:100px;
    height:72px;
    object-fit:cover;
    border-radius:6px;
    border:1px solid #dbe2ea
}
.image-preview span {
    font-size:12px;
    color:#64748b
}
@media(max-width:640px) {
    .rich-toolbar span {
        width:100%;
        margin:4px 0 0
    }
    .rich-area {
        min-height:180px
    }
}
/* ==========================================================================
   3. Homepage hero and enquiry form layout
   ========================================================================== */
.hero-layout {
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
    gap:42px;
    align-items:center;
    padding:46px 0
}
.hero-layout .hero-content {
    padding:24px 0;
    max-width:700px
}
.hero-inquiry {
    color:var(--ink);
    padding:23px;
    box-shadow:0 20px 60px #061a1445
}
.hero-inquiry h2 {
    font-size:1.55rem;
    margin:0 0 7px
}
.hero-inquiry>p {
    font-size:.9rem;
    color:var(--muted);
    margin:0 0 16px
}
.hero-inquiry .form-grid {
    gap:10px
}
.hero-inquiry .field {
    gap:4px
}
.hero-inquiry .field label {
    font-size:.76rem
}
.hero-inquiry .field input,.hero-inquiry .field select,.hero-inquiry .field textarea {
    padding:9px 10px;
    font-size:.88rem
}
.hero-inquiry .field textarea {
    min-height:58px
}
.hero-inquiry .field.full .btn {
    width:100%
}
.hero-form-note {
    display:block;
    color:var(--muted);
    font-size:.72rem;
    line-height:1.45;
    margin-top:10px
}
.hero-inquiry .field.full {
    grid-column:1/-1
}
@media(max-width:900px) {
    .hero-layout {
        grid-template-columns:1fr;
        gap:22px;
        padding:35px 0
    }
    .hero-layout .hero-content {
        padding:10px 0 0;
        max-width:760px
    }
    .hero-inquiry {
        max-width:680px;
        width:100%;
        margin:0 auto
    }
    .hero {
        min-height:unset
    }
}
@media(max-width:700px) {
    .hero-layout {
        padding:30px 0
    }
    .hero-inquiry {
        padding:18px
    }
    .hero-inquiry .form-grid {
        grid-template-columns:1fr 1fr
    }
    .hero-inquiry .field.full {
        grid-column:1/-1
    }
}
@media(max-width:440px) {
    .hero-inquiry .form-grid {
        grid-template-columns:1fr
    }
    .hero-inquiry .field.full {
        grid-column:auto
    }
}
.rich-editor {
    border:1px solid #cbd0d4;
    border-radius:10px;
    overflow:hidden;
    background:#fff
}
.rich-toolbar {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    padding:9px;
    background:#f8f8f8;
    border-bottom:1px solid #cbd0d4
}
.rich-toolbar button,.rich-toolbar select {
    border:0;
    background:transparent;
    border-radius:5px;
    padding:7px 9px;
    cursor:pointer;
    color:#333;
    font-weight:650
}
.rich-toolbar button:hover,.rich-toolbar select:hover {
    background:#e9ecef
}
.rich-toolbar select {
    border:1px solid #ddd;
    background:#fff;
    min-width:115px
}
.rich-area {
    min-height:280px;
    padding:18px;
    outline:none;
    line-height:1.7;
    overflow-wrap:anywhere;
    text-align:justify
}
.rich-area:focus {
    box-shadow:inset 0 0 0 2px #d7ad62
}
.rich-area img {
    max-width:100%;
    height:auto;
    border-radius:5px
}
.rich-area a {
    color:#175cd3;
    text-decoration:underline
}
.rich-area h1,.rich-area h2,.rich-area h3 {
    margin:1em 0 .45em
}
.hero-inquiry {
    justify-self:end;
    width:100%;
    max-width:510px
}
/* ==========================================================================
   5. About page layout and alignment
   ========================================================================== */
.about-section  {
    padding-top: 64px;
    padding-bottom: 72px;
}
.about-layout  {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.about-content  {
    width: 100%;
    max-width: 760px;
    min-width: 0;
}
.about-content .kicker  {
    display: inline-block;
    margin-bottom: 12px;
}
.about-content h2  {
    margin: 0 0 22px;
    line-height: 1.25;
    text-wrap: balance;
}
.about-content p  {
    margin: 0 0 18px;
    line-height: 1.85;
    text-align: left;
}
.about-actions  {
    margin-top: 28px;
}
.about-image  {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 5;
    background: #f1f1f1;
}
.about-image img  {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* Tablet and mobile alignment */
@media (max-width: 900px)  {
    .about-layout  {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-content  {
        max-width: 100%;
    }
    .about-image  {
        max-width: 650px;
        aspect-ratio: 16 / 10;
    }
}
@media (max-width: 600px)  {
    .about-section  {
        padding-top: 36px;
        padding-bottom: 44px;
    }
    .about-layout  {
        gap: 26px;
    }
    .about-content h2  {
        font-size: clamp(25px, 7vw, 34px);
    }
    .about-content p  {
        font-size: 15px;
        line-height: 1.75;
    }
    .about-image  {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }
}
