/*
  Wisma Apollo – Tropical Resort Theme
  Inspired by luxury hotel websites. Warm, organic, professional.
*/

/* ── TOKENS ── */
:root {
    --cream: #FAF6F0;
    --sand: #F2EADE;
    --sand-dark: #E8DFD0;
    --forest: #1B4332;
    --forest-lt: #2D6A4F;
    --leaf: #40916C;
    --ocean: #1B4965;
    --gold: #E86A33;
    --gold-lt: #F07B3F;
    --brown: #5C4033;
    --brown-lt: #7A5C4F;
    --text: #2C2C2C;
    --text2: #6B6560;
    --white: #FFFFFF;
    --wa: #25D366;
    --wa-h: #1DAF54;
    --border: #E0D8CC;
    --shadow-s: 0 2px 8px rgba(91, 64, 51, .06);
    --shadow-m: 0 6px 24px rgba(91, 64, 51, .08);
    --shadow-l: 0 12px 40px rgba(91, 64, 51, .12);
    --r: 16px;
    --r-sm: 10px;
}

/* ── RESET ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 72px;
}

img {
    display: block;
    max-width: 100%;
    height: auto
}

a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
    color: var(--forest)
}

/* ── CONTAINER ── */
.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px
}

/* ── ANIMATIONS ── */
.anim-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease
}

.anim-up.visible {
    opacity: 1;
    transform: translateY(0)
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVBAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 246, 240, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s, box-shadow .3s;
}

#nav.scrolled {
    border-bottom-color: var(--border);
    background: rgba(250, 246, 240, .97);
    box-shadow: var(--shadow-s);
}

.nav-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .3px;
    color: var(--forest);
}

.nav-logo span {
    color: var(--gold)
}

/* Hamburger */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.menu-btn.open span:nth-child(2) {
    opacity: 0
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* Mobile slide menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: var(--white);
}

.mobile-menu.open {
    max-height: 500px
}

.mobile-menu a {
    display: block;
    padding: 14px 24px;
    font-size: .92rem;
    color: var(--text2);
    border-bottom: 1px solid var(--sand);
    transition: color .2s, padding-left .2s;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--forest);
    padding-left: 30px
}

.menu-cta {
    color: var(--white) !important;
    background: var(--forest);
    text-align: center;
    font-weight: 600;
    border-radius: var(--r-sm);
    margin: 14px 20px;
    padding: 13px 20px !important;
    border: none !important;
}

.menu-cta:hover {
    background: var(--forest-lt)
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 44px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.5) saturate(1.1);
}

.hero-body {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    width: 100%;
    color: var(--white)
}

.hero-tag {
    display: inline-block;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-lt);
    border: 1px solid rgba(201, 169, 110, .4);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--white)
}

.hero-motto {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gold-lt);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-address,
.hero-phone {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 8px;
    line-height: 1.5;
}

.hero-address svg,
.hero-phone svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold-lt)
}

.btn-hero {
    display: inline-block;
    margin-top: 22px;
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .92rem;
    background: var(--gold);
    color: var(--white);
    letter-spacing: .3px;
    transition: background .25s, transform .25s, box-shadow .25s;
    box-shadow: 0 4px 20px rgba(176, 141, 87, .3);
}

.btn-hero:hover {
    background: var(--gold-lt);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(176, 141, 87, .4)
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROMO STRIP
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.promo-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 20px;
    padding: 18px 24px;
    border-radius: var(--r);
    background: var(--white);
    border: 1px solid var(--border);
    transform: translateY(-28px);
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow-m);
}

.promo-fire {
    font-size: 1.6rem
}

.promo-strip strong {
    font-size: .92rem;
    color: var(--forest)
}

.promo-strip p {
    font-size: .82rem;
    color: var(--text2);
    margin-top: 2px
}

.promo-strip em {
    color: var(--gold);
    font-style: normal;
    font-weight: 700
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section {
    padding: 52px 0
}

.section-alt {
    background: var(--sand)
}

.label {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 10px;
}

.section h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--forest)
}

.desc {
    font-size: .88rem;
    color: var(--text2);
    margin-bottom: 14px
}

.center {
    text-align: center
}

/* ── USP ── */
.usp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px
}

.usp {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px 16px;
    text-align: center;
    transition: border-color .3s, box-shadow .3s;
}

.usp:hover {
    border-color: var(--leaf);
    box-shadow: var(--shadow-s)
}

.usp-icon {
    font-size: 1.5rem;
    margin-bottom: 8px
}

.usp h3 {
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--forest)
}

