/* ===== GLOBAL ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: #1a1a2e;
    color: #ccc;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar span { color: #ccc; }
.top-bar i { color: #f0a500; margin-right: 5px; }

/* ===== NAVBAR ===== */
#mainNav {
    background-color: #1a1a2e;
    padding: 10px 0;
    transition: all 0.3s ease;
}
#mainNav.scrolled {
    background-color: #0d0d1a;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar-brand img { transition: all 0.3s; }
.nav-link {
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px !important;
    transition: color 0.3s;
}
.nav-link:hover { color: #f0a500 !important; }
.dropdown-menu {
    background-color: #1a1a2e;
    border: none;
    border-top: 3px solid #f0a500;
    border-radius: 0;
}
.dropdown-item {
    color: #ccc;
    font-size: 13px;
    padding: 8px 20px;
}
.dropdown-item:hover {
    background-color: #f0a500;
    color: #fff;
}

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; }
.hero-slider .carousel-item img {
    height: 600px;
    object-fit: cover;
    filter: brightness(0.65);
}
.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 100%;
}
.hero-caption h1 {
    font-size: 52px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.hero-caption p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
}
.section-title h2 span { color: #f0a500; }
.section-title p { color: #777; font-size: 15px; }
.title-underline {
    width: 60px;
    height: 4px;
    background: #f0a500;
    margin: 10px auto 15px;
    border-radius: 2px;
}

/* ===== DESTINATION CARDS ===== */
.destination-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.destination-card:hover { transform: translateY(-8px); }
.destination-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.destination-card:hover img { transform: scale(1.08); }
.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    padding: 20px 15px 15px;
}
.destination-overlay h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* ===== PACKAGE CARDS ===== */
.package-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.package-card img {
    height: 200px;
    object-fit: cover;
}
.package-card .badge-deal {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.package-card .card-body { padding: 20px; }
.package-card .price {
    color: #f0a500;
    font-size: 22px;
    font-weight: 700;
}
.package-card .price-old {
    color: #aaa;
    text-decoration: line-through;
    font-size: 14px;
}
.package-card .duration {
    color: #777;
    font-size: 13px;
}
.btn-book {
    background-color: #f0a500;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 8px 25px;
    font-weight: 600;
    transition: background 0.3s;
}
.btn-book:hover { background-color: #d4920a; color: #fff; }

/* ===== INQUIRY FORM ===== */
.inquiry-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 60px 0;
}
.inquiry-form {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.inquiry-form h3 {
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 25px;
}
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 14px;
}
.form-control:focus, .form-select:focus {
    border-color: #f0a500;
    box-shadow: 0 0 0 0.2rem rgba(240,165,0,0.15);
}
.btn-submit {
    background: linear-gradient(135deg, #f0a500, #d4920a);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240,165,0,0.4);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1a1a2e;
    color: #ccc;
}
.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s;
}
.footer-links a:hover { color: #f0a500; }
.social-links a {
    color: #aaa;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s;
}
.social-links a:hover { color: #f0a500; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-slider .carousel-item img { height: 350px; }
    .hero-caption h1 { font-size: 28px; }
    .hero-caption p { font-size: 14px; }
}
/* ===== DESTINATION PLACEHOLDER ===== */
.destination-card img[alt] {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== TRIP TYPE CARD ===== */
.trip-type-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
}
.trip-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    background: #1a1a2e;
}
.trip-type-card:hover h6 { color: #f0a500 !important; }
.trip-type-card:hover i { color: #fff !important; }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 60px 0 40px;
}
.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}
.breadcrumb-item a { color: #f0a500; text-decoration: none; }
.breadcrumb-item.active { color: #ccc; }
.breadcrumb-item + .breadcrumb-item::before { color: #ccc; }

/* Custom CSS for Package Detail Page Beautification */

/* Main card rounded corners */
.card-body.p-lg-5 {
    border-radius: 0 0 20px 20px;
}

/* Base font styles */
.fs-7 { font-size: 0.85rem; }

/* Accordion Specific Styling to match reference images 
   - Left vertical highlight bar
   - Shadow/boxed look
*/

/* 1. Base styles for both itineraries and accommodation accordions */
.itinerary-accordion, .accommodation-accordion {
    --bs-accordion-bg: #fff;
    --bs-accordion-border-color: #eee;
    --bs-accordion-border-radius: 10px;
    --bs-accordion-inner-border-radius: 10px;
    --bs-accordion-border-width: 1px;
    --bs-accordion-btn-color: #333;
    --bs-accordion-btn-bg: #fff;
    --bs-accordion-active-color: #333;
    --bs-accordion-active-bg: #fff; /* White bg for expanded state too */
    --bs-accordion-btn-focus-border-color: rgba(26, 26, 46, 0.2); /* Navy focus */
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(26, 26, 46, 0.05);
    
    border: 1px solid #eee; /* Outer border */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Soft shadow */
    border-radius: 10px !important; /* Force radius on entire list */
    overflow: hidden; /* Hide item corners */
}

/* 2. Styles for the accordion heading button */
.accordion-button.itinerary-heading, .accordion-button.stay-heading {
    position: relative;
    box-shadow: none !important; /* Remove default focus shadow */
    transition: background-color 0.3s ease;
}

/* 3. The important highlight bar from reference - making it Gold #f0a500 */
.accordion-button.itinerary-heading::before, .accordion-button.stay-heading::before {
    content: '';
    position: absolute;
    top: 10%; /* Vertically centers slightly */
    bottom: 10%;
    left: -1px; /* Align precisely with the left edge of the border */
    width: 6px; /* Highlight width */
    background-color: #f0a500; /* Gold brand color */
    border-radius: 3px; /* Slightly rounded ends */
    opacity: 0; /* Hidden when collapsed */
    transition: opacity 0.3s ease;
}

/* 4. Show the highlight bar when expanded */
.accordion-button:not(.collapsed).itinerary-heading::before,
.accordion-button:not(.collapsed).stay-heading::before {
    opacity: 1; /* Show the line */
}

/* 5. Subtle hover effect on the heading */
.accordion-button:hover.itinerary-heading, .accordion-button:hover.stay-heading {
    background-color: rgba(240, 165, 0, 0.03); /* V subtle gold wash */
    color: #1a1a2e; /* Force Navy text color */
}

/* 6. Text color on focus (accessibility) */
.accordion-button:focus.itinerary-heading, .accordion-button:focus.stay-heading {
    color: #1a1a2e;
}

/* 7. Separator between accordion items */
.itinerary-accordion .accordion-item, .accommodation-accordion .accordion-item {
    border-bottom: 1px solid #eee;
}

.itinerary-accordion .accordion-item:last-child, .accommodation-accordion .accordion-item:last-child {
    border-bottom: none; /* No line on last item */
}

/* Pointer list styling within Itinerary Accordion Body */
.itinerary-details li {
    line-height: 1.6;
    align-items: flex-start; /* Ensures bi-check2-circle doesn't shift on long lines */
}

/* Sidebar Button Specifics - Navy/Gold/White brand */
.btn-gold {
    background-color: #f0a500;
    color: white;
    border: 2px solid #f0a500;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: transparent;
    color: #f0a500 !important;
}

.btn-navy {
    background-color: #1a1a2e;
    color: #f0a500;
    border: 2px solid #1a1a2e;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: transparent;
    color: #1a1a2e !important;
}

/* Card wrapper for the final buttons row */
.col-6 .btn {
    border-radius: 8px; /* Slightly softer corners for these buttons */
}

/* Hot Deals Dropdown Styling */
.navbar .dropdown-menu .dropdown-item.no-deals {
    color: #fff !important; /* Brand Navy */
    font-weight: 600;
    text-align: center;
    padding: 10px;
    background-color: #1a1a2e; /* Brand Gold */
}

.navbar .dropdown-menu .dropdown-item.no-deals:hover {
    background-color: #1a1a2e; /* Keep it gold on hover since it's just a label */
    cursor: default;
}
.trip-type-card:hover {
    background: rgba(240, 165, 0, 0.15) !important;
    border-color: #f0a500 !important;
    transform: translateY(-4px);
}