/* ═══════════════════════════════════════════════════════════════════════════
   SassyFunke — Global Site Header & Footer
   Loaded on ALL pages via the plugin.
   Uses sf-chrome- prefix to avoid clashes with page-level CSS.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════
   FIX: Flights page hero — the redesign CSS forces .sf-hero into a
   2-column grid, but the flights page hero only has one child.
   Reset it to single column when inside .sf-travel.
   ═══════════════════════════════════════════════════════════════════════════ */
.sf-travel .sf-hero {
    display: block !important;
    grid-template-columns: none !important;
    min-height: auto !important;
}

.sf-travel .sf-hero-inner {
    max-width: 1280px !important;
    margin: 0 auto !important;
}

/* Fix passenger dropdown getting cut off — override overflow on ALL ancestors */
.sf-travel,
.sf-travel .sf-hero,
.sf-travel .sf-hero-inner,
.sf-travel .sf-search-box,
.sf-travel .sf-fields,
.sf-travel .sf-field,
.sf-travel .sf-trip-row,
.fusion-fullwidth,
.fusion-builder-row,
.fusion-layout-column,
.fusion-column-wrapper,
.fusion-text,
.fusion-text .sf-travel {
    overflow: visible !important;
}

.sf-travel .sf-pax-panel.sf-open {
    z-index: 9999 !important;
    display: block !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.sf-chrome-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    padding: 1.25rem 4% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: rgba(250, 248, 245, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05) !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.sf-chrome-logo {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    color: #0d0d0d !important;
    text-decoration: none !important;
}

.sf-chrome-logo span {
    color: #c96442 !important;
}

.sf-chrome-links {
    display: flex !important;
    gap: 2.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sf-chrome-links li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.sf-chrome-links a {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    color: #4a4a4a !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.sf-chrome-links a:hover {
    color: #0d0d0d !important;
}

.sf-chrome-cta {
    background: #0d0d0d !important;
    color: #faf8f5 !important;
    padding: 0.75rem 1.5rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: none !important;
    transition: all 0.3s !important;
    border-radius: 0 !important;
    display: inline-block !important;
}

.sf-chrome-cta:hover {
    background: #c96442 !important;
    color: #faf8f5 !important;
}

/* Hamburger */
.sf-chrome-hamburger {
    display: none !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: transparent !important;
    border: none !important;
    z-index: 100000;
}

.sf-chrome-hamburger span {
    width: 24px;
    height: 2px;
    background: #0d0d0d;
    display: block;
    transition: all 0.3s ease;
}

.sf-chrome-hamburger.sf-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.sf-chrome-hamburger.sf-open span:nth-child(2) {
    opacity: 0;
}
.sf-chrome-hamburger.sf-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
    .sf-chrome-links {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(250, 248, 245, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        padding: 1rem 5% 2rem !important;
        gap: 0 !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
        border-top: 1px solid rgba(0,0,0,0.05) !important;
    }

    .sf-chrome-links.sf-mobile-open {
        display: flex !important;
    }

    .sf-chrome-links li {
        width: 100% !important;
    }

    .sf-chrome-links a {
        display: block !important;
        padding: 1rem 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
        font-size: 1rem !important;
    }

    .sf-chrome-hamburger {
        display: flex !important;
    }

    .sf-chrome-cta {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.sf-chrome-footer {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Dark main section */
.sf-chrome-footer-main {
    background: #0d0d0d !important;
    color: #faf8f5 !important;
    padding: 4rem 4% 2rem !important;
}

.sf-chrome-footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
    gap: 3rem !important;
    max-width: 1280px !important;
    margin: 0 auto 3rem !important;
}

/* Brand column */
.sf-chrome-footer-brand {
    text-align: center;
}

.sf-chrome-footer-logo {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    color: #faf8f5 !important;
    margin: 0 0 1rem !important;
}

.sf-chrome-footer-logo span {
    color: #c96442 !important;
}

.sf-chrome-footer-brand p {
    font-size: .9rem !important;
    color: rgba(255,255,255,.6) !important;
    max-width: 320px;
    line-height: 1.7;
    margin: 0 auto 1.5rem !important;
    text-align: center;
}

/* Social icons */
.sf-chrome-footer-social {
    display: flex;
    gap: .75rem;
    justify-content: center;
}

.sf-chrome-footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1a1f2e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .3s;
    color: #faf8f5;
    border: none;
}

.sf-chrome-footer-social a:hover {
    background: #c96442;
}

/* Link columns */
.sf-chrome-footer-col {
    text-align: center;
}

.sf-chrome-footer-col h4 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.5) !important;
    margin: 0 0 1.25rem !important;
}

.sf-chrome-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sf-chrome-footer-col li {
    margin: 0 0 .65rem;
    list-style: none;
}

.sf-chrome-footer-col a {
    color: rgba(255,255,255,.85) !important;
    text-decoration: none;
    font-size: .9rem;
    transition: color .3s;
}

.sf-chrome-footer-col a:hover {
    color: #c96442 !important;
}

/* Copyright bar */
.sf-chrome-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    max-width: 1280px;
    margin: 0 auto;
}

.sf-chrome-footer-bottom span {
    margin: 0;
}

/* Newsletter section */
.sf-chrome-footer-newsletter {
    background: #faf8f5;
    color: #0d0d0d;
    padding: 4rem 4%;
    text-align: center;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.sf-chrome-footer-newsletter h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
    font-weight: 600 !important;
    color: #0d0d0d !important;
    margin: 0 0 1rem !important;
}

.sf-chrome-footer-newsletter p {
    font-size: 1rem;
    color: #4a4a4a;
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.sf-chrome-nl-form {
    display: flex;
    gap: 0;
    max-width: 750px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.sf-chrome-nl-form input {
    flex: 1;
    min-width: 140px;
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .95rem;
    color: #0d0d0d;
    background: #ffffff;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
}

.sf-chrome-nl-form input:focus {
    border-color: #0d0d0d;
}

.sf-chrome-nl-form input::placeholder {
    color: #9ca3af;
}

.sf-chrome-nl-form button {
    padding: 1rem 2rem;
    background: #0d0d0d;
    color: #faf8f5;
    border: 1px solid #0d0d0d;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .05em;
    cursor: pointer;
    transition: all .3s;
    border-radius: 0;
    -webkit-appearance: none;
    white-space: nowrap;
}

.sf-chrome-nl-form button:hover {
    background: #c96442;
    border-color: #c96442;
}

/* Responsive */
@media (max-width: 768px) {
    .sf-chrome-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .sf-chrome-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .sf-chrome-nl-form {
        flex-direction: column;
    }

    .sf-chrome-nl-form input,
    .sf-chrome-nl-form button {
        width: 100%;
    }
}
