/* ============================================================
   Olana Bed and Breakfast — Olana Philippines
   Static theme compiled from the original WordPress/Elementor site
   ------------------------------------------------------------
   1.  Tokens & Reset
   2.  Typography & Helpers
   3.  Buttons
   4.  Header / Navigation
   5.  Hero
   6.  Sections
   7.  Cards (rooms, facilities)
   8.  Food menu
   9.  Testimonials
   10. Gallery
   11. CTA bands
   12. Footer
   13. Inner page headers
   14. Lightbox
   15. Responsive
   ============================================================ */

/* ---------- 1. Tokens & Reset ---------- */
:root {
    --ocean: #0d5c63;
    --ocean-dark: #093f45;
    --ocean-soft: #e6f2f2;
    --sand: #f7f2e8;
    --sand-dark: #ece2d0;
    --sunset: #d9863d;
    --sunset-dark: #bd6f2b;
    --ink: #22312f;
    --muted: #62736f;
    --line: #e3ded2;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 18px 40px -24px rgba(13, 60, 63, .45);
    --shadow-soft: 0 10px 30px -20px rgba(13, 60, 63, .35);
    --max: 1220px;
    --heading-font: "Playfair Display", "Georgia", serif;
    --body-font: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

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

a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--sunset); }

ul { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

/* ---------- 2. Typography & Helpers ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ocean-dark);
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 {
    font-family: var(--body-font);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sunset);
    margin: 0 0 .8em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--sunset);
    margin: 0 0 .9em;
}

.lead { font-size: 1.1rem; color: var(--muted); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.narrow { max-width: 780px; }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 3. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--ocean-dark); color: var(--white); }

.btn-accent { background: var(--sunset); color: var(--white); }
.btn-accent:hover { background: var(--sunset-dark); color: var(--white); }

.btn-outline { border-color: var(--ocean); color: var(--ocean); background: transparent; }
.btn-outline:hover { background: var(--ocean); color: var(--white); }

.btn-light { background: rgba(255, 255, 255, .92); color: var(--ocean-dark); }
.btn-light:hover { background: var(--white); color: var(--ocean); }

.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ocean-dark); }

.btn-sm { padding: 10px 22px; font-size: .74rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 4. Header / Navigation ---------- */
.topbar {
    background: var(--ocean-dark);
    color: rgba(255, 255, 255, .85);
    font-size: .82rem;
    letter-spacing: .04em;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    align-items: center;
    justify-content: space-between;
    padding-top: 9px;
    padding-bottom: 9px;
}

.topbar a { color: rgba(255, 255, 255, .9); }
.topbar a:hover { color: var(--sunset); }
.topbar-list { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.topbar-list li { display: flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease, padding .3s ease;
}

.site-header.is-stuck { box-shadow: 0 14px 30px -26px rgba(9, 63, 69, .8); }

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 78px; height: auto; }

.nav { display: flex; align-items: center; gap: 26px; }

.nav-links { display: flex; align-items: center; gap: 22px; }

.nav-links a {
    position: relative;
    font-size: .84rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 6px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--sunset);
    transition: width .3s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { color: var(--ocean); }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    padding: 0;
    place-items: center;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ocean-dark);
    margin: 4px auto;
    transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
/* The band picture is a custom property so the CMS can swap it without the
   gradient that keeps the text readable being recreated in PHP. The fallback
   here is the picture the site ships with. */
.hero {
    position: relative;
    min-height: 86vh;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
    padding: 120px 0 90px;
    background: linear-gradient(rgba(9, 45, 48, .55), rgba(9, 45, 48, .62)),
                var(--page-background, url("../images/hospitality-hero.jpg")) center/cover no-repeat;
}

.hero-inner { max-width: 860px; padding: 0 24px; }
.hero h1 { color: var(--white); text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.hero p { color: rgba(255, 255, 255, .92); font-size: 1.12rem; }

.hero .eyebrow { color: #ffd9ae; }

.scroll-cue {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}
.scroll-cue svg { width: 30px; height: 30px; fill: currentColor; animation: bob 2.2s ease-in-out infinite; }

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(9px); }
}

/* ---------- 6. Sections ---------- */
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-sand { background: var(--sand); }
.section-soft { background: var(--ocean-soft); }
.section-dark { background: var(--ocean-dark); color: rgba(255, 255, 255, .88); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.split.reverse .split-media { order: 2; }

.media-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.media-frame img { width: 100%; object-fit: cover; }

.video-embed {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.video-note {
    margin: 12px 0 0;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.video-note a { color: var(--ocean); }
.video-note a:hover { color: var(--sunset); }

.feature-list { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-list li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: .85rem;
    color: var(--muted);
}
.feature-list svg { width: 15px; height: 15px; fill: var(--ocean); flex: none; }

/* ---------- 7. Cards ---------- */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); margin: 0; }

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .93);
    color: var(--ocean-dark);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.price {
    font-family: var(--heading-font);
    font-size: 1.28rem;
    color: var(--ocean);
    margin: 0;
}
.price span { font-family: var(--body-font); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

.amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.amenities li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); }
.amenities svg { width: 15px; height: 15px; fill: var(--ocean); flex: none; }

.room-details {
    display: none;
    padding-top: 18px;
    margin-top: 4px;
    border-top: 1px dashed var(--line);
}
.room-details.is-open { display: block; }
.room-details h4 { margin-bottom: .5em; font-size: 1rem; }

