﻿/* ════════════════════════════════════════════════════════════
   SAMRA — EVENTS PAGE STYLES
   يعتمد على نفس متغيرات الثيم في samra.css (--gold, --bg, ...)
   ضع الملف في: wwwroot/css/samra-events.css
   ════════════════════════════════════════════════════════════ */

.ev-page {
    background: var(--bg);
    color: var(--text-primary);
    font-family: 'Tajawal', sans-serif;
    overflow-x: hidden;
}

/* ── أزرار عامة ── */
.ev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 36px;
    border-radius: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity var(--transition), transform var(--transition);
}

.ev-btn-gold {
    background: var(--gold-grad);
    color: #fff;
}

    .ev-btn-gold:hover {
        opacity: .9;
        transform: translateY(-2px);
    }

.ev-btn-ghost {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

    .ev-btn-ghost:hover {
        background: rgba(200,162,122,.12);
        transform: translateY(-2px);
    }

/* ════════════════ HERO ════════════════ */
.ev-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ev-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.ev-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(0,0,0,.55) 0%, rgba(17,12,7,.92) 75%);
}

.ev-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1488px;
    margin: 0 auto;
    width: 100%;
    padding: 100px 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.ev-hero-content {
    flex: 1;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    text-align: right;
}

[dir="ltr"] .ev-hero-content {
    align-items: flex-start;
    text-align: left;
}

.ev-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-light);
}

