/*
Theme Name: Jersey Ecommerce Theme
Theme URI: https://manus.im/
Author: Manus
Author URI: https://manus.im/
Description: A custom ecommerce theme for jerseys with WhatsApp ordering, reviews, and team sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jersey-ecommerce
*/

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

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

/* Header & Nav */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

/* Dropdown styling */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 180px;
    padding: 10px 0;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li {
    margin: 0;
}

nav ul li ul li a {
    padding: 8px 20px;
    display: block;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #eee;
}

.slide {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    animation: fade 1.5s;
}

.slide.active {
    display: flex;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Products */
.section-title {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 28px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding-bottom: 40px;
}

.product-card {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    background: #fff;
}

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

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.price {
    color: #e44d26;
    font-weight: bold;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
}

/* Reviews */
.reviews-section {
    background: #f4f7f6;
    padding: 60px 0;
}

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

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

/* Team */
.team-section {
    padding: 60px 0;
}

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

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

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid #f0f0f0;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination a, .pagination span {
    padding: 8px 15px;
    border: 1px solid #ddd;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
}

.pagination .current {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
    .hero-slider {
        height: 300px;
    }
}
