/* ============================================================
   RAVIERA CEYLON — template-header.css v2.0
   Premium Inbound Tourism · Sri Lanka
   Brand: Deep Obsidian + Burnished Gold + Ceylon Teal
   ALL colors reference variables from main.css
   DO NOT hardcode brand values here
   ============================================================ */

/* Premium font upgrade — Cormorant Garamond for headings, DM Sans for body */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
    --rc-font-display: 'Cormorant Garamond', 'Playfair Display', serif;
    --rc-font-body: 'DM Sans', 'Inter', sans-serif;
    --rc-header-bg: #0d0d0d;           /* Single source of truth for all 3 header bars */
    --rc-bar-divider: rgba(251, 191, 36, 0.08); /* Subtle gold hairline between bars */
}

/* ── ANNOUNCEMENT BAR ─────────────────────────────────────────── */
.rc-announcement-bar {
    position: relative;
    background: var(--rc-header-bg);
    overflow: hidden;
    height: 34px;
    display: flex;
    align-items: center;
    z-index: 1060;
    border-bottom: 1px solid var(--rc-bar-divider);
    touch-action: pan-x; /* Allow horizontal scroll, prevent y jank */
    -webkit-overflow-scrolling: touch;
}
.rc-announcement-bar.ann-hidden { height: 0; opacity: 0; pointer-events: none; transition: height 0.3s ease, opacity 0.3s ease; }

/* Gold shimmer sweep */
.rc-announcement-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(251, 191, 36, 0.03) 30%,
        rgba(251, 191, 36, 0.07) 50%,
        rgba(251, 191, 36, 0.03) 70%,
        transparent 100%
    );
    pointer-events: none;
}

.rc-ann-marquee-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.rc-ann-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: rcAnnScroll 60s linear infinite;
    will-change: transform;
}
@keyframes rcAnnScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.rc-ann-item {
    font-family: var(--rc-font-body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: rgba(241, 245, 249, 0.78);
    padding: 0 28px;
}
.rc-ann-divider { color: var(--primary-gold); font-size: 9px; opacity: 0.65; }
.rc-ann-gem { color: var(--primary-gold); font-size: 9px; }
.rc-ann-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(241, 245, 249, 0.45);
    font-size: 11px;
    cursor: pointer;
    padding: 0 14px;
    height: 100%;
    transition: color 0.2s;
}
.rc-ann-close:hover { color: var(--primary-gold); }

/* ── TOP UTILITY BAR ────────────────────────────────────────────── */
.rc-topbar {
    background: var(--rc-header-bg);
    border-bottom: 1px solid var(--rc-bar-divider);
    height: 42px;
    display: flex;
    align-items: center;
    transition: height 0.3s ease, opacity 0.3s ease;
    z-index: 1055;
    position: relative;
}
.rc-topbar.topbar-hidden { height: 0; opacity: 0; overflow: hidden; pointer-events: none; }

.rc-topbar-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 52px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.rc-topbar-left,
.rc-topbar-right { display: flex; align-items: center; gap: 14px; }

.rc-topbar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--rc-font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.rc-topbar-link i { font-size: 11px; color: var(--primary-gold); }
.rc-topbar-link:hover { color: var(--primary-gold); }
.rc-topbar-wa i { color: #25D366; }
.rc-topbar-wa:hover { color: #25D366 !important; }
.rc-topbar-wa:hover i { color: #25D366; }

.rc-topbar-sep {
    width: 1px;
    height: 15px;
    background: rgba(71, 85, 105, 0.7);
    flex-shrink: 0;
}

.rc-topbar-hours {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--rc-font-body);
    font-size: 11.5px;
    color: var(--text-muted);
}
.rc-topbar-hours i { font-size: 10px; color: var(--primary-gold); }

.rc-topbar-socials { display: flex; align-items: center; gap: 7px; }
.rc-topbar-social {
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 5px;
    transition: color 0.2s, background 0.2s;
}
.rc-topbar-social:hover { color: var(--primary-gold); background: rgba(251, 191, 36, 0.1); }

.rc-topbar-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--rc-font-body);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 99px;
    padding: 2px 8px;
}
.rc-topbar-badge i { font-size: 9px; }

