/* SETTING VARIABLES FOR COLOR AND  OTHER STUFF */

:root {
    --primary: #005294;
    --secondary: #333;
    --white: #fff;
    --muted: #878080;
    --yellow: #f5a21f;
}

/*  Creating main headers and  color to use in the home page */

.header1 {
    font-size: 34px;
    font-weight: bold;
    line-height: 120%;
}

.header2 {
    font-size: 28px;
    font-weight: 500;
}

.header3 {
    font-size: 18px;
    font-weight: 500;
}

.tc-primary {
    color: var(--primary);
}

.tc-danger {
    color: var(--yellow);
}

.tc-secondary {
    color: var(--secondary);
}

.tc-white {
    color: var(--white);
}

.tc-muted {
    color: var(--muted);
}

.bg-accent {
    background-color: var(--primary) !important;
}

.radius-circle {
    border-radius: 100px;
}

.radius-lg {
    border-radius: 20px;
}

.radius-md {
    border-radius: 14px;
}

.radius-sm {
    border-radius: 8px;
}

/* -------------------------------------------- */

/*  CUSTOM CSS */

.selectize-input {
    font-size: 14px;
}

/* Custom buttons  */

.primary-btn {
    border-radius: 100px;
    padding: 0.8rem 2rem;
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.ghost-btn {
    border-radius: 100px;
    padding: 0.8rem 2rem;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: 0.2s ease-in-out;
}

.ghost-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.ghost-white-btn {
    border-radius: 100px;
    padding: 0.8rem 2rem;
    color: var(--white) !important;
    border: 2px solid var(--white);
    transition: 0.2s ease-in-out;
}

.ghost-white-btn:hover {
    background-color: var(--white) !important;
    color: var(--primary) !important;
    border-color: var(--white);
}

.primary-btn:hover {
    background-color: #014379;
}

.yellow-btn {
    border-radius: 100px;
    padding: 0.7rem 2rem;
    font-weight: 600;
    color: var(--secondary);
    background-color: var(--yellow);
    border-color: var(--yellow);
}

.yellow-btn:hover {
    text-decoration: underline;
}

/* ------------------------------- */

/* landing form wrapper */

.landing-form .form-wrapper {
    border-radius: 10px;
    box-shadow: 0 0 10px #005294;
    padding: 2rem 3rem;
}

/* .landing-form .form-wrapper form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
} */

/* ------------------------------------- */

/* landing form input and other element lables and selects */

.landing-form .form-wrapper form .form-container label {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: var(--primary);
}

.landing-form .form-wrapper form .form-container input {
    border: none;
    border-bottom: 2px solid var(--muted);
    padding: 0 0;
    transition: 0.3s ease-in-out;
}

.landing-form .form-wrapper form .form-container svg {
    width: 16px;
    position: absolute;
    fill: #f5a21f;
    z-index: 2;
}

.landing-form .form-wrapper form .form-container i {
    font-size: 16px;
    position: absolute;
    color: #f5a21f;
    z-index: 2;
}

.landing-form .form-wrapper form .form-container select.selectize {
    border: none;
    border-bottom: 2px solid var(--muted);
    padding: 0 0;
    transition: 0.3s ease-in-out;
}

.landing-form .form-wrapper form .form-container input:hover {
    border-color: var(--secondary);
}

.landing-form .form-wrapper form .form-container input:focus {
    border-color: var(--primary);
}

/* -------------------------------------- */

/* chronics links */

section.chroniclinks .chronic {
    overflow: hidden;
    filter: brightness(1);
    transition: 0.3s ease-in-out;
}

section.chroniclinks .chronic:hover {
    filter: brightness(1.2);
}

section.chroniclinks .chronic img {
    border-radius: 15px;
}

/* ------------------------------------ */

/*  CSS form passengers drop down in home page landing form*/

#passengers {
    position: relative;
    display: inline-block;
}

#passengers #p-input {
    background: transparent;
    cursor: pointer;
}

#passengers i {
    position: absolute;
    right: 5px;
}

