/* ======================= HEADER STYLES ======================= */

/* Base styles and variables */
:root {
    --primary-blue: #0d47a1;
    --secondary-blue: #1e88e5;
    --text-dark: #fffcfc;
    --text-light: #fff;
    --border-light: #e0e0e0;
    --font-family: "Garamond";
    --transition-standard: 0.3s ease;
}

body {
    margin: 0;
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--text-dark);
}

/* Header Anchor */
header {
    position: relative;
}

/* -------------------- Top Bar -------------------- */
.top-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 5%;
    font-size: 0.85rem;
    color: #555;
    border-bottom: 1px solid var(--border-light);
    gap: 20px;
}

@media (min-width: 992px) {
    .top-bar {
        justify-content: space-between;
    }

}

.top-bar span:first-child,
.top-bar span:nth-child(2), 
.top-bar span:nth-child(3) {
    font-size: .7rem;
    margin-right: 15px;
}

.top-bar span:last-child {
    margin-left: auto;
    color: var(--primary-blue);
    font-weight: 500;
}

.top-bar a {
    color: #555;
    transition: color var(--transition-standard);
}

.top-bar a:hover {
    color: var(--primary-blue);
}

/* -------------------- Main Navigation -------------------- */
.main-nav {
    padding: 15px 5%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: baseline;
    font-family: var(--font-family);
    text-decoration: none;
    line-height: 1;
}

.logo img {
    height: 35px;
    width: auto;
}

/* Navigation Menu */
.nav-menu {
    font-family: var(--font-family);
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}

.nav-menu li {
    padding: 0 15px;
}

.nav-menu a {
    font-weight: 500;
    padding: 5px 0;
    display: block;
    position: relative;
    color: #302f2f;
    transition: color var(--transition-standard);
}

/* Underline effect on hover */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width var(--transition-standard);
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary-blue);
    outline: none;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

/* Navigation CTA Buttons */
.nav-cta-buttons {
    display: flex;
    gap: 10px;
}

.btn-nav-call,
.btn-nav-book {
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 15px;
    border-radius: 6px;
    font-weight: 500;
    min-width: 120px;
    transition: all var(--transition-standard);
}

/* Call Button */
.btn-nav-call {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-nav-call:hover,
.btn-nav-call:focus {
    background-color: var(--primary-blue);
    color: white;
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.nav-cta-buttons .icon {
    color: var(--secondary-blue);
    margin-right: 10px;
    font-size: 1.1rem;
    min-width: 20px;
}

.nav-cta-buttons .icon-2 {
    color: var(--border-light);
    margin-right: 10px;
    font-size: 1.1rem;
    min-width: 20px;
}


.nav-cta-buttons .icon:hover,
.nav-cta-buttons a:hover,
.nav-cta-buttons a:focus {
    color: white;
    outline: 2px solid var(--footer-accent);
    outline-offset: 2px;
}



/* Book Now Button */
.btn-nav-book {
    border: 2px solid var(--primary-blue);
    color: white;
    background-color: var(--primary-blue);
}

.btn-nav-book:hover,
.btn-nav-book:focus {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}


/* --- Floating Mobile CTA Bar --- */
.mobile-cta-bar {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 95%;
    padding: 10px 15px;
    background-color: white; /* White background */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure it stays above all content */
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Ensure buttons inside the fixed bar fill the space evenly */
.mobile-cta-bar .btn-nav-call,
.mobile-cta-bar .btn-nav-book {
    flex-grow: 1; /* Makes them share the available width */
    margin: 0; /* Remove any previous margin */
}

/* -------------------- Desktop Styles (>= 992px) -------------------- */
@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-grow: 1;
        justify-content: center;
        position: static;
    }
}

/* -------------------- Mobile Styles (< 992px) -------------------- */
@media (max-width: 991px) {
    .nav-toggle {
        display: block;
        background: none;
        border: 2px solid transparent;
        font-size: 1.5rem;
        cursor: pointer;
        order: 3;
        margin-left: 20px;
        padding: 5px;
        transition: border-color var(--transition-standard);
    }

    .nav-toggle:focus {
        border-color: var(--primary-blue);
        outline: none;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        color:#302f2f ;
        background-color: White;
        border-top: 1px solid var(--border-light);
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 100;
        flex-direction: column;
        text-align: center;
    }

    .nav-menu.mobile-active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-light);
        padding: 10px 0;
    }

    .nav-menu a {
        color:#302f2f ;
        padding: 10px;
    }

    .nav-cta-buttons {
        display: none;
    }

    /* Show the new floating bar on mobile screens */
    .mobile-cta-bar {
        display: flex; 
    }
    
    /* IMPORTANT: You might need to add padding to the bottom of the body or main container 
       so content isn't hidden behind the fixed bar */
    body {
        padding-bottom: 70px; /* Adjust height based on your button bar height */
    }

    .nav-container {
        flex-wrap: nowrap;
    }
}


/* Hide the floating bar on desktop */
@media (min-width: 992px) {
    .mobile-cta-bar {
        display: none !important;
    }
}

/* -------------------- Reduced Motion -------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}