.ev-hero-tag-bar {
    width: 36px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.ev-hero-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.ev-grad {
    background: linear-gradient(258deg, #C8A27A 12%, #A4723E 110%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ev-hero-desc {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255,255,255,.82);
    max-width: 560px;
}

.ev-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ── الهاتف ── */
.ev-hero-phone {
    position: relative;
    flex-shrink: 0;
    width: 320px;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-phone-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(200,162,122,.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
}

.ev-phone-frame {
    position: relative;
    width: 290px;
    height: 590px;
    background: #0d0d0d;
    border: 3px solid rgba(200,162,122,.55);
    border-radius: 42px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(200,162,122,.2);
    overflow: hidden;
}

.ev-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 22px;
    background: #0d0d0d;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.ev-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background-size: cover;
    background-position: center;
    background-color: #1a1208;
}

/* ════════════════ STATS ════════════════ */
.ev-stats {
    background: #000;
    padding: 60px 120px;
}

[data-theme="light"] .ev-stats {
    background: #0a0a0a;
}

.ev-stats-grid {
    max-width: 1488px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ev-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(200,162,122,.25);
    background: rgba(200,162,122,.04);
    transition: transform var(--transition), border-color var(--transition);
}

    .ev-stat:hover {
        transform: translateY(-4px);
        border-color: var(--gold);
    }

.ev-stat-num {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    background: var(--gold-grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.ev-stat-label {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,.75);
}

/* ════════════════ SECTIONS GENERIC ════════════════ */
.ev-section {
    padding: 80px 120px;
    background: var(--bg);
}

.ev-section-alt {
    background: var(--section-alt-bg);
}

.ev-section-head {
    max-width: 1488px;
    margin: 0 auto 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ev-section-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    background: var(--gold-grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ev-section-sub {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

/* ════════════════ INVITATION TYPES ════════════════ */
.ev-types-grid {
    max-width: 1488px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ev-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

    .ev-type-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 36px rgba(200,136,90,.3);
    }

.ev-type-num {
    position: absolute;
    top: 14px;
    inset-inline-end: 18px;
    font-size: 38px;
    font-weight: 700;
    color: rgba(200,162,122,.16);
    line-height: 1;
}

.ev-type-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(200,162,122,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

    .ev-type-icon svg {
        width: 32px;
        height: 32px;
    }

.ev-type-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.ev-type-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ════════════════ PACKAGES ════════════════ */
.ev-pkg-grid {
    max-width: 1488px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.ev-pkg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid rgba(200,162,122,.4);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

    .ev-pkg-card:hover {
        transform: translateY(-6px);
        border-color: var(--gold);
    }

    .ev-pkg-card.popular {
        border: 2px solid var(--gold);
        box-shadow: 0 16px 44px rgba(200,136,90,.32);
        transform: scale(1.03);
    }

        .ev-pkg-card.popular:hover {
            transform: scale(1.03) translateY(-6px);
        }

.ev-pkg-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-grad);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.ev-pkg-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.ev-pkg-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(200,162,122,.3);
}

.ev-pkg-amount {
    font-size: 44px;
    font-weight: 700;
    background: var(--gold-grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ev-pkg-cur {
    font-size: 18px;
    color: var(--text-muted);
}

.ev-pkg-feats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .ev-pkg-feats li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        color: var(--text-primary);
    }

    .ev-pkg-feats svg {
        width: 18px;
        height: 18px;
        color: var(--gold);
        flex-shrink: 0;
    }

.ev-pkg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 10px;
    background: var(--gold-grad);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity var(--transition), transform var(--transition);
}

    .ev-pkg-btn:hover {
        opacity: .9;
        transform: translateY(-2px);
    }

/* ════════════════ DESIGNS GALLERY ════════════════ */
.ev-designs-track-wrap {
    max-width: 1488px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ev-designs-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: evScroll 45s linear infinite;
}

    .ev-designs-track:hover {
        animation-play-state: paused;
    }

@keyframes evScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.ev-design-card {
    width: 240px;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(200,162,122,.4);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform var(--transition);
}

    .ev-design-card:hover {
        transform: scale(1.04);
    }

    .ev-design-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ════════════════ WHY SAMRA ════════════════ */
.ev-why-grid {
    max-width: 1488px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ev-why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 32px 22px;
    background: var(--bg-card);
    border: 1px solid rgba(200,162,122,.35);
    border-radius: 18px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

    .ev-why-card:hover {
        transform: translateY(-5px);
        border-color: var(--gold);
        box-shadow: var(--shadow-card);
    }

.ev-why-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gold-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

    .ev-why-icon svg {
        width: 30px;
        height: 30px;
    }

.ev-why-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
}

.ev-why-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ════════════════ APP SHOWCASE ════════════════ */
.ev-app {
    background: #000;
    padding: 80px 120px;
    overflow: hidden;
}

[data-theme="light"] .ev-app {
    background: #0a0a0a;
}

.ev-app-inner {
    max-width: 1488px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.ev-app-phone {
    position: relative;
    flex-shrink: 0;
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-app-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200,162,122,.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
}

.ev-app-img {
    position: relative;
    z-index: 2;
    width: 280px;
    object-fit: contain;
}

.ev-app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 18px;
}

[dir="ltr"] .ev-app-content {
    align-items: flex-start;
    text-align: left;
}

.ev-app-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    background: var(--gold-grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ev-app-divider {
    width: 100%;
    height: 1px;
    background: #CF8855;
    border: none;
}

.ev-app-desc {
    font-size: 20px;
    color: rgba(255,255,255,.82);
    line-height: 1.8;
}

.ev-app-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.ev-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 26px;
    background: var(--gold-grad);
    border-radius: 10px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity var(--transition), transform var(--transition);
}

    .ev-store-btn:hover {
        opacity: .9;
        transform: translateY(-2px);
    }

    .ev-store-btn svg {
        width: 26px;
        height: 26px;
    }

/* ════════════════ CTA ════════════════ */
.ev-cta {
    padding: 90px 120px;
    background: var(--bg);
}

.ev-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 56px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(105,69,43,.18), rgba(207,136,85,.1));
    border: 1px solid var(--gold);
}

.ev-cta-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    color: var(--text-primary);
}

.ev-cta-desc {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.7;
}

.ev-cta-btn {
    margin-top: 12px;
}

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 1200px) {
    .ev-hero-inner, .ev-section, .ev-stats, .ev-app, .ev-cta {
        padding-left: 60px;
        padding-right: 60px;
    }

    .ev-types-grid, .ev-pkg-grid, .ev-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ev-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ev-pkg-card.popular {
        transform: none;
    }

        .ev-pkg-card.popular:hover {
            transform: translateY(-6px);
        }
}

@media (max-width: 768px) {
    .ev-hero-inner {
        flex-direction: column;
        padding: 80px 16px;
        text-align: center;
    }

    .ev-hero-content {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    [dir="ltr"] .ev-hero-content {
        align-items: center;
        text-align: center;
    }

    .ev-hero-phone {
        width: 260px;
        height: 520px;
    }

    .ev-phone-frame {
        width: 240px;
        height: 490px;
    }

    .ev-section, .ev-stats, .ev-app, .ev-cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ev-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .ev-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ev-types-grid, .ev-pkg-grid, .ev-why-grid {
        grid-template-columns: 1fr;
    }

    .ev-app-inner {
        flex-direction: column;
        gap: 40px;
    }

    .ev-app-content {
        align-items: center;
        text-align: center;
    }

    [dir="ltr"] .ev-app-content {
        align-items: center;
        text-align: center;
    }

    .ev-app-phone {
        width: 240px;
    }

    .ev-app-img {
        width: 200px;
    }

    .ev-design-card {
        width: 180px;
        height: 260px;
    }

    .ev-hero-btns, .ev-app-btns {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .ev-stats-grid {
        grid-template-columns: 1fr;
    }
}
