/* ==========================================================================
   1. CORE SETUP & TYPOGRAPHY
   ========================================================================== */

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    /* Prevents layout shift when modals open */
    overflow-y: scroll !important;
}

body {
    /* Professional modern font stack */
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8faf9;
    color: #2d3436;
    line-height: 1.6;
}

/* Fix for Bootstrap scrollbar padding on modals */
body.modal-open {
    padding-right: 0 !important;
}

/* Custom Success Utilities */
.text-success-custom {
    color: #17cf6d !important;
}

.bg-success-custom {
    background-color: #17cf6d !important;
}

/* ==========================================================================
   2. NAVIGATION
   ========================================================================== */

.navbar {
    background-color: #102216 !important;
    /* Deep dark forest theme */
    padding: 0.8rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   3. HERO & VISUAL LAYOUT
   ========================================================================== */

.package-hero {
    /* Gradient overlay ensures text readability over images */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%),
        url('../images/polonnaruwa.webp') 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 COMPONENTS (Stats & Timeline)
   ========================================================================== */

/* Stats Bar Overlay - Floating card style */
.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 - Vertical dashed guide */
.itinerary-line {
    border-left: 2px dashed #17cf6d50;
    margin-left: 1rem;
    padding-left: 2rem;
    position: relative;
    /* Context for day-marker positioning */
}

/* Individual Day Circle Marker */
.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. INTERACTION & FOOTER
   ========================================================================== */

/* Smooth hover animation for cards or buttons */
.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 */