/* ====================================
   Variables & Reset
   ==================================== */
:root {
    /* Brand Colors - Inspired by Le Score Magazine */
    --orange-primary: #FF8C00;
    --orange-light: #FFA500;
    --orange-dark: #E67300;
    --green-primary: #006B3F;
    --green-light: #008852;
    --green-dark: #004D2E;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #333333;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-display: 'Bebas Neue', cursive;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --section-padding: 80px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================
   Header
   ==================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--green-primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 16px;
}

.social-links a:hover {
    color: var(--orange-primary);
    transform: translateY(-2px);
}

.header-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 1;
    letter-spacing: 2px;
}

.logo-le {
    color: var(--orange-primary);
}

.logo-score {
    color: var(--green-primary);
}

.tagline {
    font-size: 11px;
    color: var(--green-primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: -5px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange-primary);
    transition: var(--transition-normal);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--green-primary);
    transition: var(--transition-normal);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 60px 0 40px;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    background: var(--orange-primary);
    color: var(--white);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-excerpt {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 600px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.hero-arrow:hover {
    background: var(--orange-primary);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    background: var(--orange-primary);
    width: 30px;
    border-radius: 6px;
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--orange-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--green-primary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ====================================
   Sections
   ==================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--green-primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--orange-primary);
    margin: 0 auto;
}

.section-subtitle {
    color: var(--gray-dark);
    font-size: 18px;
    margin-top: 15px;
}

/* ====================================
   Featured News
   ==================================== */
.featured-news {
    padding: var(--section-padding);
    background: var(--gray-light);
}

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

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 400px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-category.football {
    background: var(--green-primary);
}

.news-category.basketball {
    background: var(--orange-primary);
}

.news-category.athletics {
    background: #E74C3C;
}

.news-category.boxing {
    background: #34495E;
}

.news-category.tennis {
    background: #E67E22;
}

.news-category.golf {
    background: #27AE60;
}

.news-category.général {
    background: #95A5A6;
}

.news-content {
    padding: 25px;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--gray-dark);
}

.news-card.featured .news-title {
    font-size: 32px;
}

.news-excerpt {
    color: #666;
    font-size: 15px;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ====================================
   Gallery
   ==================================== */
.gallery {
    padding: var(--section-padding);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--green-primary);
    color: var(--green-primary);
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--green-primary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 107, 63, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 48px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ====================================
   Shop
   ==================================== */
.shop {
    padding: var(--section-padding);
    background: var(--gray-light);
}

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

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--orange-primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-details {
    padding: 25px;
}

.product-type {
    color: var(--green-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--gray-dark);
}

.product-issue {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.product-tag {
    background: var(--gray-light);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: var(--gray-dark);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid var(--gray-light);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--orange-primary);
}

.add-to-cart {
    padding: 10px 20px;
    background: var(--green-primary);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart:hover {
    background: var(--green-dark);
}

/* ====================================
   Contact
   ==================================== */
.contact {
    padding: var(--section-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--orange-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--green-primary);
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
}

.contact-form .btn {
    width: 100%;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--green-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--orange-primary);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--orange-primary);
    transform: translateY(-3px);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
}

.footer-section ul li a:hover {
    color: var(--orange-primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-primary);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--orange-primary);
    color: var(--white);
    border-radius: 5px;
}

.newsletter-form button:hover {
    background: var(--orange-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
    color: var(--orange-primary);
}

/* ====================================
   Modal
   ==================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    padding: 30px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--gray-dark);
}

.modal-close:hover {
    color: var(--orange-primary);
}

.modal h2 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--green-primary);
    margin-bottom: 20px;
}

#cartItems {
    margin: 20px 0;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--gray-light);
    border-radius: 8px;
    margin-bottom: 15px;
}

.cart-item-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--orange-primary);
    font-weight: 700;
}

.cart-item-remove {
    background: #E74C3C;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
}

.cart-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-medium);
}

.cart-total h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* ====================================
   Floating Elements
   ==================================== */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--orange-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart:hover {
    background: var(--orange-dark);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--green-primary);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--green-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1500;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--green-dark);
    transform: translateY(-5px);
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 992px) {
    .logo h1 {
        font-size: 36px;
    }
    
    .tagline {
        font-size: 9px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 80px 30px;
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .news-card.featured {
        grid-column: span 1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-excerpt {
        font-size: 16px;
    }
    
    .news-grid,
    .shop-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-cart {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 28px;
    }
    
    .header-top {
        font-size: 12px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .hero-content {
        padding: 40px 0 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
}

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

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

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

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