.thumb-strip { display: flex; gap: 10px; margin-top: 14px; }
.thumb-strip img {
    width: 70px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.icon-card { text-align: center; padding: 32px 24px; }
.icon-card svg { width: 40px; height: 40px; fill: var(--sunset); margin-bottom: 16px; }
.icon-card h5 { margin-bottom: .35em; }
.icon-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- 8. Food menu ---------- */
.menu-card { display: grid; grid-template-columns: 190px 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.menu-card img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-body { padding: 22px 24px; }
.menu-card-body h3 { margin: 0 0 .35em; font-size: 1.3rem; }
.menu-card-body p { color: var(--muted); margin: 0; font-size: .95rem; }

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

.tag {
    display: inline-block;
    padding: 4px 13px;
    border-radius: 999px;
    background: var(--sand-dark);
    color: var(--ocean-dark);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: .8em;
}

/* ---------- 9. Testimonials ---------- */
.rating-strip { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.rating-pill {
    min-width: 190px;
    padding: 22px 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    text-align: center;
    box-shadow: var(--shadow-soft);
}
.rating-pill strong { display: block; font-family: var(--heading-font); font-size: 2rem; color: var(--ocean); line-height: 1.1; }
.rating-pill span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stars { color: var(--sunset); letter-spacing: .12em; font-size: .95rem; }

.quote-card {
    position: relative;
    padding: 34px 30px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.quote-card > svg { width: 32px; height: 32px; fill: var(--sand-dark); }
.quote-card blockquote { margin: 0; font-size: 1rem; color: var(--ink); }
.quote-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-person strong { display: block; font-size: .95rem; }
.quote-person small { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.platform-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px;
}
.platform-head img { width: 44px; height: 44px; object-fit: contain; }
.platform-head h2 { margin: 0; font-size: 1.6rem; }

/* ---------- 10. Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery a {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-soft);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery a:hover img { transform: scale(1.07); }
.gallery.tall a { aspect-ratio: 4 / 5; }
.gallery-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mosaic a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .span-2 { grid-column: span 2; }
.mosaic .span-3 { grid-column: span 3; }
.mosaic .span-4 { grid-column: span 4; }

/* ---------- 11. CTA bands ---------- */
.cta-band {
    position: relative;
    padding: 96px 0;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(9, 45, 48, .72), rgba(9, 45, 48, .72)),
                url("../images/seaview.png") center/cover no-repeat;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

.connect-row { display: flex; flex-wrap: wrap; gap: 16px; }
.connect-row a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: .84rem;
    box-shadow: var(--shadow-soft);
}
.connect-row svg { width: 16px; height: 16px; fill: var(--ocean); }

.info-list li { display: flex; gap: .7rem; margin-bottom: .6rem; color: var(--muted); }
.info-list svg { width: 18px; height: 18px; fill: var(--sunset); flex: none; margin-top: .3rem; }
.info-list strong { color: var(--ink); }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--ocean-dark); color: rgba(255, 255, 255, .78); padding-top: 72px; }
.site-footer h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 1em; }
.site-footer a { color: rgba(255, 255, 255, .82); }
.site-footer a:hover { color: var(--sunset); }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 44px; }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; }

.footer-links li { margin-bottom: .55rem; }
.footer-links a { font-size: .95rem; }

.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; font-size: .95rem; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--sunset); flex: none; margin-top: .3rem; }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
}
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
    margin-top: 58px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .84rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* ---------- 13. Inner page headers ---------- */
.page-header {
    position: relative;
    padding: 118px 0 78px;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(9, 45, 48, .68), rgba(9, 45, 48, .68)),
                var(--page-background, url("../images/top_view.png")) center/cover no-repeat;
}
.page-header h1 { color: var(--white); margin-bottom: .3em; }
.page-header p { color: rgba(255, 255, 255, .9); max-width: 720px; margin: 0 auto; }
.page-header .eyebrow { color: #ffd9ae; }

.breadcrumb { display: flex; gap: .5rem; justify-content: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }

/* The trail sits on a dark photograph. The global link colour would otherwise win
   over the colour above and the "Home" link would vanish into the picture. */
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: #ffd9ae; }

/* ---------- 14. Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    place-items: center;
    padding: 40px 20px;
    background: rgba(6, 26, 28, .92);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 12px; }
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    background: transparent;
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .12); }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: .78rem; letter-spacing: .08em; }
}

@media (max-width: 900px) {
    .nav-toggle { display: grid; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 26px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -30px rgba(9, 63, 69, .7);
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links li { border-bottom: 1px solid var(--line); }
    .nav-links a { display: block; padding: 14px 0; }
    .nav-links a::after { display: none; }
    .nav .btn { margin-top: 18px; justify-content: center; }

    .split { grid-template-columns: 1fr; gap: 34px; }
    .split.reverse .split-media { order: 0; }
    .grid-3, .grid-4, .grid-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .menu-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mosaic { grid-template-columns: repeat(4, 1fr); }
    .mosaic .span-3, .mosaic .span-4 { grid-column: span 4; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .section { padding: 68px 0; }
    .topbar .container { justify-content: center; text-align: center; }
    .grid-2, .grid-3, .grid-4, .grid-rooms, .menu-grid { grid-template-columns: 1fr; }
    .gallery, .gallery-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mosaic, .mosaic .span-2, .mosaic .span-3, .mosaic .span-4 { grid-column: span 4; }
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .menu-card { grid-template-columns: 1fr; }
    .menu-card img { height: 210px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 78vh; padding: 96px 0 70px; }
    .page-header { padding: 92px 0 60px; }
    .amenities { grid-template-columns: 1fr; }
}
