/* ==========================================
   SPORTS HOUSE — LANDING PAGE CSS
   ========================================== */

:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --accent: #ff4757;
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #181818;
    --bg-4: #1f1f1f;
    --border: rgba(255,255,255,0.08);
    --text: #f0f0f0;
    --muted: #888;
    --green: #25d366;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --shadow: 0 20px 60px rgba(0,0,0,0.4);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg); color: var(--text); font-family: 'Cairo', sans-serif; overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: var(--primary); color: #000; font-weight: 800; font-size: 1rem; border-radius: 50px; border: 2px solid var(--primary); cursor: pointer; transition: var(--transition); font-family: 'Cairo', sans-serif; }
.btn-primary:hover { background: transparent; color: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,212,255,0.3); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: transparent; color: var(--text); font-weight: 700; font-size: 1rem; border-radius: 50px; border: 2px solid rgba(255,255,255,0.25); cursor: pointer; transition: var(--transition); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); }

/* SECTION COMMON */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3); padding: 6px 18px; border-radius: 50px; margin-bottom: 16px; }
.section-title { font-size: 2.8rem; font-weight: 900; line-height: 1.2; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }
.dot { color: var(--primary); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 18px 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(10,10,10,0.95); backdrop-filter: blur(20px); padding: 12px 0; border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #000; font-size: 1.1rem; font-weight: 900; }
.logo-text { font-size: 1.4rem; font-weight: 900; color: var(--text); }
.logo-text em { color: var(--primary); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.7); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(0,212,255,0.08); }
.nav-whatsapp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; background: var(--green); color: #fff; font-weight: 700; border-radius: 50px; font-size: 0.9rem; transition: var(--transition); flex-shrink: 0; }
.nav-whatsapp-btn:hover { background: #1da954; transform: translateY(-2px); }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { display: block; width: 26px; height: 3px; background: var(--text); border-radius: 3px; transition: var(--transition); }
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.back-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 50%, rgba(10,10,10,1) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 20px; }
.hero-badge { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--primary); background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.4); padding: 8px 20px; border-radius: 50px; margin-bottom: 28px; animation: fadeInDown 0.7s ease forwards; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; line-height: 1.15; margin-bottom: 20px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-highlight { color: var(--primary); position: relative; display: inline-block; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 40px; animation: fadeInUp 0.8s ease 0.4s both; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s both; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 0.8rem; animation: bounce 2s infinite; }
.scroll-arrow { width: 36px; height: 36px; border: 2px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* TICKER */
.ticker-wrap { background: var(--primary); overflow: hidden; white-space: nowrap; padding: 14px 0; }
.ticker-track { display: inline-flex; gap: 32px; animation: ticker 20s linear infinite; color: #000; font-weight: 800; font-size: 0.95rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* COLLECTION (وصل حديثاً) */
.collection { padding: 100px 0; background: var(--bg-2); }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.product-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.product-card:hover { border-color: rgba(0,212,255,0.4); box-shadow: 0 20px 50px rgba(0,212,255,0.1); transform: translateY(-6px); }
.product-img { position: relative; height: 280px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.product-card:hover .product-overlay { opacity: 1; }
.overlay-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--green); color: #fff; font-weight: 700; border-radius: 50px; transform: translateY(20px); transition: var(--transition); }
.product-card:hover .overlay-btn { transform: translateY(0); }
.overlay-btn:hover { background: #1da954; }
.badge { position: absolute; top: 14px; right: 14px; padding: 5px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; z-index: 2; }
.badge.new { background: var(--primary); color: #000; }
.badge.sale { background: var(--accent); color: #fff; }
.product-info { padding: 22px; text-align: center; }
.product-info h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.stars { color: #ffc107; font-size: 0.85rem; margin-bottom: 10px; }
.price { font-size: 1rem; font-weight: 700; color: var(--primary); }

/* ==========================================
   FOLDERS PORTFOLIO (نظام المجلدات)
   ========================================== */
.portfolio-folders { padding: 100px 0; background: var(--bg); }
.folders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; animation: fadeInUp 0.5s ease; }
.folder-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-align: center; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.folder-card:hover { border-color: var(--primary); transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,212,255,0.1); }
.folder-icon { font-size: 2.5rem; margin-bottom: 16px; display: inline-block; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)); }
.folder-img { height: 160px; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.folder-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.folder-card:hover .folder-img img { transform: scale(1.1); }
.folder-title { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.folder-desc { color: var(--muted); font-size: 0.88rem; }

/* واجهة عرض الصور */
.gallery-view { animation: fadeInUp 0.5s ease; }
.gallery-header { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 50px; }
.back-btn { padding: 10px 24px; font-size: 0.95rem; }
.current-category-title { font-size: 2.2rem; font-weight: 900; color: var(--primary); text-align: center; position: relative; padding-bottom: 10px; }
.current-category-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--primary); border-radius: 5px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* تأثيرات الصور */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    cursor: pointer; /* بيعرف العميل إنه يقدر يكبر الصورة */
}

.gallery-item.visible { opacity: 1; transform: translateY(0); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item img:hover { transform: scale(1.08); }
.gallery-item.hidden { display: none; }

/* ABOUT */
.about { padding: 100px 0; background: var(--bg-2); }
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-side { position: relative; }
.about-img-frame { border-radius: 20px; overflow: hidden; border: 2px solid rgba(0,212,255,0.3); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.about-img-frame img { width: 100%; height: 400px; object-fit: cover; }
.about-stat-badge { position: absolute; bottom: -20px; left: -20px; background: var(--primary); color: #000; border-radius: 14px; padding: 16px 22px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,212,255,0.4); font-size: 1.2rem; }
.about-stat-badge strong { display: block; font-size: 1.4rem; font-weight: 900; }
.about-stat-badge span { font-size: 0.85rem; font-weight: 600; }
.about-text-side h3 { font-size: 2.2rem; font-weight: 900; line-height: 1.3; margin-bottom: 20px; }
.about-text-side h3 span { color: var(--primary); }
.about-text-side > p { color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.about-perks { margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.about-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.about-perks li i { width: 24px; height: 24px; background: rgba(0,212,255,0.15); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }

/* WHY US */
.why-us { padding: 100px 0; background: var(--bg); }
.why-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-text span.section-label { display: inline-block; margin-bottom: 16px; }
.why-text h2 { font-size: 2.4rem; font-weight: 900; line-height: 1.3; margin-bottom: 20px; }
.why-text h2 span { color: var(--primary); }
.why-text p { color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: var(--transition); }
.stat-box:hover { border-color: var(--primary); transform: scale(1.03); }
.stat-box strong { display: block; font-size: 2.2rem; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.stat-box span { color: var(--muted); font-size: 0.9rem; }

/* CONTACT */
.contact { padding: 100px 0; background: var(--bg-2); }
.contact-box { max-width: 700px; margin: 0 auto; }
.contact-info-row { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; display: flex; align-items: center; gap: 20px; transition: var(--transition); }
.contact-card:hover { border-color: var(--primary); transform: translateX(-6px); }
.contact-card > i { font-size: 2rem; color: var(--green); width: 56px; height: 56px; background: rgba(37,211,102,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card:nth-child(2) > i { color: var(--primary); background: rgba(0,212,255,0.1); }
.contact-card > div { flex: 1; }
.contact-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: 0.9rem; }
.contact-link { padding: 10px 24px; background: var(--primary); color: #000; font-weight: 700; border-radius: 50px; font-size: 0.9rem; transition: var(--transition); flex-shrink: 0; }
.contact-link:hover { background: var(--primary-dark); transform: scale(1.05); }

/* FOOTER */
.footer { background: #000; padding: 70px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 38px; height: 38px; background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--transition); }
.social-icons a:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.footer-links-col h4 { font-size: 1rem; font-weight: 800; margin-bottom: 20px; color: var(--text); }
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { color: var(--muted); font-size: 0.9rem; transition: var(--transition); }
.footer-links-col a:hover { color: var(--primary); padding-right: 6px; }
.footer-contact-col h4 { font-size: 1rem; font-weight: 800; margin-bottom: 20px; }
.footer-wa-btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--green); color: #fff; font-weight: 700; border-radius: 10px; margin-bottom: 12px; transition: var(--transition); font-size: 0.9rem; }
.footer-wa-btn:hover { background: #1da954; transform: translateY(-2px); }
.footer-phone { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; padding: 8px 0; transition: var(--transition); }
.footer-phone:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }

/* FLOATING WHATSAPP */
.float-whatsapp { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; z-index: 9999; box-shadow: 0 8px 30px rgba(37,211,102,0.5); transition: var(--transition); animation: pulse 2.5s infinite; }
.float-whatsapp:hover { transform: scale(1.1); background: #1da954; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* SCROLL REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* HERO ANIMATIONS */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }

/* ==========================================
   LIGHTBOX (نافذة تكبير الصور)
   ========================================== */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 999999; 
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,212,255,0.2);
    border: 2px solid var(--primary);
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes zoomIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}
.lightbox-close:hover, .lightbox-close:focus {
    color: var(--primary);
    transform: scale(1.1);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .about-wrapper, .why-content { grid-template-columns: 1fr; gap: 40px; }
    .about-img-side { order: -1; }
    .about-stat-badge { bottom: 20px; left: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(10,10,10,0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: flex-start; padding: 90px 30px 40px; gap: 6px; transition: right 0.4s ease; border-left: 1px solid var(--border); }
    .nav-links.nav-active { right: 0; }
    .nav-links a { font-size: 1.1rem; padding: 12px 16px; width: 100%; }
    .nav-cta { display: none; }
    .burger { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
    .section-title { font-size: 2rem; }
    .about-img-frame img { height: 280px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .float-whatsapp { bottom: 20px; left: 20px; width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .collection-grid, .folders-grid, .gallery-grid { grid-template-columns: 1fr; }
    .why-stats { grid-template-columns: 1fr 1fr; }
}