

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-color-one: #0DBDAD;
    --orange-color-one: #F7921E;
    --dark-green-one: #023442;
    --white-color-one: #FFFFFF;
    --light-green-one: #EFF6EC;
    --light-grey-one: #d9d9d9;
    --spacing-large: 2rem;
}

/*header*/
h1, h2{
    font-family: "Raleway", sans-serif;
}

h3, h4, h5, h6, li {
    font-family: "Raleway", sans-serif;
}

p, label, a {
    font-family: "Outfit", sans-serif;
}

/* Font Sizes */

h1 {
    font-size: clamp(1.7rem, 1.199rem + 3.209vw, 2.4rem);;
}
h2 {
    font-size: clamp(1.5rem, 1.07rem + 2.751vw, 2.1rem)
}

h3 {
    font-size: clamp(1.3rem, 0.942rem + 2.292vw, 1.8rem)
}

h4 {
    font-size: clamp(1rem, 0.642rem + 2.292vw, 1.5rem);
}

li, a, p, h6 {
    font-size: clamp(1rem, 0.8rem + 1vw, 1.2rem);
}

p, select optgroup, select, form label{
    font-weight: 300;
}


h6 {
    font-weight: 500;
}

body h2, body h3, footer h4, footer h6 {
    color: var(--dark-green-one);
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

a {
    text-decoration: none;
}

/*header*/

/*header*/
header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    position: absolute;
    z-index: 200;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 5rem;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.logo-box img {
    width: 7rem;
    margin-left: 1rem;
}

/* Hide the actual checkbox */
#menu-toggle {
    display: none;
}

/* Hamburger menu icon styling */
.menu-icon {
    cursor: pointer;
    display: inline-block;
    padding: 1rem;
}

.menu-icon .line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

/* Mobile menu styling */
.menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.menu li {
    list-style: none;
    padding: 10px 0;
}

.menu li a {
    color: white;
    text-decoration: none;
}

.menu li a:hover {
    color: orange;
    background-color: var(--dark-green-one);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* Show menu when checkbox is checked */
#menu-toggle:checked + .menu-icon + .menu {
    display: flex;
}

/*hero section*/

.hero {
    position: relative;
    background-image: url("images/traveller-background.png");
    justify-content: flex-start;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 30vh;
    padding-bottom: 30vh;
}

.hero-title h1 {
    color: var(--white-color-one);
    display: inline-block;
    width: 60vw;
    text-align: center;
    text-shadow: 1px 1px 1px white;
    z-index: 2;
}

.hero-title h1 span {
    color: var(--white-color-one);
    text-shadow: 1px 1px 1px var(--orange-color-one);
    z-index: 2;
}

.hero-title h2  {
    color: var(--orange-color-one);
    text-shadow: 1px 1px 1px orangered;
    z-index: 2;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}



/*Start your journey section*/



.sub-hero {
    padding: var(--spacing-large);
    background-color: var(--light-green-one);
    margin-bottom: 3rem;
}
.travel-expert {
    text-align: center;
    padding: var(--spacing-large);
    gap: 1rem;
}

.travel-expert p {
    width: 90%;
}

.travel-expert a, .choices-div a {
    text-decoration: none;
    color: var(--white-color-one);
    z-index: 10;
}

.button-design {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.8rem;
    border-radius: 5px;
    background: var(--green-color-one);
}

.choices {
    gap: var(--spacing-large);
}

.choices-div {
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 2rem;
}

.choices-button {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.4rem;
    background: var(--orange-color-one);
}



.month {
    text-align: center;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.hover-text h4 {
    text-align: center;
    color: var(--orange-color-one);
}

.hover-text p {
    color: var(--white-color-one);
}

.month:hover .hover-text {
    opacity: 1; /* Reveal the text on hover */
}

.month img {
    width: 100%;
    height: auto;
}

.book-now {
    padding: 6rem;
    gap: 3rem;
    background-color: var(--dark-green-one);
    text-align: center;
}

.book-now h2 {
    color: var(--orange-color-one);
}

.book-now a {
    color: var(--white-color-one);
}



/*footer section*/
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;

}

/*accreditation*/

.accreditation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto auto;
    gap: 20px;
    width: 100%;
    padding: var(--spacing-large);
    justify-content: center;
    align-items: center;
    background-color: var(--light-green-one);
}

