/* ============================================================
   HEADER.CSS — Announce bar + sticky navigation
   ============================================================ */

/* ── ANNOUNCE BAR ── */
.pc-announce {
    background: var(--gradient-announce);
    padding: 9px 16px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    position: relative;
    z-index: 101;
    line-height: 1.5;
}
.pc-announce a {
    color: var(--color-indigo-600);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
}

/* ── STICKY HEADER ── */
.pc-header {
    position: fixed;
    top: var(--announce-h, 38px); 
    left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.35s ease, transform 0.4s ease, top 0.4s ease;
}
/* Transparent (at top) */
.pc-header--transparent {
    background: transparent;
    box-shadow: none;
}

/* Scrolled glass */
.pc-header--glass {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 4px 30px rgba(99,102,241,0.08);
    padding: 10px 0;
    top: 0; 
}

/* Hidden (scrolling down) */
.pc-header--hidden {
    transform: translateY(-110%);
}

.pc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0; 
}

/* ── LOGO ── */
.pc-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* slightly tighter */
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.pc-logo:hover {
    transform: scale(1.03);
}

/* Logo Image */
.pc-logo img {
    max-width: 150px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Optional text next to logo */
.pc-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -0.01em;
}

/* Tablet */
@media (max-width: 768px) {
    .pc-logo img {
        max-width: 120px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .pc-logo img {
        max-width: 100px;
    }
}
/* ── NAV LINKS ── */
.pc-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(16px, 2.5vw, 36px);
}
.pc-nav a {
    color: var(--color-gray-700);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.2s ease;
}
.pc-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.pc-nav a:hover { color: var(--color-indigo-600); }
.pc-nav a:hover::after { width: 100%; }

/* ── HEADER ACTIONS ── */
.pc-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ── HAMBURGER ── */
.pc-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
}
.pc-hamburger span {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--color-gray-700);
    border-radius: 4px;
    transition: var(--transition-base);
}
.pc-hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.pc-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pc-hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
/* ── MOBILE DRAWER ── */
.pc-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.4s ease;
    padding: 0 16px;
    margin-top: 8px;
    position: absolute; /* Ensures it sits relative to header */
    top: 100%; /* Drops below the header bar */
    left: 0; 
    right: 0;
    z-index: 105; /* Must be higher than the Hero section */
}

/* Rest of your existing mobile menu CSS... */
.pc-mobile-menu.is-open {
    display: flex;
    max-height: 500px;
    padding: 16px;
}
.pc-mobile-menu__inner {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(99,102,241,0.1);
}
.pc-mobile-menu a {
    display: block;
    padding: 10px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition-fast);
}
.pc-mobile-menu a:hover {
    color: var(--color-indigo-600);
    background: var(--color-indigo-50);
    padding-left: 14px;
}
.pc-mobile-menu .btn {
    width: 100%;
    margin-top: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .pc-nav,
    .pc-header__actions { display: none; }
    .pc-hamburger { display: flex; }
}