/**
 * Layout 7: Magazine — هيرو غير متماثل + تصميم مجلة
 */

.layout7-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    padding: 100px 60px 60px;
    background: var(--cream);
    gap: 50px;
    position: relative;
}

.layout7-hero-text { position: relative; z-index: 2; }

.layout7-hero-label {
    display: inline-block;
    padding: 6px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease both;
}

.layout7-hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.layout7-hero p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.9;
    max-width: 500px;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.layout7-hero .hero-buttons { animation: fadeInUp 0.8s ease 0.6s both; }

.layout7-hero-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 80vh;
    max-height: 600px;
    animation: fadeInUp 1s ease 0.3s both;
}
.layout7-hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.layout7-hero-placeholder {
    width: 100%; height: 100%;
    background: var(--cream-2);
    border: 2px dashed var(--border);
    border-radius: 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.layout7-hero-placeholder span { font-size: 3rem; opacity: 0.3; }
.layout7-hero-placeholder p { color: var(--text-light); font-size: 0.85rem; }

.layout7-hero-stat-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    z-index: 3;
}
html[dir="rtl"] .layout7-hero-stat-card { left: auto; right: 30px; }
.layout7-hero-stat-card .stat-number { font-size: 2rem; font-weight: 900; color: var(--primary); }
.layout7-hero-stat-card .stat-label { font-size: 0.8rem; color: var(--text-mid); }

.layout7-services-grid { grid-template-columns: repeat(3, 1fr); }
.layout7-projects-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1024px) {
    .layout7-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .layout7-hero { grid-template-columns: 1fr; min-height: auto; padding: 100px 25px 40px; gap: 30px; }
    .layout7-hero h1 { font-size: 2.5rem; }
    .layout7-hero-visual { height: 300px; order: -1; }
    .layout7-services-grid, .layout7-projects-grid { grid-template-columns: 1fr; }
}