.right-div {
    margin-left: 0;
    text-align: left;
}

.left-div {
    margin-right: 0;
    text-align: right;
}

.accreditation img {
    width: 25vw;
}

/*more information*/
.company-info {
    padding: var(--spacing-large);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr 1fr;
    gap: 2rem;
}

.footer-a-tag {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

footer, .company-info, .address, .disclaimer {
    background-color: var(--light-grey-one);
}

.company-info h4 {
    color: var(--orange-color-one);
}

.more-info, .services {
    justify-self: stretch;
    margin-left: 3rem;
}

.address, .disclaimer, .copyright-div{
    padding: var(--spacing-large);
    text-align: center;
}

.copyright-div {
    background-color: black;
    width: 100%;
}

.copyright-div h4 {
    color: var(--white-color-one);
}

.payment-list {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-options div img {
    width: 50px;
}

/* Medium devices (tablets, 600px to 899px) */
@media (min-width: 600px) and (max-width: 899px) {
    /* Styles for medium screens */
    h1 {
        font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    }

    h2 {
        font-size: clamp(1.6rem, 0.195rem + 3.746vw, 2.3rem);
    }

    h3 {
        font-size: clamp(1.5rem, 0.497rem + 2.676vw, 2rem);
    }

    h4 {
        font-size: clamp(1.1rem, 0.097rem + 2.676vw, 1.6rem);
    }

}

/* Large devices (desktops, 900px to 1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
    /* Styles for large screens */
    h1 {
        font-size: clamp(2.3rem, -0.409rem + 4.816vw, 3.2rem);
    }

    li, a {
        font-size: clamp(1.2rem, 1rem + 0.9vw, 1.4rem);
    }

    h2 {
        font-size: clamp(1.8rem, -1.06rem + 5.084vw, 2.75rem);
    }

    h4 {
        font-size: clamp(1.1rem, -0.104rem + 2.14vw, 1.5rem);
    }

    /*navigation menu */
    .nav-bar {
        flex-direction: row;
        justify-content: space-between;
        padding: var(--spacing-large);
    }

    .menu {
        display: flex;
        position: static;
        flex-direction: row;
        justify-content: space-around;
        width: auto;
        gap: 1.5rem;
        background-color: transparent;
    }

    .menu li {
        padding: 0.5rem;
    }

    .menu-icon {
        display: none;
    }


}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Styles for extra-large screens */
    h1 {
        font-size: clamp(2.5rem, 0.625rem + 2.5vw, 3.75rem);
    }

    li, a {
        font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
    }

    h2 {
        font-size: clamp(2rem, 0.5rem + 2vw, 3rem);
    }

    h4 {
        font-size: clamp(1.2rem, 0.6rem + 0.8vw, 1.6rem);
    }

    /*navigation menu*/
    .nav-bar {
        flex-direction: row;
        justify-content: space-between;
        padding: var(--spacing-large);
    }

    .menu {
        display: flex;
        position: static;
        flex-direction: row;
        justify-content: space-around;
        width: auto;
        gap: 1.5rem;
        background-color: transparent;
    }

    .menu li {
        padding: 0.5rem;
    }

    .menu-icon {
        display: none;
    }


    /*main*/
    .travel-expert p {
        width: 60%;
    }


    /*footer    */
    .accreditation {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        padding: 4rem;

    }

    .left-div, .right-div {
        text-align: center;
        flex: 1;
    }

    .accreditation img {
        width: auto;
        height: 3rem;
    }

    /*    footer*/
    .company-info {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4rem;
        padding: 1rem;
    }

    .services, .more-info {
        margin-left: 0;
    }

    .info-box {
        padding: var(--spacing-large);
    }

    .disclaimer {
        margin: 0 6rem;
    }

    .start-your-journey {
        padding: 4rem;
    }


    .item1 { grid-area: item1; }
    .item2 { grid-area: item2; }
    .item3 { grid-area: item3; }
    .item4 { grid-area: item4; }
    .item5 { grid-area: item5; }

    .traveller-grid-staggered {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(4, auto);
        gap: 20px;
        padding: 20px;
        grid-template-areas:
        'item1 item1 item2 item2 item3 item3'
        'item1 item1 item2 item2 item3 item3'
        'item4 item4 item4 item5 item5 item5'
        'item4 item4 item4 item5 item5 item5'

    }
}


