﻿/* ============================================
   HERO SECTION – Laundry Abstract (Final Pro)
   ============================================ */

.home-hero-section {
    position: relative;
    width: 100%;
    min-height: 360px;
    padding: 80px 0;
    background-image: url('/uploads/hero-laundry-abstract.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
}

/* ============================================
   BACKGROUND BLUR (Strong Professional)
   ============================================ */

.hero-bg-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(6px) brightness(0.65);
    transform: scale(1.12);
    z-index: 0;
}

/* ============================================
   HERO OVERLAY – Ultimate Contrast
   ============================================ */

/* Light Theme */
html[data-bs-theme="light"] .home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.40) 100% );
}

/* Dark Theme */
html[data-bs-theme="dark"] .home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.50) 100% );
}

/* ============================================
   HERO CONTENT (Always on top)
   ============================================ */
.hero-content-container {
    position: relative;
    z-index: 3;
}

/* ============================================
   HERO TITLE – Ultra Visibility
   ============================================ */

.hero-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.35;
    color: #ffffff !important;
    margin-bottom: 18px;
    font-weight: 800;
    /* أقوى وضوح ممكن فوق أي خلفية */
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.85), 0 0 6px rgba(0, 0, 0, 0.65);
}

/* ============================================
   HERO TEXT – High Contrast Readability
   ============================================ */

.hero-text {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    max-width: 760px;
    color: #fafafa !important;
    line-height: 1.65;
    opacity: 1 !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.85), 0 0 6px rgba(0,0,0,0.55);
    margin-bottom: 25px;
}

/* ============================================
   MOBILE OPTIMIZATION
   ============================================ */

@media (max-width: 576px) {

    .home-hero-section {
        min-height: 280px;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.7rem !important;
    }

    .hero-text {
        font-size: 1rem !important;
    }
}



/* ============================
   FEATURE CARDS
   ============================ */

.feature-card {
    background: var(--bs-secondary-bg);
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: var(--bs-box-shadow);
    border: 1px solid var(--bs-border-color);
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0px 10px 30px rgba(0,0,0,0.15);
    }

html[data-bs-theme="dark"] .feature-card:hover {
    box-shadow: 0px 10px 30px rgba(0,0,0,0.35);
}

.feature-icon {
    font-size: 2.6rem;
    margin-bottom: 15px;
    color: var(--bs-primary);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ============================
   RESPONSIVENESS
   ============================ */

@media (max-width: 576px) {
    .home-hero-section {
        min-height: 260px;
        padding: 55px 15px;
        border-radius: 0 0 12px 12px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }
}
