/* =========================================================
   GLOBAL
========================================================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Vazirmatn', sans-serif;
    background:var(--color-bg);
    color:var(--color-text);
    overflow-x:hidden;
}

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

img{
    max-width:100%;
    display:block;
}

.container{
    max-width:var(--container-width);
}

/* =========================================================
   HERO
========================================================= */

.hero{
    position:relative;

    width:100%;
    height:100vh;

    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#000;
}

/* IMAGE */

.hero img{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    transform:scale(1.05);

    animation:heroZoom 12s ease-in-out infinite alternate;
}

/* OVERLAY */

.hero-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.1),
            rgba(0,0,0,.55)
        );
}

/* CONTENT */

.hero-content{
    position:relative;
    z-index:10;

    text-align:center;

    max-width:850px;

    padding:0 24px;

    color:#fff;

    animation:fadeUp 1.2s ease;
}

/* SUBTITLE */

.hero-subtitle{
    display:inline-block;

    margin-bottom:18px;

    font-size:13px;
    font-weight:500;

    letter-spacing:5px;

    text-transform:uppercase;

    color:rgba(255,255,255,.75);
}

/* TITLE */

.hero-content h1{
    font-size:72px;
    font-weight:700;

    line-height:1.15;

    margin-bottom:24px;
}

/* TEXT */

.hero-content p{
    font-size:18px;

    line-height:2;

    color:rgba(255,255,255,.82);

    margin-bottom:42px;
}

/* BUTTONS */

.hero-buttons{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;

    flex-wrap:wrap;
}

/* BUTTON */

.hero-btn{
    min-width:180px;

    height:56px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 34px;

    border-radius:0px;

    font-size:15px;
    font-weight:600;

    transition:var(--transition);
}

/* PRIMARY */

.primary-btn{
    background:#fff;
    color:#111;
}

.primary-btn:hover{
    transform:translateY(-4px);

    background:#f1f1f1;

    box-shadow:0 12px 30px rgba(255,255,255,.15);
}

/* SECONDARY */

.secondary-btn{
    border:1px solid rgba(255,255,255,.28);

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(14px);

    color:#fff;
}

.secondary-btn:hover{
    background:rgba(255,255,255,.16);

    transform:translateY(-4px);
}

/* SCROLL */

.hero-scroll{
    position:absolute;

    bottom:28px;
    left:50%;

    transform:translateX(-50%);

    z-index:10;
}

.hero-scroll span{
    width:1px;
    height:60px;

    background:rgba(255,255,255,.55);

    display:block;

    animation:scrollLine 1.8s infinite;
}

/* =========================================================
   PRODUCTS
========================================================= */

.products-section{
    padding:120px 0;

    position:relative;
}

/* GRID GAP */

.products-section .row{
    row-gap:34px;
}

/* CARD */

.product-card{
    position:relative;



    border-radius:0px;

    overflow:hidden;

    padding:22px;

    text-align:center;

    transition:all .45s cubic-bezier(.22,1,.36,1);

  

    height:100%;
}

/* HOVER */

.product-card:hover{
    transform:translateY(-12px);


}

/* IMAGE WRAPPER */

.product-image-wrapper{
    position:relative;

    width:100%;
    height:320px;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    border-radius:0px;

}

/* IMAGE */

.product-card img{
    width:100%;
    height:100%;

    object-fit:contain;

    transition:
        transform .7s ease,
        filter .4s ease;
}

/* IMAGE HOVER */

.product-card:hover img{
    transform:scale(1.08);


}

/* CONTENT */

.product-content{
    padding-top:24px;
}

/* TITLE */

.product-card h5{
    font-size:20px;
    font-weight:700;

    color:var(--color-text);

    margin-bottom:14px;

    transition:var(--transition);
}

.product-card:hover h5{
    color:var(--color-primary);
}

/* LINE */

.line{
    width:100%;
    height:2px;

    background:var(--color-border);

    margin:0 auto;

    border-radius:0px;

    transition:all .4s ease;
}

.product-card:hover .line{
    width:75%;

    background:var(--color-primary);
}

/* FLOAT LIGHT */

.product-card::before{
    content:'';

    position:absolute;

    top:-120px;
    right:-120px;

    width:100%;
    height:220px;

    border-radius:0px;

    background:
        radial-gradient(
            rgba(255,255,255,.55),
            transparent
        );

    opacity:0;

    transition:.5s ease;
}

.product-card:hover::before{
    opacity:1;
}

/* =========================================================
   ABOUT
========================================================= */

.about-section{
    padding:120px 20px;

    text-align:center;
}

.about-box{
    width:130px;
    height:130px;

    border-radius:0px;

    border:1px solid var(--color-border);

    margin:0 auto 35px;

    background:#f8f6f2;
}

.about-section h2{
    margin-bottom:22px;

    font-size:38px;
}

.about-section p{
    max-width:760px;

    margin:auto;

    color:var(--color-text-light);

    line-height:2.3;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroZoom{

    from{
        transform:scale(1.05);
    }

    to{
        transform:scale(1.12);
    }
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes scrollLine{

    0%{
        opacity:0;
        transform:translateY(-10px);
    }

    50%{
        opacity:1;
    }

    100%{
        opacity:0;
        transform:translateY(10px);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:992px){

    .hero{
        height:100vh;
    }

    .hero-content{
        width:100%;

        padding:0 24px;
    }

    .hero-content h1{
        font-size:42px;
    }

    .hero-content p{
        font-size:15px;
        line-height:1.9;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-btn{
        width:100%;
    }

    .products-section{
        padding:80px 0;
    }

    .product-image-wrapper{
        height:240px;
    }

    .product-card{
        border-radius:0px;
    }

    .product-card h5{
        font-size:18px;
    }
}