﻿/* =============================================================
   SHEEN MARKETING — SITE STYLES
   All previously-inline <style> blocks live here.
   Components: Hero, Stats, Services, CTA, Contact, Animations
   ============================================================= */

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE HERO
   ═══════════════════════════════════════════════════════════ */
.hero-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--sheen-black);
    overflow: hidden;
    padding: 8rem 0 6rem;
}

/* Geometric accent shapes */
.hero-home::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 2px solid rgba(220,62,8,0.15);
    pointer-events: none;
}
.hero-home::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,62,8,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-home .hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220,62,8,0.15);
    border: 1px solid rgba(220,62,8,0.35);
    color: var(--sheen-red);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--sheen-red);
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(220, 62, 8, 0.12);
    border: 1px solid rgba(220, 62, 8, 0.3);
    color: var(--sheen-red);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
html[lang="ar"] .hero-badge {
    letter-spacing: 0;
    font-size: 1rem;
}
.hero-badge:hover {
    background: rgba(220, 62, 8, 0.2);
    transform: translateY(-1px);
}

.hero-home h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--sheen-white);
    line-height: 1.08;
    margin-bottom: 1rem;
}
.hero-home h1 .accent {
    color: var(--sheen-red);
    display: block;
}

.hero-slogan {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2rem;
    max-width: 520px;
}
html[lang="ar"] .hero-slogan { font-family: 'Tajawal', sans-serif; font-size: 1.15rem; }

.hero-slogan .slogan-ar {
    display: block;
    font-family: 'Tajawal', system-ui, sans-serif;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.25rem;
}
.hero-slogan .slogan-en {
    display: block;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* Magnetic CTA — JS hooks */
.btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    z-index: 1;
}
.btn-magnetic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}
.btn-magnetic:hover::before { transform: translateX(0); }

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}
.hero-scroll .scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(220,62,8,0.7));
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50%       { opacity: 1; transform: scaleY(1); }
}

/* Hero stats row */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hero-stat-item .number {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--sheen-red);
    line-height: 1;
}
html[lang="ar"] .hero-stat-item .number { font-family: 'Tajawal', system-ui, sans-serif; }
.hero-stat-item .label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-top: 4px;
}

/* Hero visual (right column) */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}
.hero-visual-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sheen-red), transparent);
}
.hero-visual-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-visual-metric:last-child { border-bottom: none; }
.hero-visual-metric .metric-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(220,62,8,0.15);
    color: var(--sheen-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.hero-visual-metric .metric-text .val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sheen-white);
}
.hero-visual-metric .metric-text .desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}

/* ═══════════════════════════════════════════════════════════
   DIAGONAL SECTION DIVIDERS
   ═══════════════════════════════════════════════════════════ */
.section-diagonal-top {
    position: relative;
    padding-top: calc(var(--section-py, 80px) + 40px);
}
.section-diagonal-top::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: inherit;
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 100%);
    transform: translateY(-100%);
}

/* ═══════════════════════════════════════════════════════════
   STATS COUNTER SECTION
   ═══════════════════════════════════════════════════════════ */
.stats-section {
    background: var(--sheen-black);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dc3e08' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stat-block {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}
.stat-block::after {
    content: '';
    position: absolute;
    right: 0; top: 25%; bottom: 25%;
    width: 1px;
    background: rgba(255,255,255,0.08);
}
.stat-block:last-child::after { display: none; }
html[dir="rtl"] .stat-block::after { right: auto; left: 0; }

.stat-block .counter {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--sheen-red);
    display: block;
    line-height: 1;
}
html[lang="ar"] .stat-block .counter { font-family: 'Tajawal', system-ui, sans-serif; }
.stat-block .stat-suffix {
    font-size: 1.8rem;
    color: var(--sheen-red);
    font-weight: 700;
}
.stat-block .stat-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════ */
.services-section { background: var(--sheen-off-white); }

.service-card {
    background: var(--sheen-white);
    border-radius: var(--card-radius, 12px);
    border: 1px solid var(--sheen-border, #e0e0e0);
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: var(--sheen-red);
    transition: height 0.4s ease;
    border-radius: 0 0 4px 0;
}
html[dir="rtl"] .service-card::before { left: auto; right: 0; border-radius: 0 0 0 4px; }
.service-card:hover::before { height: 100%; }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220,62,8,0.2);
}
.service-card:hover .service-icon { background: var(--sheen-red); color: #fff; }

.service-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--sheen-red-light);
    color: var(--sheen-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: background 0.35s ease, color 0.35s ease;
}

