﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: #fcf9f7;
    color: #2c241e;
    line-height: 1.7;
    padding: 0 0 2rem 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== TOP BAR ====== */
.top-bar {
    background: linear-gradient(135deg, #2c1f12, #4a3728);
    color: #f5ede0;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    border-bottom: 2px solid #d4af37;
}

    .top-bar .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem 1.5rem;
    }

    .top-bar .contact-info {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem 1.8rem;
        align-items: center;
    }

        .top-bar .contact-info a {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: #f5ede0;
            transition: 0.2s;
            font-weight: 400;
        }

            .top-bar .contact-info a:hover {
                color: #d4af37;
            }

    .top-bar .social-links {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }

        .top-bar .social-links a {
            color: #f5ede0;
            font-size: 1.1rem;
            transition: 0.2s;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.08);
        }

            .top-bar .social-links a:hover {
                color: #d4af37;
                background: rgba(212, 175, 55, 0.15);
                border-color: #d4af37;
                transform: translateY(-2px);
            }

/* ====== HEADER ====== */
.hero {
    background: linear-gradient(145deg, #ffffff 0%, #faf6f0 100%);
    padding: 2rem 0 2rem;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 12px 40px rgba(180, 140, 80, 0.08);
    margin-bottom: 2.5rem;
    border-bottom: 3px solid #d4af37;
    position: relative;
}

    .hero::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, transparent, #d4af37, #f5e6b0, #d4af37, transparent);
        border-radius: 50%;
        filter: blur(2px);
        opacity: 0.5;
    }

.profile-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.profile-image {
    flex: 0 0 170px;
    height: 170px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5e6b0, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(180, 140, 60, 0.2);
    border: 5px solid #ffffff;
    position: relative;
}

    .profile-image::after {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        border: 2px solid #d4af37;
        opacity: 0.3;
    }

    .profile-image i {
        font-size: 5.8rem;
        color: #7a5c2e;
        opacity: 0.9;
        filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.05));
    }

.profile-info {
    flex: 1;
    min-width: 280px;
}

    .profile-info h1 {
        font-size: 2.6rem;
        font-weight: 700;
        color: #2c1f12;
        margin-bottom: 0.2rem;
        letter-spacing: -0.5px;
    }

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #f5e6b0, #e8d08a);
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #5a3f1a;
    margin-bottom: 1rem;
    border: 1px solid #d4af37;
    box-shadow: inset 0 1px 4px rgba(255,255,240,0.6);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.6rem 1.5rem;
    margin: 1.2rem 0 1rem;
    background: #ffffff;
    padding: 1.2rem 1.8rem;
    border-radius: 40px;
    border: 1px solid #eedfc0;
    box-shadow: 0 4px 16px rgba(180, 140, 60, 0.04);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.98rem;
    color: #362b23;
}

    .detail-item i {
        width: 1.6rem;
        color: #b8962e;
        font-size: 1.1rem;
        text-align: center;
    }

