/* ==========================================================================
   Navigation & Header — New Design
   ========================================================================== */

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background: var(--dark-burgundy);
    color: var(--accent);
    padding: 10px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    transition: transform 0.4s ease;
}

.announcement-bar .ticker {
    display: flex;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.announcement-bar .ticker-item {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
    padding: 0 40px;
    flex-shrink: 0;
}

.announcement-bar .ticker-item span {
    margin: 0 12px;
    opacity: 0.4;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    padding: 20px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(13, 6, 44, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 245, 222, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: clamp(30rem, 80vw, 90rem);
    margin: 0 auto;
    padding: 0;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.logo {
    z-index: 1001;
    display: block;
    flex: 1;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.nav-links a {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--off-white);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Book / CTA button */
.btn-book {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 2px;
    padding: 12px 28px;
    background: var(--secondary);
    color: var(--pbs-black);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-book:hover {
    background: var(--accent);
    color: var(--pbs-black);
    transform: translateY(-2px);
}

/* Outline button variant */
.btn-outline {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 2px;
    padding: 12px 28px;
    background: transparent;
    color: #fff5de;
    border: 1px solid #fff5de;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    border-color: #faca78;
    color: #faca78;
    transform: translateY(-2px);
}

/* ============================================
   HAMBURGER (mobile)
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 10002;
    background: none;
    border: none;
    padding: 4px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--off-white, #FFF5DE);
    transition: transform 0.35s ease, opacity 0.25s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger span:nth-child(1) {
    top: 8px;
}

.hamburger span:nth-child(2) {
    top: 17px;
}

.hamburger span:nth-child(3) {
    top: 26px;
}

.hamburger.active span:nth-child(1) {
    top: 17px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 17px;
    transform: translateX(-50%) rotate(-45deg);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 6, 44, 0.98);
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-nav.active {
    display: flex;
    animation: mobileNavFadeIn 0.3s ease forwards;
}

@keyframes mobileNavFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 4px;
    color: var(--off-white, #FFF5DE);
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav .btn-book,
.mobile-nav .btn-outline {
    width: 80%;
    text-align: center;
    box-sizing: border-box;
}

.mobile-nav a:hover {
    color: var(--accent);
}

/* ============================================
   RESPONSIVE — Navigation
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .header .btn-book,
    .header .btn-outline,
    .header-buttons {
        display: none !important;
    }

    .header .container {
        max-width: clamp(10rem, 90vw, 90rem);
        padding: 0;
    }

    /* Keep consistent padding on mobile to prevent jump on scroll */
    .header {
        padding: 14px 0;
    }

    .header.scrolled {
        padding: 14px 0;
    }
}

/* ============================================
   WP Admin Bar offset
   ============================================ */
.admin-bar .header {
    /* JS handles the offset dynamically */
}

.admin-bar .mobile-nav {
    top: 32px;
    height: calc(100% - 32px);
}

@media (max-width: 782px) {
    .admin-bar .mobile-nav {
        top: 46px;
        height: calc(100% - 46px);
    }
}