/* ============================================
   REAWAKEN RELEASE - DESIGN TOKENS (ROOT)
   ============================================ */
:root {
    --Freedom-Gold: #D4BA78;
    --Crown-Gold: #B8914A;
    --Glowing-Crown-Gold: rgba(184, 145, 74, 0.35);
   
    --Dror-Abyss: #18365D;
   
    --Release-White: #FAF7F0;
    --Covenant-Slate: #36567A;
    --Living-Current: #317680;
    --Open-Waters: #73ADB5;
    --Breath-Ivory: #F2ECDF;
    --Desert-Sand: #D2C2AB;
    --Mist-of-Mercy: #BCC4C9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background: var(--Dror-Abyss);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================
   HERO SECTION
   ============================================ */
#Hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% 44%;
    transform-origin: center center;
    will-change: transform;
    transform: scale(1.47) translate(-9%, -7%);
    animation: kenburns 65s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

@keyframes kenburns {
    0%   { transform: scale(1.47) translate(-9%, -7%); }
    50%  { transform: scale(1.57) translate(10%, 9%); }
    100% { transform: scale(1.43) translate(-4%, -10%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-background img { animation: none; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.30);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: var(--Release-White);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--Freedom-Gold);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.hero-content .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    color: var(--Release-White);
}

.status-badge {
    display: inline-block;
    background: var(--Crown-Gold);
    color: var(--Dror-Abyss);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.message {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--Freedom-Gold);
    color: var(--Dror-Abyss);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    text-decoration: none;
    border: 2px solid var(--Release-White);
    box-shadow: 0 8px 30px rgba(184, 145, 74, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: none;
}

.primary-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(184, 145, 74, 0.6);
    background: var(--Release-White);
    border-color: var(--Freedom-Gold);
}

.primary-btn:active {
    transform: scale(0.95);
}

.primary-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--Dror-Abyss);
    stroke-width: 2.2;
    fill: none;
    flex-shrink: 0;
}

.small-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

/* ============================================
   AUDIO TOGGLE SWITCH
   ============================================ */
.audio-switch {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    user-select: none;
}

.audio-switch-label {
    color: var(--Release-White);
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.audio-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.audio-switch-track {
    position: relative;
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: var(--Release-White);
    border: 1px solid var(--Dror-Abyss);
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.audio-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--Dror-Abyss);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.audio-switch input:checked + .audio-switch-track .audio-switch-thumb {
    transform: translateX(22px);
}

.audio-switch input:checked + .audio-switch-track {
    background: var(--Release-White);
    border-color: var(--Freedom-Gold);
}

.audio-switch input:focus-visible + .audio-switch-track {
    outline: 2px solid var(--Freedom-Gold);
    outline-offset: 3px;
}

.audio-switch:active .audio-switch-thumb {
    transform: scale(0.9);
}
.audio-switch input:checked:active + .audio-switch-track .audio-switch-thumb {
    transform: translateX(22px) scale(0.9);
}

/* ============================================
   AUDIO TOAST
   ============================================ */
.audio-toast {
    position: fixed;
    top: 64px;
    right: 24px;
    z-index: 50;
    padding: 0.55rem 1rem;
    border-radius: 2px;
    background: var(--Dror-Abyss);
    border: 1px solid var(--Release-White);
    color: var(--Release-White);
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.audio-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

#floatingArrow {
    position: fixed;
    top: 58px;
    right: 24px;
    z-index: 9999;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    pointer-events: none;
    animation: bounceArrow 1.6s ease-in-out infinite;
}

.arrow-icon {
    width: 22px;
    height: 22px;
    color: var(--Release-White);
    stroke: var(--Release-White);
}

.arrow-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: var(--Release-White);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

#floatingArrow.hidden {
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
#floatingArrow.hidden .arrow-icon {
    animation: none !important;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============================================
   NAVIGATION
   ============================================ */
#nav-overlay {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    opacity: 0;
    width: min(90%, 420px);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 28px;
    padding: 28px 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 999;
    box-sizing: border-box;
}

#nav-overlay.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

#nav-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#nav-overlay li a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 16px;
    transition: background 0.2s;
    letter-spacing: 0.3px;
    font-family: system-ui, -apple-system, sans-serif;
}

#nav-overlay li a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.construction {
    font-size: 0.7rem;
    font-weight: 300;
    opacity: 0.4;
    margin-left: 8px;
}

#nav-trigger {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: 60px;
    padding: 16px 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, background 0.3s;
    user-select: none;
}

#nav-trigger:hover {
    background: rgba(255, 255, 255, 0.18);
}

#nav-trigger span {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: 0.5px;
}

#nav-close {
    font-size: 1.4rem;
    line-height: 1;
}

#nav-backdrop {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 998;
    pointer-events: none;
    display: none;
}

#nav-backdrop.show {
    display: block;
    pointer-events: auto;
}

/* ============================================
   BOOKING BUTTON
   ============================================ */
#book-trigger {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 900;
    transition: 0.3s;
    letter-spacing: 0.5px;
    font-family: system-ui, -apple-system, sans-serif;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#book-trigger:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* ============================================
   BOOKING PANEL (MORPHING)
   ============================================ */
#booking-panel {
    position: fixed;
    z-index: 9999;
    background: rgba(12, 12, 20, 0.88);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    opacity: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
}

#booking-panel.open {
    pointer-events: auto;
    opacity: 1;
}

.booking-content {
    padding: 48px 40px 40px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
    overflow-y: auto;
    box-sizing: border-box;
}

#booking-panel.open .booking-content {
    opacity: 1;
}

#booking-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    padding: 0 8px;
    line-height: 1;
}

#booking-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.booking-inner {
    text-align: center;
    padding: 40px 20px;
}

.booking-emoji {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.booking-title {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--Freedom-Gold);
}

.booking-subtext {
    opacity: 0.7;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BOOKING PAGE
   ============================================ */
.booking-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    min-height: 400px;
}

.booking-container iframe {
    width: 100%;
    max-width: 100%;
    border: none;
    min-height: 500px;
}

/* ============================================
   MOBILE FIXES
   ============================================ */
@media (max-width: 768px) {
    #book-trigger {
        top: auto;
        bottom: 130px;
        right: 20px;
        transform: none;
        padding: 10px 20px;
        font-size: 0.9rem;
        z-index: 901;
    }

    .booking-container {
        padding: 10px;
        min-height: 300px;
    }

    .booking-container iframe {
        min-height: 400px;
    }
}

@media (min-width: 769px) {
    #book-trigger {
        top: 50%;
        bottom: auto;
        right: 30px;
        transform: translateY(-50%);
        padding: 14px 32px;
        font-size: 1.1rem;
        border-radius: 60px;
    }
    #book-trigger:hover {
        transform: translateY(-50%) scale(1.05);
    }
}
