/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}




body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #171717;
    background: #F8F6F2;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}





/* ==================================================
   HEADER
================================================== */


.header {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    padding: 35px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 100;

    color: white;

    mix-blend-mode: difference;

}



.logo {

    font-family: 'Cormorant Garamond', serif;

    font-size: 28px;

    letter-spacing: 3px;

}



.navigation {

    display: flex;
    gap: 40px;

}



.navigation a {

    font-size: 14px;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition: opacity .3s ease;

}


.navigation a:hover {

    opacity: .5;

}





/* ==================================================
   HERO
================================================== */


.hero {

    height: 100vh;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}



.hero-image {

    position: absolute;

    inset: 0;


    background-image:

    linear-gradient(
        rgba(0,0,0,.25),
        rgba(0,0,0,.25)
    ),

    url("../images/hero.jpg");


    background-size: cover;

    background-position: center;

}



.hero-content {


    position: relative;

    color: white;

    text-align: center;

    animation: fadeUp 1.5s ease forwards;


}



.hero-content h1 {


    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(55px, 8vw, 110px);

    font-weight: 300;

    letter-spacing: 8px;


}



.hero-content p {

    margin-top: 20px;

    font-size: 18px;

    letter-spacing: 5px;

    text-transform: uppercase;

}





.button {


    display: inline-block;

    margin-top: 50px;

    padding: 15px 35px;

    border: 1px solid white;

    color: white;

    font-size: 13px;

    letter-spacing: 3px;

    text-transform: uppercase;

    transition: all .4s ease;


}



.button:hover {

    background: white;

    color: black;

}





/* ==================================================
   SECTIONS
================================================== */


.section {

    padding: 120px 8%;

}



.section h2 {


    font-family: 'Cormorant Garamond', serif;

    font-size: 60px;

    font-weight: 300;

    text-align: center;

    margin-bottom: 80px;

}





/* ==================================================
   GALLERY
================================================== */


.gallery {


    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 60px;


}



.card img {


    width: 100%;

    aspect-ratio: 4/5;

    object-fit: cover;

    transition: transform .6s ease;


}



.card:hover img {


    transform: scale(1.03);


}



.card h3 {


    font-family: 'Cormorant Garamond', serif;

    font-size: 32px;

    font-weight: 400;

    margin-top: 20px;


}





/* ==================================================
   ABOUT
================================================== */


.about {


    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;


}



.about-image img {


    width: 100%;

}



.about-text h2 {


    text-align: left;

    margin-bottom: 30px;


}



.about-text p {


    font-size: 18px;

    max-width: 450px;


}





/* ==================================================
   CONTACT
================================================== */


.contact {

    text-align: center;

}



.contact p {

    margin: 20px;

    font-size: 18px;

}



.contact .button {


    border-color: black;

    color: black;


}



.contact .button:hover {


    background: black;

    color:white;


}





/* ==================================================
   FOOTER
================================================== */


footer {


    padding: 40px;

    text-align: center;

    font-size: 13px;

    letter-spacing: 2px;

}





/* ==================================================
   ANIMATION
================================================== */


@keyframes fadeUp {


    from {

        opacity:0;

        transform: translateY(40px);

    }


    to {

        opacity:1;

        transform: translateY(0);

    }


}







/* ==================================================
   RESPONSIVE MOBILE
================================================== */


@media (max-width: 768px) {



.header {

    padding: 25px;

}


.logo {

    font-size: 22px;

}



.navigation {

    display:none;

}



.hero-content h1 {


    letter-spacing: 4px;

}



.hero-content p {


    font-size:14px;

}



.section {


    padding:80px 25px;


}



.section h2 {


    font-size:45px;

    margin-bottom:50px;

}



.gallery {


    grid-template-columns:1fr;

    gap:50px;

}



.about {


    grid-template-columns:1fr;

    gap:50px;

}



.about-text h2 {


    text-align:center;

}



}