/* =========================================================
   FP HAIRSTYLE - TOP BAR STYLES
   BRAND PALETTE:
   🖤 Near Black:      #120F10
   🤎 Espresso Brown:  #24191A
   🥉 Rose Gold/Copper:#D98C6B
   🌸 Dusty Pink:      #D96A8A
   🤍 Warm Ivory:      #F8F1EC
   🩶 Warm Gray:       #BEB2AE
========================================================= */

:root {
    /* Primary */
    --fp-black: #120F10;
    --fp-espresso: #24191A;
    
    /* Brand Colors */
    --fp-rose-gold: #D98C6B;
    --fp-rose-gold-dark: #C47A5A;
    --fp-rose-gold-light: #E8A88A;
    --fp-dusty-pink: #D96A8A;
    --fp-dusty-pink-light: #E88AA4;
    --fp-dusty-pink-dark: #C45A7A;
    
    /* Text Colors */
    --fp-ivory: #F8F1EC;
    --fp-warm-gray: #BEB2AE;
    --fp-warm-gray-dark: #9A8E8A;
    
    /* Derived / Utility */
    --fp-white: #FFFFFF;
    --fp-off-white: #F5EFEA;
    --fp-text-dark: #120F10;
    --fp-text-light: #F8F1EC;
    --fp-border-subtle: rgba(217, 140, 107, 0.15);
    --fp-shadow-soft: rgba(18, 15, 16, 0.08);
    --fp-shadow-strong: rgba(18, 15, 16, 0.18);
}

/* =========================================================
   TOP UTILITY BAR (ROW 1)
   Height: ~40px | Background: Near Black
========================================================= */

.fp-topbar {
    background: var(--fp-black);
    color: var(--fp-ivory);
    font-size: 13px;
    padding: 0;
    border-bottom: 1px solid var(--fp-border-subtle);
}

.topbar-content {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Contact Info */
.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-contact a {
    color: var(--fp-ivory);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    transition: color 0.3s ease;
    opacity: 0.85;
}

.topbar-contact a:hover {
    color: var(--fp-rose-gold);
    opacity: 1;
}

.topbar-contact a i {
    color: var(--fp-rose-gold);
    font-size: 13px;
}

/* Right Side */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Social Icons */
.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-social .social-link {
    color: var(--fp-ivory);
    font-size: 14px;
    opacity: 0.6;
    transition: all 0.3s ease;
    text-decoration: none;
}

.topbar-social .social-link:hover {
    color: var(--fp-rose-gold);
    opacity: 1;
    transform: translateY(-2px);
}

/* Language Toggle */
.language-btn {
    color: var(--fp-ivory);
    border: 1px solid rgba(248, 241, 236, 0.2);
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.language-btn:hover {
    background: var(--fp-rose-gold);
    border-color: var(--fp-rose-gold);
    color: var(--fp-black);
}

.language-btn i {
    font-size: 11px;
}

/* =========================================================
   MAIN HEADER (ROW 2)
   Height: ~85px | Background: Espresso Brown
========================================================= */

.fp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--fp-espresso);
    box-shadow: 0 2px 20px rgba(18, 15, 16, 0.3);
    transition: box-shadow 0.3s ease, background 0.3s ease;
    border-bottom: 1px solid var(--fp-border-subtle);
}

.fp-header .navbar {
    min-height: 85px;
    padding: 6px 0;
    transition: min-height 0.35s ease, padding 0.35s ease;
}

/* =========================================================
   LOGO
========================================================= */

.navbar-brand {
    padding: 0;
    margin-right: 40px;
    flex-shrink: 0;
}

