/* --- CSS VARIABLES (Brand Colors from Image) --- */
:root {
    --primary-dark: #0B2B5A; /* Deep Navy Blue */
    --primary-light: #e6ebf2;
    --accent: #C29B47;       /* Gold/Yellow from logo */
    --accent-hover: #a8853a;
    --text-dark: #333333;
    --text-light: #777777;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* --- GENERAL --- */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
}

.text-primary-dark { color: var(--primary-dark) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-accent { background-color: var(--accent) !important; }

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-dark);
    color: #fff;
    border: 2px solid var(--primary-dark);
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary-dark);
}
.btn-accent {
    background-color: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    font-weight: 500;
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

/* --- NAVIGATION --- */
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 1rem 1.2rem;
    transition: 0.3s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent);
}

/* Multi-level Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
}
.dropdown-item {
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    transition: 0.2s;
}
.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}
/* Submenu Logic */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -5px;
    display: none;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* --- HERO SECTION --- */
#heroCarousel {
    height: 100vh;
    min-height: 600px;
}
.overlay-dark {
    background: linear-gradient(to top, rgba(11, 43, 90, 0.8), rgba(0,0,0,0.3));
    padding-bottom: 5rem;
}
.tracking-wide { letter-spacing: 2px; }

/* --- SECTIONS --- */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.divider-custom {
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Destination Cards */
.dest-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}
.card-img-wrapper {
    height: 350px;
}
.card-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dest-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}
.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

/* Footer */
.footer-links a {
    transition: 0.3s;
}
.footer-links a:hover {
    color: var(--accent) !important;
    padding-left: 5px;
}
/* --- TIMELINE COMPONENT (About Page) --- */
.timeline {
    border-left: 2px dashed rgba(194, 155, 71, 0.4); /* Dashed accent color */
    margin-left: 12px;
}
.timeline-item {
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 24px;
    height: calc(100% + 3rem); /* Connect to next node */
    width: 2px;
    background: transparent;
}
.timeline-item:last-child::before {
    display: none;
}
.timeline-marker {
    z-index: 2;
    transition: all 0.3s ease;
}
.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    background-color: var(--primary-dark) !important;
}
/* --- GALLERY STYLES --- */
.portfolio-filters .btn {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}
.portfolio-filters .btn.active {
    background-color: var(--primary-dark);
    color: #fff;
}
.gallery-card {
    height: 250px;
}
.gallery-card img {
    transition: transform 0.5s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 43, 90, 0.7); /* Primary dark with opacity */
    opacity: 0;
    transition: all 0.3s ease;
}
.gallery-card:hover img {
    transform: scale(1.1);
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}
.gallery-zoom {
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.gallery-card:hover .gallery-zoom {
    transform: translateY(0);
}
.gallery-zoom:hover {
    background-color: var(--primary-dark) !important;
    color: var(--accent) !important;
}

/* Fix for input fields in contact form */
.form-control:focus, .form-select:focus {
    box-shadow: none;
    border: 1px solid var(--accent) !important;
}
/* --- LAYOUT & OVERLAP FIXES --- */

/* 1. Force Navbar to stay on top of all other sticky elements */
.navbar.sticky-top {
    z-index: 1040 !important; 
    background-color: #ffffff;
}

/* 2. Fix Sidebar Overlap: Only make it sticky on Desktop (large screens) */
.sticky-sidebar {
    position: static; /* Default for mobile */
}

@media (min-width: 992px) {
    .sticky-sidebar {
        position: sticky;
        top: 100px;
        z-index: 1020;
    }
}
/* --- GLIGHTBOX CUSTOM ZOOM & CLOSE BUTTONS --- */

/* Make the Close Button Large and Accent Colored */
.gclose {
    background-color: #d4af37 !important; /* Your Gold Accent Color */
    color: #0b2b5a !important; /* Your Primary Dark Color */
    opacity: 1 !important;
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    top: 25px !important;
    right: 25px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.gclose svg {
    width: 30px !important;
    height: 30px !important;
}

.gclose:hover {
    background-color: #ffffff !important;
    transform: scale(1.1);
}

/* Fix z-index just in case your nav bar is blocking it */
.glightbox-container {
    z-index: 999999 !important;
}