/* ── LANGUAGE SELECTOR ──────────────────────────────────────────── */
.rc-lang-wrapper { position: relative; }
.rc-lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 99px;
    padding: 3px 10px 3px 8px;
    font-family: var(--rc-font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.rc-lang-trigger:hover,
.rc-lang-wrapper.lang-open .rc-lang-trigger {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--bg-primary);
}
.rc-lang-trigger i.fa-globe { font-size: 10px; color: var(--primary-gold); }
.rc-lang-trigger:hover i.fa-globe,
.rc-lang-wrapper.lang-open .rc-lang-trigger i.fa-globe { color: var(--bg-primary); }
.lang-chevron {
    font-size: 8px;
    transition: transform 0.2s;
    opacity: 0.7;
}
.rc-lang-wrapper.lang-open .lang-chevron { transform: rotate(180deg); }

.rc-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: var(--bg-secondary);
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(251, 191, 36, 0.08);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}
.rc-lang-dropdown.lang-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown-inner { padding: 10px; }
.lang-search-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 8px;
    padding: 7px 10px;
    margin-bottom: 8px;
}
.lang-search-wrap i { font-size: 11px; color: var(--text-muted); }
.lang-search {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    font-size: 12px;
    color: var(--text-primary);
    font-family: var(--rc-font-body);
}
.lang-search::placeholder { color: var(--text-muted); }
.lang-list {
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(251, 191, 36, 0.3) transparent;
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 12.5px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--rc-font-body);
}
.lang-option:hover { background: rgba(251, 191, 36, 0.1); color: var(--primary-gold); }
.lang-option.lang-active { background: rgba(251, 191, 36, 0.12); color: var(--primary-gold); font-weight: 600; }
.lang-option.lang-hidden { display: none; }
.lang-flag { font-size: 14px; }

/* ── MAIN HEADER ────────────────────────────────────────────────── */
.rc-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    /* CRITICAL FIX: Create an isolated stacking context so the header
       and hamburger button always render and receive clicks ABOVE the
       hero section (which has z-index:0). Without isolation:isolate,
       the hero's internal z-index children can bleed through on mobile. */
    isolation: isolate;
    background: var(--rc-header-bg);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--rc-bar-divider);
    transition: all 0.3s ease;
}
/* When topbar+annbar scroll out, header gains stronger border glow */
.rc-navbar.navbar-scrolled ~ .rc-header,
.rc-header.scrolled {
    background: var(--rc-header-bg);
    border-bottom-color: rgba(251, 191, 36, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(251, 191, 36, 0.08);
}

.rc-navbar {
    background: transparent;
    transition: all 0.3s ease;
}
.rc-navbar.navbar-scrolled {
    background: rgba(18, 18, 18, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.rc-navbar-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 52px);
    display: flex;
    align-items: center;
    height: 74px;
    gap: 0;
}

/* ── BRAND LOGO ─────────────────────────────────────────────────── */
.rc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 32px;
}
.rc-brand-logo-wrap {
    position: relative;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    background: transparent;
    transition: transform 0.3s, filter 0.3s;
}
.rc-brand:hover .rc-brand-logo-wrap {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.25));
}
.rc-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}
.rc-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rc-brand-name {
    font-family: var(--rc-font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.06em;
    line-height: 1.1;
    white-space: nowrap;
}
.rc-brand-tagline {
    font-family: var(--rc-font-body);
    font-size: 9px;
    font-weight: 500;
    color: var(--primary-gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.8;
}

/* ── DESKTOP NAV ────────────────────────────────────────────────── */
.rc-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}
.rc-nav-item { position: relative; }
.rc-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-family: var(--rc-font-body);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    letter-spacing: 0.01em;
    cursor: pointer;
    background: none;
    border: none;
}
.rc-nav-link:hover,
.rc-nav-link.active { color: var(--primary-gold); background: rgba(251, 191, 36, 0.08); }
.rc-nav-arrow {
    font-size: 9px;
    opacity: 0.6;
    transition: transform 0.2s;
}
.rc-mega-parent.is-open .rc-nav-arrow,
.rc-dropdown-parent.is-open .rc-nav-arrow { transform: rotate(180deg); }
.rc-nav-icon { font-size: 12px; opacity: 0.7; }

/* Book Now CTA */
.rc-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--bg-primary) !important;
    font-family: var(--rc-font-body);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.25);
    margin-left: 16px;
    flex-shrink: 0;
}
.rc-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--primary-gold) 100%);
    color: var(--bg-primary) !important;
}
.rc-book-icon { font-size: 13px; }