.fp-logo {
    width: auto;
    max-height: 65px;
    object-fit: contain;
    display: block;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* =========================================================
   SCROLLED HEADER
========================================================= */

.fp-header.scrolled {
    box-shadow: 0 4px 30px rgba(18, 15, 16, 0.4);
    background: rgba(36, 25, 26, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(217, 140, 107, 0.1);
}

.fp-header.scrolled .navbar {
    min-height: 60px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.fp-header.scrolled .fp-logo {
    max-height: 45px;
}

/* =========================================================
   NAVIGATION LINKS
========================================================= */

.fp-header .navbar-collapse {
    transition: 0.3s ease;
}

.fp-header .nav-link {
    color: var(--fp-ivory);
    font-weight: 500;
    font-size: 14px;
    margin-left: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    transition: color 0.3s ease, padding 0.3s ease;
    letter-spacing: 0.5px;
    text-decoration: none;
    opacity: 0.85;
}

.fp-header .nav-link:hover,
.fp-header .nav-link.active {
    color: var(--fp-rose-gold);
    opacity: 1;
}

/* Underline animation for nav links - Rose Gold */
.fp-header .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--fp-rose-gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.fp-header .nav-link:hover::after,
.fp-header .nav-link.active::after {
    width: 60%;
}

/* Special styling for "Manage Your Appointment" link - Dusty Pink accent */
.fp-header .nav-link.manage-link {
    color: var(--fp-dusty-pink);
    opacity: 1;
    font-weight: 600;
}

.fp-header .nav-link.manage-link::after {
    background: var(--fp-dusty-pink);
}

.fp-header .nav-link.manage-link:hover,
.fp-header .nav-link.manage-link.active {
    color: var(--fp-dusty-pink-light);
}

/* =========================================================
   BOOK APPOINTMENT CTA BUTTON (Desktop)
   Rose Gold background with Dusty Pink hover
========================================================= */

.book-cta-btn {
    display: inline-block;
    background: var(--fp-rose-gold);
    color: var(--fp-black);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.8px;
    margin-left: 20px;
    border: 2px solid transparent;
    text-transform: uppercase;
}

.book-cta-btn:hover {
    background: var(--fp-dusty-pink);
    color: var(--fp-ivory);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 140, 107, 0.35);
}

.book-cta-btn:active {
    transform: translateY(0);
}

/* =========================================================
   MOBILE CONTROLS
========================================================= */

.mobile-nav-controls {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-nav-controls .navbar-toggler {
    display: none;
    border: none;
    padding: 4px 6px;
}

.mobile-language-btn {
    color: var(--fp-ivory);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(248, 241, 236, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
}

.mobile-language-btn:hover {
    border-color: var(--fp-rose-gold);
    color: var(--fp-rose-gold);
}

.mobile-book-btn {
    color: var(--fp-rose-gold);
    font-size: 1.1rem;
    text-decoration: none;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.mobile-book-btn:hover {
    color: var(--fp-dusty-pink);
    transform: scale(1.05);
}

/* Hamburger icon custom - Ivory lines */
.navbar-toggler {
    border: none;
    padding: 4px 6px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 26px;
    height: 20px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--fp-ivory);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggler-icon::after {
    bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 50%;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* =========================================================
   MOBILE-ONLY: Contact info inside hamburger
========================================================= */

.mobile-contact-info {
    padding: 0 16px !important;
    width: 100%;
    margin-top: 10px;
}

.mobile-divider {
    border: none;
    border-top: 2px solid var(--fp-rose-gold);
    margin: 16px auto 12px auto;
    width: 50px;
    opacity: 0.4;
}

.mobile-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
    align-items: center;
}

.mobile-contact-items a {
    color: var(--fp-ivory) !important;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    transition: 0.2s;
    opacity: 0.75;
}

.mobile-contact-items a:hover {
    opacity: 1;
    color: var(--fp-rose-gold) !important;
}

.mobile-contact-items a i {
    color: var(--fp-rose-gold);
    width: 20px;
    text-align: center;
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 16px 0 8px 0;
    border-top: 1px solid rgba(190, 178, 174, 0.15);
    margin-top: 4px;
}

.mobile-social-icons a {
    color: var(--fp-warm-gray);
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(248, 241, 236, 0.06);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-icons a:hover {
    color: var(--fp-ivory);
    background: var(--fp-rose-gold);
    transform: translateY(-2px);
}

/* Mobile CTA (full width inside menu) - Rose Gold */
.mobile-cta-full {
    display: block;
    text-align: center;
    background: var(--fp-rose-gold);
    color: var(--fp-black);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    margin: 16px 0 8px 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mobile-cta-full:hover {
    background: var(--fp-dusty-pink);
    color: var(--fp-ivory);
}

/* =========================================================
   RESPONSIVE - TABLET & MOBILE (991px and below)
========================================================= */

@media (max-width: 991px) {

    /* Show mobile controls */
    .mobile-nav-controls {
        display: flex;
    }

    .mobile-nav-controls .navbar-toggler {
        display: flex !important;
    }

    /* Hide top bar on mobile */
    .fp-topbar {
        display: none;
    }

    /* Adjust navbar for mobile */
    .fp-header .navbar {
        min-height: 65px;
        padding: 4px 0;
    }

    .fp-logo {
        max-height: 45px;
    }

    /* Nav links on mobile - full width, clean */
    .fp-header .nav-link {
        margin-left: 0;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(248, 241, 236, 0.06);
        font-size: 15px;
        opacity: 0.9;
    }

    .fp-header .nav-link::after {
        display: none;
    }

    .fp-header .nav-link.manage-link {
        color: var(--fp-dusty-pink);
    }

    .fp-header .nav-link.manage-link:hover {
        color: var(--fp-dusty-pink-light);
    }

    /* Scrolled header on mobile - keep logo visible */
    .fp-header.scrolled .navbar {
        min-height: 58px;
    }

    .fp-header.scrolled .fp-logo {
        max-height: 38px;
    }

    /* Hide desktop CTA on mobile */
    .book-cta-btn {
        display: none !important;
    }

    /* Navbar collapse background - Espresso */
    .fp-header .navbar-collapse {
        background: var(--fp-espresso);
        padding: 10px 0 20px 0;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 12px 40px rgba(18, 15, 16, 0.5);
        max-height: 80vh;
        overflow-y: auto;
        border-top: 1px solid rgba(217, 140, 107, 0.1);
    }
}

/* =========================================================
   RESPONSIVE - DESKTOP (992px and above)
========================================================= */

@media (min-width: 992px) {
    /* Hide mobile controls on desktop */
    .mobile-nav-controls {
        display: none !important;
    }

    .mobile-nav-controls .navbar-toggler {
        display: none !important;
    }

    /* Show desktop CTA */
    .book-cta-btn {
        display: inline-block !important;
    }
}

/* =========================================================
   RESPONSIVE - SMALL PHONES (576px and below)
========================================================= */

@media (max-width: 576px) {
    .fp-logo {
        max-height: 38px;
    }

    .mobile-language-btn {
        font-size: 11px;
        padding: 3px 8px;
    }

    .mobile-book-btn {
        font-size: 1rem;
    }

    .mobile-nav-controls {
        gap: 8px;
    }

    .mobile-contact-items a {
        font-size: 13px;
    }

    .mobile-cta-full {
        font-size: 15px;
        padding: 12px 16px;
    }

    .fp-header .nav-link {
        font-size: 14px;
        padding: 10px 14px;
    }
}