/*==================================================
                GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;900&display=swap');


/*==================================================
                RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Vazirmatn',sans-serif;
    background:#F2EEE8;
    color:#222;
    direction:rtl;
    overflow-x:hidden;
}


/*==================================================
                GENERAL
==================================================*/

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

section{
    padding:100px 8%;
}

.container{
    width:min(1300px,100%);
    margin:auto;
}


/*==================================================
                HEADER
==================================================*/

.page-header{

    background:
    linear-gradient(
        rgba(26,15,16,.68),
        rgba(26,15,16,.68)
    ),
    url("../img/header.png");


    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    color:#fff;

}


/*==================================================
                NAVBAR
==================================================*/

.navbar{

    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 8%;

}


.navbar ul{

    display:flex;
    align-items:center;
    gap:32px;

}


.navbar ul li{

    position:relative;

}


.navbar ul li a{

    color:#fff;
    font-size:17px;
    font-weight:500;

    transition:.35s;

}


.navbar ul li a:hover{

    color:#c1121f;

}


.navbar ul li a.active{

    color:#facc15;
    font-weight:700;

}


/*==================================================
                LOGO
==================================================*/

.logo a{

    display:flex;
    align-items:center;
    gap:15px;

}


.logo img{

    width:90px;
    height:auto;

}


.logo span{

    color:#fff;
    font-size:28px;
    font-weight:700;

}


/*==================================================
                PAGE TITLE
==================================================*/

.page-title{

    max-width:900px;
    margin:auto;

    text-align:center;

    padding:90px 20px 110px;

}


.page-title h1{

    font-size:58px;
    font-weight:900;

    margin-bottom:20px;

}


.page-title p{

    font-size:18px;

    color:#e7e7e7;

    line-height:2;

}


/*==================================================
                COMMON BUTTON
==================================================*/

.btn{

    display:inline-block;

    background:#c1121f;
    color:#fff;

    padding:15px 38px;

    border-radius:8px;

    transition:.35s;

    font-weight:700;

}


.btn:hover{

    background:#a30f1a;

    transform:translateY(-3px);

}


/*==================================================
                COMMON CARD
==================================================*/

.card{

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.35s;

}


.card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}


/*==================================================
                TITLES
==================================================*/

section h2{

    font-size:42px;

    text-align:center;

    margin-bottom:20px;

    color:#111;

}


.section-subtitle{

    text-align:center;

    color:#666;

    font-size:17px;

    line-height:2;

    max-width:800px;

    margin:auto;

}


/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:992px){

    .navbar{

        flex-direction:column;

        gap:25px;

    }

    .navbar ul{

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

    }

    .page-title{

        padding:70px 20px 90px;

    }

    .page-title h1{

        font-size:44px;

    }

    section{

        padding:80px 7%;

    }

}


@media(max-width:768px){

    .logo{

        text-align:center;

    }

    .logo a{

        flex-direction:column;

        gap:10px;

    }

    .logo img{

        width:75px;

    }

    .logo span{

        font-size:22px;

    }

    .navbar ul{

        gap:14px;

    }

    .navbar ul li a{

        font-size:15px;

    }

    .page-title h1{

        font-size:36px;

    }

    .page-title p{

        font-size:16px;

    }

    section{

        padding:70px 6%;

    }

}


/*==================================================
            CATEGORY SECTION
==================================================*/

.category-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    grid-template-rows:repeat(2,280px);
    gap:20px;
    margin-top:60px;
}

.category-item{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    cursor:pointer;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.category-item.large{
    grid-row:1 / span 2;
}

.category-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.category-item:hover img{
    transform:scale(1.08);
}

.category-overlay{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(rgba(0,0,0,.15),rgba(0,0,0,.65));
    transition:.35s;
}

.category-item:hover .category-overlay{
    background:linear-gradient(rgba(193,18,31,.25),rgba(0,0,0,.72));
}

.category-title{
    color:#fff;
    font-size:34px;
    font-weight:700;
    text-shadow:0 3px 10px rgba(0,0,0,.4);
}


/*==================================================
                BRAND STORY
==================================================*/

.brand-story{

    background:#111;

    color:#fff;

    display:grid;
    grid-template-columns:1fr 1fr 1fr;

    gap:60px;

    align-items:center;
}

.story-content span{

    color:#c1121f;

    font-size:15px;

    font-weight:700;

    letter-spacing:1px;
}

.story-content h2{

    color:#fff;

    font-size:46px;

    margin:20px 0;
}

.story-content p{

    line-height:2.2;

    color:#d5d5d5;

    margin-bottom:30px;
}

.story-content a{

    color:#fff;

    border-bottom:2px solid #c1121f;

    padding-bottom:6px;

    transition:.35s;
}

.story-content a:hover{

    color:#c1121f;

}

.story-image img{

    width:100%;

    border-radius:18px;

    box-shadow:0 12px 35px rgba(0,0,0,.35);
}

.story-features{

    display:flex;

    flex-direction:column;

    gap:25px;
}

.story-features div{

    padding:22px;

    border-radius:15px;

    background:#1c1c1c;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;
}

.story-features div:hover{

    transform:translateY(-6px);

    border-color:#c1121f;
}

.story-features h4{

    color:#c1121f;

    margin-bottom:10px;

    font-size:22px;
}

.story-features p{

    color:#d6d6d6;

    line-height:2;
}


/*==================================================
                GALLERY
==================================================*/

.gallery{

    background:#fff;

    text-align:center;
}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:50px;
}

