/* ==============================================
   صفحه‌ی تماس با ما
   هدر/منو از css/navbar.css می‌آید.
   فونت‌ها با <link> در <head> لود می‌شوند (Vazirmatn برای فارسی،
   Poppins برای عنوان‌های لاتین — Poppins گلیف فارسی ندارد).
   ============================================== */

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

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}

html,
body{
    overflow-x:hidden;
    overflow-x:clip;
}

body{
    font-family:"Vazirmatn", sans-serif;
    background:#0f0f0f;
    color:#fff;
    -webkit-tap-highlight-color:transparent;
}

:focus-visible{
    outline:2px solid #d4af37;
    outline-offset:3px;
}

/*================ Hero ================*/

.contactHero{

    width:100%;
    height:65vh;
    min-height:420px;

    background:#000 url("./img/InShot_20260729_173055181_1920x1152.jpg") center center/cover no-repeat;

    position:relative;

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

    padding:110px 20px 40px;

}

.overlay{

    position:absolute;
    inset:0;

    background:rgba(0,0,0,.72);

}

.content{

    position:relative;
    text-align:center;
    z-index:2;

}

.content span{

    font-family:"Poppins", sans-serif;
    letter-spacing:5px;
    color:#d4af37;
    font-size:15px;

}

.content h1{

    font-size:clamp(32px, 6vw, 70px);
    margin:18px 0;
    line-height:1.3;

}

.content p{

    font-size:18px;
    color:#ddd;
    line-height:1.9;

}

/*================ Contact ================*/

.contactContainer{

    width:90%;
    max-width:1300px;
    margin:120px auto;

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:80px;
    align-items:center;

}

.leftSide img{

    display:block;
    width:100%;
    height:auto;
    border-radius:25px;
    transition:.6s;

}

@media (hover:hover){
    .leftSide img:hover{
        transform:scale(1.04);
    }
}

.rightSide{

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

    border:1px solid rgba(255,255,255,.08);

    border-radius:25px;

    padding:60px;

}

.rightSide h2{

    font-size:35px;

    margin-bottom:44px;

}

.inputBox{

    position:relative;

    margin-bottom:35px;

}

.inputBox input,
.inputBox textarea{

    width:100%;

    background:transparent;

    border:none;

    border-radius:0;

    outline:none;

    border-bottom:2px solid #555;

    padding:15px 0;

    color:#fff;

    font-family:inherit;

    /* ۱۶px یا بیشتر تا iOS هنگام فوکوس صفحه را زوم نکند */
    font-size:17px;

    transition:border-color .3s;

    -webkit-appearance:none;
    appearance:none;

}

.inputBox input[dir="ltr"]{

    text-align:right;

}

.inputBox input:focus,
.inputBox textarea:focus{

    border-bottom-color:#d4af37;

}

.inputBox textarea{

    resize:none;
    height:140px;

}

.inputBox label{

    position:absolute;

    right:0;

    top:15px;

    transition:.3s;

    pointer-events:none;

    color:#888;

}

/* لیبل شناور — :placeholder-shown برخلاف :valid برای ایمیل نیمه‌کاره هم درست کار می‌کند */
.inputBox input:focus + label,
.inputBox input:not(:placeholder-shown) + label,
.inputBox textarea:focus + label,
.inputBox textarea:not(:placeholder-shown) + label{

    top:-18px;

    font-size:13px;

    color:#d4af37;

}

.inputBox.invalid input,
.inputBox.invalid textarea{

    border-bottom-color:#e5484d;

}

.inputBox.invalid label{

    color:#e5484d;

}

.submitBtn{

    width:100%;

    height:60px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    border:none;

    cursor:pointer;

    border-radius:50px;

    background:#d4af37;

    color:#111;

    font-family:inherit;

    font-size:18px;

    font-weight:600;

    transition:.4s;

}

@media (hover:hover){
    .submitBtn:hover{
        transform:translateY(-5px);
        box-shadow:0 20px 40px rgba(212,175,55,.4);
    }
}

.submitBtn.sent{

    background:#16a34a;

    color:#fff;

}

/*================ Cards ================*/

.contactCards{

    width:90%;

    max-width:650px;

    margin:0 auto;

}

.card{

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

    border:1px solid rgba(255,255,255,.12);

    border-radius:25px;

    padding:50px;

    transition:.4s;

}

.card i{

    font-size:35px;

    color:#d4af37;

    margin-bottom:20px;

}

.card h3{

    margin-bottom:15px;

}

/*================ Footer ================*/

