@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600;700;900&display=swap');

* {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background: #fafafa;
    color: #1a1a1a;
}

.text-red-custom {
    color: #c00000;
}
.bg-red-custom {
    background: #c00000;
}
.border-red-custom {
    border-color: #c00000;
}
.hover-red-custom:hover {
    color: #c00000;
}

.glass-white {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.card-shadow {
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.card-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(192, 0, 0, 0.15);
}

.btn-red {
    background: #c00000;
    color: #fff;
    transition: all 0.3s ease;
    border: none;
}
.btn-red:hover {
    background: #8a0000;
    transform: scale(1.03);
}

.btn-outline-red {
    border: 2px solid #c00000;
    color: #c00000;
    transition: all 0.3s ease;
}
.btn-outline-red:hover {
    background: #c00000;
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 5px;
    background: #c00000;
    border-radius: 4px;
}
.section-title span {
    color: #c00000;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(192, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #c00000;
    margin: 0 auto 1.5rem;
}

.swiper-slide img {
    width: 1400px;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
}
@media (max-width: 768px) {
    .swiper-slide img {
        width: 100%;
        height: auto;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

.phone-link {
    transition: all 0.3s ease;
    padding: 6px 16px;
    border-radius: 60px;
    background: #f0f0f0;
    display: inline-block;
    border: 1px solid #e0e0e0;
}
.phone-link:hover {
    background: #c00000;
    color: #fff !important;
    border-color: #c00000;
}
.phone-link i {
    color: #c00000;
    margin-left: 6px;
}
.phone-link:hover i {
    color: #fff;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    z-index: 999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    max-width: 500px;
    width: 100%;
    background: #fff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.4s ease;
}
@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.modal-box input,
.modal-box textarea,
.modal-box select {
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 14px 18px;
    width: 100%;
    background: #f9f9f9;
    transition: border 0.3s;
}
.modal-box input:focus,
.modal-box textarea:focus,
.modal-box select:focus {
    outline: none;
    border-color: #c00000;
    box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.1);
}
.modal-box label {
    font-weight: 600;
    color: #1a1a1a;
    display: block;
    margin-bottom: 6px;
}

footer a {
    transition: color 0.3s;
}
footer a:hover {
    color: #c00000;
}

html {
    scroll-behavior: smooth;
}
@media (max-width: 640px) {
    header .btn-red {
        padding: 8px 14px;
        font-size: 0.7rem;
    }
    header .btn-red i {
        font-size: 0.8rem;
    }
    header .text-2xl {
        font-size: 1.2rem;
    }
}

/* اسلایدر در موبایل */
@media (max-width: 640px) {
    .swiper-slide img {
        height: 200px !important;
        border-radius: 16px !important;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .swiper-slide img {
        height: 320px !important;
    }
}

/* بخش اطلاعات + شماره‌ها */
@media (max-width: 640px) {
    .info-section .text-xl {
        font-size: 1rem !important;
    }
    .phone-link {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
    }
    .phone-link i {
        font-size: 0.7rem !important;
    }
}

/* کارت‌های خدمات */
@media (max-width: 640px) {
    .service-card {
        padding: 20px 16px !important;
    }
    .service-card h3 {
        font-size: 1.2rem !important;
    }
    .service-card p {
        font-size: 0.85rem !important;
    }
    .service-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
}

/* بخش درباره ما */
@media (max-width: 640px) {
    .about-section .section-title {
        font-size: 1.6rem !important;
    }
    .about-section p {
        font-size: 0.9rem !important;
    }
}

/* ویدئو */
@media (max-width: 640px) {
    .video-section h3 {
        font-size: 1.3rem !important;
    }
    .video-section video {
        border-radius: 16px !important;
    }
}

/* فرم مودال */
@media (max-width: 640px) {
    .modal-box {
        padding: 20px !important;
        border-radius: 24px !important;
    }
    .modal-box h3 {
        font-size: 1.4rem !important;
    }
    .modal-box input,
    .modal-box textarea,
    .modal-box select {
        padding: 12px 14px !important;
        font-size: 0.9rem !important;
    }
    .modal-box label {
        font-size: 0.85rem !important;
    }
    .modal-box .btn-red {
        font-size: 1rem !important;
        padding: 12px !important;
    }
}

/* تماس */
@media (max-width: 640px) {
    .contact-section h3 {
        font-size: 1.6rem !important;
    }
    .contact-section ul li {
        font-size: 0.85rem !important;
    }
    .contact-section .btn-red {
        font-size: 1rem !important;
        padding: 12px 24px !important;
    }
}

/* فوتر */
@media (max-width: 640px) {
    footer p {
        font-size: 0.7rem !important;
        text-align: center;
    }
    footer .flex-col {
        gap: 8px !important;
    }
}

/* منوی موبایل */
#mobileMenu a {
    padding: 6px 0;
    font-size: 0.95rem;
}

/* اسکرول نرم برای همه */
html {
    scroll-behavior: smooth;
}

/* جلوگیری از سرریز در موبایل */
* {
    max-width: 100%;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}