/*
 * NewGen Store Homepage Styles
 * Version: 1.0.0
 * Last Updated: 2026-09-15
 */

/* CSS Custom Properties for Theme Support */
:root {
    --primary-color: #00BFFF;
    --secondary-color: #111;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --z-index-dropdown: 1000;
    --z-index-sticky: 100;
    --z-index-modal: 2000;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Cairo', sans-serif;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.max-w-7xl {
    max-width: 80rem;
    margin: 0 auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.ml-4 {
    margin-left: 1rem;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: bold;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

/* Hero Slider Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 450px;
    background-color: #050505;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider video,
.hero-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.slide-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.split-hero {
    display: flex;
    width: 100%;
    height: 60vh;
    min-height: 450px;
    overflow: hidden;
}

.hero-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    transition: flex 0.5s ease;
    position: relative;
}

.hero-half:hover {
    flex: 1.2;
}

.business-side {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #111;
}

.business-side h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.business-side p {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.gaming-side {
    background: linear-gradient(135deg, #1a1a1a, #050505);
    color: #fff;
    border-right: 2px solid var(--primary-color);
}

.gaming-side h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.gaming-side p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .split-hero {
        flex-direction: column;
        height: auto;
    }
    .hero-half {
        padding: 60px 20px;
    }
    .gaming-side {
        border-right: none;
        border-bottom: 2px solid var(--primary-color);
    }
}

/* Categories Section */
.categories-section {
    padding: 50px 5%;
    background-color: #fff;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    text-align: center;
    text-decoration: none;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-icon {
    width: 100px;
    height: 100px;
    background-color: #f4f7f6;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.category-card:hover .category-icon {
    border-color: var(--primary-color);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.section-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown {
    background-color: #ff3366;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-card.gaming {
    background-color: #000;
    border-color: #C0C0C0;
    color: #fff;
}

.product-card.gaming .btn-primary {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.product-card.business .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.product-card.business .btn-primary:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Brands Section */
.brands-section {
    padding: 40px 5%;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.brands-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brands-track img {
    height: 50px;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.3s;
}

.brands-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 5%;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid #eee;
}

.testimonials-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -15px;
    right: 30px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.customer-info h4 {
    color: #111;
    margin-bottom: 5px;
}

.customer-info span {
    color: #888;
    font-size: 0.85rem;
}

/* Trust Badges Section */
.trust-badges-section {
    background-color: #f8f9fa;
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid #eee;
}

.trust-badge {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 15px;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    background: #fff;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: var(--primary-color);
}

.trust-badge h4 {
    color: #111;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.trust-badge p {
    color: #666;
    font-size: 0.9rem;
}

/* Build of Month Section */
.build-of-month-section {
    padding: 60px 5%;
    background-color: #050505;
    color: #fff;
}

.build-of-month {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.build-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.build-image img {
    max-width: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.4));
    transition: transform 0.4s ease;
}

.build-image img:hover {
    transform: scale(1.05);
}

.build-badge {
    background-color: #ff3366;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.build-specs {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.build-specs li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.build-specs li strong {
    color: var(--primary-color);
}

.build-price-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.build-price {
    font-size: 2rem;
    font-weight: bold;
}

.build-price del {
    font-size: 1.2rem;
    color: #777;
    margin-right: 15px;
}

/* Seasonal Offer Section */
.seasonal-offer-section {
    padding: 50px 5%;
    background-color: #fff;
}

.seasonal-offer {
    background: linear-gradient(90deg, #111, #333);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Newsletter Section */
.newsletter-section {
    background: #050505;
    padding: 50px 5%;
    text-align: center;
    border-top: 2px solid #333;
}

.newsletter-content h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2rem;
}

.newsletter-content p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 0 30px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #fff;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    color: #000;
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 10px 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Home Blog Section */
.home-blog-section {
    padding: 60px 5%;
    background-color: #f4f7f6;
    font-family: 'Cairo', sans-serif;
}

.home-blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.home-blog-header h2 {
    font-size: 2rem;
    color: #111;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-card .blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .blog-content {
    padding: 20px;
}

.blog-card .blog-meta {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.blog-card .blog-title {
    font-size: 1.2rem;
    color: #111;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.blog-card .blog-excerpt {
    color: #666;
    font-size: 0.95rem;
}

/* Animation Utilities */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.page-transition.active {
    opacity: 1;
    transform: translateY(0);
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.text-gradient {
    background: linear-gradient(135deg, #00BFFF, #0099cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gaming-text {
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

html {
    scroll-behavior: smooth;
}