/* ============================================
   VARIABLES & RESET - MODERN MINIMAL
   ============================================ */
:root {
    --gold: #D4AF37;
    --gold-dark: #B8962E;
    --gold-light: #E8D5A3;
    --gold-glow: rgba(212, 175, 55, 0.15);
    --bg-primary: #FAF8F5;
    --bg-secondary: #F0EDE8;
    --bg-card: #FFFFFF;
    --bg-dark: #0A0A0A;
    --text-primary: #1A1A1A;
    --text-secondary: #6B6B6B;
    --text-muted: #9A9A9A;
    --text-white: #FFFFFF;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.2);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-primary: 'Vazirmatn', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================
   CONTAINER - ریسپانسیو
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 30px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.gold-text {
    color: var(--gold);
}

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--gold);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-gold);
    text-decoration: none;
    min-height: 48px;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
        background: var(--gold-dark);
        color: #fff;
    }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: transparent;
    color: var(--text-primary);
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 48px;
}

    .btn-outline:hover {
        border-color: var(--gold);
        color: var(--gold);
        transform: translateY(-2px);
    }

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--bg-dark);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 48px;
}

    .btn-dark:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.15);
        color: #fff;
    }

/* ============================================
   HEADER / NAVBAR - مدرن و مینیمال
   ============================================ */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 0 20px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition);
}

@media (min-width: 768px) {
    .custom-header {
        padding: 0 40px;
        height: 76px;
    }
}

.navbar-brand-custom {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

    .navbar-brand-custom .gold-text {
        font-size: 1.3rem;
    }

/* لینک‌های دسکتاپ */
.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links li a {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .nav-links li a:hover,
    .nav-links li a.active {
        color: var(--text-primary);
        background: rgba(0,0,0,0.04);
    }

    .nav-links li a.active {
        color: var(--gold);
    }

/* همبرگر */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* منوی موبایل */
.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 20px;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1040;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
}

@media (min-width: 768px) {
    .mobile-nav {
        top: 76px;
        max-height: calc(100vh - 76px);
        padding: 2rem 40px;
    }
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
}

    .mobile-nav a:hover,
    .mobile-nav a.active {
        color: var(--text-primary);
        background: rgba(0,0,0,0.04);
    }

    .mobile-nav a.active {
        color: var(--gold);
    }

.mobile-nav .btn-primary {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 800px;
    overflow: hidden;
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        min-height: 480px;
        max-height: 600px;
    }
}

.hero-slider .slide-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

    .hero-slider .slide-item.active {
        opacity: 1;
    }

    .hero-slider .slide-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    }

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 1rem;
}

    .hero-slider .slide-content h1 {
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1.2;
        color: #fff;
        margin-bottom: 0.5rem;
    }

@media (min-width: 640px) {
    .hero-slider .slide-content h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-slider .slide-content h1 {
        font-size: 4rem;
    }
}

.hero-slider .slide-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

@media (min-width: 640px) {
    .hero-slider .slide-content p {
        font-size: 1.2rem;
    }
}

.hero-slider .slide-content h2 {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .hero-slider .slide-content h2 {
        font-size: 1.6rem;
    }
}

/* دکمه‌های اسلایدر */
.slider-dots {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

    .slider-dots button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,0.3);
        padding: 0;
        cursor: pointer;
        transition: all var(--transition);
    }

        .slider-dots button.active {
            background: var(--gold);
            width: 28px;
            border-radius: 20px;
        }

.slider-arrows {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.75rem;
}

    .slider-arrows button {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1rem;
        cursor: pointer;
        transition: all var(--transition);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

@media (min-width: 640px) {
    .slider-arrows button {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

.slider-arrows button:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.05);
}

/* ============================================
   SECTIONS - مدرن و مینیمال
   ============================================ */
.section-padding {
    padding: 3rem 0;
}

@media (min-width: 640px) {
    .section-padding {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 6rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .section-header {
        margin-bottom: 3.5rem;
    }
}

.section-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    padding: 0.3rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.8rem;
    }
}