.service-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sheen-black);
    margin-bottom: 0.6rem;
}
.service-card p {
    font-size: 0.88rem;
    color: var(--sheen-gray-mid, #555);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.service-card .read-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sheen-red);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.25s ease;
}
.service-card:hover .read-more { gap: 10px; }

/* ═══════════════════════════════════════════════════════════
   WHY US / VALUE SECTION
   ═══════════════════════════════════════════════════════════ */
.why-section { background: var(--sheen-white); }

.why-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--card-radius, 12px);
    border: 1px solid transparent;
    transition: var(--transition);
}
.why-item:hover {
    background: var(--sheen-off-white);
    border-color: var(--sheen-border, #e0e0e0);
}
.why-item .why-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--sheen-red-light);
    color: var(--sheen-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.why-item h6 { font-weight: 700; color: var(--sheen-black); margin-bottom: 0.35rem; }
.why-item p  { font-size: 0.88rem; color: var(--sheen-gray-mid, #555); margin: 0; }

/* Large decorative number */
.why-big-number {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(220,62,8,0.06);
    line-height: 1;
    position: absolute;
    top: -1rem; left: -1rem;
    pointer-events: none;
    user-select: none;
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════ */
.cta-section {
    background: var(--sheen-red);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%; left: 5%;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    pointer-events: none;
}
.cta-section h2 {
    color: var(--sheen-white) !important;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.cta-section p { color: rgba(255,255,255,0.82); }
.cta-section .btn-light {
    background: var(--sheen-white);
    color: var(--sheen-red);
    border: none;
    font-weight: 700;
    transition: var(--transition);
}
.cta-section .btn-light:hover {
    background: var(--sheen-black);
    color: var(--sheen-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.cta-section .btn-outline-light {
    color: var(--sheen-white);
    border-color: rgba(255,255,255,0.5);
    font-weight: 600;
    transition: var(--transition);
}
.cta-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS (shared pattern)
   ═══════════════════════════════════════════════════════════ */
.section-header { margin-bottom: 3.5rem; }
.section-header .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sheen-red);
    margin-bottom: 0.75rem;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--sheen-black);
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--sheen-gray-mid, #555);
    max-width: 560px;
}
.section-header.text-center p { margin-left: auto; margin-right: auto; }
.section-accent-line {
    width: 48px; height: 4px;
    background: var(--sheen-red);
    border-radius: 2px;
    margin: 0.8rem 0 1.5rem;
}
.text-center .section-accent-line { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--sheen-off-white); }

.testimonial-card-modern {
    background: var(--sheen-white);
    border-radius: var(--card-radius, 12px);
    padding: 2rem;
    border: 1px solid var(--sheen-border);
    position: relative;
    transition: var(--transition);
}
.testimonial-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220,62,8,0.2);
}
.testimonial-card-modern .quote-mark {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 5rem;
    line-height: 0.7;
    color: var(--sheen-red);
    opacity: 0.2;
    display: block;
    margin-bottom: 0.5rem;
    user-select: none;
}
.testimonial-card-modern .rating { color: #f5a623; font-size: 0.85rem; margin-bottom: 1rem; }
.testimonial-card-modern .client-text { color: var(--sheen-gray); font-style: italic; line-height: 1.75; }
.testimonial-card-modern .client-info { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.testimonial-card-modern .client-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sheen-red-light);
    background: var(--sheen-off-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--sheen-red);
    flex-shrink: 0;
}
.testimonial-card-modern .client-name { font-weight: 700; color: var(--sheen-black); font-size: 0.95rem; }
.testimonial-card-modern .client-role { font-size: 0.78rem; color: var(--sheen-gray-light, #888); }

/* ═══════════════════════════════════════════════════════════
   PROCESS / HOW WE WORK
   ═══════════════════════════════════════════════════════════ */
.process-step {
    position: relative;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding-bottom: 2.5rem;
}
.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--sheen-red), transparent);
}
html[dir="rtl"] .process-step:not(:last-child)::before { left: auto; right: 22px; }
.step-number {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--sheen-red);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}
.process-step .step-content h5 { font-weight: 700; color: var(--sheen-black); }
.process-step .step-content p  { font-size: 0.9rem; color: var(--sheen-gray-mid, #555); }

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════ */
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-info-item .ci-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 10px;
    background: var(--sheen-red-light);
    color: var(--sheen-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.contact-info-item .ci-text strong { display: block; font-weight: 700; color: var(--sheen-black); }
.contact-info-item .ci-text span   { font-size: 0.88rem; color: var(--sheen-gray-mid, #555); }

/* ═══════════════════════════════════════════════════════════
   GSAP ANIMATION HOOKS (initial states)
   ═══════════════════════════════════════════════════════════ */
[data-gsap="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
}
[data-gsap="fade-left"] {
    opacity: 0;
    transform: translateX(-40px);
}
[data-gsap="fade-right"] {
    opacity: 0;
    transform: translateX(40px);
}
[data-gsap="scale-in"] {
    opacity: 0;
    transform: scale(0.9);
}
[data-gsap="stagger"] > * {
    opacity: 0;
    transform: translateY(30px);
}

/* Disable animation for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    [data-gsap="fade-up"],
    [data-gsap="fade-left"],
    [data-gsap="fade-right"],
    [data-gsap="scale-in"],
    [data-gsap="stagger"] > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   LOADING OVERLAY
   ═══════════════════════════════════════════════════════════ */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--sheen-black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
#page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo { height: 60px; animation: pulse-logo 1.2s ease-in-out infinite; }
@keyframes pulse-logo {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.95); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .hero-home { padding: 7rem 0 5rem; min-height: auto; }
    .hero-visual { margin-top: 3rem; }
    .hero-stats { gap: 1.5rem; }
    .stat-block::after { display: none; }
}
@media (max-width: 767px) {
    .hero-home h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { width: 100%; justify-content: center; }
    .process-step:not(:last-child)::before { display: none; }
}

