/* ==========================================================
   RS Event - Portfolio / Landing Page Stylesheet
   ========================================================== */

:root {
    --rs-primary: #0d6efd;
    --rs-primary-dark: #0a58ca;
    --rs-dark: #0b1220;
    --rs-dark-2: #121b2e;
    --rs-text-light: #eef2f9;
    --rs-text-muted-light: #aab4c5;
    --rs-radius: 18px;
    --rs-gradient: linear-gradient(135deg, #0d6efd 0%, #4facfe 55%, #00d4ff 100%);
}

* { font-family: 'Cairo', 'Segoe UI', sans-serif; }

html { scroll-behavior: smooth; }

body {
    background: var(--rs-dark);
    color: var(--rs-text-light);
    overflow-x: hidden;
}

a { text-decoration: none; }

.section-pad { padding: 90px 0; }
@media (max-width: 767px) { .section-pad { padding: 56px 0; } }

.section-eyebrow {
    color: var(--rs-primary);
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.section-title {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--rs-text-muted-light);
    max-width: 640px;
    margin: 0 auto;
}

/* ---------------- Navbar ---------------- */
.rs-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all .35s ease;
    background: transparent;
}

.rs-navbar.scrolled {
    background: rgba(11, 18, 32, 0.92);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.rs-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rs-navbar .brand-icon-box {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--rs-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.rs-navbar .nav-link {
    color: var(--rs-text-light) !important;
    font-weight: 600;
    margin: 0 4px;
    position: relative;
}

.rs-navbar .nav-link:hover { color: var(--rs-primary) !important; }

.btn-rs-primary {
    background: var(--rs-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 30px;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 20px rgba(13,110,253,0.35);
}
.btn-rs-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(13,110,253,0.5); color: #fff; }

.btn-rs-outline {
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 700;
    padding: 9px 26px;
    border-radius: 30px;
    transition: all .25s ease;
    background: transparent;
}
.btn-rs-outline:hover { background: #fff; color: var(--rs-dark); border-color: #fff; }

/* ---------------- Hero ---------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(13,110,253,0.35), transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(0,212,255,0.25), transparent 45%),
        linear-gradient(160deg, #070c17 0%, #0b1220 55%, #0d1a2f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.4;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}
.hero-shape.s1 { width: 280px; height: 280px; background: #0d6efd; top: 10%; right: 8%; }
.hero-shape.s2 { width: 200px; height: 200px; background: #00d4ff; bottom: 12%; left: 6%; animation-delay: -3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

.hero-content { position: relative; z-index: 2; text-align: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,110,253,0.15);
    border: 1px solid rgba(13,110,253,0.4);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    color: #9fd0ff;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}
.hero-title span {
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 767px) { .hero-title { font-size: 2.1rem; } }

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--rs-text-muted-light);
    max-width: 620px;
    margin: 0 auto 36px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%; transform: translateX(-50%);
    color: var(--rs-text-muted-light);
    font-size: 1.6rem;
    animation: bounce 2s infinite;
    z-index: 2;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------------- About ---------------- */
.about-section { background: var(--rs-dark-2); }

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.about-feature-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    border-radius: 14px;
    background: rgba(13,110,253,0.15);
    color: var(--rs-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.about-feature h6 { font-weight: 800; margin-bottom: 4px; }
.about-feature p { color: var(--rs-text-muted-light); margin: 0; font-size: 0.92rem; }

.about-visual {
    border-radius: var(--rs-radius);
    background: var(--rs-gradient);
    min-height: 380px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.about-visual i { font-size: 6rem; color: rgba(255,255,255,0.85); }

/* ---------------- Services ---------------- */
.service-card {
    background: var(--rs-dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--rs-radius);
    padding: 36px 28px;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(13,110,253,0.5);
    box-shadow: 0 20px 40px rgba(13,110,253,0.15);
}
.service-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--rs-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
}
.service-card h5 { font-weight: 800; margin-bottom: 10px; }
.service-card p { color: var(--rs-text-muted-light); font-size: 0.92rem; margin-bottom: 0; }

/* ---------------- Gallery ---------------- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.gallery-filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--rs-text-light);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all .25s ease;
    cursor: pointer;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--rs-gradient);
    border-color: transparent;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--rs-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item i { font-size: 2.4rem; color: rgba(255,255,255,0.9); }
.gallery-item .gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent 60%);
    display: flex; align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity .25s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-weight: 700; font-size: 0.9rem; }

.gallery-item.hidden { display: none; }

/* Lightbox */
.rs-lightbox {
    position: fixed; inset: 0;
    background: rgba(5,8,15,0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.rs-lightbox.active { display: flex; }
.rs-lightbox-box {
    background: var(--rs-gradient);
    border-radius: 20px;
    width: min(600px, 90vw);
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
}
.rs-lightbox-box i { font-size: 4rem; color: rgba(255,255,255,0.9); }
.rs-lightbox-close {
    position: absolute; top: 24px; left: 24px;
    color: #fff; font-size: 1.8rem; cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ---------------- Stats ---------------- */
.stats-section {
    background: var(--rs-gradient);
    text-align: center;
}
.stat-counter { font-size: 3rem; font-weight: 800; color: #fff; }
.stat-counter-label { color: rgba(255,255,255,0.9); font-weight: 700; }

/* ---------------- Testimonials ---------------- */
.testimonial-card {
    background: var(--rs-dark-2);
    border-radius: var(--rs-radius);
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.testimonial-quote { font-size: 1.15rem; color: var(--rs-text-light); margin-bottom: 24px; line-height: 1.8; }
.testimonial-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--rs-gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.3rem;
    margin: 0 auto 12px;
}
.testimonial-name { font-weight: 800; }
.testimonial-role { color: var(--rs-text-muted-light); font-size: 0.85rem; }
.testimonial-stars { color: #ffc107; margin-bottom: 14px; }

/* ---------------- FAQ ---------------- */
.rs-accordion .accordion-item {
    background: var(--rs-dark-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px !important;
    margin-bottom: 14px;
    overflow: hidden;
}
.rs-accordion .accordion-button {
    background: var(--rs-dark-2);
    color: var(--rs-text-light);
    font-weight: 700;
    box-shadow: none;
}
.rs-accordion .accordion-button:not(.collapsed) {
    background: rgba(13,110,253,0.12);
    color: #9fd0ff;
}
.rs-accordion .accordion-button::after { filter: invert(1); }
.rs-accordion .accordion-body { color: var(--rs-text-muted-light); }

/* ---------------- Contact ---------------- */
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-info-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    border-radius: 14px;
    background: rgba(13,110,253,0.15);
    color: var(--rs-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.contact-info-item h6 { font-weight: 800; margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { color: var(--rs-text-muted-light); margin: 0; }
.contact-info-item a:hover { color: var(--rs-primary); }

.rs-form-control {
    background: var(--rs-dark-2);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--rs-text-light);
    border-radius: 12px;
    padding: 12px 16px;
}
.rs-form-control:focus {
    background: var(--rs-dark-2);
    border-color: var(--rs-primary);
    color: var(--rs-text-light);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
}
.rs-form-control::placeholder { color: var(--rs-text-muted-light); }

.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
.social-icons a:hover { background: var(--rs-gradient); transform: translateY(-3px); }

.map-frame {
    border-radius: var(--rs-radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ---------------- Footer ---------------- */
.rs-footer {
    background: #060a12;
    padding: 50px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.rs-footer h6 { font-weight: 800; margin-bottom: 16px; }
.rs-footer a { color: var(--rs-text-muted-light); }
.rs-footer a:hover { color: var(--rs-primary); }
.rs-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: var(--rs-text-muted-light);
    font-size: 0.85rem;
}

/* ---------------- WhatsApp floating button ---------------- */
.whatsapp-float {
    position: fixed;
    bottom: 26px; left: 26px;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(37,211,102,0.5);
    z-index: 999;
    animation: pulse-wa 2.5s infinite;
}
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- Admin discreet link ---------------- */
.admin-link { color: rgba(255,255,255,0.35) !important; font-size: 0.8rem; }
.admin-link:hover { color: var(--rs-primary) !important; }
