/*
*  Fully Responsive & Optimized Stylesheet for Parsi Tamaddon Alborz
*  Date: 1405/02/03
*  Version: 3.0 (Responsive)
*/

/* --------------------------------------------------- */
/* 1. ROOT VARIABLES & GLOBAL STYLES
/* --------------------------------------------------- */
:root {
    --primary-gold: #ffcc00;
    --primary-dark: #1a1a1a;
    --secondary-dark: #333333;
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --text-light: #6c757d;
    --text-primary: #495057;
    --border-color: #dee2e6;
    --font-family: 'Vazirmatn', sans-serif;
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-light: 0 8px 25px rgba(0, 0, 0, 0.07);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* --------------------------------------------------- */
/* 2. REUSABLE COMPONENTS
/* --------------------------------------------------- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-gold);
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
}

.btn-modern {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--secondary-dark);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
    transition: var(--transition-fast);
}

.btn-modern:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(255, 204, 0, 0.4);
    background: #ffe066;
}

/* --------------------------------------------------- */
/* 3. NAVIGATION
/* --------------------------------------------------- */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    transition: padding 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 5%;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box img {
    height: 55px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text h1 {
    color: var(--primary-gold);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #ccc;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.menu-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.menu-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition-fast);
}

.menu-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: var(--transition-fast);
}

.menu-links a:hover,
.menu-links a.active {
    color: var(--primary-gold);
}

.menu-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--white);
}

/* --------------------------------------------------- */
/* 4. HERO SECTION
/* --------------------------------------------------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('../../assets/pictures/background.jpeg');
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h2 {
    color: var(--primary-gold);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    color: #e0e0e0;
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-content .btn-modern {
    animation: fadeInUp 1.4s ease forwards;
}

/* --------------------------------------------------- */
/* 5. TRUST BAR
/* --------------------------------------------------- */
.trust-bar {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trust-bar span {
    color: var(--primary-gold);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 5px;
}

/* --------------------------------------------------- */
/* 6. SERVICES SECTION
/* --------------------------------------------------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--primary-gold);
    background-color: #fcf3d4;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--primary-gold);
    color: var(--secondary-dark);
    transform: rotate(15deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-dark);
    text-align: center;
}

.badge-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.badge {
    background: #e9ecef;
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --------------------------------------------------- */
/* 7. GENERIC & SPECIFIC SECTIONS
/* --------------------------------------------------- */
.bg-light {
    background-color: var(--white);
}

.split-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-top: 4px;
}

.split-image {
    background: var(--secondary-dark);
    color: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.split-image i.fa-city {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

/* Solar & Cleaning Section Specifics (Replaces Inline Styles) */
.solar-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.service-card.card-solar,
.service-card.card-cleaning {
    text-align: right;
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header-flex .service-icon {
    margin: 0;
}

.card-header-flex h3 {
    margin: 0;
    text-align: right;
}

.badge-list {
    justify-content: flex-start;
}

.badge.badge-highlight {
    background: var(--primary-gold);
    color: var(--secondary-dark);
}

.eco-friendly-text {
    margin-top: 20px;
}

.eco-friendly-text i {
    color: #28a745;
}

/* Feature/Construction Section */
.feature-section {
    background: var(--secondary-dark);
    color: var(--white);
}

.feature-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.feature-text {
    flex: 1.5;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.5;
}

.feature-text h3 span {
    color: var(--primary-gold);
}

.feature-icon-box {
    flex: 1;
    background: #eae7db;
    color: var(--secondary-dark);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    min-width: 280px;
}

.feature-icon-box i {
    font-size: 5rem;
    color: var(--secondary-dark);
}

.feature-icon-box p {
    font-weight: 700;
    margin-top: 15px;
    font-size: 1.2rem;
}

/* --------------------------------------------------- */
/* 8. CONTACT SECTION
/* --------------------------------------------------- */
.contact-section {
    background: var(--primary-dark);
    position: relative;
    background-image: radial-gradient(circle at top right, rgba(255, 204, 0, 0.05), transparent 50%);
}

.contact-section .section-title h2 {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    background: rgba(255, 204, 0, 0.05);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.contact-card h5 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--white);
}

.contact-card p {
    color: #aaa;
    margin-bottom: 20px;
}

.phone-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    direction: ltr;
    transition: var(--transition-fast);
}

.phone-btn:hover {
    background: var(--primary-gold);
    color: var(--secondary-dark);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

/* --------------------------------------------------- */
/* 9. ABOUT & CONTACT WRAPPER SECTION
/* --------------------------------------------------- */
.about-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    height: 100%;
}

.info-box h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 25px;
}

