/**
 * ==========================================================================
 * Layout 5: Bold (جريء)
 * هيرو عملاق + خدمات numbered + مشاريع كبيرة
 * ==========================================================================
 */

.layout5-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 60px 80px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.layout5-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(184,134,11,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(184,134,11,0.05) 0%, transparent 50%);
}

.layout5-hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.layout5-hero h1 {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.05;
    color: var(--text-dark);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s both;
}

.layout5-hero-sub {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: 4px;
    margin-bottom: 25px;
    direction: ltr;
    animation: fadeInUp 1s ease 0.4s both;
}

.layout5-hero p {
    font-size: 1.15rem;
    color: var(--text-mid);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.9;
    animation: fadeInUp 1s ease 0.55s both;
}

.layout5-hero .hero-buttons { animation: fadeInUp 1s ease 0.7s both; }

/* Stats inside hero */
.layout5-hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.9s both;
}

.layout5-stat { text-align: center; }
.layout5-stat-num { font-size: 3rem; font-weight: 900; color: var(--primary); line-height: 1.2; }
.layout5-stat-label { font-size: 0.85rem; color: var(--text-mid); margin-top: 5px; }

/* --- Numbered services --- */
.layout5-services .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

.layout5-service {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 35px 40px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    text-align: right;
}
html[dir="ltr"] .layout5-service { text-align: left; }

.layout5-service:last-child { border-bottom: none; }
.layout5-service::before, .layout5-service::after { display: none; }

.layout5-service-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--border);
    flex-shrink: 0;
    min-width: 60px;
    transition: color 0.4s;
}
.layout5-service:hover .layout5-service-num { color: var(--primary); }
.layout5-service:hover { transform: translateX(0); border-color: var(--primary); box-shadow: none; }
html[dir="rtl"] .layout5-service:hover { transform: translateX(0); }

.layout5-service .service-icon-wrap { margin: 0; flex-shrink: 0; }
.layout5-service-text { flex: 1; }
.layout5-service-text h4 { margin-bottom: 4px; }

/* --- Projects large --- */
.layout5-projects .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.layout5-projects .project-visual { height: 260px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .layout5-hero { padding: 100px 25px 60px; min-height: auto; }
    .layout5-hero h1 { font-size: 3rem; }
    .layout5-hero-stats { flex-wrap: wrap; gap: 30px; margin-top: 50px; }
    .layout5-stat { flex: 0 1 calc(50% - 15px); }
    .layout5-service { flex-direction: column; text-align: center; gap: 15px; padding: 30px 25px; }
    html[dir="ltr"] .layout5-service { text-align: center; }
    .layout5-service .service-icon-wrap { margin: 0 auto; }
    .layout5-projects .projects-grid { grid-template-columns: 1fr; }
}