.gallery-grid img{

    width:100%;

    height:320px;

    object-fit:cover;

    border-radius:15px;

    transition:.45s;

    cursor:pointer;

    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.gallery-grid img:hover{

    transform:scale(1.05);

    box-shadow:0 18px 35px rgba(0,0,0,.18);
}


/*==================================================
                STATS
==================================================*/

.stats{

    background:#111;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    text-align:center;
}

.stat{

    color:#fff;
}

.stat h3{

    font-size:56px;

    color:#c1121f;

    margin-bottom:15px;
}

.stat p{

    font-size:18px;

    color:#ddd;
}


/*==================================================
                CTA
==================================================*/

.cta{

    background:#c1121f;

    color:#fff;

    text-align:center;
}

.cta h2{

    color:#fff;

    font-size:42px;

    margin-bottom:35px;
}

.cta .btn{

    background:#fff;

    color:#c1121f;
}

.cta .btn:hover{

    background:#111;

    color:#fff;
}


/*==================================================
            RESPONSIVE
==================================================*/

@media(max-width:992px){

    .brand-story{

        grid-template-columns:1fr;

        text-align:center;
    }

    .story-features{

        margin-top:20px;
    }

    .category-grid{

        grid-template-columns:1fr;

        grid-template-rows:auto;
    }

    .category-item.large{

        grid-row:auto;
    }

    .gallery-grid{

        grid-template-columns:repeat(2,1fr);
    }

    .stats{

        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .gallery-grid{

        grid-template-columns:1fr;
    }

    .category-title{

        font-size:28px;
    }

    .story-content h2{

        font-size:34px;
    }

    .cta h2{

        font-size:30px;
    }

    .stat h3{

        font-size:42px;
    }

}


/*==================================================
                PRODUCTS PAGE
==================================================*/

.products{

    background:#f7f7f7;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.product-card::before{
    content:"";
    display:block;
    width:100%;
    height:6px;
    background:#c1121f;
}
.product-card{
    background:#fff;
    border:2px solid #c1121f;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.product-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(193,18,31,.20);
    border-color:#8b0000;
}


.product-card img{
    width:100%;
    height:290px;
    object-fit:cover;
    border-bottom:3px solid #c1121f;
}


.product-card h3{
    color:#c1121f;
    font-size:26px;
    margin:25px 25px 15px;
}


.product-card p{

    color:#666;

    line-height:2;

    padding:0 25px 30px;

}


/*==================================================
                GALLERY PAGE
==================================================*/

.gallery{

    background:#f7f7f7;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}


.gallery-item{
    overflow:hidden;
    border-radius:18px;
    border:2px solid #c1121f;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    cursor:pointer;
    transition:.35s;
}

.gallery-item:hover{
    transform:translateY(-8px);
    border-color:#8b0000;
    box-shadow:0 18px 40px rgba(193,18,31,.20);
}

.gallery-item img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

.gallery-item img{
    border-bottom:3px solid #c1121f;
}

/*==================================================
                ABOUT PAGE
==================================================*/

.about-main{

    background:#fff;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:70px;

}


.about-image img{

    width:100%;

    border-radius:18px;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}


.about-content h2{

    font-size:44px;

    color:#c1121f;

    margin-bottom:10px;

}


.about-content h3{

    font-size:28px;

    color:#111;

    margin-bottom:25px;

}


.about-content p{

    color:#666;

    line-height:2.2;

    margin-bottom:20px;

}


.about-content ul{

    padding-right:22px;

}


.about-content li{

    margin-bottom:15px;

    color:#444;

}


/*==================================================
                FEATURES
==================================================*/

.features{

    background:#111;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}


.feature-box{

    background:#1c1c1c;

    border-radius:16px;

    padding:40px 25px;

    text-align:center;

    color:#fff;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}


.feature-box:hover{

    transform:translateY(-8px);

    border-color:#c1121f;

}


.feature-box h3{

    color:#c1121f;

    font-size:28px;

    margin-bottom:18px;

}


.feature-box p{

    color:#d5d5d5;

    line-height:2;

}


/*==================================================
                    TEAM
==================================================*/

.team{

    background:#f7f7f7;

    text-align:center;

}


.team h2{

    font-size:46px;

    margin-bottom:15px;

}


.team-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;

}


.member{

    background:#fff;

    border:2px solid #c1121f;

    padding:35px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

}


.member:hover{

    transform:translateY(-8px);
    border-color:#8b0000;
    box-shadow:0 18px 40px rgba(193,18,31,.20);

}


.member h3{

    color:#111;

    margin-bottom:18px;

    font-size:28px;

}


.member p{

    color:#666;

    line-height:2.2;

    margin-bottom:12px;

}


/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:992px){

    .products{

        grid-template-columns:repeat(2,1fr);

    }

    .gallery{

        grid-template-columns:repeat(2,1fr);

    }

    .about-main{

        grid-template-columns:1fr;

    }

    .features{

        grid-template-columns:repeat(2,1fr);

    }

    .team-grid{

        grid-template-columns:1fr;

    }

}


@media(max-width:768px){

    .products{

        grid-template-columns:1fr;

    }

    .gallery{

        grid-template-columns:1fr;

    }

    .features{

        grid-template-columns:1fr;

    }

    .about-content h2{

        font-size:36px;

    }

    .team h2{

        font-size:34px;

    }

}


/*==================================================
                CONTACT PAGE
==================================================*/

.contact-section{
    background:#f7f7f7;
    display:grid;
    grid-template-columns:1fr;
    justify-items:center;
}

.contact-info{
    width:100%;
    max-width:800px;
}

.contact-info h2{

    font-size:38px;

    color:#111;

    margin-bottom:35px;

}

.info-box{

    margin-bottom:30px;

}

.info-box h3{

    color:#c1121f;

    margin-bottom:12px;

    font-size:22px;

}

.info-box h3 i{

    margin-left:10px;

}

.info-box p{

    color:#666;

    line-height:2;

}

.info-box a{

    color:#444;

    transition:.3s;

}

.info-box a:hover{

    color:#c1121f;

}


/*==================================================
                CONTACT FORM
==================================================*/

.contact-form{

    background:#F2EEE8;

    padding:40px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.contact-form h2{

    font-size:38px;

    margin-bottom:30px;

}

.contact-form form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:16px 18px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

    outline:none;

    transition:.3s;

}

.contact-form textarea{

    resize:vertical;

    min-height:180px;

}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#c1121f;

}

.contact-form button{

    background:#c1121f;

    color:#fff;

    border:none;

    border-radius:10px;

    padding:16px;

    cursor:pointer;

    font-size:17px;

    font-weight:700;

    transition:.3s;

}

.contact-form button:hover{

    background:#a30f1a;

}


/*==================================================
                SOCIAL
==================================================*/

.social-section{

    background:#fff;

    text-align:center;

}

.social-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-top:45px;

}

.social-grid a{

    background:#111;

    color:#fff;

    padding:30px 15px;

    border-radius:15px;

    transition:.35s;

    font-size:18px;

}

.social-grid a i{

    display:block;

    font-size:34px;

    margin-bottom:15px;

}

.social-grid a:hover{

    background:#c1121f;

    transform:translateY(-8px);

}


/*==================================================
                    MAP
==================================================*/

.map-section{

    background:#f7f7f7;

}

.map-section h2{

    text-align:center;

    margin-bottom:35px;

}

.map-box{

    width:100%;

    height:450px;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.1);

}