.btn-consult {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(145deg, #d4af37, #b8962e);
    color: white !important;
    padding: 0.7rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(180, 140, 60, 0.3);
    border: 1px solid #d4af37;
    transition: 0.2s;
    margin-top: 0.5rem;
}

    .btn-consult:hover {
        background: linear-gradient(145deg, #c4a032, #a68327);
        transform: scale(1.02);
        box-shadow: 0 10px 28px rgba(180, 140, 60, 0.4);
    }

    .btn-consult i {
        color: white;
    }

/* ====== SECTION TITLES ====== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c1f12;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 90px;
        height: 4px;
        background: linear-gradient(90deg, #d4af37, #f5e6b0);
        border-radius: 10px;
    }

.about-text {
    background: white;
    padding: 2.2rem 2.8rem;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(180, 140, 60, 0.04);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    border: 1px solid #eedfc0;
    color: #2f241c;
    line-height: 1.9;
}

    .about-text i {
        color: #d4af37;
        opacity: 0.5;
        margin-left: 6px;
    }

/* ====== اسلایدر نظرات - اصلاح شده برای RTL ====== */
.testimonials-section {
    background: white;
    border-radius: 40px;
    padding: 2.5rem 0.5rem 2rem;
    margin: 2.5rem 0;
    border: 1px solid #eedfc0;
    box-shadow: 0 8px 24px rgba(180, 140, 60, 0.04);
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    padding: 0.5rem 0.5rem;
    will-change: transform;
    /* در RTL با جاوااسکریپت مدیریت می‌شود */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
    background: #fefcf9;
    padding: 1.8rem 1.5rem;
    border-radius: 28px;
    border: 1px solid #eedfc0;
    box-shadow: 0 4px 16px rgba(180, 140, 60, 0.04);
    transition: all 0.3s;
    position: relative;
}

    .testimonial-card::before {
        content: '\201C';
        font-size: 4rem;
        color: #d4af37;
        opacity: 0.15;
        position: absolute;
        top: 0.2rem;
        right: 1rem;
        font-family: serif;
        line-height: 1;
    }

    .testimonial-card:hover {
        transform: translateY(-4px);
        border-color: #d4af37;
        box-shadow: 0 12px 32px rgba(180, 140, 60, 0.08);
    }

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f0e6d6;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #2c1f12;
}

    .testimonial-name i {
        color: #d4af37;
        margin-left: 0.4rem;
        font-size: 0.9rem;
    }

.testimonial-date {
    font-size: 0.8rem;
    color: #7a6b5a;
    background: #f5ede0;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    border: 1px solid #e6d6b0;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #3f2e1a;
    line-height: 1.8;
    margin-top: 0.5rem;
}

    .testimonial-text i {
        color: #d4af37;
        opacity: 0.3;
        font-size: 0.8rem;
        margin: 0 0.2rem;
    }

.testimonial-stars {
    color: #d4af37;
    font-size: 0.85rem;
    margin-top: 0.6rem;
    letter-spacing: 2px;
}

/* دکمه‌های ناوبری اسلایدر */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

    .slider-nav button {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid #d4af37;
        background: white;
        color: #b8962e;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(180, 140, 60, 0.06);
    }

        .slider-nav button:hover {
            background: #d4af37;
            color: white;
            transform: scale(1.05);
            box-shadow: 0 4px 16px rgba(180, 140, 60, 0.2);
        }

        .slider-nav button:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            transform: none;
        }

            .slider-nav button:disabled:hover {
                background: white;
                color: #b8962e;
                box-shadow: 0 2px 8px rgba(180, 140, 60, 0.06);
            }

