*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nav{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 60px;
    background: #eae4db
}

.left{
    justify-self: start;
}

.nav_logo{
    width: 180px;
    border-radius: 50px;
}

.nav_links{
    display: flex;
    gap: 40px;
    list-style: none;
    justify-self: center;
}

.nav_links a{
    text-decoration: none;
    color: #1F1F1F;
    font-size: 18px;
    font-weight: 600;
    transition: .3s;
}

.nav_links a:hover{
    color: #8B5E3C;
}

.right{
    justify-self: end;
}

.btn{
    text-decoration: none;
    background: #8A573D;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    transition: .3s;
}

.btn:hover{
    background: #6d3e2d;
}

/* close navbar  */
/* ================= HERO ================= */
.hero{
    position: relative;
    width: 100%;
}

.hero_img{
    width: 100%;
    height: auto;
    display: block;
}

.hero_content{
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 400px;
    text-align: center;
}

.hero_content h1{
    font-size:clamp(32px, 5vw , 60px);
    color: #3b312c;
}

.hero_content p{
    font-size:clamp(16px , 2vw , 22px) ;
    margin: 20px 0 ;
    color: #666;
}
body{
    background-color:#e4e0d6 ;
}
.text{
 text-align: center;
}
.text h1{
    font-size: 50px;
   color: #3b312c;
}
.text h2{
    font-size: 20px;
    color: black;
}
/* 

*/

.card{
    background: e4e0d6;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px 
    rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 10px;
    text-align: center;
    transition: 0.3s;
}
.card:hover{
    transform:translatey(-8px);
}
.cardss{
    display: grid;
    grid-template-columns: repeat(3 ,1fr);
    gap: 30px;
    padding: 40px;
}
.card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.card h1{
    font-size: 40px;
    padding: 15px;
}
.card p{
    font-size: 20px;
}

.btn_card{
    text-decoration: none;
    background: #8A573D;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    transition: .3s;
    display: block;
    width: fit-content;
    margin: 20px auto 0;
}
.btn_card:hover{
    transform:translatey(-8px);
}
/* 
 */
 .visit{
    position: relative;
    width: 100%;
    margin-top: 80px;
}

.visit_img{
    width: 100%;
    display: block;
}

.visit_content{
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 450px;
    color: black;
}

.visit_content h1{
    font-size: 55px;
    margin-bottom: 20px;
}

.visit_content p{
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

@media (max-width: 768px){
    .hero{
        height: 500px;
    }

    .hero_content{
        width: 90%;
    }

    .hero_content h1{
        font-size: 36px;
    }

    .hero_content p{
        font-size: 16px;
    }
}