/* ── STANDARD DROPDOWN ──────────────────────────────────────────── */
.rc-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--bg-secondary);
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 14px;
    padding: 8px;
    list-style: none;
    margin: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(251, 191, 36, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s ease;
    z-index: 1040;
}
.rc-dropdown-parent.is-open .rc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.rc-dd-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    font-family: var(--rc-font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s;
}
.rc-dd-link i {
    font-size: 12px;
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.15s;
}
.rc-dd-link:hover { background: rgba(251, 191, 36, 0.08); color: var(--primary-gold); }
.rc-dd-link:hover i { color: var(--primary-gold); }
.rc-dd-link.rc-dd-green { color: #4ade80; }
.rc-dd-link.rc-dd-green:hover { background: rgba(74, 222, 128, 0.1); }
.rc-dd-link.rc-dd-highlight { color: var(--accent-gold); font-weight: 500; }
.rc-dd-divider { height: 1px; background: rgba(71, 85, 105, 0.4); margin: 5px 8px; }

/* ── MEGA MENU ──────────────────────────────────────────────────── */
.rc-mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(96vw, 900px);
    background: var(--bg-secondary);
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(251, 191, 36, 0.07);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1040;
}
.rc-mega-parent.is-open .rc-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.rc-mega-inner { padding: 0; }

/* Mega Header */
.rc-mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
}
.rc-mega-eyebrow {
    font-family: var(--rc-font-body);
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.rc-mega-title {
    font-family: var(--rc-font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 3px;
}
.rc-mega-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    margin: 0;
    font-family: var(--rc-font-body);
}
.rc-mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    font-family: var(--rc-font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.rc-mega-view-all:hover { background: var(--primary-gold); color: var(--bg-primary); }

/* Mega Grid */
.rc-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.rc-mega-col {
    padding: 20px 18px;
    border-right: 1px solid rgba(71, 85, 105, 0.2);
}
.rc-mega-col:last-child { border-right: none; }

.rc-mega-col-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--rc-font-body);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}
.rc-mega-col-icon { font-size: 14px; }

.rc-mega-pkg-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rc-mega-pkg-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s;
}
.rc-mega-pkg-link:hover { background: rgba(251, 191, 36, 0.08); }
.rc-pkg-title {
    font-family: var(--rc-font-body);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.3;
    transition: color 0.15s;
}
.rc-mega-pkg-link:hover .rc-pkg-title { color: var(--primary-gold); }
.rc-pkg-meta {
    font-size: 10.5px;
    color: var(--text-muted);
    font-family: var(--rc-font-body);
    letter-spacing: 0.02em;
}
.rc-mega-col-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--primary-gold);
    text-decoration: none;
    transition: gap 0.2s;
    font-family: var(--rc-font-body);
    opacity: 0.8;
    padding: 4px 10px;
}
.rc-mega-col-more:hover { opacity: 1; gap: 8px; }

/* Mega CTA Card */
.rc-mega-cta-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.3) 0%, rgba(18, 18, 18, 0.9) 60%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 18px 16px;
    margin-top: 12px;
}
.rc-mega-cta-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    pointer-events: none;
}
.rc-mega-cta-icon {
    font-size: 22px;
    color: var(--primary-gold);
    margin-bottom: 8px;
}
.rc-mega-cta-eyebrow {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-family: var(--rc-font-body);
    opacity: 0.8;
}
.rc-mega-cta-title {
    font-family: var(--rc-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 6px;
}
.rc-mega-cta-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 12px;
    font-family: var(--rc-font-body);
}
.rc-mega-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: var(--primary-gold);
    color: var(--bg-primary);
    font-family: var(--rc-font-body);
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 12px;
}
.rc-mega-cta-btn:hover {
    background: var(--secondary-gold);
    transform: translateY(-1px);
    color: var(--bg-primary);
}
.rc-mega-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.rc-mega-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(241, 245, 249, 0.55);
    font-family: var(--rc-font-body);
}
.rc-mega-trust-badge i { font-size: 8px; color: var(--primary-gold); }

