* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f5f5f3;
    --text: #222;
    --white: #fff;
    --radius: 34px;
}

body {
    background: var(--bg);
    color: var(--text);
}

.container {
    width: min(1400px, 92%);
    margin: auto;
    padding: 40px 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.logo {
    display: flex;
    align-items: center;
}
.logo
.logo_img{
    width: 100px;
}
.logo span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #222;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    display: flex;
    gap: 45px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 17px;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #222;
    transition: .3s;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 35px;
    align-items: start;
}

.topCards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 40px;
}

.card {
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .6s;
}

.card:hover img {
    transform: scale(1.08);
}

.small {
    height: 200px;
}

.big {
    height: 700px;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: white;
    background: linear-gradient(transparent, rgba(0, 0, 0, .45));
}

.bottom {
    padding: 38px;
}

.hero_title {
    font-size: clamp(70px, 9vw, 130px);
    line-height: .88;
    font-weight: 400;
    letter-spacing: -3px;
    margin-bottom: 20px;
    max-width: 750px;
}

.hero_sub_title{
    font-size: clamp(40px, 9vw, 100px);

    max-width: 750px;
}
.btn {
    display:flex;
    width: 230px;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 28px;
    border-radius: 50px;
    background: #222;
    color: #fff;
    text-decoration: none;
    transition: .35s;

}

.btn span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .35s;
}

.btn:hover {
    background: #000;
    transform: translateY(-3px);
}

.btn:hover span {
    transform: rotate(45deg);
}

.overlay h2 {

    font-size: 58px;
    line-height: .9;
    font-weight: 400;
}

.overlay h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.overlay p {
    margin-top: 10px;
    opacity: .9;
    line-height: 1.5;
}




/*================ DETAIL PAGE ================*/

.detailPage{

    position:fixed;

    inset:0;

    background:#fff;

    z-index:9999;

    overflow-y:auto;

    transform:translateY(100%);

    transition:.8s cubic-bezier(.22,.61,.36,1);

}
.detailPage.active{

    transform:translateY(0);

}
.backBtn{

    position:fixed;

    top:35px;

    left:35px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.9);

    backdrop-filter:blur(10px);

    font-size:22px;

    cursor:pointer;

    z-index:20;

    opacity:0;

    transform:translateY(-20px);

    transition:.4s;

}
.detailPage.active .backBtn{

    opacity:1;

    transform:none;

    transition-delay:.35s;

}
.detailHero{

    position:relative;

    width:100%;

    height:100vh;

    overflow:hidden;

}
.detailHero img{

    width:100%;

    height:100%;

    object-fit:cover;

    transform:scale(1.1);

    transition:1s;

}
.detailPage.active .detailHero img{

    transform:scale(1);

}
.detailOverlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:end;

    padding:80px;

    background:linear-gradient(

        transparent,

        rgba(0,0,0,.55)

    );

}

.detailOverlay h1{

    color:white;

    font-size:90px;



    font-weight:400;

}


.detailContent{

    max-width:1100px;

    margin:auto;

    padding:90px 30px;

    opacity:0;

    transform:translateY(100px);

    transition:.8s;

}
.detailPage.active .detailContent{

    opacity:1;

    transform:none;

    transition-delay:.45s;

}
.article{

    padding:30px;

    margin-top:25px;

    border-radius:20px;

    background:#f4f4f4;

}
.gallery{

   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
    gap:20px;

    margin-top:40px;

}
.gallery_item{
       width: 270px;
       height:  310px;
    border-radius:20px;
background-color: rgb(184, 184, 184);
overflow: hidden;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.315);
}
.gallery_item:hover  img{
scale: 1.1;
}
.gallery_item img{
transition: .8s;
    width:100%;
    height: 100%;
    object-fit: cover;
    border-radius:20px;

}













.about{
    padding:80px 20px;
}

.about .container{
    max-width:1100px;
    margin:auto;
}

.about .section-title{
    text-align:center;
    margin-bottom:60px;
}

.about .section-title span{
    color:#b68a35;
    letter-spacing:3px;
    font-size:.9rem;
    font-weight:700;
}

.about .section-title h1{
    font-size:2.5rem;
    margin:15px 0;
    color:#222;
}

.about .section-title p{
    color:#777;
}

.about .about-card,
.about .manager-card{

    background:#fff;
    padding:45px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.about .about-card{
    margin-bottom:40px;
}

.about .about-card p{
    margin-bottom:22px;
    text-align:justify;
}

.about .manager-card h2{

    text-align:center;
    font-size:2rem;
    margin-bottom:10px;
    color:#222;

}

.about .manager-card h3{

    text-align:center;
    color:#b68a35;
    margin-bottom:10px;
    font-size:1.4rem;

}

.about .subtitle{

    text-align:center;
    color:#777;
    margin-bottom:35px;

}

.about .manager-card ul{

    list-style:none;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;

}

.about .manager-card ul li{

    background:#fafafa;
    border:1px solid #ececec;
    border-radius:12px;
    padding:18px;
    transition:.3s;

}

.about .manager-card ul li:hover{

    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.07);

}

