/* ══════════════════════════════════════════════════════════════
   MEDHAT SEIF — Services Page Styles (Noir Opulence)
   ══════════════════════════════════════════════════════════════ */

/* ─── Services Hero ─── */
.services-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.services-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s var(--ease-out);
    filter: brightness(0.7);
}

.services-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.services-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 var(--space-lg);
}

.services-hero .hero-subtitle {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: var(--space-md);
    font-family: var(--font-primary);
}

.services-hero .hero-title {
    font-size: clamp(2.2rem, 7vw, 4rem);
    color: #fff;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.gold-text {
    color: var(--gold-light);
    font-style: italic;
    text-shadow: 0 0 30px var(--gold-glow);
}

.services-hero .hero-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

/* ─── Services List Section ─── */
.services-list-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-body);
}

.section-intro {
    max-width: 650px;
    margin: 0 auto var(--space-2xl);
}

.section-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-main);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.section-intro p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

.gold-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto var(--space-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), 0 0 20px var(--gold-glow);
}

.card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover .card-img img {
    transform: scale(1.08);
}

.overlay-icon {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover .overlay-icon {
    background: var(--gold);
    color: #0a0a0a;
    border-color: var(--gold);
}

[dir="rtl"] .overlay-icon {
    right: auto;
    left: 16px;
}

.card-body {
    padding: var(--space-lg);
}

.card-body h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.card-body p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

/* ─── Process Steps ─── */
.process-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-card-solid);
}

.process-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    padding: var(--space-xl) 0;
}

.process-step {
    text-align: center;
    padding: var(--space-lg);
    min-width: 180px;
}

.process-step .step-num {
    position: static;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    font-weight: 500;
    display: block;
    margin-bottom: var(--space-sm);
}

.process-step h4 {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

/* ─── Services CTA ─── */
.services-cta {
    padding: var(--space-4xl) 0;
    background: var(--bg-body);
}

.services-cta h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.services-cta p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

.services-cta .cta-button {
    background: var(--gold-gradient);
    color: #0a0a0a;
    border: none;
    box-shadow: var(--shadow-gold);
    font-weight: 600;
}

.services-cta .cta-button:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
}

/* ─── Modal overrides for services page ─── */
.modal {
    display: none;
    position: fixed;
    z-index: var(--z-modal);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
}

.modal .modal-content {
    background-color: var(--bg-card-solid);
    margin: 5% auto;
    padding: var(--space-2xl);
    border: 1px solid var(--border-gold);
    border-top: 2px solid var(--gold);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px var(--gold-glow);
    animation: modalSlide 0.4s var(--ease-out);
}

@keyframes modalSlide {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal .close-btn {
    color: var(--text-subtle);
    float: right;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-out);
    background: none;
    border: none;
}

.modal .close-btn:hover {
    color: var(--gold);
}

.modal-form h3 {
    color: var(--text-main);
    text-align: center;
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.modal-form label {
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 400;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 300;
    transition: border-color var(--duration-fast) var(--ease-out);
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.modal-submit {
    background: var(--gold-gradient);
    color: #0a0a0a;
    padding: 16px 0;
    width: 100%;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: var(--shadow-gold);
    font-family: var(--font-primary);
}

.modal-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Handled by .hero-header in header-style.css */

@media (max-width: 768px) {
    .services-hero {
        min-height: 320px;
        height: auto;
        padding: 120px 0 60px;
    }
    .process-wrapper {
        flex-direction: column;
    }
    .process-line {
        width: 1px;
        height: 40px;
        background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    }
}