.reg-number {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    text-align: center;
    font-weight: 500;
}

.key-services {
    margin-top: 30px;
}

.key-services h5 {
    color: var(--secondary-dark);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary-gold);
    display: inline-block;
    padding-bottom: 8px;
    font-size: 1.1rem;
}

.map-placeholder {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    border: 2px dashed var(--border-color);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.cta-box {
    background: var(--primary-gold);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: var(--secondary-dark);
    margin-bottom: 20px;
}

.cta-box p {
    font-weight: 800;
    font-size: 1.2rem;
    margin: 10px 0 15px;
}

.cta-box-btn {
    background: var(--secondary-dark);
    color: var(--primary-gold);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition-fast);
}

.cta-box-btn:hover {
    transform: scale(1.05);
    color: var(--white);
}

.timing-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.95rem;
}

/* --------------------------------------------------- */
/* 10. FOOTER
/* --------------------------------------------------- */
footer {
    background: #111;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

footer .container {
    border-top: 1px solid #2a2a2a;
    padding-top: 30px;
}

/* --------------------------------------------------- */
/* 11. FLOATING WHATSAPP BUTTON
/* --------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* --------------------------------------------------- */
/* 12. ANIMATIONS
/* --------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================================== */
/* 13. RESPONSIVE DESIGN (Media Queries)
/* =================================================== */

/* -- Tablets and small desktops (<= 1024px) -- */
@media (max-width: 1024px) {

    .split-section,
    .feature-flex,
    .about-contact-wrapper,
    .solar-grid {
        grid-template-columns: 1fr;
    }

    .feature-text {
        text-align: center;
    }

    .feature-list {
        text-align: right;
    }

    .section-title {
        text-align: center !important;
        /* Overrides any inline styles */
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 3rem;
    }
}


/* -- Mobile Devices (<= 768px) -- */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    section {
        padding: 60px 0;
    }

    /* --- Responsive Navigation --- */
    .menu-links {
        /* This is a basic setup. For a functional menu, JavaScript is required. */
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: var(--primary-dark);
        padding: 20px 0;
        text-align: center;
    }

    .menu-links.active {
        display: flex;
    }

    .menu-links li {
        padding: 10px 0;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-content {
        padding: 10px 5%;
    }

    .logo-box img {
        height: 45px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text span {
        display: none;
    }

    /* --- Hero Section --- */
    .hero {
        height: 90vh;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .btn-modern {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* --- General Layouts --- */
    .service-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .feature-flex {
        flex-direction: column;
    }

    .info-box,
    .contact-card,
    .service-card {
        padding: 25px;
    }

    .phone-btn {
        font-size: 1rem;
    }

    /* --- WhatsApp Button --- */
    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 12px;
        width: 50px;
        height: 50px;
        justify-content: center;
        bottom: 20px;
        left: 20px;
    }
}

/* --------------------------------------------------- */
/* 11. FLOATING BALE BUTTON
/* --------------------------------------------------- */
.bale-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: #00b894;
    /* رنگ سازمانی بله */
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.bale-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.bale-float img {
    width: 28px;
    height: 28px;
    /* این فیلتر رنگ لوگو را سفید می‌کند */
    filter: brightness(0) invert(1);
}

/* در بخش Responsive و در انتهای مدیا کوئری موبایل، این کد را اضافه کنید */
@media (max-width: 768px) {
    /* ... کدهای ریسپانسیو دیگر ... */

    /* --- Bale Button --- */
    .bale-float span {
        display: none;
        /* مخفی کردن متن در موبایل */
    }

    .bale-float {
        padding: 0;
        width: 60px;
        height: 60px;
        justify-content: center;
        bottom: 20px;
        left: 20px;
    }
}


/* =================================================== */
/* 10. FOOTER - NEW DESIGN
/* =================================================== */
footer {
    background-color: var(--primary-dark);
    color: #a9b3c1;
    font-size: 0.95rem;
}

.footer-main {
    padding: 80px 0 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-gold);
    border-radius: 2px;
}

.footer-col p {
    line-height: 1.8;
}

.footer-reg-number {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

.footer-reg-number span {
    font-weight: bold;
    color: var(--primary-gold);
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a9b3c1;
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-gold);
    transform: translateX(-5px);
}

.footer-links i {
    font-size: 0.7rem;
    margin-left: 8px;
}


/* Footer Contact List */
.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-list i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-top: 5px;
}

.footer-contact-list span {
    display: block;
    font-size: 0.85rem;
    color: #8892a0;
}

.footer-contact-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--primary-gold);
}

