/* HotelPilot24 Reusable Header & Footer Stylesheet */

/* Local Compressed WOFF2 Fonts Definitions */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/inter-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/inter-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/outfit-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/outfit-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/outfit-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/outfit-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/outfit-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/outfit-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/plus-jakarta-sans-800.woff2') format('woff2');
}

/* Reset/base variables specifically for header and footer to match the design */
:root {
    --hp-navy-dark: #071527;
    --hp-gold: #f7c600;
    --hp-navy-light: #0d213a;
    --hp-white: #ffffff;
    --hp-gray-light: #f8fafc;
    --hp-gray-border: #cbd5e1;
    --hp-text-dark: #0f172a;
    --hp-text-muted: #64748b;
    --hp-text-gray: #cbd5e1;
}

/* Hide theme's default header and footer */
#site-header.site-header,
#site-footer.site-footer,
.site-header,
.site-footer {
    display: none !important;
}

/* ---------------------------------------------------------------------------
 * HEADER STYLES
 * --------------------------------------------------------------------------- */
.hp-site-header {
    width: 100%;
    background: var(--hp-white);
    border-bottom: 1.5px solid var(--hp-gold);
    position: sticky;
    top: 0;
    z-index: 9999;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    box-sizing: border-box;
}

.hp-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

/* Brand Logo (reusable) */
.hp-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.hp-logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.hp-brand-logo:hover .hp-logo-icon {
    transform: scale(1.05);
}

.hp-logo-txt {
    font-size: 20px;
    font-weight: 800;
    color: var(--hp-navy-dark);
    letter-spacing: -0.02em;
}

.hp-logo-txt span {
    color: var(--hp-gold);
}

.hp-brand-logo-white .hp-logo-txt {
    color: var(--hp-white);
}

/* Header Nav Menu */
.hp-header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

@media (min-width: 901px) {
    .hp-header-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.hp-header-nav a {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--hp-text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-header-nav a:hover {
    color: var(--hp-gold);
}

/* Header Action Buttons */
.hp-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-btn-claim,
.hp-btn-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.hp-btn-claim {
    background: var(--hp-white);
    border: 1.5px solid var(--hp-text-dark);
    color: var(--hp-text-dark);
}

.hp-btn-claim:hover {
    background: var(--hp-gray-light);
    transform: translateY(-1px);
}

.hp-btn-add {
    background: var(--hp-gold);
    border: 1.5px solid var(--hp-gold);
    color: var(--hp-text-dark);
}

.hp-btn-add:hover {
    background: #e5b700;
    border-color: #e5b700;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.hp-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--hp-navy-dark);
    cursor: pointer;
    padding: 4px;
    outline: none;
}

/* Nav wrapper contains both nav & actions for ease of mobile styling */
.hp-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* ---------------------------------------------------------------------------
 * FOOTER STYLES
 * --------------------------------------------------------------------------- */
.hp-site-footer {
    background: var(--hp-navy-dark);
    color: var(--hp-white);
    padding: 70px 0 30px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    box-sizing: border-box;
}

.hp-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 26px;
    box-sizing: border-box;
}

.hp-footer-top {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.9fr);
    gap: 50px;
    padding-bottom: 50px;
}

.hp-footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hp-footer-desc {
    color: var(--hp-text-gray);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    max-width: 320px;
}

.hp-footer-links-col h3 {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--hp-white);
    letter-spacing: 0.08em;
    margin: 0 0 22px;
    text-transform: uppercase;
}

.hp-footer-links-col nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-footer-links-col nav a {
    color: var(--hp-text-gray);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.hp-footer-links-col nav a:hover {
    color: var(--hp-gold);
}

/* App Store Badges */
.hp-footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.hp-footer-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: var(--hp-white);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    width: fit-content;
}

.hp-footer-app-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--hp-gold);
    transform: translateY(-2px);
    color: var(--hp-white);
}

.hp-footer-app-badge svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.hp-footer-app-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hp-footer-app-badge small {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hp-footer-app-badge span {
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-white);
    letter-spacing: 0.01em;
}

/* Bottom bar */
.hp-footer-bottom {
    border-top: 1px solid #1e2d3d;
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--hp-text-muted);
}

.hp-footer-bottom-left span {
    font-weight: 500;
}

.hp-footer-bottom-right {
    display: flex;
    gap: 20px;
}

.hp-footer-bottom-right a {
    color: var(--hp-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.hp-footer-bottom-right a:hover {
    color: var(--hp-gold);
}

/* ---------------------------------------------------------------------------
 * RESPONSIVE MEDIA QUERIES
 * --------------------------------------------------------------------------- */
@media (max-width: 900px) {
    /* Header mobile navigation overlay style */
    .hp-menu-toggle {
        display: block;
    }

    .hp-nav-wrapper {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--hp-white);
        border-bottom: 1.5px solid var(--hp-gold);
        padding: 24px;
        gap: 24px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        align-items: stretch;
    }

    .hp-site-header.nav-open .hp-nav-wrapper {
        display: flex;
    }

    .hp-site-header.nav-open .hp-icon-menu {
        display: none;
    }

    .hp-site-header.nav-open .hp-icon-close {
        display: block !important;
    }

    .hp-header-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .hp-header-nav a {
        display: block;
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 14.5px;
    }

    .hp-header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 10px;
    }

    .hp-btn-claim,
    .hp-btn-add {
        width: 100%;
        padding: 12px;
        font-size: 13.5px;
    }

    /* Footer collapsing layout */
    .hp-footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hp-footer-desc {
        max-width: 100%;
    }

    .hp-footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hp-footer-bottom-right {
        flex-wrap: wrap;
        gap: 12px 18px;
    }
}

/* ---------------------------------------------------------------------------
 * 404 PAGE STYLES
 * --------------------------------------------------------------------------- */
.hp-404-wrap {
    padding: 120px 24px;
    background: #ffffff;
    text-align: center;
    font-family: 'Outfit', 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    box-sizing: border-box;
}

.hp-404-container {
    max-width: 600px;
    width: 100%;
}

.hp-404-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #071527;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hp-404-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 32px;
    line-height: 1.6;
}

.hp-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f7c600;
    border: 1.5px solid #f7c600;
    color: #0f172a;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hp-404-btn:hover {
    background: #e5b700;
    border-color: #e5b700;
    transform: translateY(-1px);
}

@media (max-width: 680px) {
    .hp-404-wrap {
        padding: 80px 24px;
    }
    .hp-404-title {
        font-size: 28px;
    }
    .hp-404-subtitle {
        font-size: 15px;
    }
}
