/* ===== Base ===== */
:root {
    --primary: #c8763b;
    --primary-dark: #a95f2b;
    --dark: #1f2a36;
    --text: #444b55;
    --muted: #7b8490;
    --bg-alt: #f7f3ee;
    --white: #fff;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(31, 42, 54, .10);
    /* Type scale — use these instead of one-off sizes */
    --fs-xs: .8rem;
    --fs-sm: .9rem;
    --fs-base: 1rem;
    --fs-md: 1.1rem;
    --fs-lg: 1.35rem;
    --fs-xl: 1.75rem;
    --fs-2xl: 2.2rem;
    --fs-3xl: 3rem;
    --field-h: 3.125rem; /* 50px: shared height for inputs and selects */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, sans-serif; color: var(--text); line-height: 1.7; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { color: var(--dark); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.ico { display: inline-block; vertical-align: -.2em; margin-right: .45em; flex-shrink: 0; }

/* ===== Buttons ===== */
.btn { display: inline-block; background: var(--primary); color: var(--white); padding: .8rem 1.6rem; border-radius: 50px; font-weight: 500; border: 2px solid var(--primary); cursor: pointer; transition: .2s; font-family: inherit; font-size: var(--fs-base); }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-sm { padding: .45rem 1.1rem; font-size: var(--fs-sm); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { color: var(--dark); font-weight: 500; }
.main-nav a:not(.btn):hover { color: var(--primary); }
.main-nav .btn { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; font-size: var(--fs-xl); cursor: pointer; color: var(--dark); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: var(--white);
        background: url('https://images.unsplash.com/photo-1611892440504-42a792e24d32?w=1800&q=70') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,38,.85), rgba(20,28,38,.35)); }
.hero-content { position: relative; max-width: 1180px; padding: 4rem 0; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 640px; margin-bottom: 1rem; }
.hero p { max-width: 560px; font-size: var(--fs-md); opacity: .92; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 3rem; }
.hero-stats { list-style: none; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: var(--fs-xl); color: var(--white); }
.hero-stats span { font-size: var(--fs-sm); opacity: .8; }
.eyebrow { display: inline-block; letter-spacing: .3px; font-size: var(--fs-sm); font-weight: 600; color: var(--primary); margin-bottom: .6rem; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #d4dae1; }
.section-dark h2 { color: var(--white); }
.section-dark a { color: #f0b98d; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.check-list { list-style: none; margin: 1.2rem 0 1.8rem; }
.check-list li { padding-left: 1.8rem; position: relative; margin-bottom: .5rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== Rooms ===== */
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }
.room-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.room-card:hover { transform: translateY(-6px); }
.room-card img { height: 190px; width: 100%; object-fit: cover; }
.room-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: var(--fs-md); }
.price { font-size: var(--fs-xl); font-weight: 700; color: var(--primary); margin: .3rem 0 .8rem; }
.price small { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
.room-body ul { list-style: none; margin-bottom: 1.3rem; flex: 1; font-size: var(--fs-sm); }
.room-body li { padding: .3rem 0; border-bottom: 1px dashed #eee; }

/* ===== Amenities ===== */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.amenity { padding: 1.8rem 1.4rem; border-radius: var(--radius); border: 1px solid #eee; text-align: center; transition: .2s; }
.amenity:hover { box-shadow: var(--shadow); border-color: transparent; }
.amenity-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-alt); color: var(--primary); margin-bottom: .8rem; }
.amenity h3 { font-size: var(--fs-md); margin-bottom: .4rem; }
.amenity p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery a { overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .6rem; color: #fff; font-size: var(--fs-sm);
                   background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gallery img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.07); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: grid; place-items: center; z-index: 999; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; border: 0; color: #fff; cursor: pointer; }
.lb-close { top: 16px; right: 24px; background: none; font-size: var(--fs-3xl); }

/* ===== Reviews ===== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.review-grid blockquote { background: var(--bg-alt); padding: 1.8rem; border-radius: var(--radius); border-left: 4px solid var(--primary); }
.review-grid cite { font-style: normal; font-weight: 600; color: var(--dark); font-size: var(--fs-sm); }

/* ===== Enquiry form ===== */
.enquiry-form { background: var(--white); color: var(--text); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.enquiry-form label { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--dark); margin-bottom: 1rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
    display: block; width: 100%; margin-top: .35rem; padding: .7rem .9rem; border: 1px solid #dcdfe4; border-radius: 8px; font: inherit; font-size: var(--fs-sm); background-color: #fbfbfc; }
.enquiry-form input, .enquiry-form select, .reg-form input:not([type=checkbox]):not([type=file]), .reg-form select {
    height: var(--field-h); padding-block: 0; line-height: normal; }
.enquiry-form select, .reg-form select {
    appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--primary); background-color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: .9rem 1rem; border-radius: 8px; margin-bottom: 1.2rem; font-size: var(--fs-sm); }
.alert-success { background: #e6f6ec; color: #1e7a44; border: 1px solid #b7e4c7; }
.alert-error { background: #fdeaea; color: #a52a2a; border: 1px solid #f4c2c2; }
.contact-points { list-style: none; margin-top: 1.5rem; }
.contact-points li { margin-bottom: .7rem; }
.contact-points .ico, .location-body .ico { color: var(--primary); }
.enquiry-intro { align-self: start; position: sticky; top: 100px; }
@media (max-width: 900px) { .enquiry-intro { position: static; } }

/* ===== Map / Footer ===== */
/* ===== Locations ===== */
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.location-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.location-card iframe { width: 100%; height: 220px; border: 0; display: block; }
.location-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.location-body h3 { font-size: var(--fs-md); margin-bottom: .5rem; }
.location-body p { font-size: var(--fs-sm); flex: 1; }
.location-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.center { text-align: center; margin-top: 2rem; }
.site-footer { background: #151d26; color: #9aa4b0; padding: 1.6rem 0; font-size: var(--fs-sm); }
.site-footer p { margin: 0; }
.site-footer a { color: #c9d1da; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 200; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: .9rem; width: 100%; text-align: center; border-top: 1px solid #f1f1f1; }
    .main-nav .btn { width: auto; margin: .8rem 0; }
}
@media (max-width: 560px) {
    .logo img { height: 36px; }
    .section { padding: 60px 0; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .gallery { grid-template-columns: 1fr; }
    .enquiry-form { padding: 1.4rem; }
}

/* ===== Inner pages (Accommodations / Gallery) ===== */
.main-nav a.active { color: var(--primary); }
.page-banner { position: relative; color: var(--white); padding: 90px 0 70px;
               background: url('https://images.unsplash.com/photo-1611892440504-42a792e24d32?w=1800&q=70') center/cover no-repeat; }
.page-banner-content { position: relative; }
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .6rem; }
.page-banner p { max-width: 560px; opacity: .92; }
.breadcrumb { font-size: var(--fs-sm); opacity: .85; }
.breadcrumb a { color: var(--white); text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; }
.gallery-count { color: var(--muted); margin-bottom: 1.4rem; }
.gallery-full img { height: 280px; }
.cta { text-align: center; }
.center-block { max-width: 640px; }
.cta .hero-actions { justify-content: center; margin-bottom: 0; }

/* Lightbox with previous / next */
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: #eee; margin-top: .8rem; font-size: var(--fs-sm); min-height: 1.2em; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
                     width: 52px; height: 52px; border-radius: 50%; font-size: var(--fs-2xl); line-height: 1; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
@media (max-width: 560px) {
    .gallery-full img { height: 230px; }
    .lb-prev, .lb-next { width: 40px; height: 40px; }
}

/* ===== Footer (multi-column) ===== */
.site-footer { padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-title { color: var(--white); font-size: var(--fs-base); margin-bottom: .8rem; }
.footer-grid a { display: block; color: #c9d1da; margin-bottom: .45rem; }
.footer-grid a:hover { color: var(--white); }
.footer-logo { background: var(--white); border-radius: 50%; margin-bottom: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; }

/* ===== Shared inner-page bits ===== */
.narrow-container { max-width: 820px; }
.empty-state { text-align: center; padding: 2rem 0; }
.empty-state .hero-actions { justify-content: center; }
.big-404 { font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: .5rem; }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin: .8rem 0 0; text-align: center; }
.form-note a { color: var(--primary); }

/* About: stat band */
.stat-band { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.4rem; text-align: center; }
.stat-band strong { display: block; font-size: var(--fs-2xl); color: var(--primary); }
.stat-band span { color: var(--muted); }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.contact-card { display: block; text-align: center; padding: 1.8rem 1.2rem; border: 1px solid #eee; border-radius: var(--radius); color: var(--text); transition: .2s; }
a.contact-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.contact-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg-alt); color: var(--primary); margin-bottom: .6rem; }
.contact-icon .ico { margin: 0; vertical-align: 0; }
.contact-card h3 { font-size: var(--fs-md); margin-bottom: .2rem; }
.contact-card p { margin: 0; color: var(--muted); word-break: break-word; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { border: 1px solid #eee; border-radius: var(--radius); padding: 0 1.3rem; background: var(--white); }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--dark); padding: 1.1rem 2rem 1.1rem 0; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: var(--fs-lg); color: var(--primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-bottom: 1.1rem; margin: 0; }
.faq-more { text-align: center; margin-top: 3rem; }
.faq-more .hero-actions { justify-content: center; }

/* Long text (privacy policy, blog posts) */
.prose h2 { font-size: var(--fs-lg); margin: 2rem 0 .8rem; }
.prose ul { margin: 0 0 1rem 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose a { text-decoration: underline; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.6rem; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card-img img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s; }
.post-card-img { overflow: hidden; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body time { font-size: var(--fs-xs); color: var(--muted); }
.post-card-body h3 { font-size: var(--fs-md); margin: .3rem 0 .6rem; }
.post-card-body h3 a { color: var(--dark); }
.post-card-body p { font-size: var(--fs-sm); flex: 1; }
.read-more { font-weight: 600; }
.post-hero { width: 100%; max-height: 460px; object-fit: cover; margin-bottom: 2rem; }
.post-cta { margin-top: 3rem; padding: 1.8rem; background: var(--bg-alt); border-radius: var(--radius); border-left: 4px solid var(--primary); }
.post-cta h3 { margin-bottom: .4rem; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .main-nav { gap: .9rem; }
    .main-nav a { font-size: var(--fs-sm); }
    .logo img { height: 38px; }
}

/* ===== Tenant registration form ===== */
.reg-form fieldset { border: 1px solid #eee; border-radius: var(--radius); padding: 1.4rem 1.4rem .4rem; margin-bottom: 1.4rem; background: var(--white); }
.reg-form legend { font-weight: 600; color: var(--dark); padding: 0 .5rem; display: flex; align-items: center; gap: .5rem; }
.reg-form legend span { background: var(--primary); color: var(--white); width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: var(--fs-xs); }
.reg-form label { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--dark); margin-bottom: 1rem; }
.reg-form input:not([type=checkbox]):not([type=file]), .reg-form select, .reg-form textarea {
    display: block; width: 100%; margin-top: .35rem; padding: .7rem .9rem; border: 1px solid #dcdfe4; border-radius: 8px; font: inherit; font-size: var(--fs-sm); background-color: #fbfbfc; }
.reg-form input:focus, .reg-form select:focus, .reg-form textarea:focus { outline: none; border-color: var(--primary); background-color: var(--white); }
.reg-form input:disabled { color: var(--muted); }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.muted-note { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.doc-drop { position: relative; display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: .3rem;
            border: 2px dashed #d5d9df; border-radius: var(--radius); padding: 1.2rem .8rem; cursor: pointer; background: #fbfbfc; margin: 0 !important; }
.doc-drop:hover { border-color: var(--primary); }
.doc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.doc-icon { font-size: var(--fs-xl); }
.doc-label { font-weight: 600; }
.doc-file { font-size: var(--fs-xs); color: var(--muted); word-break: break-all; }
.doc-drop.has-file { border-style: solid; border-color: #2dbb66; background: #f0faf4; }
.doc-drop.has-file .doc-icon::after { content: ' ✓'; color: #2dbb66; }
.doc-drop.too-big { border-color: #d64545; }
.check-row { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 400 !important; line-height: 1.6; }
.check-row input { margin-top: .3rem; width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 1rem 1.6rem; font-size: var(--fs-md); }
.btn:disabled { opacity: .7; cursor: wait; }
.error-list { margin: .5rem 0 .5rem 1.2rem; }
.reg-success { text-align: center; padding: 2.5rem 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.reg-success-icon { font-size: var(--fs-3xl); }
.reg-success .hero-actions { justify-content: center; margin-bottom: 0; }
.reg-ref { font-size: var(--fs-lg); color: var(--primary); letter-spacing: 1px; }
@media (max-width: 560px) {
    .form-row-3 { grid-template-columns: 1fr; }
    .reg-form fieldset { padding: 1rem 1rem .2rem; }
}

/* Room photo + optional badge (Admin → Rooms) */
.room-img { position: relative; }
.room-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: var(--white); font-size: var(--fs-xs); font-weight: 600;
              padding: .3rem .75rem; border-radius: 50px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }

/* ===== Announcement bar (Admin → SEO & Marketing) ===== */
.promo-bar { background: var(--dark); color: var(--white); font-size: var(--fs-sm); text-align: center; padding: .55rem 0; }
.promo-bar .container { display: flex; justify-content: center; align-items: center; gap: .4rem 1rem; flex-wrap: wrap; }
.promo-bar a { color: #f3c49c; font-weight: 600; white-space: nowrap; }
.promo-bar a:hover { text-decoration: underline; }
