/* ==========================================================================
   1. GLOBAL STYLES & TYPOGRAPHY
   Standardizes the core look, feel, and professional font settings.
   ========================================================================== */

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    /* Forces scrollbar to prevent layout jumping on page changes */
    overflow-y: scroll !important;
}

body {
    /* Professional modern font for travel & luxury brands */
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8faf9;
    color: #2d3436;
    line-height: 1.6;
}

/* Fix for Bootstrap Modals shifting content */
body.modal-open {
    padding-right: 0 !important;
}

/* Custom Success Color Accents */
.text-success-custom {
    color: #17cf6d !important;
}

.bg-success-custom {
    background-color: #17cf6d !important;
}

/* ==========================================================================
   2. NAVIGATION
   Matches the deep dark theme for a premium feel.
   ========================================================================== */

.navbar {
    background-color: #102216 !important;
    padding: 0.8rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   3. PACKAGE HERO SECTION
   Handles the main header image for travel packages.
   ========================================================================== */

.package-hero {
    /* Gradient overlay ensures white text is readable against any image */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%),
        url('../images/ruwanwalimahaseya.jpg') no-repeat;
    background-size: cover !important;
    background-position: center;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    color: white;
    padding-bottom: 7rem;
}

/* ==========================================================================
   4. PACKAGE DETAILS (Stats & Itinerary)
   Components specific to package description pages.
   ========================================================================== */

/* Stats Bar Overlay - Sits on the edge of the Hero */
.stats-overlay {
    background: white;
    border-radius: 1rem;
    margin-top: -50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.stat-divider {
    border-right: 1px solid #f1f1f1;
}

/* Itinerary Timeline - Dashed vertical line */
.itinerary-line {
    border-left: 2px dashed rgba(23, 207, 109, 0.3);
    margin-left: 1rem;
    padding-left: 2rem;
    position: relative;
}

/* Timeline Day Marker - The small green circle */
.day-marker {
    width: 14px;
    height: 14px;
    background: #17cf6d;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    left: -31px;
    top: 5px;
    box-shadow: 0 0 0 4px rgba(23, 207, 109, 0.1);
}

/* ==========================================================================
   5. INTERACTIVE EFFECTS & FOOTER
   General animations and footer standardization.
   ========================================================================== */

/* Subtle Lift Animation for cards or images */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(23, 207, 109, 0.2) !important;
}

.footer-logo {
    max-height: 120px;
    width: auto;
}
/* Darkening text colors to pass WCAG Contrast accessibility */
        .text-muted { color: #595959 !important; } 
        .small.text-muted { color: #505050 !important; }
        .text-white-50 { color: rgba(255, 255, 255, 0.85) !important; }
        .bg-dark { background-color: #1a1a1a !important; }
        .lead.opacity-90 { opacity: 1 !important; color: #ffffff; }
        /* Ensuring success green has enough contrast against white */
        .text-success-custom { color: #147146 !important; }
        .bg-success-custom { background-color: #147146 !important; }

/* END OF THE FILE */