/* ==========================================
   Bahman Tex
   Digital Business Card
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --black:#111111;
    --gold:#C9A44C;
    --green:#169C43;
    --white:#ffffff;
    --text:#444444;
    --bg:#f4f4f4;

}

html{

    scroll-behavior:smooth;

}

body{

    direction:rtl;
    font-family:'Vazirmatn',sans-serif;
    background:var(--bg);
    color:var(--text);

}

a{

    text-decoration:none;

}

img{

    max-width:100%;
    display:block;

}

/* ================= HERO ================= */

.hero{

    position:relative;
    background:#111111;
    overflow:hidden;
    border-bottom:4px solid var(--gold);

}

.hero::before{

    content:"";
    position:absolute;
    inset:0;
    background:url("../images/hero-bg.jpg") center center/cover;
    opacity:.18;

}

.overlay{

    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,
    rgba(0,0,0,.35),
    rgba(0,0,0,.75));

}

.hero-content{

    position:relative;
    z-index:2;

    max-width:900px;

    margin:auto;

    padding:70px 20px 60px;

    text-align:center;

}

.logo{
    display:block;
    width:220px !important;
    height:auto !important;
    max-width:none !important;
    margin:0 auto 22px;
}
.hero h1{

    color:var(--gold);

    font-size:42px;

    font-weight:700;

    letter-spacing:1px;

}

.subtitle{

    color:white;

    margin-top:10px;

    font-size:22px;

    font-weight:300;

}

/* ================= CARD ================= */

.card{

    width:min(92%,760px);

    margin:-45px auto 50px;

    background:white;

    border-radius:24px;

    box-shadow:0 18px 45px rgba(0,0,0,.12);

    position:relative;

    z-index:5;

    overflow:hidden;

}

.contact-section,
.address-section{

    padding:35px 35px 10px;

}

.section-title{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    margin-bottom:30px;

    color:var(--gold);

    font-size:20px;

    font-weight:700;

}

.section-title::before,
.section-title::after{

    content:"";

    width:55px;

    height:1px;

    background:#d9d9d9;

}

.phones{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:14px;

}

.phone{

     width:100%;
    max-width:420px;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;

    direction:ltr;
    unicode-bidi:isolate;

    color:#333;
    font-size:23px;
    font-weight:600;


}

.phone:hover{

    color:var(--gold);

}

.phone i{

    font-size:18px;

    color:var(--gold);

}

.phone.primary{

    color:var(--green);

    margin-top:8px;

}

.primary-text{

    color:var(--green);

    font-size:15px;

    font-weight:600;

    text-align:center;

    margin-top:-2px;

}

/* ================= ADDRESS ================= */

.address{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    margin-top:22px;
}

.address i{
    font-size:34px;
    color:#c7a44d;
    margin-bottom:14px;
}

.address-text{
    width:100%;
    max-width:620px;

    margin:0 auto;

    text-align:center;

    direction:rtl;

    line-height:2.2;
}

.address p{
    margin:18px 0 0;
    padding:0;

    text-align:center;

    direction:rtl;

    line-height:2.2;

    font-size:18px;

    color:#444;

    max-width:650px;
}

/* ================= BUTTONS ================= */

.buttons{

    padding:35px;

    display:flex;

    flex-direction:column;

    gap:16px;

}

.btn{

    display:flex;

    align-items:center;

    gap:18px;

    padding:18px 22px;

    border-radius:16px;

    color:#fff;

    transition:.25s;

    box-shadow:0 10px 22px rgba(0,0,0,.08);

}

.btn:hover{

    transform:translateY(-3px);

}

.btn i{

    width:28px;

    font-size:24px;

    text-align:center;

}

.btn strong{

    display:block;

    font-size:18px;

    font-weight:700;

}

.btn small{

    display:block;

    margin-top:4px;

    opacity:.92;

    font-size:13px;

}

.call{

    background:#169C43;

}

.telegram{

    background:#229ED9;

}

.bale{

    background:#0F8DE8;

}

.whatsapp{

    background:#25D366;

}

.contact{

    background:#222222;

}

/* ================= FOOTER ================= */

.footer{

    text-align:center;

    padding:30px 20px 35px;

    border-top:1px solid #eeeeee;

    background:#ffffff;

}

.footer-title{

    color:var(--gold);

    font-size:22px;

    font-weight:700;

    margin-bottom:6px;

}

.footer-text{

    color:#666666;

    font-size:15px;

}

/* ================= RESPONSIVE ================= */

@media (max-width:768px){

    .hero-content{

        padding:55px 20px 45px;

    }

    .logo{

        width:105px;

    }

    .hero h1{

        font-size:34px;

    }

    .subtitle{

        font-size:19px;

    }

    .card{

        width:94%;

        margin:-35px auto 35px;

        border-radius:20px;

    }

    .contact-section,
    .address-section,
    .buttons{

        padding:28px 22px;

    }

    .phone{

        font-size:20px;

    }

    .address{

        flex-direction:column;

        align-items:center;

        text-align:center;

    }

    .btn{

        padding:16px 18px;

    }

    .btn strong{

        font-size:17px;

    }

    .btn small{

        font-size:12px;

    }

}

@media (max-width:480px){

    .hero h1{

        font-size:28px;

    }

    .subtitle{

        font-size:17px;

    }

    .phone{

        font-size:18px;

    }

    .section-title{

        font-size:18px;

    }

    .btn{

        gap:14px;

    }

    .btn i{

        font-size:22px;

    }

}
