/* Bukit Piniapat – front page styles (ported verbatim from index.html) */
/* ============================================================
   GLOBAL SETTINGS & WCAG COMPLIANT COLORS
   ============================================================ */
:root {
    --forest-green: #184022;
    --deep-forest: #14361D;
    --sunset-gold: #C06B00; 
    --warm-terracotta: #A64D12;
    --sky-white: #FFFFFF;
    --soft-ecru: #F8F9F6;
    --deep-slate: #22252A;
    --charcoal: #2C3333;
    --border-light: #EAEAEA;
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 40px rgba(20, 54, 29, 0.12);
    --radius-card: 16px;
    --radius-btn: 50px;
    --container-width: 1200px;
    --header-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--soft-ecru);
    overflow-x: hidden;
}

/* Screen Reader Only Utility */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* Keyboard Focus Outline */
*:focus-visible {
    outline: 2px solid var(--warm-terracotta);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Skip to Content Bypass */
.skip-link {
    position: absolute;
    top: -50px;
    left: 20px;
    background: var(--deep-forest);
    color: var(--sky-white);
    padding: 10px 20px;
    z-index: 2000;
    font-weight: 600;
    border-radius: 4px;
    transition: top 0.3s ease;
}
.skip-link:focus { top: 20px; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-forest);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 90px 20px; }

/* Buttons (Ergonomics Enhanced) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 32px;
    border-radius: var(--radius-btn);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.35s ease;
    border: none;
    text-align: center;
}
.btn-primary { background: var(--sunset-gold); color: var(--sky-white); }
.btn-primary:hover { background: var(--warm-terracotta); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(192, 107, 0, 0.35); }
.btn-outline { background: transparent; border: 2px solid var(--sky-white); color: var(--sky-white); }
.btn-outline:hover { background: var(--sky-white); color: var(--deep-forest); transform: translateY(-3px); }
.btn-green { background: var(--forest-green); color: var(--sky-white); width: 100%; }
.btn-green:hover { background: var(--deep-forest); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(24, 64, 34, 0.3); }

/* ============================================================
   HEADER & NAVIGATION (Optimized & Restructured)
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    height: 76px; display: flex; align-items: center;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); height: var(--header-height);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 20px; }

.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem;
    color: var(--sky-white); transition: color 0.3s;
    min-height: 44px;
}
.site-header.scrolled .logo { color: var(--deep-forest); }
.logo-icon {
    width: 42px; height: 42px; background: var(--sunset-gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--sky-white); font-size: 1.1rem;
}

/* Main Nav & Dropdowns */
.nav-list { display: flex; gap: 24px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-link {
    font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem;
    color: var(--sky-white); position: relative; padding: 8px 0; transition: color 0.3s;
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: none;
}
.site-header.scrolled .nav-link { color: var(--charcoal); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
    background: var(--sunset-gold); transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active-link::after { width: 100%; }
.nav-link:hover, .nav-link.active-link, .nav-dropdown.open .nav-link { color: var(--sunset-gold); }

/* Dropdown Mechanics */
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px);
    background: var(--sky-white); border-radius: 8px; box-shadow: var(--shadow-card);
    min-width: 180px; padding: 8px 0; list-style: none; opacity: 0; visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid var(--border-light);
}
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(5px); }
.dropdown-menu a, .dropdown-menu button {
    display: block; width: 100%; text-align: left; padding: 10px 20px;
    font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.85rem;
    color: var(--charcoal); background: none; border: none; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--soft-ecru); color: var(--sunset-gold); }

/* Utility & Actions */
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-btn {
    font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 600;
    color: var(--sky-white); display: flex; align-items: center; gap: 6px; padding: 8px;
    background: transparent; border: none; cursor: pointer; transition: color 0.3s;
}
.site-header.scrolled .lang-btn { color: var(--charcoal); }
.lang-menu { min-width: 140px; left: auto; right: 0; transform: translateX(0) translateY(15px); }
.nav-dropdown.open .lang-menu { transform: translateX(0) translateY(5px); }