footer{

    background:#000;

    padding:70px 20px;

    padding-bottom:calc(70px + env(safe-area-inset-bottom, 0px));

    text-align:center;

}

footer h2{

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

    font-size:40px;

}

footer p{

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

    color:#999;

    margin-top:15px;

}

/*================ Social ================*/

.socialSection{

    width:90%;
    margin:100px auto;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;
    flex-wrap:wrap;

}

.socialSection a{

    position:relative;

    width:120px;
    height:120px;

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

    text-decoration:none;
    color:#ffffff;

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

    border:1px solid rgba(255,255,255,.15);

    border-radius:25px;

    transition:.45s;

    overflow:hidden;

}

.socialSection i{

    font-size:42px;

    color:#d4af37;

    margin-bottom:12px;

    transition:.45s;

    animation:float 3s ease-in-out infinite;

}

.socialSection img{

    width:42px;

    height:42px;

    border-radius:10px;

    margin-bottom:12px;

    transition:.45s;

    animation:float 3s ease-in-out infinite;

}

.socialSection span{

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

    font-size:14px;

    transition:.45s;

}

.socialSection a::before{

    content:"";

    position:absolute;

    top:-120%;

    left:-120%;

    width:250%;

    height:250%;

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

    transform:rotate(35deg);

    transition:.7s;

    pointer-events:none;

}

@media (hover:hover){

    .instagram:hover{
        background:linear-gradient(45deg, #FEDA75 0%, #FA7E1E 20%, #D62976 45%, #962FBF 70%, #4F5BD5 100%);
        transform:translateY(-12px);
        box-shadow:0 15px 40px rgba(214,41,118,.45);
    }

    .telegram:hover{
        background:#229ED9;
        transform:translateY(-12px);
        box-shadow:0 15px 40px rgba(34,158,217,.6);
    }

    .whatsapp:hover{
        background:#25D366;
        transform:translateY(-12px);
        box-shadow:0 15px 40px rgba(37,211,102,.6);
    }

    .rubika:hover{
        background:#074a75;
        transform:translateY(-12px);
        box-shadow:0 15px 40px rgba(7,74,117,.8);
    }

    .socialSection a:hover i,
    .socialSection a:hover span{
        color:#fff;
    }

    .socialSection a:hover::before{
        top:120%;
        left:120%;
    }

}

@keyframes float{

    0%{ transform:translateY(0); }
    50%{ transform:translateY(-8px); }
    100%{ transform:translateY(0); }

}

/*================ Navigation card ================*/

.navigationCard{

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

    border:1px solid rgba(255,255,255,.15);

    border-radius:28px;

    padding:55px 35px;

    text-align:center;

    transition:.45s;

}

@media (hover:hover){
    .navigationCard:hover{
        transform:translateY(-10px);
        box-shadow:0 20px 50px rgba(255,255,255,.1);
    }
}

.navigationCard p{

    color:#ddd;

    line-height:1.9;

}

.navIcon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

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

}

.navIcon i{

    font-size:42px;

    color:#d4af37;

    margin:0;

    animation:float 3s ease-in-out infinite;

}

.navigationCard h3{

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

    font-size:22px;

}