/* ── HAMBURGER ──────────────────────────────────────────────────── */
.rc-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;   /* Apple HIG min tap target */
    height: 44px;  /* Apple HIG min tap target */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    margin-left: 12px;
    flex-shrink: 0;
    transition: all 0.2s;
    touch-action: manipulation; /* Prevent 300ms delay on iOS */
    -webkit-tap-highlight-color: transparent;
    /* CRITICAL FIX: Ensure hamburger is always above any hero/section elements */
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
.rc-hamburger:hover { background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.4); }
.rc-ham-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.rc-hamburger.is-open .rc-ham-1 { transform: translateY(7px) rotate(45deg); }
.rc-hamburger.is-open .rc-ham-2 { opacity: 0; transform: scaleX(0); }
.rc-hamburger.is-open .rc-ham-3 { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE OVERLAY ─────────────────────────────────────────────── */
.rc-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1070;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.rc-mobile-overlay.is-open { opacity: 1; }

/* ── MOBILE DRAWER ──────────────────────────────────────────────── */
.rc-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 90vw);
    height: 100vh; /* Fallback for older browsers */
    height: 100dvh;
    background: var(--bg-secondary);
    border-left: 1px solid rgba(251, 191, 36, 0.12);
    z-index: 1080;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    /* iOS safe area for notch & home indicator */
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    /* Prevent body scroll bleed-through on iOS */
    -webkit-overflow-scrolling: touch;
}
.rc-mobile-drawer.is-open { right: 0; }

.rc-mob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.4);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2) 0%, transparent 100%);
    flex-shrink: 0;
}
.rc-mob-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.rc-mob-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.25);
    background: rgba(251, 191, 36, 0.05);
    padding: 3px;
}
.rc-mob-brand-name {
    display: block;
    font-family: var(--rc-font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}
.rc-mob-brand-tagline {
    display: block;
    font-size: 9px;
    color: var(--primary-gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.8;
    font-family: var(--rc-font-body);
}
.rc-mob-close {
    width: 44px;  /* Apple HIG min */
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.rc-mob-close:hover { background: rgba(251, 191, 36, 0.12); color: var(--primary-gold); }

.rc-mob-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(71, 85, 105, 0.4) transparent;
}

/* Mobile Nav */
.rc-mob-nav { list-style: none; padding: 0; margin: 0; }
.rc-mob-item { border-bottom: 1px solid rgba(71, 85, 105, 0.2); }

.rc-mob-link {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Default: icon + text together on the left */
    gap: 10px;
    width: 100%;
    padding: 14px 20px; /* Increased for better tap target */
    min-height: 48px;   /* Google Material min tap target */
    font-family: var(--rc-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
/* Accordion trigger buttons need space-between (icon-label left, arrow right) */
button.rc-mob-link.rc-mob-acc-trigger {
    justify-content: space-between;
}
.rc-mob-link i:first-child { font-size: 14px; color: var(--primary-gold); opacity: 0.7; margin-right: 0; }
.rc-mob-link:hover { color: var(--primary-gold); background: rgba(251, 191, 36, 0.05); }
.rc-mob-arrow {
    font-size: 10px;
    transition: transform 0.25s;
    opacity: 0.5;
}
.rc-mob-acc.is-open .rc-mob-arrow { transform: rotate(180deg); }

/* Accordion body — smooth slide animation */
.rc-mob-acc-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(71, 85, 105, 0.2);
    transition: max-height 0.3s ease, opacity 0.25s ease;
}
.rc-mob-acc.is-open .rc-mob-acc-body {
    max-height: 800px; /* Large enough for all items */
    opacity: 1;
}

.rc-mob-pkg-group { margin-bottom: 4px; }
.rc-mob-pkg-label {
    padding: 8px 20px 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--rc-font-body);
    opacity: 0.8;
}
.rc-mob-pkg-link, .rc-mob-sub-link {
    display: block;
    padding: 10px 20px 10px 28px; /* Increased vertical padding for fat-finger taps */
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 12.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
    font-family: var(--rc-font-body);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.rc-mob-pkg-link:hover, .rc-mob-sub-link:hover { color: var(--primary-gold); padding-left: 32px; }
.rc-mob-sub-highlight { color: var(--accent-gold) !important; }
.rc-mob-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 16px;
    padding: 9px 16px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-gold);
    text-decoration: none;
    transition: background 0.2s;
    font-family: var(--rc-font-body);
}
.rc-mob-view-all:hover { background: rgba(251, 191, 36, 0.18); }

/* Mobile CTA */
.rc-mob-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
}
.rc-mob-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    min-height: 48px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--bg-primary);
    font-family: var(--rc-font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.rc-mob-book-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3); color: var(--bg-primary); }