.header-cta .btn {
    padding: 0 20px; font-size: 0.8rem; background: var(--forest-green);
    color: var(--sky-white); gap: 8px;
}
.header-cta .btn:hover { background: var(--deep-forest); }

.menu-toggle {
    display: none; background: none; border: none; font-size: 1.6rem;
    color: var(--sky-white); cursor: pointer; transition: color 0.3s;
    min-width: 44px; min-height: 44px;
}
.site-header.scrolled .menu-toggle { color: var(--deep-forest); }

/* Mobile Drawer Ergonomics */
.mobile-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--sky-white); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 24px; flex-direction: column; max-height: calc(100vh - 72px); overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--charcoal); padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.mobile-group-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #888; font-weight: 700; padding: 16px 0 4px; border-bottom: 1px solid var(--border-light); }
.mobile-sublink { padding-left: 16px !important; font-size: 0.9rem; font-weight: 500 !important; }
.lang-switcher-mobile { display: flex; gap: 10px; margin-top: 20px; }
.lang-btn-mob { flex: 1; padding: 10px; background: var(--soft-ecru); border: 1px solid var(--border-light); border-radius: 6px; font-weight: 600; color: var(--charcoal); cursor: pointer; }
.lang-btn-mob[aria-pressed="true"] { background: var(--sunset-gold); color: var(--sky-white); border-color: var(--sunset-gold); }

