/* ========== VARIABLES ========== */
:root {
    --header-height: 90px;
    --top-bar-height: 40px;
    --primary-color: #0e3d82;
    --secondary-color: #f8f9fa;
    --accent-color: #ffc107;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 2px 15px #f2f2f2;
    --shadow-md: 0 5px 20px #e6e6e6;
    --transition: all 0.3s ease;
}

/* ========== TOP INFO BAR ========== */
.top-info-bar {
    background: linear-gradient(90deg, #0b3168 0%, #0e3d82 50%, #1a4b90 100%);
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.top-info-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.top-info-bar a:hover {
    color: var(--accent-color);
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 14px;
    background: #0e3d82;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(14,61,130,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1rem;
}

.info-item a {
    color: #ffffff;
    font-weight: 600;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(14,61,130,0.22);
    background: #0b3168;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a4b90;
    border-radius: 50%;
    transition: var(--transition);
    margin-right: 8px;
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* ========== MAIN NAVBAR ========== */
.navbar-main {
    background: var(--white);
    padding: 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--transition);
    height: var(--header-height);
    display: flex;
    align-items: center;
    animation: slideDown 0.8s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-brand img {
    height: 64px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ========== NAVIGATION LINKS ========== */
.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    border-radius: 5px;
    text-decoration: none !important;
}

/* Remove underline effect from style.css */
.nav-link::after {
    display: none !important;
    content: none !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: #f0f4f8;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 10px;
    margin-top: 15px;
    animation: slideUp 0.3s ease forwards;
    display: block;
    /* opacity: 0; removed */
    visibility: hidden;
    transform: translateY(10px);
    background: white;
}

.nav-item.dropdown:hover .dropdown-menu {
    /* opacity: 1; removed */
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: #f0f4f8;
    color: var(--primary-color);
    padding-left: 20px;
}

@keyframes slideUp {
    from { transform: translateY(10px); }
    to { transform: translateY(0); }
}

/* ========== ACTION BUTTONS ========== */
.btn-enquiry, .btn-booking {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(14,61,130,0.15);
}

.btn-enquiry {
    color: var(--primary-color);
    background: transparent;
    border: 1px solid var(--primary-color);
}

.btn-enquiry:hover {
    background: var(--primary-color);
    color: white;
}

.btn-booking {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    margin-left: 10px;
}

.btn-booking:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

/* ========== MOBILE SIDEBAR ========== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1050;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 15px #e6e6e6;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1040;
    display: none;
    transition: 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #0b3168 0%, #0e3d82 100%);
    color: #ffffff;
}

.mobile-logo img {
    height: 55px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-menu:hover {
    background: #f8f9fa;
    color: var(--danger);
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav-item {
    margin-bottom: 5px;
    border-bottom: 1px solid #f8f9fa;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: #f0f4f8;
    color: var(--primary-color);
}

.mobile-nav-link i {
    width: 25px;
    color: var(--primary-color);
}

.mobile-submenu {
    padding-left: 40px;
    display: none;
    background: #fcfcfc;
    border-radius: 8px;
    margin-bottom: 10px;
}

.mobile-submenu.show {
    display: block;
}

.mobile-submenu .mobile-nav-link {
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.mobile-submenu .mobile-nav-link:hover {
    color: var(--primary-color);
    background: none;
    padding-left: 5px;
}

/* Mobile Action Buttons Styling */
.btn-mobile-enquiry {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    margin-bottom: 10px;
    justify-content: center;
}

.btn-mobile-enquiry:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-mobile-enquiry i {
    color: inherit;
}

.btn-mobile-booking {
    background-color: var(--primary-color);
    color: var(--white);
    justify-content: center;
}

.btn-mobile-booking:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-mobile-booking i {
    color: inherit;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .navbar-main {
        height: 70px;
    }
    
    .navbar-brand img {
        height: 50px;
        width: auto;
    }

    .navbar-collapse {
        display: none; /* Hide default collapse, use sidebar */
    }
    
    /* Show top bar on mobile but styled for compact view */
    .top-info-bar {
        display: block;
        padding: 8px 0;
    }

    .top-info-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 5px;
    }
    
    .info-item {
        justify-content: center;
        margin-right: 10px;
        font-size: 0.85rem;
    }
    
    /* Hide email and social icons on mobile to focus on Call/Enquiry/Booking */
    .info-item:nth-child(2), /* Email */
    .social-icon {
        display: none !important;
    }

    .top-buttons {
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .btn-enquiry, .btn-booking {
        padding: 8px 16px;
        font-size: 0.8rem;
        border-radius: 999px;
        box-shadow: 0 4px 10px rgba(14,61,130,0.15);
    }

    body {
        padding-bottom: 72px;
    }
}

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    display: none;
    padding: 10px 14px;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -8px 20px rgba(0,0,0,0.08);
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(14,61,130,0.15);
    padding: 0 16px;
}

.cta-call {
    background: linear-gradient(135deg, #1ebe5b 0%, #25D366 100%);
    color: #ffffff;
}

.cta-enquiry {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.cta-booking {
    background: linear-gradient(135deg, #0b3168 0%, #0e3d82 100%);
    color: #ffffff;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(14,61,130,0.24);
}

.cta-btn::after {
    content: "";
    position: absolute;
    left: -30%;
    top: 0;
    width: 30%;
    height: 100%;
    background: rgba(255,255,255,0.35);
    transform: skewX(-20deg);
    transition: transform 0.5s ease;
}

.cta-btn:hover::after {
    transform: translateX(260%) skewX(-20deg);
}

@media (max-width: 991px) {
    .mobile-cta-bar {
        display: flex;
    }
}
