@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --primary-color: #01bbbf;
    --primary-color-dark: #bb0811;
    --text-dark: #1d293d;
    --text-light: #62748e;
    --extra-light: #fafafa;
    --white: #ffffff;
    --max-width: 1200px;
    --header-font: 'Dancing Script', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section__subheader {
    margin-bottom: .5rem;
    font-size: 1.75rem;
    font-family: var(--header-font);
    color: var(--primary-color);
    text-align: center;
}

.section__hedaer {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}


.section__description {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.75rem;
    text-align: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-family: 'Roboto', serif;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 5rem;
    transition: .3s;
    cursor: pointer;
}
.btn:hover {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

img {
    display: flex;
    width: 100%;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

html,
body {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', serif;
}


.navigation {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
nav {
    position: sticky;
    isolation: isolate;
    width: 100%;
    z-index: 9;
}

.nav__header {
    padding: 1rem;
    /* width: 100%; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--extra-light);
}

.nav__heading {
    text-align: center;
}

.nav__logo a img {
    max-width: 100px;
}

.nav__menu__btn {
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.nav__links {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--extra-light);
    transition: transform 0.3s;
    z-index: -1;
}

.nav__links.open {
    transform: translateY(100%);
}

.nav__links .btn {
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--extra-light);
}



.about {
    background: var(--extra-light);
    overflow: hidden;
}

.about__container {
    display: grid;
    gap: 2rem;
}

.about__image {
    position: relative;
    isolation: isolate;
    max-width: 450px;
    margin-inline: auto;
}

.about__image img {
    border: 0.75rem solid var(--white);
    border-radius: .5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.about__image::before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
    transform: rotate(8deg);
    z-index: -1;
}

.about__content .section__header {
    margin-bottom: 1rem;

}

.about__content .section__header span {
    color: var(--primary-color)
}

.about__signature {
    margin-top: 2rem;
    font-weight: 600;
    font-size: 2rem;
    font-family: var(--header-font);
    color: var(--text-dark);
    text-align: center;
}



.trip {
    background-color: #1e834d
}
.trip .section__header {
    color: #fff;
    margin-bottom: 1.2rem;
}

.trip__content .section__description {
    color: #fff;
}

.trip__content .btn {
        color: #fff;
    background-color: #FF9800;
    border-color: #FF9800;
    border-radius: 2px;
}

.trip__btn {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.destination {
    background-color: var(--extra-light);
}

.section__header {
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}
.destination__grid {
    margin-block: 4rem 2rem;
    display: grid;
    gap: 1rem;
}

.destination__card {
    background-color: var(--white);
    transition: all 0.5s;
}

.destination__card:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.destination__card img {
    border-radius: .5rem;
}

.destination__card__content {
    padding: 1rem;
    padding-bottom: 2rem;
}

.destination__card__content h4 {
    position: relative;
    isolation: isolate;
    margin-block: -3rem .5rem;
    max-width: 250px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.75rem;
}

.destination__card__content h4::before {
    position: absolute;
    content: '';
    top: -1rem;
    left: -1rem;
    width: calc(100% + 2rem);
    height: calc(100% + 1rem);
    background-color: var(--white);
    z-index: -1;
    border-top-right-radius: 0.5rem;
}

.destination__card__content h4::after {
    position: absolute;
    content: '';
    top: 1rem;
    right: -2rem;
    width: 1rem;
    height: 1rem;
    background-color: transparent;
    z-index: -1;
    border-bottom-left-radius: .5rem;
    box-shadow: -0.25rem 0.25rem 0 0.25rem var(--white)
}

.destination__card__content h5 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.destination__card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.destination__card__footer h6 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
}

.destination__card__footer p {
    font-weight: 500;
    color: var(--primary-color);
}


.destination__btn {
    display: flex;
    justify-content: center;
}


.review__container {
    display: grid;
    gap: 2rem;
}

.review__image  img {
    max-width: 400px;
    margin-inline: auto;
}

.review__content {
    overflow: hidden;
}

.swiper {
    width: 100%;
    margin-top: 2rem;
}

.review__card > span {
    display: inline-block;
    font-size: 2rem;
    color: var(--primary-color);
}

.review__card .section__description {
    margin-bottom: 1rem;
    text-align: left;
}

.review__card h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.review__card > div {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.review__card > div > span {
    font-size: 1rem;
    color: goldenrod;
}

.swiper-button-prev, .swiper-button-next {
    top: unset;
    bottom: 2rem;
}

section.packages {
    background-color: var(--extra-light);
}
 .packages__container .section__description {
    text-align: left;
    margin-bottom: 1.2rem;
 }


 .album .photo__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
 }

 .album .section__header {
    margin-bottom: 2rem;
 }

 .album .section__description {
    margin-bottom: 2rem;
 }

 .album .photo__container img {
    max-width: 400px;
 }

/* Footer*/
.footer {
    background-color: #373738;
}

.footer * {
     color: #fff;
}

.footer a:hover {
    transform: scale(1.02);
}
.footer__container{
    display: grid;
    gap: 4rem 2rem;
    padding-bottom: 1rem;
}

.footer__logo {
    margin-bottom: 1em;
}
.footer__logo a {
    font-size: 1.8em;
}

.footer__container .section__description {
    text-align: left;
    margin-bottom: 1.2rem;
    max-width: 300px;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__socials a {
    display: inline-block;
    padding: 7px 10px;
    font-size: 1.2em;
    background-color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer__socials a:hover {
    transform: scale(1.3, 1.3);
}

.footer__col h4 {
    margin-bottom: 2rem;
    font-size: 1.2em;
    font-weight: 600;
}

.footer__links {
    display: grid;
    gap: 1rem;
}
.footer__links a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__links a span {
    font-size: 1.2em;
}


.footer__col form {
    display: grid;
    gap: 1rem;
}

.footer__col form .btn {
    justify-content: center;
    border-radius: 5px;
}

.footer__col input {
    padding: .75em;
    font-size: 1em;
    background-color: var(--white);
    border: 1px solid var(--text-light);
}

.footer__bar {
    text-align: center;
    padding: 2em;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.2em;
}



/* booking Page*/

.booking .section__header{
    margin-bottom: 1.2rem;
}

.booking .btn__container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.booking h4 {
    font-size: 1em;
}


/* Tours Page */

.tours h1 {
    text-align: center;
    margin-bottom: 2rem;
}


.tours h3 {
    margin-bottom: 1rem;
}

.tours .tours-icon-wrapper {
    display: flex;
}

.tours .tours-icon {
    width: 25px;
    height: 25px;
        top: 5px;
    position: relative;
}
.tours p {
    margin-bottom: 2rem;
    line-height: 2;
}
.tours ul {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    /* list-style-type: "→"; */
    /* list-style-image: url('sqpurple.gif'); */
}
.tours ul li {
    margin-bottom: 1rem;
}




@media (width > 540px) {
    .destination__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 768px) {
    nav {
        position: static;
        padding: 1rem;
        max-width: var(--max-width);
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .nav__header {
        /* flex: 1; */
        padding: 0;
        background-color: transparent;
    }
    

    .nav__menu__btn {
        display: none;
    }

    .nav__links {
        position: static;
        width: fit-content;
        padding: 0;
        flex-direction: row;
        gap: 3rem;
        background-color: transparent;
        transform: none !important;
    }

    .nav__links a {
        padding-bottom: .5rem;
        border-bottom: 2px solid transparent;
    }

    .nav__links a:hover {
        border-color: var(--primary-color);
    }

    .nav__links .btn {
        color: var(--white);
        background-color: var(--primary-color);
    }


    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;

    }

    .about__content :is(.section__header, .section__description, .about__signature){
        text-align: left;
    }


    .trip__content .section__description {
        text-align: left;
    }



     .destination__grid {
        grid-template-columns: repeat(3, 1fr);
    }

     .review__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .review__image {
        grid-area: 1/2/2/3;
    }

    .review__content :is(.section__subheader, .section__header) {
        text-align: left;
    }

     .album .photo__container {
        flex-direction: row;
        justify-content: space-around;
        gap: unset;
    }

    .album .section__description, .contact .section__description  {
        text-align: left;
    }

    .tours {
        width: 70%;
        margin: 0 auto;
    }

    .tours .destination__btn {
        justify-content: flex-start;
    }

}


@media (width < 576px) {

    body {
        font-size: 14px;
    }
    .header__content {
        width: 95% !important;    
    }
    /* .header__content h1 {
        font-size: 2.8em !important;
    }
    .header__content * {
        font-size: 1.8em !important;
    } */
    
    h2 {
        font-size: 1.6em !important;
    }

    h4 {
        font-size: 1.2em !important;
    }

}

@media (width > 768px){
    body {
        font-size: 15px; 
    }

    .booking .form__container {
        width: 70%;
        margin: 0 auto;
    }
    .booking .section__description {
        text-align: left;
        margin-bottom: 2rem;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width < 768px) {
      .nav__heading {
        position: absolute;
        isolation: isolate;
            top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
        
    }
}


@media screen and (width > 768px) and (width < 990px){
     .nav__heading {
        display: none;
    }
}

@media (width > 992px) {
    body {
        font-size: 16px; 
    }
   
     .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width>  1200px) {
    body {
        font-size: 18px; 
    }
}

.ar {
    font-family: 'Tahoma', Verdana, sans-serif;
	direction: rtl;
}



.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5)), url('../assets/kaba.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 75vh;
    color: var(--extra-light);
    text-align: center;
    line-height: 1.8;
    position: relative;
}

.hero-section h1 {
    font-size: 2.8em;
}

.hero-section p {
    font-size: 1.8em;
}
.header__content {
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