.rc-mob-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    min-height: 48px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    font-family: var(--rc-font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.rc-mob-wa-btn:hover { background: rgba(37, 211, 102, 0.2); color: #25D366; }

/* Mobile Contact Row */
.rc-mob-contact-row {
    display: flex;
    gap: 8px;
    padding: 0 20px 16px;
}
.rc-mob-contact-chip {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 8px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 9px;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-family: var(--rc-font-body);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rc-mob-contact-chip i { font-size: 12px; color: var(--primary-gold); flex-shrink: 0; }
.rc-mob-contact-chip:hover { border-color: var(--primary-gold); color: var(--primary-gold); }

/* Mobile Trust Row */
.rc-mob-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px 16px;
}
.rc-mob-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(71, 85, 105, 0.35);
    border-radius: 99px;
    font-size: 10.5px;
    color: var(--text-muted);
    font-family: var(--rc-font-body);
}
.rc-mob-trust-badge i { font-size: 9px; color: var(--primary-gold); }

/* Mobile Language Selector */
.rc-mob-lang-wrap {
    padding: 0 20px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rc-mob-lang-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    font-family: var(--rc-font-body);
}
.rc-mob-lang-label i { font-size: 11px; color: var(--primary-gold); margin-right: 4px; }
.rc-mob-lang-select {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: var(--rc-font-body);
    cursor: pointer;
    appearance: none;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */

/* Tablet / Large Mobile: hide desktop nav, show hamburger */
@media (max-width: 1024px) {
    .rc-nav-list { display: none; }
    .rc-book-btn { display: none; }
    .rc-hamburger { display: flex; }
    /* Overlay must stay hidden until .is-open — showing it unconditionally
       creates a fixed full-screen layer (z-index:1070) that blocks ALL clicks
       including the hamburger button itself. */
    .rc-mobile-overlay { display: none; }
    .rc-mobile-overlay.is-open { display: block; }
    .rc-mobile-drawer { display: flex; }
}

/* Mobile: collapse topbar to essentials only */
@media (max-width: 768px) {
    .rc-topbar-hours,
    .rc-topbar-badge { display: none; }
    .rc-topbar-sep:nth-child(4),
    .rc-topbar-sep:nth-child(6) { display: none; }
    .rc-topbar-socials { gap: 5px; }
    .rc-topbar-inner { padding: 0 14px; }
    .rc-topbar-left { gap: 8px; }
    .rc-topbar-link span { font-size: 11px; }
    .rc-navbar-inner { height: 62px; padding: 0 16px; }
    .rc-brand-logo-wrap { width: 44px; height: 44px; }
    .rc-brand-name { font-size: 16px; }
    .rc-brand-tagline { display: none; }
}

/* Small Mobile: hide topbar entirely, slim navbar */
@media (max-width: 480px) {
    .rc-topbar { display: none; }
    .rc-announcement-bar { height: 30px; }
    .rc-ann-item { font-size: 10.5px; padding: 0 18px; }
    .rc-navbar-inner { height: 58px; padding: 0 14px; }
    .rc-brand-logo-wrap { width: 40px; height: 40px; }
    .rc-brand-name { font-size: 15px; }
    .rc-brand-margin { margin-right: 0; }
    /* Ensure hamburger tap target is full size on small screens */
    .rc-hamburger { width: 44px; height: 44px; margin-left: 8px; }
}

/* iPhone SE / very small Android (320–375px) */
@media (max-width: 375px) {
    .rc-mobile-drawer { width: 92vw; }
    .rc-announcement-bar { height: 30px; }
    .rc-ann-item { font-size: 10px; padding: 0 14px; }
    .rc-navbar-inner { height: 54px; padding: 0 12px; }
    .rc-brand-logo-wrap { width: 36px; height: 36px; }
    .rc-brand-name { font-size: 14px; }
    .rc-mob-header { padding: 12px 16px; }
    .rc-mob-link { padding: 13px 16px; font-size: 13.5px; }
    .rc-mob-pkg-link, .rc-mob-sub-link { padding: 9px 16px 9px 22px; }
    .rc-mob-cta-wrap, .rc-mob-contact-row,
    .rc-mob-trust-row, .rc-mob-lang-wrap { padding-left: 16px; padding-right: 16px; }
    .rc-mob-contact-chip { font-size: 11px; padding: 10px 6px; }
    .rc-mob-trust-badge { font-size: 9.5px; padding: 4px 8px; }
}