@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Poppins:wght@400;500;600&display=swap');

:root{
    --primary-color: #FE5303;
    --heading-font:'Playfair Display', serif;

    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 74px;
}

*{
    box-sizing: border-box;
    font: inherit;
    color: inherit;
}

body {
   margin: 0;
   color: #222; 
   font-family: 'Poppins', sans-serif;;
}

section{
    padding: 74px 0;
}

button{
    background-color: transparent;
   border: none;
   padding: 0;
   cursor: pointer;
}

h2{
    font-size: 2.5rem;
    font-family: var(--heading-font);
    font-weight: 700;
    margin: 0; 
}

strong{
    color: var(--primary-color);
}

.container{
    max-width: 1200px;
    padding: 24px;
    margin: 0 auto;
}

/* DON-AREA*/

.don-area{
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),url("./images/dark-11.png");
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.don-area header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reservations{
    background-color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.reservations i {
    margin-right: 8px;
}

.main-heading{
    font-family: var(--heading-font);
    font-size: 3.25rem;
    font-weight: 700;
    max-inline-size: 620px;
}

.adventure{
   text-transform: capitalize;
   display: flex;
   align-items: center;
}

.adventure i {
    margin-left: 12px;
    padding: 10px;
    font-size: 2.5rem;
    border: 1px solid #87CEEB;
    border-radius: 50%;

}

.booking{
    margin-top: 100px;
}

.booking_inputs{
    background-color: white;
    color: #222;
    padding: 24px;
    border-radius: 8px;
    display: grid;
    gap: 16px;
}

.booking_inputs label{
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #bdbdbd;
    font-weight: 500;
}

.booking_input input,
.booking_input select{
    display: block;
    width: 100%;
    border: none;
    padding: 8px 0;
    font-weight: 500;
    cursor: pointer;
}

.booking_button{
    background-color: #87CEEB;
    padding: 40px;
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 12px;
    box-shadow: 0px 4px 20px 0px #FE530399;
}

@media (min-width: 760px){
    .booking_inputs{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    .booking_input{
        padding: 0 24px;
        border-left: 1px solid #e0e0e0;
    }

    .booking_input:first-child{
        border: none;
        padding-left: 0;
    }
}

@media (min-width: 1020px){
    .booking{
        display: flex;
    }

    .booking_button{
        margin-top: 0;
        margin-left: 12px;
    }
}

/* ABOUT US */

.section-name{
    text-transform: uppercase;
    color: #bdbdbd;
    font-weight: 500;
    font-size: 0.875rem;
}

.about-us p{
    color: #828282;
    margin: 0;
}

.about-us img{
    border-radius: 8px;
    width: 100%;
}

.about-us_content{
    margin-top: var(--space-lg);
    display: grid;
    gap: var(--space-xl);
}

.about-us_content--left, 
.about-us_content--right{
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 760px){
    .about-us_content{
        grid-template-columns: 1fr 1fr;
    }

    .about-us_content--right img{
        order: -1;
    }
}

/*BOOKING SESSION*/

.accommodations_header{
    margin-top: var(--space-md);
}

.text-button{
    color: var(--primary-color);
    display: flex;
    align-items: center;
}


.text-button i{
    margin-left: var(--space-sm);
}

.stays {
    margin-top: var(--space-lg);
    display: grid;
    gap: var(--space-xl);
}

.stay-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    color: white;
    height: 380px;
}

.stay-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    transition: opacity 200ms ease-in-out;
}

.stay-card:hover::before{
    opacity: 0;
}

.stay-card:hover .stay-card_name{
    transform: translateX(calc(-100% - var(--space-lg)));
}

.stay-card:hover .stay-card_price{
    transform: translateX(calc(-100% - var(--space-lg)));
}
.stay-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.stay-card_details{
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-md);
}

.stay-card_name{
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1,5rem;
    margin-bottom: var(--space-sm);
    transition: transform 200ms ease-in-out;
}

.stay-card_price{
    font-weight: 500;
    transition: transform 200ms ease-in-out 100ms;
}

@media (min-width: 760px){
    .stays {
        grid-template-columns: 1fr 1fr;
    }

    .stay-card--col-2{
        grid-column: 1 / span 2;
    }
}

@media (min-width: 1020px){
    .stays{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

 /* TESTIMONIALS */

 .testimonials{
     background-color: #f2f2f2;
 }

.feedback{
    margin-top: var(--space-2xl);
    display: grid;
    gap: var(--space-xl);
}

.feedback-card_dialog{
   background-color: white;
   padding: var(--space-xl) var(--space-lg); 
   border-radius: 20px 20px 20px 0;
   box-shadow: 0px 0px 20px rgba(0,0,0,0.05);
   font-family: var(--heading-font);
}

.feedback-card_dialog_title{
    text-size-adjust: 20px;
    font: size 700px;
    margin-bottom: var(--space-lg);
}

.feedback-card_dialog_content{
    color: #4f4f4f;
    line-height: 180%;
}

.feedback-card_user{
    margin-top: var(--space-md);
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: var(--space-md);
}

.feedback-card_user img{
    width: 100%;
}

.feedback-card_user_name{
    font-weight: 500;
}

.feedback-card_user_location{
    color: #bdbdbd;
    font-size: 0.75rem;
}

@media (min-width: 760px) {
    .feedback{
        grid-template-columns: repeat(3, 1fr);
    }
}

footer{
    font-family: var(--heading-font);
}

.top-header{
    position: fixed;
    width: 100%;
    z-index: 1;
}

.top-header .container{
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.top-header--white-background{
    background-color: #87CEEB;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}

.top-header--white-background path{
    fill: var(--primary-color);
}