.about .note{

    margin-top:40px;
    background:#fdf8ed;
    border-right:5px solid #b68a35;
    padding:25px;
    border-radius:15px;

}

.about .note strong{

    display:block;
    margin-bottom:10px;
    font-size:1.1rem;

}

.about .note p{

    color:#555;

}
@media(max-width:768px){

  .about  .section-title h1{

        font-size:2rem;

    }

   .about .about-card,
  .about  .manager-card{

        padding:25px;

    }

  .about  .manager-card ul{

        grid-template-columns:1fr;

    }

}

@media(max-width:480px){

    .about{

        padding:50px 15px;

    }

 .about   .section-title h1{

        font-size:1.7rem;

    }

 .about   .about-card p{

        text-align:right;

    }

}








@media (max-width:1100px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .right {
        order: -1;
    }

    .big {
        height: 600px;
    }

    h1 {
        font-size: 90px;
    }
}

@media (max-width:768px) {
    .container {
        width: 92%;
    }

    header {
        flex-direction: column;
        gap: 25px;
    }

    nav {
        gap: 25px;
    }

    .topCards {
        grid-template-columns: 1fr;
    }

    .small {
        height: 230px;
    }

    .big {
        height: 430px;
    }

    .overlay h2 {
        font-size: 42px;
    }

    h1 {
        font-size: 62px;
        letter-spacing: -1px;
        line-height: .92;
    }

    .btn {
        padding: 16px 24px;
    }
}

@media (max-width:480px) {
    .container {
        padding: 25px 0;
    }

    .logo {
        font-size: 22px;
    }

    .logo span {
        width: 34px;
        height: 34px;
    }

    nav a {
        font-size: 15px;
    }

    .small {
        height: 180px;
    }

    .big {
        height: 320px;
    }

    .overlay {
        padding: 18px;
    }

    .overlay h2 {
        font-size: 34px;
    }

    .overlay h3 {
        font-size: 18px;
    }

    .overlay p {
        font-size: 14px;
    }

    h1 {
        font-size: 46px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}






.articles-section{
    padding:80px 20px;
    background:#f7f7f7;
}

.articles-section__container{
    max-width:1200px;
    margin:auto;
}

.articles-section__header{
    text-align:center;
    margin-bottom:50px;
}

.articles-section__header span{
    color:#b68a35;
    font-size:.9rem;
    font-weight:700;
    letter-spacing:3px;
}

.articles-section__header h2{
    font-size:2.3rem;
    color:#222;
    margin:15px 0;
}

.articles-section__header p{
    color:#777;
    max-width:600px;
    margin:auto;
    line-height:1.9;
}

.articles-section__grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.articles-section__card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    transition:.3s;
}

.articles-section__card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.1);
}

.articles-section__image{
    height:220px;
    background:linear-gradient(135deg,#1f1f1f,#444);
}

.articles-section__content{
    padding:25px;
}

.articles-section__tag{
    display:inline-block;
    background:#fdf8ed;
    color:#b68a35;
    padding:6px 14px;
    border-radius:30px;
    font-size:.85rem;
    font-weight:700;
    margin-bottom:15px;
}

.articles-section__content h3{
    font-size:1.3rem;
    color:#222;
    margin-bottom:12px;
}

.articles-section__content p{
    color:#666;
    line-height:1.9;
    margin-bottom:20px;
}

.articles-section__btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:#222;
    font-weight:700;
    transition:.3s;
}

.articles-section__btn:hover{
    color:#b68a35;
}

@media(max-width:992px){
    .articles-section__grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .articles-section{
        padding:60px 15px;
    }

    .articles-section__header h2{
        font-size:2rem;
    }

    .articles-section__grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:480px){
    .articles-section__header h2{
        font-size:1.7rem;
    }

    .articles-section__image{
        height:180px;
    }
}











.portfolio-section{
    padding: 80px 20px;
}

.portfolio-section__title{
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 45px;
}

.portfolio-section__gallery{
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.portfolio-section__item{
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    cursor: pointer;
}

.portfolio-section__item img{
    width: 100%;
    height: 320px;
    display: block;
    object-fit: cover;
    transition: .4s;
}

.portfolio-section__item:hover img{
    transform: scale(1.08);
}

/* Tablet */

@media (max-width:992px){

    .portfolio-section__gallery{
        grid-template-columns: repeat(2,1fr);
    }

}

/* Mobile */

@media (max-width:576px){

    .portfolio-section{
        padding:60px 15px;
    }

    .portfolio-section__title{
        font-size:1.7rem;
    }

    .portfolio-section__gallery{
        grid-template-columns:1fr;
        gap:20px;
    }

    .portfolio-section__item img{
        height:260px;
    }

}














