/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#F7F2EA url("../images/paper.jpg") center center repeat;

    font-family:'Poppins',sans-serif;

    color:#3F352C;

    min-height:100vh;

}


/* ===========================
   LINKS
=========================== */

a{
    text-decoration:none;
    color:inherit;
}


/* ===========================
   HEADER
=========================== */

.header{

    max-width:1400px;

    margin:auto;

    padding:35px 50px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


/* ===========================
   LOGO
=========================== */

.logo img{

    width:150px;

    height:150px;

    object-fit:cover;

    border-radius:50%;

    border:5px solid #C9A86A;

    box-shadow:
        0 15px 35px rgba(0,0,0,.15);

    transition:.4s;

}

.logo img:hover{

    transform:scale(1.05);

}


/* ===========================
   TITLE
=========================== */

.title{

    text-align:center;

    flex:1;

}

.title h1{

    font-family:'Cormorant Garamond',serif;

    font-size:72px;

    font-weight:700;

    color:#4B3D2F;

    letter-spacing:2px;

}

.gold-line{

    width:220px;

    height:3px;

    margin:18px auto;

    border-radius:20px;

    background:linear-gradient(
        to right,
        transparent,
        #D2B16F,
        transparent
    );

}

.title p{

    font-size:18px;

    line-height:1.8;

    color:#7C6A58;

    letter-spacing:.8px;

}


/* ===========================
   LANGUAGE
=========================== */

.language{

    display:flex;

    align-items:center;

    gap:12px;

    font-weight:600;

    color:#8B7355;

    font-size:18px;

}

.language a{

    transition:.3s;

}

.language a:hover{

    color:#B48B43;

}


/* ===========================
   MAIN
=========================== */

main{

    max-width:1400px;

    margin:auto;

    padding:20px 40px 80px;

}
/* ===========================
   CARDS
=========================== */

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:40px;

    margin-top:50px;

}


/* ===========================
   CARD
=========================== */

.card{

    background:#FFF8F1;

    border-radius:28px;

    overflow:hidden;

    cursor:pointer;

    transition:
        transform .45s,
        box-shadow .45s;

    box-shadow:
        0 12px 35px rgba(0,0,0,.08),
        0 4px 12px rgba(0,0,0,.05);

    animation:fadeUp .8s ease;

}


.card:hover{

    transform:
        translateY(-12px)
        scale(1.02);

    box-shadow:
        0 30px 60px rgba(0,0,0,.16),
        0 10px 25px rgba(201,168,106,.25);

}


/* ===========================
   IMAGE
=========================== */

.card-image{

    height:260px;

    overflow:hidden;

}


.card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .7s ease;

}


.card:hover .card-image img{

    transform:scale(1.08);

}


/* ===========================
   CONTENT
=========================== */

.card-content{

    padding:28px;

    text-align:center;

}


.card-content h2{

    font-family:'Cormorant Garamond',serif;

    font-size:38px;

    color:#4B3D2F;

    margin-bottom:14px;

}


.card-content p{

    font-size:16px;

    color:#756554;

    line-height:1.8;

}


/* ===========================
   FOOTER
=========================== */

footer{

    margin-top:80px;

    padding:35px;

    text-align:center;

    color:#8A7765;

    font-size:15px;

    border-top:1px solid rgba(0,0,0,.08);

}


/* ===========================
   ANIMATION
=========================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/* ===========================
   RESPONSIVE
=========================== */

/* ---------- Tablet ---------- */

@media (max-width:1100px){

    .header{

        flex-direction:column;

        gap:30px;

        padding:30px;

    }

    .title h1{

        font-size:58px;

    }

    .cards{

        grid-template-columns:repeat(2,1fr);

        gap:30px;

    }

}


/* ---------- Mobile ---------- */

@media (max-width:768px){

    .header{

        padding:25px;

    }

    .logo img{

        width:120px;

        height:120px;

    }

    .title h1{

        font-size:42px;

    }

    .title p{

        font-size:16px;

    }

    .gold-line{

        width:160px;

    }

    .cards{

        grid-template-columns:1fr;

        gap:25px;

    }

    .card-image{

        height:220px;

    }

    .card-content{

        padding:24px;

    }

    .card-content h2{

        font-size:34px;

    }

}


/* ---------- Small phones ---------- */

@media (max-width:480px){

    main{

        padding:20px;

    }

    .header{

        padding:20px;

    }

    .title h1{

        font-size:34px;

        letter-spacing:1px;

    }

    .title p{

        font-size:15px;

        line-height:1.6;

    }

    .language{

        font-size:16px;

    }

    .logo img{

        width:100px;

        height:100px;

        border-width:4px;

    }

    .card{

        border-radius:22px;

    }

    .card-image{

        height:200px;

    }

    .card-content h2{

        font-size:30px;

    }

    .card-content p{

        font-size:15px;

    }

    footer{

        padding:25px;

        font-size:14px;

    }

}


/* ===========================
   SELECTION
=========================== */

::selection{

    background:#D8BC87;

    color:#ffffff;

}


/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#F3EEE6;

}

::-webkit-scrollbar-thumb{

    background:#C8A86A;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#B8944F;

}
