/* Modern Homepage CSS - صفحه اصلی مدرن */
:root {
    /* Hero Colors */
    --hero-bg: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    --hero-overlay: rgba(26, 37, 47, 0.85);
    --hero-text: #ffffff;
    --hero-text-muted: #bdc3c7;
    --hero-primary: #b69d74;
    --hero-primary-dark: #9a7f5a;
    --hero-accent: #e74c3c;
    
    /* Stats Colors */
    --stats-bg: #f8f9fa;
    --stats-card-bg: #ffffff;
    --stats-text: #2c3e50;
    --stats-text-muted: #6c757d;
    --stats-border: #e9ecef;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.2);
    --shadow-gold: 0 10px 25px rgba(182, 157, 116, 0.3);
}

/* ===== MODERN HERO SECTION ===== */

.modern-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--hero-bg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-overlay);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(182, 157, 116, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(231, 76, 60, 0.03) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="heroPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23b69d74" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23heroPattern)"/></svg>');
    opacity: 0.4;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--hero-text);
    padding-top: 1rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(182, 157, 116, 0.2);
    color: var(--hero-primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(182, 157, 116, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 1.1rem;
}

/* Hero Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.text-gradient {
    background: linear-gradient(135deg, #e3c698, #cbb492);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--hero-text-muted);
    margin-top: 10px;
}

/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--hero-text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

/* Hero Features */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--hero-text);
}

.hero-features i {
    color: var(--hero-primary);
    font-size: 1.2rem;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-primary-dark));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--hero-primary-dark), var(--hero-primary));
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hero-primary);
    color: white;
}

/* Quick Services */
.hero-quick-services {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-services-label {
    color: var(--hero-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.quick-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--hero-text);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quick-service-link:hover {
    background: var(--hero-primary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
    padding-top: 7rem;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: var(--transition);
}

.hero-image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(182, 157, 116, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    color: var(--stats-text);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--hero-primary);
    font-size: 1.2rem;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: -10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== MODERN STATS SECTION ===== */

.modern-stats-section {
    background: var(--stats-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.modern-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(182, 157, 116, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(44, 62, 80, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.modern-stats-section .container {
    position: relative;
    z-index: 2;
}

/* Stats Header */
.stats-header {
    margin-bottom: 60px;
}

.stats-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--stats-text);
    margin-bottom: 15px;
    position: relative;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-accent));
    border-radius: 2px;
}

.stats-subtitle {
    font-size: 1.1rem;
    color: var(--stats-text-muted);
    margin: 0;
}

/* Stat Card */
.stat-card {
    background: var(--stats-card-bg);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--stats-border);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-primary-dark));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--hero-primary);
}

/* Stat Icon */
.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.stat-icon i {
    font-size: 2.5rem;
    color: white;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

/* Stat Content */
.stat-content {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hero-primary);
    margin-bottom: 10px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stat-plus {
    font-size: 2rem;
    color: var(--hero-primary-dark);
    font-weight: 600;
    opacity: 0.8;
}

.stat-card:hover .stat-number {
    color: var(--hero-primary-dark);
}

.stat-label {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--stats-text);
}

.stat-label a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.stat-label a:hover {
    color: var(--hero-primary);
    text-decoration: none;
}

/* Stat Progress */
.stat-progress {
    width: 100%;
    height: 4px;
    background: var(--stats-border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-primary-dark));
    border-radius: 2px;
    transition: width 2s ease-in-out;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .modern-hero-section {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features li {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-image {
        padding-top: 1rem;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-plus {
        font-size: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .hero-quick-services {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-plus {
        font-size: 1.2rem;
    }
}

/* ===== ANIMATIONS ===== */

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number {
    animation: countUp 0.6s ease-out;
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }

/* ===== UTILITY CLASSES ===== */

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