.usp p {
    font-size: .72rem;
    color: var(--text2)
}

/* ── FACILITIES ── */
.fac-group {
    margin-bottom: 28px
}

.fac-title {
    font-size: .88rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sand-dark);
}

.fac-grid {
    display: flex;
    flex-direction: column;
    gap: 0
}

.fac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sand-dark);
    font-size: .85rem;
    color: var(--text2);
}

.fac-item:last-child {
    border-bottom: none
}

.fac-item span {
    font-size: 1.15rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ROOM CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.room-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px 24px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: var(--shadow-s);
    transition: border-color .3s, box-shadow .3s;
}

.room-card:hover {
    border-color: var(--leaf);
    box-shadow: var(--shadow-m)
}

.room-card-pop {
    border: 2px solid var(--forest)
}

.pop-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--forest);
    color: var(--white);
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    border-radius: 50px;
}

.room-badge {
    display: inline-block;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.room-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--forest)
}

.room-price {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--forest);
    margin-bottom: 18px
}

.room-price small {
    font-size: .78rem;
    font-weight: 500;
    color: var(--text2)
}

.room-card ul {
    margin-bottom: 24px
}

.room-card li {
    position: relative;
    padding: 7px 0 7px 22px;
    font-size: .83rem;
    color: var(--text2);
}

.room-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--leaf);
    font-weight: 700;
}

/* WA button */
.btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: var(--r-sm);
    background: var(--wa);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    transition: background .25s, transform .25s, box-shadow .25s;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .2);
}

.btn-wa:hover {
    background: var(--wa-h);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .3)
}

.extra-note {
    text-align: center;
    font-size: .8rem;
    color: var(--text2);
    margin-top: 12px
}

.extra-note a {
    color: var(--wa);
    font-weight: 600
}

/* ── GALLERY ── */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.gallery img {
    border-radius: var(--r-sm);
    width: 100%;
    height: 160px;
    object-fit: cover;
    border: 1px solid var(--border);
    transition: transform .35s, box-shadow .35s;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-m)
}

/* ── TESTIMONIALS ── */
.testi-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-s);
}

.testi-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 2px
}

.testi-card p {
    font-size: .86rem;
    color: var(--text2);
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.75
}

.testi-author strong {
    display: block;
    font-size: .83rem;
    color: var(--forest)
}

.testi-author span {
    font-size: .73rem;
    color: var(--text2)
}

/* ── MAP ── */
.map-wrap {
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    box-shadow: var(--shadow-s);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 280px
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .83rem;
    font-weight: 600;
    color: var(--forest);
    padding: 10px 0;
    transition: color .2s;
}

.map-link:hover {
    color: var(--leaf)
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer {
    background: var(--forest);
    padding: 52px 0 96px;
    color: rgba(255, 255, 255, .85);
}

.footer-brand h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-lt);
    margin-bottom: 14px
}

.footer-brand p {
    font-size: .8rem;
    line-height: 1.8;
    opacity: .8
}

.footer-phone {
    margin-top: 10px;
    color: var(--white) !important;
    font-weight: 500;
    opacity: 1 !important
}

.footer-links {
    margin-top: 28px
}

.footer-links h4 {
    font-size: .83rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px
}

.footer-links a {
    display: block;
    font-size: .78rem;
    opacity: .7;
    padding: 5px 0;
    transition: opacity .2s;
}

.footer-links a:hover {
    opacity: 1
}

.footer-social {
    margin-top: 28px
}

.footer-social h4 {
    font-size: .83rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px
}

.social-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.social-row a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    transition: border-color .25s, color .25s, background .25s;
}

.social-row a:hover {
    border-color: var(--gold-lt);
    color: var(--gold-lt);
    background: rgba(255, 255, 255, .05)
}

.footer-copy {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
}

.footer-copy p {
    font-size: .7rem;
    opacity: .5
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOTTOM BAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    gap: 1px;
    background: var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .08);
}

.bottom-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    font-size: .8rem;
    font-weight: 600;
    transition: background .2s;
}

.bb-call {
    background: var(--white);
    color: var(--forest)
}

.bb-call:hover {
    background: var(--sand)
}

.bb-wa {
    background: var(--wa);
    color: #fff
}

.bb-wa:hover {
    background: var(--wa-h)
}

/* ── MOBILE ONLY LOCK ── */
@media(min-width:481px) {
    body {
        max-width: 480px;
        margin: 0 auto;
        box-shadow: 0 0 60px rgba(91, 64, 51, .08)
    }

    .bottom-bar {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%)
    }

    #nav .nav-inner {
        max-width: 480px
    }
}