/* ============================================
   متجر يوسف الشمري - ملف الأنماط الرئيسي
   Dark Mode Luxury with Glassmorphism
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF1744;
    --primary-dark: #FF5252;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #9e9e9e;
    --border-color: rgba(255, 23, 68, 0.2);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(255, 23, 68, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.text-red {
    color: var(--primary-color);
}

/* ============================================
   Container & Layout
   ============================================ */

.container-app {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ============================================
   Navigation Bar
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
}

.navbar-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .navbar-subtitle {
        display: none;
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.8));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* ============================================
   Grid System
   ============================================ */

.grid {
    display: grid;
    gap: 2rem;
    margin: 0 auto;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .grid {
        gap: 1.5rem;
    }

    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Service Cards
   ============================================ */

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
}

.service-card:hover {
    border-color: rgba(255, 23, 68, 0.5);
    box-shadow: 0 20px 50px rgba(255, 23, 68, 0.15);
    transform: translateY(-5px);
}

.card-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}

.service-card:hover .card-image img {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.options {
    margin-bottom: 1rem;
}

.option-badge {
    display: inline-block;
    background: rgba(255, 23, 68, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   Premium Usernames Section
   ============================================ */

.premium-usernames {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.8));
}

.premium-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3rem 2rem;
    text-align: center;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.premium-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.premium-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.premium-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .premium-card {
        padding: 2rem 1rem;
    }

    .premium-title {
        font-size: 1.75rem;
    }

    .premium-description {
        font-size: 0.95rem;
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 10px 25px rgba(255, 23, 68, 0.3);
    transform: scale(1.05);
}

.btn-whatsapp {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    margin-top: auto;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 10px 25px rgba(255, 23, 68, 0.3);
}

.btn .icon {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.3);
}

.footer p {
    margin: 0.5rem 0;
}

.footer-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */

.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 50;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 60px rgba(255, 23, 68, 0.3);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        bottom: 1rem;
        left: 1rem;
    }
}

/* ============================================
   Scrollbar Styling
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 480px) {
    .navbar-title {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
    }
}