/* ====== ساعات کاری ====== */
.hours-section {
    background: white;
    border-radius: 40px;
    padding: 2.2rem 2.5rem;
    margin: 2.5rem 0;
    border: 1px solid #eedfc0;
    box-shadow: 0 8px 24px rgba(180, 140, 60, 0.04);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

    .hours-table th {
        text-align: right;
        padding: 0.8rem 1rem;
        background: linear-gradient(135deg, #fcf6e8, #f5ede0);
        color: #2c1f12;
        font-weight: 700;
        border-bottom: 2px solid #d4af37;
        font-size: 1.05rem;
    }

    .hours-table td {
        padding: 0.7rem 1rem;
        border-bottom: 1px solid #f0e6d6;
        color: #3f2e1a;
    }

    .hours-table tr:last-child td {
        border-bottom: none;
    }

    .hours-table .day-name {
        font-weight: 600;
        color: #2c1f12;
    }

    .hours-table .time-range {
        color: #5a3f1a;
    }

    .hours-table .closed {
        color: #b8962e;
        font-weight: 600;
        background: #fcf6e8;
        padding: 0.2rem 1rem;
        border-radius: 50px;
        display: inline-block;
        font-size: 0.85rem;
        border: 1px solid #e6d6b0;
    }

    .hours-table .today-highlight {
        background: #fcf6e8;
        border-radius: 12px;
    }

        .hours-table .today-highlight td:first-child {
            border-radius: 12px 0 0 12px;
        }

        .hours-table .today-highlight td:last-child {
            border-radius: 0 12px 12px 0;
        }

    .hours-table td i {
        color: #d4af37;
        margin-left: 0.5rem;
        width: 1.4rem;
        text-align: center;
    }

/* ====== SEO FOOTER ====== */
.seo-footer {
    background: white;
    border-radius: 40px;
    padding: 2.2rem 1.8rem;
    margin-top: 2.8rem;
    border: 1px solid #eedfc0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem 2.8rem;
}

    .seo-footer a {
        font-size: 0.95rem;
        color: #3f2e1a;
        font-weight: 500;
        border-bottom: 2px solid transparent;
        transition: 0.15s;
        padding: 0.2rem 0;
        white-space: nowrap;
    }

        .seo-footer a:hover {
            border-bottom-color: #d4af37;
            color: #7a5c2e;
        }

    .seo-footer i {
        margin-left: 0.3rem;
        font-size: 0.8rem;
        color: #d4af37;
    }

/* ====== CREDIT ====== */
.credit-footer {
    text-align: center;
    padding: 1.8rem 0 0.5rem;
    font-size: 0.9rem;
    color: #7a6b5a;
    border-top: 1px solid #eedfc0;
    margin-top: 2rem;
}

    .credit-footer a {
        color: #b8962e;
        font-weight: 600;
        transition: 0.2s;
    }

        .credit-footer a:hover {
            color: #7a5c2e;
        }

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 720px) {
    .top-bar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .top-bar .contact-info {
        justify-content: center;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        flex: 0 0 140px;
        height: 140px;
    }

        .profile-image i {
            font-size: 4.5rem;
        }

    .profile-info h1 {
        font-size: 2rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .hours-section {
        padding: 1.5rem;
    }

    .hours-table th, .hours-table td {
        padding: 0.5rem 0.6rem;
        font-size: 0.9rem;
    }

    .seo-footer a {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .btn-consult {
        width: 100%;
        justify-content: center;
    }

    .seo-footer {
        gap: 0.8rem 1.5rem;
    }

    .slider-nav button {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}


/* ====== استایل اسلایدر گالری ====== */
.gallery-slider-section {
    background: white;
    border-radius: 40px;
    padding: 2.5rem 0.5rem 2rem;
    margin: 2.5rem 0;
    border: 1px solid #eedfc0;
    box-shadow: 0 8px 24px rgba(180, 140, 60, 0.04);
    overflow: hidden;
}

.gallery-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    padding: 0.5rem 0.5rem;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 250px;
    height: 220px;
    background: linear-gradient(145deg, #fefcf9, #f5ede0);
    border-radius: 28px;
    border: 1px solid #eedfc0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(180, 140, 60, 0.04);
}

    .gallery-slide:hover {
        transform: translateY(-4px);
        border-color: #d4af37;
        box-shadow: 0 12px 32px rgba(180, 140, 60, 0.08);
    }

    .gallery-slide i {
        font-size: 4rem;
        color: #b8962e;
        opacity: 0.7;
    }

    .gallery-slide span {
        font-size: 1rem;
        font-weight: 600;
        color: #2c1f12;
        background: rgba(255,255,255,0.8);
        padding: 0.3rem 1.2rem;
        border-radius: 50px;
        border: 1px solid #e6d6b0;
    }

/* دکمه‌های ناوبری */
.gallery-slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

    .gallery-slider-nav button {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid #d4af37;
        background: white;
        color: #b8962e;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(180, 140, 60, 0.06);
    }

        .gallery-slider-nav button:hover {
            background: #d4af37;
            color: white;
            transform: scale(1.05);
            box-shadow: 0 4px 16px rgba(180, 140, 60, 0.2);
        }

        .gallery-slider-nav button:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            transform: none;
        }

            .gallery-slider-nav button:disabled:hover {
                background: white;
                color: #b8962e;
                box-shadow: 0 2px 8px rgba(180, 140, 60, 0.06);
            }

/* ====== ریسپانسیو ====== */
@media (max-width: 992px) {
    .gallery-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 720px) {
    .gallery-slide {
        flex: 0 0 100%;
        height: 180px;
    }

        .gallery-slide i {
            font-size: 3rem;
        }
}

@media (max-width: 480px) {
    .gallery-slider-nav button {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}