/*==================================================
                    FOOTER
==================================================*/

footer{

    background: #1A0F10;

    color:#fff;

}

.footer-container{

    width:90%;

    margin:auto;

    padding:70px 0 45px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

}

.footer-box h3{

    color:#c1121f;

    margin-bottom:22px;

    font-size:24px;

}

.footer-box p{

    color:#d7d7d7;

    line-height:2;

    margin-bottom:12px;

}

.footer-box a{

    display:block;

    color:#d7d7d7;

    margin-bottom:12px;

    transition:.3s;

}

.footer-box a:hover{

    color:#c1121f;

    padding-right:8px;

}

.footer-bottom{

    width:90%;

    margin:auto;

    border-top:1px solid rgba(255,255,255,.1);

    padding:20px 0;

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#aaa;

    font-size:14px;

}

.footer-bottom span{

    color:#777;

}


/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:992px){

    .contact-section{

        grid-template-columns:1fr;

    }

    .social-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .footer-container{

        grid-template-columns:repeat(2,1fr);

    }

    .footer-bottom{

        flex-direction:column;

        gap:12px;

        text-align:center;

    }

}

@media(max-width:768px){

    .contact-info,
    .contact-form{

        padding:28px;

    }

    .contact-info h2,
    .contact-form h2{

        font-size:30px;

    }

    .social-grid{

        grid-template-columns:1fr;

    }

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-box a:hover{

        padding-right:0;

    }

    .map-box{

        height:320px;

    }

}