/* Main Stylesheet for HoopHaven Basketball Store */

/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #ff6b00;
    --secondary-color: #2b2d42;
    --accent-color: #4361ee;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray-color: #e9ecef;
    --success-color: #28a745;
    --danger-color: #dc3545;
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.5rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 1rem;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #e05e00;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: #1d1f2f;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-light:hover {
    background-color: var(--light-gray-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.btn-text:hover {
    color: var(--primary-color);
    gap: 0.75rem;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

header .logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

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

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

.nav-icons {
    display: flex;
    gap: 1rem;
}

.nav-icons .icon {
    font-size: 1.25rem;
    color: var(--secondary-color);
    position: relative;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: all var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: backgroundPan 30s ease-in-out infinite alternate;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,0,0.4) 0%, rgba(255,107,0,0) 70%);
    animation: pulse 6s infinite ease-in-out;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67,97,238,0.3) 0%, rgba(67,97,238,0) 70%);
    animation: float 8s infinite ease-in-out;
    z-index: 1;
}

/* Additional decorative elements */
.hero .container::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 8s infinite ease-in-out;
    z-index: 1;
}

.hero .container::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, rgba(255,107,0,0) 70%);
    animation: float 10s infinite ease-in-out;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.hero .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    animation: fadeInUp 1.2s ease-out 0.4s;
    animation-fill-mode: both;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    background-color: #ff7b1a;
}

.hero .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    animation: fadeInUp 1.2s ease-out 0.6s;
    animation-fill-mode: both;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== CATEGORIES SECTION ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.category-img {
    height: 200px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.category-card h3 {
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.category-card .btn-text {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
}

/* ===== PRODUCTS SECTION ===== */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--light-gray-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    z-index: 1;
}

.product-badge.bestseller {
    background-color: var(--accent-color);
}

.product-badge.sale {
    background-color: var(--danger-color);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    transition: bottom var(--transition-normal);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--light-gray-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    color: #ffc107;
    font-size: 0.9rem;
}

.product-rating span {
    color: var(--gray-color);
    margin-left: 0.25rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.old-price {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-decoration: line-through;
}

.load-more {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ===== FEATURED SECTION ===== */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}

.featured-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 500px;
}

.featured-small {
    height: 240px;
}

.featured-large,
.featured-small {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    color: white;
}

.featured-large::before,
.featured-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.featured-large img,
.featured-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.featured-large:hover img,
.featured-small:hover img {
    transform: scale(1.1);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
    z-index: 2;
}

.featured-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.featured-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--light-gray-color);
}

/* ===== ELEVATE YOUR GAME SECTION ===== */
.elevate-game {
    padding: var(--spacing-xxl) 0;
    color: var(--light-color);
    position: relative;
    min-height: 500px;
    background: linear-gradient(to right, #2b2d42, #4361ee);
    overflow: hidden;
}

.elevate-game::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 400px 400px, 50px 50px, 50px 50px;
    background-position: center, center, center;
    z-index: 0;
}

.elevate-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Basketball decorative elements */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

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

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

@keyframes backgroundPan {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.elevate-game .container::before,
.elevate-game .container::after {
    content: '';
    position: absolute;
    background-color: #ff6b00;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}

.elevate-game .container::before {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.elevate-game .container::after {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: -30px;
    animation: pulse 8s ease-in-out infinite;
}

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

.elevate-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--light-color);
}

.elevate-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.elevate-features {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.elevate-feature {
    flex: 1;
    padding: var(--spacing-lg);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.elevate-feature:hover {
    transform: translateY(-10px);
    background-color: rgba(67, 97, 238, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.elevate-feature:hover i {
    transform: scale(1.2);
    color: #ff6b00;
}

.elevate-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    transition: transform 0.3s ease, color 0.3s ease;
}

.elevate-feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.elevate-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.testimonial-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--light-gray-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-gray-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    background-color: var(--secondary-color);
    color: white;
    padding: var(--spacing-xl) 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
}

/* ===== ABOUT SECTION ===== */
.about {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xxl) 0;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, rgba(67, 97, 238, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-image img:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
}

.stat {
    position: relative;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--secondary-color);
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    transition: transform var(--transition-normal);
}

.contact-card:hover i {
    transform: scale(1.2);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--gray-color);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray-color);
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
    transition: border-color var(--transition-fast);
}

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

/* ===== FOOTER ===== */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about h3,
.footer-links h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
}

.payment-methods img {
    height: 30px;
}

/* ===== SHOPPING CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: right var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray-color);
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: color var(--transition-fast);
}

.close-cart:hover {
    color: var(--danger-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 2rem 0;
}

.empty-cart i {
    font-size: 3rem;
    color: var(--light-gray-color);
    margin-bottom: 1rem;
}

.empty-cart p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.checkout-btn {
    width: 100%;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .product-grid,
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .elevate-features {
        gap: var(--spacing-lg);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
    
    .product-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-large {
        grid-column: auto;
        grid-row: auto;
        height: 300px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-content {
        order: 2;
        text-align: center;
    }
    
    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-large {
        grid-column: auto;
        grid-row: auto;
        height: 300px;
    }
    
    .elevate-features {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .elevate-feature {
        width: 100%;
    }
    
    .elevate-content h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero .btn-primary,
    .hero .btn-secondary {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
}