/*
==========================================================================
   CSS FOR: Web Design Page (AR & EN)
   File Location: /assets/css/page-web-design.css
==========================================================================
*/

/* ========== 1. DESKTOP STYLES ========== */

/* --- Hero Section --- */
.wd-hero-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--color-dark-alt);
    border-bottom: 1px solid #333;
}
.wd-hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}
.wd-hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}
.wd-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Services Types Section --- */
.wd-services-section {
    background-color: #fff;
    color: var(--color-dark);
}
.wd-services-section .section-title {
    color: var(--color-dark);
}
.wd-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.wd-service-card {
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.wd-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.wd-service-card i {
    font-size: 42px;
    color: var(--color-gold);
    margin-bottom: 20px;
}
.wd-service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.wd-service-card p {
    color: #555;
    line-height: 1.6;
}

/* --- Portfolio Section --- */
.wd-portfolio-section {
    background-color: var(--color-dark);
}
.wd-portfolio-section .section-title {
    color: #fff;
}
.wd-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.wd-portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.wd-portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.wd-portfolio-item:hover img {
    transform: scale(1.1);
}
.wd-portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    color: #fff;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.wd-portfolio-item:hover .wd-portfolio-overlay {
    transform: translateY(0);
}
.wd-portfolio-overlay h3 { margin: 0 0 5px; }
.wd-portfolio-overlay p { margin: 0 0 15px; opacity: 0.8; }

/* --- Features Section --- */
.wd-features-section {
    background-color: #fff;
    color: var(--color-dark);
}
.wd-features-section .section-title {
    color: var(--color-dark);
}
.wd-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.wd-feature-item {
    text-align: center;
}
.wd-feature-item i {
    font-size: 36px;
    color: var(--color-gold);
    margin-bottom: 15px;
}
.wd-feature-item h4 {
    font-size: 18px;
    margin: 0;
}

/* --- Final CTA Section --- */
.wd-cta-section {
    background-color: var(--color-dark);
}
.wd-cta-section .section-subtitle {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* ========== 2. RESPONSIVE STYLES ========== */

@media (max-width: 992px) {
    .wd-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wd-portfolio-grid,
    .wd-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wd-hero-title {
        font-size: 40px;
    }
    .wd-services-grid,
    .wd-portfolio-grid,
    .wd-features-grid {
        grid-template-columns: 1fr;
    }
}