.mapButtons{

    margin-top:35px;

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

.mapButtons a{

    padding:14px 26px;

    border-radius:50px;

    font-weight:600;

    text-decoration:none;

    display:flex;

    align-items:center;

    gap:10px;

    transition:.4s;

    color:#fff;

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

}

.mapButtons a i{

    font-size:18px;

    color:inherit;

    margin:0;

}

/* Google «G»: one colour at rest, Google's four real colours on hover */
.googleG{

    width:18px;

    height:18px;

    flex:none;

}

.googleG__mono{

    fill:currentColor;

    transition:opacity .4s;

}

.googleG__colour{

    opacity:0;

    transition:opacity .4s;

}

@media (hover:hover){

    .neshanBtn:hover{
        background:#009944;
        transform:translateY(-5px);
        box-shadow:0 12px 30px rgba(0,177,79,.45);
    }

    /* Google's own look: white button, dark grey words, the four-colour «G» */
    .googleBtn:hover{
        background:#fff;
        color:#3c4043;
        transform:translateY(-5px);
        box-shadow:0 12px 30px rgba(66,133,244,.45);
    }

    .googleBtn:hover .googleG__mono{
        opacity:0;
    }

    .googleBtn:hover .googleG__colour{
        opacity:1;
    }

}

/*================ Call card ================*/

.call-card{

    width:100%;

    margin:0 auto 40px;

    padding:25px;

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

    border:1px solid rgba(255,255,255,.15);

    border-radius:25px;

    overflow:hidden;

    transition:box-shadow .5s;

}

.call-card.active{

    box-shadow:0 25px 60px rgba(0,0,0,.4);

}

.call-btn{

    width:100%;

    padding:18px;

    border:none;

    border-radius:16px;

    background:#25D366;

    color:#fff;

    font-family:inherit;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    transition:background .3s;

}

.call-btn:hover{

    background:#1ebd5b;

}

.call-chevron{

    font-size:14px;

    transition:transform .4s;

}

.call-card.active .call-chevron{

    transform:rotate(180deg);

}

.call-content{

    max-height:0;

    overflow:hidden;

    visibility:hidden;

    transition:max-height .6s ease, margin-top .6s ease, visibility 0s linear .6s;

}

.call-card.active .call-content{

    max-height:640px;

    margin-top:24px;

    visibility:visible;

    transition:max-height .6s ease, margin-top .6s ease, visibility 0s;

}

.info{

    display:flex;

    gap:18px;

    padding:18px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.info:last-of-type{

    border:none;

}

.info i{

    width:50px;

    height:50px;

    flex-shrink:0;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#d4af37;

    color:#111;

    font-size:20px;

}

.info h4{

    color:#fff;

    margin-bottom:5px;

}

.info p{

    color:#d6d6d6;

    line-height:1.8;

}

.phoneLink{

    color:#d4af37;

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

    font-size:18px;

    font-weight:600;

    text-decoration:none;

    letter-spacing:1px;

}

.callNow{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:10px;

    padding:15px;

    border-radius:14px;

    border:1px solid #25D366;

    color:#25D366;

    font-weight:600;

    text-decoration:none;

    transition:.3s;

}

.callNow:hover{

    background:#25D366;

    color:#fff;

}

/*================ Responsive ================*/

@media(max-width:900px){

    .contactContainer{

        grid-template-columns:1fr;

        margin:70px auto;

        gap:40px;

    }

    .leftSide{

        max-width:340px;

        margin:0 auto;

        width:100%;

    }

    .rightSide{

        padding:35px;

    }

}

@media(max-width:600px){

    /* عکس هیرو خودش یک گرافیک متنی (Boutique 13 / CONTACT US) است؛ در
       موبایل برش cover آن را نصفه و زیر تیتر شلوغ نشان می‌داد. اینجا
       گرافیک کامل بالای هیرو و تیتر زیر آن قرار می‌گیرد. */
    .contactHero{

        display:block;

        height:auto;

        min-height:0;

        padding:calc(84px + 60vw) 16px 44px;

        background-size:100% auto;

        background-position:center 78px;

    }

    .contactHero .overlay{

        background:rgba(0,0,0,.25);

    }

    .content span{

        font-size:12px;

        letter-spacing:4px;

    }

    .content p{

        font-size:15px;

    }

    .contactContainer{

        width:100%;

        padding:0 16px;

        margin:50px auto 60px;

        gap:32px;

    }

    .leftSide{

        max-width:220px;

    }

    .rightSide{

        padding:30px 20px 24px;

        border-radius:20px;

    }

    .rightSide h2{

        font-size:26px;

        margin-bottom:36px;

    }

    .inputBox{

        margin-bottom:30px;

    }

    .inputBox textarea{

        height:110px;

    }

    .submitBtn{

        height:54px;

        font-size:17px;

    }

    .contactCards{

        width:100%;

        padding:0 16px;

    }

    .call-card{

        padding:16px;

        border-radius:20px;

    }

    .call-btn{

        font-size:17px;

        padding:16px;

    }

    .info{

        gap:14px;

    }

    .info i{

        width:44px;

        height:44px;

        font-size:17px;

    }

    .navigationCard{

        padding:40px 20px;

        border-radius:22px;

    }

    .navIcon{

        width:76px;

        height:76px;

    }

    .navIcon i{

        font-size:34px;

    }

    .mapButtons{

        gap:12px;

    }

    .mapButtons a{

        flex:1 1 130px;

        justify-content:center;

        padding:14px 18px;

    }

    .socialSection{

        width:100%;

        padding:0 16px;

        margin:60px auto;

        display:grid;

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

        gap:14px;

        max-width:340px;

    }

    .socialSection a{

        width:100%;

        height:110px;

        border-radius:20px;

    }

    footer{

        padding:50px 20px;

        padding-bottom:calc(50px + env(safe-area-inset-bottom, 0px));

    }

    footer h2{

        font-size:30px;

    }

}

@media (prefers-reduced-motion: reduce){

    .socialSection i,
    .socialSection img,
    .navIcon i{

        animation:none;

    }

}