/* Breakpoints Configuration */
@media (max-width: 1024px) {
    .main-nav, .desktop-lang, .header-cta { display: none; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ============================================================
   HERO & QUICK INFO
   ============================================================ */
.hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    justify-content: center; text-align: center;
    background: center/cover no-repeat; /* photo set inline from the Media Library (functions.php: bp_child_front_photos) */
    background-color: var(--deep-forest);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(20, 54, 29, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}
.hero-content {
    position: relative; z-index: 2; max-width: 850px; padding: 0 20px;
    animation: fadeInUp 1s ease forwards;
}
.hero-badge {
    display: inline-flex; align-items: center; min-height: 32px;
    font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: #FFB347;
    background: rgba(229, 138, 31, 0.15); padding: 4px 20px;
    border-radius: 50px; margin-bottom: 24px; border: 1px solid rgba(229, 138, 31, 0.3);
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 52px); font-weight: 800; color: var(--sky-white);
    margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero p {
    font-size: clamp(1rem, 2vw, 18px); color: #F0F0F0; margin-bottom: 36px;
    max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.info-strip { position: relative; z-index: 10; margin-top: -60px; padding: 0 20px; }
.info-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.info-card {
    flex: 1 1 280px; max-width: 360px; background: var(--sky-white);
    border-radius: var(--radius-card); padding: 30px 24px;
    box-shadow: var(--shadow-card); text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.info-icon {
    width: 60px; height: 60px; border-radius: 50%; background: rgba(24, 64, 34, 0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 1.5rem; color: var(--forest-green);
}

/* ============================================================
   SECTIONS (History, Packages, Add-ons)
   ============================================================ */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.section-title .divider { width: 70px; height: 4px; background: var(--sunset-gold); margin: 0 auto; border-radius: 2px; }
.section-title p { max-width: 700px; margin: 16px auto 0; color: #555; }

.history-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.history-img {
    border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card);
    aspect-ratio: 4/3; background: var(--border-light) center/cover no-repeat;
}

.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.package-card {
    background: var(--sky-white); border-radius: 12px; border: 1px solid var(--border-light);
    padding: 32px 24px; display: flex; flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease; position: relative; overflow: hidden;
    height: 100%;
}
.package-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.package-card.featured { border: 2px solid var(--sunset-gold); }
.package-card.featured::before {
    content: 'POPULAR'; position: absolute; top: 16px; right: -30px;
    background: var(--sunset-gold); color: #fff; font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem; font-weight: 700; padding: 4px 40px; transform: rotate(45deg); letter-spacing: 1px;
}
.package-icon { font-size: 2rem; color: var(--forest-green); margin-bottom: 16px; }
.package-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.package-card p { font-size: 0.85rem; color: #555; margin-bottom: 15px; }
.tier-list { list-style: none; margin-bottom: 20px; font-size: 0.9rem; flex-grow: 1; }
.tier-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed #ddd; padding: 8px 0; }
.tier-list li span:last-child { font-weight: 700; color: var(--forest-green); }
.package-card .btn { margin-top: auto; } 

.addons-wrapper {
    background: var(--sky-white); border-radius: 12px; padding: 30px;
    box-shadow: var(--shadow-card); margin-top: 40px;
}
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-top: 20px; }
.addon-item { display: flex; justify-content: space-between; align-items: center; background: var(--soft-ecru); padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; }

/* ============================================================
   SEMAK STATUS PERMOHONAN & WALK-IN
   ============================================================ */
.event-status-section { background-color: var(--soft-ecru); padding: 90px 20px; text-align: center; }
.section-eyebrow {
    font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--sunset-gold);
    display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 32px; height: 2px; background-color: var(--sunset-gold); }
.event-status-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--deep-forest); margin-bottom: 12px; }
.event-status-desc { color: #555; font-size: 0.95rem; max-width: 600px; margin: 0 auto 32px; }

.search-form-wrapper { max-width: 650px; margin: 0 auto 28px; display: flex; gap: 12px; }
.search-input-field {
    flex: 1; background: var(--sky-white); border: 1px solid var(--border-light);
    border-radius: 50px; padding: 14px 24px; font-family: 'Inter', sans-serif; font-size: 0.95rem;
    color: var(--charcoal); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); outline: none; transition: border-color 0.3s;
}
.search-input-field:focus { border-color: var(--forest-green); }
.search-submit-btn {
    background: var(--deep-forest); color: var(--sky-white); border: none; border-radius: 50px;
    padding: 14px 28px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem;
    cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background 0.3s, transform 0.2s; min-height: 44px;
}
.search-submit-btn:hover { background: var(--forest-green); transform: translateY(-2px); }

.search-feedback { max-width: 650px; margin: 0 auto 20px; font-size: 0.9rem; display: none; padding: 12px; border-radius: 8px; }

.walkin-card {
    max-width: 650px; margin: 0 auto; background: var(--sky-white); border: 1px solid var(--border-light);
    border-radius: 16px; padding: 20px 24px; display: flex; align-items: center;
    justify-content: space-between; gap: 20px; text-align: left; box-shadow: var(--shadow-card);
}
.walkin-info { display: flex; align-items: center; gap: 16px; }
.walkin-avatar-icon {
    width: 44px; height: 44px; border-radius: 50%; background: #E8EFEA; color: var(--forest-green);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.walkin-text h4 { font-size: 0.95rem; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.walkin-text p { font-size: 0.85rem; color: #555; line-height: 1.4; margin: 0; }
.btn-walkin-pay {
    background: var(--deep-forest); color: var(--sky-white); border-radius: 50px;
    padding: 10px 20px; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 700;
    white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: background 0.3s; min-height: 44px;
}
.btn-walkin-pay:hover { background: var(--forest-green); }

/* ============================================================
   SAFETY & MAP
   ============================================================ */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.safety-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.safety-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 1rem; color: var(--charcoal); }
.safety-list li i { color: var(--sunset-gold); font-size: 1.2rem; margin-top: 2px; }

.map-wrapper { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); height: 400px; margin-top: 40px; }
#map { width: 100%; height: 100%; z-index: 1; }

/* Footer */
.site-footer { background: #141A16; color: #AAB8B0; padding: 60px 20px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: var(--container-width); margin: 0 auto 40px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; color: var(--sky-white); font-size: 0.95rem; margin-bottom: 18px; text-transform: uppercase; }
.footer-col p, .footer-col ul { font-size: 0.9rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact-item i { color: var(--sunset-gold); width: 18px; text-align: center; margin-top: 4px; }
.footer-col a:hover { color: var(--sunset-gold); text-decoration: underline; }
.social-links { display: flex; gap: 12px; margin-top: 15px; }
.social-links a { color: var(--sky-white); background: rgba(255,255,255,0.1); padding: 8px 12px; border-radius: 5px; transition: 0.3s; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--sunset-gold); text-decoration: none; }

.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); animation: pulseWhatsapp 2s infinite;
}
@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .history-grid, .safety-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; margin: 0; }
    .search-form-wrapper { flex-direction: column; }
    .search-submit-btn { justify-content: center; }
    .walkin-card { flex-direction: column; align-items: flex-start; }
    .btn-walkin-pay { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
    

/* ============================================================
   GALLERY (added: real photos from the Media Library)
   ============================================================ */
.gallery-section { background: var(--deep-forest); }
.gallery-section .section-title h2 { color: var(--sky-white); }
.gallery-section .section-title p { color: #C8D9CE; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { display: block; position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1 / 1; background: rgba(255,255,255,0.06); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-follow { text-align: center; margin-top: 28px; }
.gallery-follow a { color: var(--sky-white); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-btn); min-height: 44px; transition: background 0.3s, border-color 0.3s; }
.gallery-follow a:hover { background: rgba(255,255,255,0.08); border-color: var(--sunset-gold); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ============================================================
   RESPONSIVE REFINEMENTS (layout audit, Oct 2026)
   One gutter for every section, a consistent vertical rhythm,
   balanced grids at each breakpoint and 40px+ touch targets.
   Breakpoints: 600 (phone) / 768 (tablet) / 1100 (laptop nav).
   ============================================================ */
:root { --gutter: 20px; --section-y: 56px; }
@media (min-width: 768px)  { :root { --gutter: 32px; --section-y: 72px; } }
@media (min-width: 1100px) { :root { --section-y: 96px; } }

/* Single gutter: the .container owns horizontal padding, sections only vertical. */
.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.section-padding, .event-status-section { padding: var(--section-y) 0; }
.info-strip { padding: 0; }
.section-title { margin-bottom: clamp(32px, 5vw, 50px); }

/* Header: hamburger below 1100px so the 5-item menu never wraps (it did at 1025-1100px). */
.nav-link, .lang-btn { white-space: nowrap; }
@media (max-width: 1100px) {
    .main-nav, .desktop-lang, .header-cta { display: none; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
}
.mobile-nav a { min-height: 44px; display: flex; align-items: center; }
.mobile-nav { padding: 12px var(--gutter) 24px; }

/* Hero: clear the fixed header and leave room for the overlapping info cards. */
.hero { padding: calc(var(--header-height) + 32px) 0 96px; }
.hero-content { padding: 0 var(--gutter); }
@media (max-width: 600px) {
    .hero { min-height: auto; padding-top: calc(var(--header-height) + 40px); }
    .hero-badge { font-size: 12px; letter-spacing: 1.2px; padding: 6px 16px; text-align: center; line-height: 1.4; }
    .hero h1 { font-size: 1.85rem; }
    .hero p { font-size: 1rem; margin-bottom: 28px; }
}

/* Info strip: real grid, so 3 cards never leave an orphan on tablet. */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: var(--container-width); }
.info-card { max-width: none; padding: 28px 20px; }
@media (max-width: 767px) { .info-grid { grid-template-columns: 1fr; gap: 14px; } .info-card { padding: 24px 20px; } }

/* History / Safety: two columns from 900px, image keeps its ratio when stacked. */
.history-grid, .safety-grid { grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .history-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; } .safety-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.safety-list li i { width: 22px; flex-shrink: 0; text-align: center; }

/* Packages: 1 / 2 / 4 columns, so the 4th card is never stranded on its own row. */
.packages-grid { grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px)  { .packages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .packages-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .package-card { padding: 28px 20px; } }
.tier-list li { gap: 12px; }
.tier-list li span:last-child { white-space: nowrap; }
.addons-wrapper { padding: clamp(20px, 4vw, 30px); }
.addon-item { gap: 12px; }
.addon-item span:last-child { white-space: nowrap; font-weight: 700; color: var(--forest-green); }
@media (max-width: 600px) { .addons-grid { grid-template-columns: 1fr; } }

/* Status search: 16px text stops iOS zooming in; full placeholder fits on phones. */
.search-input-field { font-size: 16px; min-width: 0; }
@media (max-width: 640px) { .search-input-field { padding: 14px 18px; } .walkin-card { padding: 20px; } }

/* Gallery: 2 columns on phones, 4 from 600px (2 columns on tablet made it 4 screens tall). */
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (max-width: 599px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Map: shorter on phones. */
@media (max-width: 600px) { .map-wrapper { height: 300px; } }

/* Footer: same content edge as the sections above; links get proper tap height. */
.site-footer { padding: var(--section-y) 0 24px; }
.footer-grid { padding: 0 var(--gutter); gap: 32px 40px; margin-bottom: 32px; }
.footer-bottom { max-width: var(--container-width); margin: 0 auto; padding: 20px var(--gutter) 0; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 0.85rem; }
.footer-col ul li a { display: inline-block; padding: 8px 0; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Floating WhatsApp: smaller and tucked into the corner on phones. */
@media (max-width: 600px) { .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; font-size: 1.6rem; } }
/* Package buttons stay on one line in the 4-column layout. */
.package-card .btn { padding-left: 16px; padding-right: 16px; white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1279px) { .package-card .btn { font-size: 0.82rem; letter-spacing: 0.3px; } }
/* Stacked (below 900px) story/safety photos: wider ratio so they don't fill a whole tablet screen. */
@media (max-width: 899px) { .history-img { aspect-ratio: 16 / 10; } }
@media (max-width: 899px) and (min-width: 600px) { .history-img { aspect-ratio: 16 / 9; } }

/* ============================================================
   LIVE WEATHER (MET Norway via /wp-json/piniapat/v1/weather)
   ============================================================ */
.weather-section { background: var(--sky-white); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); animation: bpLivePulse 2s infinite; vertical-align: middle; }
@keyframes bpLivePulse { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.wx-card { max-width: 1040px; margin: 0 auto; background: var(--sky-white); border: 1px solid var(--border-light); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; }
.wx-alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 24px; font-size: 0.92rem; font-weight: 500; line-height: 1.5; }
.wx-alert i { margin-top: 3px; }
.wx-alert.is-storm { background: #fdecec; color: #8a1f2b; border-bottom: 1px solid #f3c7cc; }
.wx-alert.is-heavyrain { background: #fff8e6; color: #7a5200; border-bottom: 1px solid #f3dfae; }
.wx-alert[hidden], .wx-error[hidden], .hero-weather[hidden] { display: none; }

.wx-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.wx-now { display: flex; align-items: center; gap: 24px; padding: 32px; color: var(--sky-white); background: linear-gradient(135deg, var(--deep-forest) 0%, #24603A 100%); }
.wx-icon { font-size: 4.2rem; color: #FFC24B; width: 84px; text-align: center; flex-shrink: 0; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25)); }
.wx-icon.is-night { color: #CFE0F5; }
.wx-icon[data-cond="cloudy"], .wx-icon[data-cond="fog"] { color: #E4ECE6; }
.wx-icon[data-cond="thunder"] { color: #FFD54A; }
.wx-temp { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -1px; }
.wx-unit { font-size: 1.6rem; font-weight: 700; vertical-align: top; margin-left: 2px; opacity: 0.85; }
.wx-cond { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.15rem; margin-top: 6px; }
.wx-feels { font-size: 0.9rem; color: #C8D9CE; margin-top: 4px; }

.wx-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 24px; margin: 0; align-content: center; }
.wx-metric { background: var(--soft-ecru); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.wx-metric dt { font-size: 0.75rem; font-weight: 600; color: #6B746F; text-transform: uppercase; letter-spacing: 0.4px; display: flex; align-items: center; gap: 6px; }
.wx-metric dt i { color: var(--forest-green); width: 14px; text-align: center; }
.wx-metric dd { margin: 6px 0 0; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--charcoal); overflow-wrap: anywhere; }
.wx-metric-sunset { background: rgba(192, 107, 0, 0.1); }
.wx-metric-sunset dt i, .wx-metric-sunset dd { color: var(--sunset-gold); }

.wx-hours-wrap { padding: 0 24px 20px; }
.wx-hours-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.6px; color: #6B746F; margin-bottom: 10px; }
.wx-hours { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(76px, 1fr); gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.wx-hour { scroll-snap-align: start; background: var(--soft-ecru); border-radius: 12px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.wx-hour-time { font-size: 0.78rem; color: #6B746F; font-weight: 600; white-space: nowrap; }
.wx-hour-icon { font-size: 1.4rem; color: var(--sunset-gold); }
.wx-hour-icon.is-night { color: #5B7896; }
.wx-hour-icon[data-cond="cloudy"], .wx-hour-icon[data-cond="fog"] { color: #8A968F; }
.wx-hour-icon[data-cond="rain"], .wx-hour-icon[data-cond="lightrain"], .wx-hour-icon[data-cond="heavyrain"], .wx-hour-icon[data-cond="rainshowers"], .wx-hour-icon[data-cond="lightrainshowers"], .wx-hour-icon[data-cond="heavyrainshowers"] { color: #2E7DB5; }
.wx-hour-icon[data-cond="thunder"] { color: #7A4FB5; }
.wx-hour-temp { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--charcoal); }
.wx-hour-rain { font-size: 0.72rem; color: #2E7DB5; font-weight: 600; }

.wx-error { margin: 0 24px 16px; padding: 14px 16px; border-radius: 10px; background: #fff8e6; color: #7a5200; font-size: 0.9rem; }
.wx-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 14px 24px; border-top: 1px solid var(--border-light); font-size: 0.78rem; color: #6B746F; margin: 0; }
.wx-foot a { color: var(--forest-green); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; align-items: center; min-height: 32px; }
.wx-foot a:hover { color: var(--sunset-gold); }

/* Loading state: soft placeholders until the first response arrives. */
.wx-card:not(.is-loaded) .wx-temp, .wx-card:not(.is-loaded) .wx-metric dd { opacity: 0.35; }
.wx-card.is-error .wx-main, .wx-card.is-error .wx-hours-wrap { display: none; }

@media (max-width: 900px) { .wx-main { grid-template-columns: 1fr; } .wx-now { justify-content: center; } }
@media (max-width: 600px) {
    .wx-now { padding: 24px 20px; gap: 16px; }
    .wx-icon { font-size: 3.2rem; width: 64px; }
    .wx-temp { font-size: 3rem; }
    .wx-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 10px; }
    .wx-hours-wrap { padding: 0 16px 16px; }
    .wx-alert, .wx-foot { padding-left: 16px; padding-right: 16px; }
    .wx-error { margin: 0 16px 16px; }
}

/* Hero live-weather chip (links to the panel). */
.hero-weather { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 28px; padding: 10px 18px; min-height: 44px; border-radius: var(--radius-btn); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); color: var(--sky-white); font-size: 0.9rem; font-weight: 500; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background 0.3s; }
.hero-weather:hover { background: rgba(255, 255, 255, 0.2); }
.hero-weather i { color: #FFC24B; }
.hero-weather i.is-night { color: #CFE0F5; }
.hero-weather-sun { color: #F3DDBA; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.3); }
@media (max-width: 600px) { .hero-weather { font-size: 0.85rem; padding: 10px 14px; } .hero-weather-sun { border-left: none; padding-left: 0; flex-basis: 100%; } }
.wx-hours-wrap { padding-top: 20px; }
.wx-hour { position: relative; } /* keeps the .sr-only label inside the scrolling strip */

/* ==================== BRAND LOGO ==================== */
.logo-icon:has(.bp-logo) {
    width: 46px; height: 46px; background: #fff; overflow: hidden; flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(20, 54, 29, 0.08);
}
.logo-icon .bp-logo { width: 88%; height: 88%; object-fit: contain; display: block; }
.footer-logo {
    display: inline-flex; background: #fff; border-radius: 14px; padding: 10px 16px;
    margin-bottom: 18px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.footer-logo img { display: block; width: 150px; height: auto; }
.footer-col .footer-logo:hover { text-decoration: none; }
@media (max-width: 600px) {
    .logo-icon:has(.bp-logo) { width: 42px; height: 42px; }
    .footer-logo img { width: 132px; }
}

/* ==================== WEATHER LINE ICONS (SVG sprite) ==================== */
.wxi { display: inline-block; width: 1em; height: 1em; stroke-width: 1.5; flex-shrink: 0; vertical-align: -0.15em; overflow: visible; }
/* Big "now" icon on the dark card: crisp white outline, warm sun accent, cool rain accent. */
.wx-icon { width: 76px; height: 76px; font-size: inherit; color: #F4F7F4; stroke-width: 1.25; filter: none;
    --wx-sun: #F2B544; --wx-rain: #9CC9EE; --wx-bolt: #F2C94C; }
.wx-icon.is-night { color: #F4F7F4; --wx-sun: #D9E4F2; }
.wx-icon[data-cond="cloudy"], .wx-icon[data-cond="fog"] { color: #E4ECE6; }
.wx-icon[data-cond="thunder"] { color: #F4F7F4; }
/* Hourly strip: graphite outline with restrained accents. */
.wx-hour-icon { width: 28px; height: 28px; font-size: inherit; color: #3E4A44; --wx-sun: #C98A1B; --wx-rain: #2E7DB5; --wx-bolt: #B7791F; }
.wx-hour-icon.is-night, .wx-hour-icon[data-cond], .wx-hour-icon[data-cond="thunder"] { color: #3E4A44; }
.wx-hour-icon.is-night { --wx-sun: #5B7896; }
/* Metric labels. */
.wx-metric dt .wx-metric-icon { width: 15px; height: 15px; color: var(--forest-green); stroke-width: 1.75; }
/* Advisory. */
.wx-alert-icon { width: 20px; height: 20px; margin-top: 1px; stroke-width: 1.75; }
/* Hero chip: monochrome white outline, soft gold sun. */
.hero-weather .wxi { width: 20px; height: 20px; color: #fff; stroke-width: 1.6; --wx-sun: #F7C968; --wx-rain: #CFE6F8; --wx-bolt: #F7C968; }
.hero-weather .hero-wx-sunicon { width: 18px; height: 18px; color: #F3DDBA; }
.hero-weather .wxi.is-night { --wx-sun: #DCE6F2; }
.hero-weather-sun { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 768px) { .wx-icon { width: 60px; height: 60px; } }

/* ==================== HERO CHIPS: WEATHER + PUBLIC VISITOR COUNTER ==================== */
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; margin-top: 28px; }
.hero-chips .hero-weather { margin-top: 0; }
.hero-visitors { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 18px; min-height: 44px; border-radius: var(--radius-btn); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); color: var(--sky-white); font-size: 0.9rem; font-weight: 500; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-visitors[hidden] { display: none; }
.hero-visitors strong { font-family: 'Montserrat', sans-serif; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.2px; }
.hero-visitors .wxi { width: 20px; height: 20px; color: #F7C968; stroke-width: 1.6; }
@media (max-width: 600px) { .hero-visitors { font-size: 0.85rem; padding: 10px 14px; } }