.section-title .gold-text {
    position: relative;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0.25rem auto 0;
    font-size: 0.95rem;
}

@media (min-width: 640px) {
    .section-desc {
        font-size: 1.05rem;
    }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 480px) {
    .services-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

@media (min-width: 640px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.service-card .icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: inline-block;
}

@media (min-width: 640px) {
    .service-card .icon {
        font-size: 2.5rem;
    }
}

.service-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .service-card h5 {
        font-size: 1.1rem;
    }
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .service-card p {
        font-size: 0.9rem;
    }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .gallery-grid {
        gap: 0.75rem;
    }
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.gallery-grid > div {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: all var(--transition);
    cursor: pointer;
    background: var(--bg-secondary);
}

    .gallery-grid > div:hover {
        transform: scale(1.03);
        box-shadow: var(--shadow-lg);
    }

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-grid > div:hover img {
    transform: scale(1.08);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border-right: 3px solid var(--gold);
    transition: all var(--transition);
    height: 100%;
}

@media (min-width: 640px) {
    .testimonial-card {
        padding: 1.5rem;
    }
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .testimonial-card .avatar {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* فرم نظرات */
.testimonial-form {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
    .testimonial-form {
        padding: 2rem;
    }
}

.testimonial-form .form-control {
    width: 100%;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    color: var(--text-primary);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    transition: all var(--transition);
    font-size: 0.95rem;
}

    .testimonial-form .form-control:focus {
        border-color: var(--gold);
        outline: none;
        background: #fff;
        box-shadow: 0 0 0 4px var(--gold-glow);
    }

    .testimonial-form .form-control::placeholder {
        color: var(--text-muted);
    }

.testimonial-form .rating-option {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    border: 2px solid rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.8rem;
    background: transparent;
    color: var(--text-secondary);
}

@media (min-width: 640px) {
    .testimonial-form .rating-option {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

.testimonial-form .rating-option:hover {
    border-color: var(--gold);
}

.testimonial-form .rating-option input {
    display: none;
}

.testimonial-form .rating-option:has(input:checked) {
    border-color: var(--gold);
    background: var(--gold-glow);
    color: var(--gold);
    font-weight: 600;
}

/* ============================================
   TEAM / PARTNERS
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 480px) {
    .team-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
    .team-card {
        padding: 1.5rem;
    }
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.team-card .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .team-card .avatar {
        width: 96px;
        height: 96px;
    }
}

.team-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card .avatar .fallback {
    font-size: 2rem;
    color: var(--text-muted);
}

.team-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

@media (min-width: 640px) {
    .team-card h5 {
        font-size: 1.05rem;
    }
}

.team-card .position {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 500;
}

.team-card .specialty {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* ============================================
   FOOTER
   ============================================ */
.custom-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 2.5rem 0 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .custom-footer {
        padding: 3.5rem 0 2rem;
        margin-top: 3rem;
    }
}

.custom-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.custom-footer p {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.custom-footer .social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

    .custom-footer .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
        color: rgba(255,255,255,0.5);
        transition: all var(--transition);
        text-decoration: none;
    }

@media (min-width: 640px) {
    .custom-footer .social-links a {
        width: 42px;
        height: 42px;
    }
}

.custom-footer .social-links a:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-3px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* ============================================
   UTILITY
   ============================================ */
.bg-white {
    background: var(--bg-card);
}

.bg-light {
    background: var(--bg-secondary);
}

.bg-dark-section {
    background: var(--bg-dark);
    color: #fff;
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

/* ============================================
   RESPONSIVE HELPERS
   ============================================ */
.hide-mobile {
    display: none;
}

@media (min-width: 640px) {
    .hide-mobile {
        display: initial;
    }
}

.show-mobile {
    display: initial;
}

@media (min-width: 640px) {
    .show-mobile {
        display: none;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: var(--radius-full);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--gold-dark);
    }
