@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
}

:root {
    --primary: #e11d48;
    --primary-hover: #be123c;
    --primary-light: #fff1f2;
    --accent: #d97706;
    --dark: #1e1b4b;
    --bg-light: #fdf8f9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--bg-light);
    color: #334155;
    line-height: 1.7;
}

/* Header Fix */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff !important;
    border-bottom: 2px solid #fecdd3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
    max-w: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* CTA Button Header */
.btn-call-header {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35);
    transition: all 0.3s transform;
}

.btn-call-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #fff0f3 0%, #ffffff 100%);
    padding: 60px 24px;
    border-bottom: 1px solid #ffe4e6;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffe4e6;
    color: #9f1239;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(120deg, rgba(225,29,72,0.15) 0%, rgba(225,29,72,0) 100%);
    padding: 0 8px;
    border-radius: 6px;
}

.hero-desc {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 24px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.feature-pill {
    background: #ffffff;
    border: 1px solid #fecdd3;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #e11d48, #9f1239);
    color: #fff;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #334155;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border: 6px solid #ffffff;
}

.hero-image-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Services Section */
.services-section {
    max-width: 1280px;
    margin: 70px auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
}

.section-header p {
    color: #64748b;
    margin-top: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.12);
    border-color: #fecdd3;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Gallery Section */
.gallery-section {
    background: #fff0f3;
    padding: 60px 24px;
    margin-top: 60px;
}

.gallery-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Contact Footer Banner */
.contact-banner {
    background: linear-gradient(135deg, #1e1b4b, #311b92);
    color: #ffffff;
    padding: 60px 24px;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-info h2 {
    font-size: 2rem;
    color: #f43f5e;
    margin-bottom: 12px;
}

.btn-large-call {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff !important;
    padding: 18px 40px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.5);
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}


/* Mobile Menu Responsive Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e1b4b;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        /* نمایش دکمه همبرگری در موبایل */
    }

    .site-header .header-container {
        position: relative;
        justify-content: space-between;
    }

    .site-header .nav-links {
        display: none;
        /* مخفی‌سازی منوی عادی در حالت اولیه */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        border-top: 1px solid #f1f5f9;
        z-index: 1000;
    }

    .site-header .nav-links.mobile-active {
        display: flex;
        /* باز شدن منو با کلیک کاربر */
    }

    .site-header .nav-links li {
        width: 100%;
        text-align: right;
    }

    .site-header .nav-links a {
        display: block;
        padding: 10px 20px;
    }

    .btn-call-header {
        display: none;
        /* مخفی کردن دکمه تماس در هدر موبایل جهت خلوت ماندن هدر */
    }
}

/* Mobile Header & Call Button Fixes */
.btn-call-mobile {
    display: none;
}

@media (max-width: 768px) {
    .site-header .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        position: relative;
    }

    /* دکمه تماس مخصوص موبایل */
    .btn-call-mobile {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background-color: #e11d48;
        color: #ffffff !important;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: bold;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.6rem;
        color: #1e1b4b;
        cursor: pointer;
        padding: 5px;
    }

    .site-header .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        border-top: 1px solid #f1f5f9;
        z-index: 1000;
    }

    .site-header .nav-links.mobile-active {
        display: flex !important;
    }

    .site-header .nav-links li {
        width: 100%;
        text-align: right;
    }

    .site-header .nav-links a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #f8fafc;
    }

    /* هایلایت لینک فعال در منو */
    .site-header .nav-links a.active {
        color: #e11d48 !important;
        font-weight: bold;
        background-color: #fff1f2;
    }

    .btn-call-header {
        display: none;
        /* مخفی‌سازی دکمه دسکتاپ در موبایل */
    }
}