﻿/* =========================================
   Contact Us - Termeh Cover Standalone CSS
   ========================================= */

.contact-page-modern {
    background: #fdfaf7;
    padding-bottom: 80px;
}

/* ---------- Hero (Container-Width) ---------- */

.contact-hero {
    position: relative;
    z-index: 1;
    padding: 34px 0 0;
    background: transparent;
}

    .contact-hero .container {
        position: relative;
        overflow: hidden;
        padding: 52px 30px;
        color: #4d352d;
        text-align: center;
        background: radial-gradient(circle at 12% 15%, rgba(187, 121, 93, .16), transparent 32%), radial-gradient(circle at 88% 0%, rgba(221, 190, 164, .48), transparent 30%), linear-gradient(135deg, #fcf7f2 0%, #f4e6da 52%, #ead8ca 100%);
        border: 1px solid rgba(166, 93, 71, .12);
        border-radius: 24px;
        box-shadow: 0 12px 30px rgba(99, 59, 46, .06);
    }

        .contact-hero .container::before,
        .contact-hero .container::after {
            position: absolute;
            border: 1px solid rgba(166, 93, 71, .12);
            border-radius: 50%;
            content: "";
            pointer-events: none;
        }

        .contact-hero .container::before {
            top: -150px;
            right: -60px;
            width: 260px;
            height: 260px;
        }

        .contact-hero .container::after {
            bottom: -190px;
            left: -75px;
            width: 300px;
            height: 300px;
        }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

    .hero-content h1 {
        margin: 0 0 12px;
        color: #6e3e30;
        font-size: clamp(1.8rem, 4vw, 2.65rem);
        font-weight: 800;
        line-height: 1.45;
    }

    .hero-content > p {
        max-width: 620px;
        margin: 0 auto 20px;
        color: #765d53;
        font-size: 1rem;
        line-height: 2;
    }

    .hero-content .breadcrumb {
        display: inline-flex;
        margin: 0;
        padding: 9px 20px;
        background: rgba(255, 255, 255, .58);
        border: 1px solid rgba(166, 93, 71, .14);
        border-radius: 99px;
    }

    .hero-content .breadcrumb-item, .hero-content .breadcrumb-item a {
        color: #765044;
        font-size: .9rem;
        text-decoration: none;
    }

        .hero-content .breadcrumb-item.active {
            color: #9a5743;
            font-weight: 700;
        }

/* ---------- Main Layout ---------- */

.contact-page-modern .main-content {
    margin-top: 24px;
}

.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ---------- Cards ---------- */

.info-card {
    padding: 26px 24px;
    background: #fff;
    border: 1px solid rgba(166, 93, 71, .10);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(99, 59, 46, .06);
    text-align: center;
    transition: transform .25s ease;
}

    .info-card:hover {
        transform: translateY(-4px);
    }

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    background: #f8eae2;
    border-radius: 50%;
    color: #9a5743;
    font-size: 1.35rem;
}

.info-card h3 {
    margin: 0 0 10px;
    color: #51382f;
    font-size: 1.08rem;
    font-weight: 800;
}

.info-card p, .info-card a {
    color: #785b50;
    font-size: .94rem;
    line-height: 2;
    text-decoration: none;
    word-break: break-word;
}

.text-ltr {
    direction: ltr;
    unicode-bidi: plaintext;
}

/* ---------- Social Links ---------- */

.social-card .social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 5px;
    border: 1px solid #eadfd8;
    border-radius: 12px;
    background: #fffdfb;
    color: #765d53;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

    .social-link.instagram:hover {
        background: #fff4f9;
        color: #c13584;
        border-color: #c13584;
    }

    .social-link.telegram:hover {
        background: #f0faff;
        color: #0088cc;
        border-color: #0088cc;
    }

    .social-link.eitaa:hover {
        background: #fff8ef;
        color: #d66f16;
        border-color: #d66f16;
    }

    .social-link.rubino:hover {
        background: #fff4f6;
        color: #d92f56;
        border-color: #d92f56;
    }

.social-text-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: currentColor;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
}

/* ---------- Map & Routing ---------- */

.map-wrapper {
    padding: 22px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(99, 59, 46, .08);
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

    .map-header h2 {
        color: #6e3e30;
        font-size: 1.3rem;
        font-weight: 800;
    }

.routing-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-routing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none !important;
}

    .btn-routing.neshan {
        background: #e8f7f3;
        color: #16745d;
        border: 1px solid #bde6da;
    }

    .btn-routing.balad {
        background: #fff5d9;
        color: #966a00;
        border: 1px solid #f2dfaa;
    }

    .btn-routing.google-maps {
        background: #f1f6ff;
        color: #1a73e8;
        border: 1px solid #b9d2ff;
    }

        .btn-routing.google-maps:hover {
            background: #1a73e8;
            color: #fff;
            border-color: #1a73e8;
        }

        .btn-routing.google-maps img {
            width: 22px;
            height: 22px;
            object-fit: contain;
            background: transparent;
        }

    .btn-routing img {
        width: 22px;
        height: 22px;
    }

.iframe-container {
    border-radius: 17px;
    overflow: hidden;
    background: #f3ebe5;
    border: 1px solid #eee;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .info-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .social-card {
        grid-column: span 3;
    }
}

@media (max-width: 767.98px) {
    .info-sidebar {
        display: flex;
        flex-direction: column;
    }

    .map-header {
        flex-direction: column;
        text-align: center;
    }

    .routing-buttons {
        justify-content: center;
        width: 100%;
    }

    .btn-routing {
        flex: 1 1 140px;
    }
}