/* Social Icons */
/* .social-icons {
    margin-top: 25px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-gold);
    color: var(--secondary-dark);
    transform: translateY(-5px);
} */

/* Social Icons - Updated for Larger Size */
.social-icons {
    margin-top: 25px;
    /* این مقدار را در صورت نیاز می‌توانید تنظیم کنید */
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    /* دو برابر شده: از 45px به 90px */
    height: 90px;
    /* دو برابر شده: از 45px به 90px */
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    margin-left: 20px;
    /* دو برابر شده: از 10px به 20px برای حفظ فاصله */
    text-decoration: none;
    font-size: 2.6rem;
    /* دو برابر شده: از 1.3rem به 2.6rem */
    transition: var(--transition-fast);
}

/* آخرین آیکون نباید مارجین داشته باشد تا در وسط قرار گیرد */
.social-icons a:last-child {
    margin-left: 0;
}

.social-icons a:hover {
    background-color: var(--primary-gold);
    color: var(--secondary-dark);
    transform: translateY(-10px);
    /* دو برابر شده: از -5px به -10px برای جلوه بیشتر */
}

/* Map Container */
.map-container {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #2a2a2a;
    font-size: 0.9rem;
}


/* Responsive Adjustments for Footer */
@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 40px 0;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: translateX(0);
        /* Disable horizontal shift on mobile */
    }

    .footer-contact-list li {
        justify-content: center;
    }
}




/* =================================================== */
/* 14. ERROR PAGE STYLES
/* =================================================== */
.error-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    /* ارتفاع صفحه منهای ارتفاع تقریبی فوتر */
    background-color: var(--light-bg);
    text-align: center;
    padding: 40px 20px;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: 10rem;
    font-weight: 900;
    color: var(--primary-gold);
    line-height: 1;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-top: 10px;
    margin-bottom: 20px;
}

.error-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}


.brand-reveal {
    padding: 60px 0;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    text-align: center;
}

.big-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.big-logo {
    max-width: 250px;
    /* سایز لوگو را اینجا تنظیم کنید */
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.big-logo:hover {
    transform: scale(1.05);
}

.logo-title-large h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.logo-title-large p {
    color: #666;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.full-service-box {
    width: 100%;
    margin-top: 40px;
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.full-service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.full-service-header h3 {
    color: #f1c40f;
    margin-bottom: 10px;
    font-size: 2rem;
}

.full-service-header p {
    line-height: 2;
    color: #e5e7eb;
}

.full-service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.service-item i {
    font-size: 2rem;
    color: #f1c40f;
    margin-bottom: 10px;
}

.service-item span {
    display: block;
    font-size: 1rem;
    font-weight: bold;
}

.full-service-contact {
    text-align: center;
    margin-top: 35px;
}

/* =========================================
   Gallery Section - FIXED VERSION
========================================= */

.gallery-section {
    padding: 80px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 ستون در دسکتاپ */
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    background: #f1f1f1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    /* ارتفاع ثابت برای دسکتاپ */
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* =========================================
   Image Modal
========================================= */

.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(4px);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    animation: zoomIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    left: 35px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #d4af37;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* تبلت - 3 ستون */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .gallery-item img {
        height: 220px;
    }
}

/* موبایل بزرگ - 2 ستون */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        border-radius: 12px;
    }

    .gallery-item img {
        height: 180px;
    }
}

/* موبایل کوچک - 2 ستون با ارتفاع کمتر */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item img {
        height: 150px;
    }
}


#order-form-section,
#order-form-section * {
    font-family: 'Vazirmatn', sans-serif !important;
}