#passengers #passenger-drp {
    position: absolute;
    right: 0;
    z-index: 999;
    background-color: var(--white);
    border: 0.5px solid rgb(190, 190, 190);
    border-radius: 10px;
    width: fit-content;
}

#passengers #passenger-drp .counter-box {
    display: grid;
    grid-template-columns: 100px 120px;
    padding: 5px 1rem;
    align-items: center;
    border-bottom: 1px solid #eee;
}

#passengers #passenger-drp .counter-box h6 {
    display: flex;
    justify-content: left;
    margin: 0;
}

#passengers #passenger-drp .counter-box .input-div {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#passengers #passenger-drp .counter-box .input-div input {
    border: 0.5px solid #eeee;
    height: 35px;
    width: 35px;
    text-align: center;
    border-radius: 100px;
}

#passengers #passenger-drp #drp-done {
    margin: 5px;
}

/* -------------------------------------------------- */

/* home page image grid */

.top-destinations .image-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: start;
}

.top-destinations .image-container.second {
    justify-content: end;
    margin-top: 2rem;
}

.top-destinations .image-grid {
    display: flex;
    width: 200%;
    justify-content: start;
    transition: transform 0.5s ease-out;
}

.top-destinations .image-grid:nth-child(1) {
    justify-content: start;
}

.top-destinations .image-grid .image {
    position: relative;
    width: 384px;
    height: 216px;
    overflow: hidden;
    margin-right: 3rem;
    border-radius: 12px;
}

.top-destinations .image-grid .image label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    font-weight: 600;
    font-size: 18px;
    color: var(--secondary);
    background-color: rgba(240, 248, 255, 0.8);
    padding: 5px 10px;
    border-radius: 12px;
}

.top-destinations .image-grid .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Maintain aspect ratio and cover the container */
    filter: brightness(0.9);
    transition: transform 0.3s ease-out, filter 0.3s ease-out;
    /* Add smooth transitions for zoom and color effects */
}

.top-destinations .image-grid .image:hover img {
    transform: scale(1.1);
    /* Zoom in the image on hover */
    filter: brightness(1.2);
    /* Adjust brightness for color enhancement */
    transition: transform 0.3s ease-in;
    /* Smooth transition on hover-out */
}

/* Mobile hompage image grid */

.top-destination-mobile .container .image-mobile {
    width: 100%;
    /* Set the width of the container */
    position: relative;
    /* Position relative for absolute positioning of img */
    overflow: hidden;
}

.top-destination-mobile .image-mobile label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
    background-color: rgba(240, 248, 255, 0.584);
    padding: 4px 8px;
    border-radius: 8px;
}

.top-destination-mobile .container .image-mobile img {
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    object-position: left;
    border-radius: 10px;
}

/* -------------------------------------------- */

/* select size dropdown */

.selectize-control {
    border-bottom: 2px solid var(--muted);
    display: flex;
}

.selectize-control.single .selectize-input {
    border: none;
    padding: 2.2px 0;
    padding-left: 30px;
    border-radius: 0;
}

.selectize-control.single .selectize-input:focus {
    border-color: var(--primary);
}

.selectize-control.single .selectize-input {
    box-shadow: none;
    background: transparent;
}

/* -------------------------------------------- */

/* for flatpicker [date picker] */

.flatpickr-day.selected {
    background-color: var(--primary);
    border: none;
}

/* ---------------------------------------- */

section.hero {
    padding: 0;
}

.landing-form {
    position: relative;
}

.landing-form .container {
    position: absolute;
    z-index: 999;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
}

.landing-form .container .form-wrapper {
    background-color: white;
}

/* for smaller devides */

@media (max-width: 1000px) {
    .container-fluid.herobg {
        background-image: none !important;
        background-color: white;
    }
    .landing-form {
        position: unset;
    }
    .landing-form .container {
        position: unset;
        top: 0;
        left: 0;
        transform: none;
    }
    /* For smaller screens, make each field take full width */
    .landing-form .form-wrapper form {
        grid-template-columns: 1fr;
    }
    .landing-form .form-wrapper {
        border-radius: 0px;
        padding: 1rem 2rem;
        color: var(--white);
    }
}