html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #fff;
    color: #2d3748;
    line-height: 1.6;
}

/* ==========================
   TOP BAR
========================== */
.top-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    padding: 8px 5%;
}

.top-bar-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.top-bar-container a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
}

/* ==========================
   HEADER
========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 5%;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 75px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    transition: .3s;
}

.nav-menu a:hover {
    color: #0a6cff;
}

/* ============================================================
   HERO SECTION (نسخه خالص پوستر شما)
============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    background-image: url("./1000649777.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-text-box, .hero-action-box {
    display: none !important;
}

/* ==========================
   SERVICES
========================== */
.services {
    padding: 90px 5%;
    background: #f7f9fc;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 60px;
    color: #1a365d;
    font-weight: 700;
}

.services-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-box {
    background: white;
    padding: 35px 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    text-align: center;
    transition: .35s;
}

.service-box:hover {
    transform: translateY(-8px);
}

.custom-service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
}

.service-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #222;
}

.service-box p {
    color: #666;
    margin-bottom: 20px;
}

.info-link-btn {
    display: inline-block;
    padding: 11px 24px;
    background: #1a365d;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    transition: .3s;
}

.info-link-btn:hover {
    background: #0d2340;
}

/* ==========================
   GOOGLE
========================== */
.referenzen-section {
    padding: 90px 5%;
    background: white;
}

.google-business-box {
    max-width: 700px;
    margin: auto;
    padding: 45px;
    border-radius: 15px;
    background: #f8f9fb;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.google-business-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.google-business-box p {
    margin-bottom: 30px;
    color: #555;
}

.google-btn {
    display: inline-block;
    padding: 13px 28px;
    background: #4285F4;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.google-btn:hover {
    background: #2b6ddd;
}

/* ==========================
   CONTACT
========================== */
.contact-section {
    padding: 90px 5%;
    background: #f7f9fc;
}

.contact-subtitle {
    text-align: center;
    margin-top: -35px;
    margin-bottom: 45px;
    color: #666;
}

.contact-buttons {
    max-width: 850px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.contact-card {
    width: 280px;
    padding: 35px;
    background: white;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: .35s;
    color: #222;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.contact-card p {
    font-size: 15px;
    color: #666;
    word-break: break-word;
}

/* ==========================
   FLOATING BUTTONS
========================== */
.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
    z-index: 9999;
}

.floating-whatsapp img {
    width: 38px;
}

.floating-email {
    position: fixed;
    right: 25px;
    bottom: 105px;
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
    z-index: 9999;
}

.floating-email img {
    width: 36px;
}

/* ==========================
   FOOTER
========================== */
.site-footer {
    background: #ffcc00;
    padding: 40px 5%;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 18px;
}

.legal-footer-link {
    text-decoration: none;
    font-weight: bold;
    color: #222;
}

.legal-footer-link:hover {
    text-decoration: underline;
}

.copyright {
    color: #444;
    font-size: 14px;
}

/* ============================================================
   SINGLE UNIFIED MEDIA QUERY (ادغام قطعی بخش موبایل برای حذف سیاهی)
============================================================ */
@media(max-width: 768px) {
    /* تنظیمات فیکس هدر و منو در موبایل */
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* جراحی دقیق هیرو: حذف کامل سیاهی زیر عکس در گوشی */
    .hero-section {
        height: auto !important;
        aspect-ratio: 16 / 11 !important; /* قفل کردن فضا کاملاً روی ابعاد عکس */
        min-height: auto !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    /* تنظیمات دکمه‌های تماس در موبایل */
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* جابه‌جایی درست دکمه‌های شناور در موبایل */
    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
    }

    .floating-email {
        right: 15px;
        bottom: 90px;
    }
}