@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:wght@300;400;700&display=swap');

:root {
  --primary: #e62429; /* Sporty red */
  --secondary: #1a1a1d;
  --bg: #0b0c10;
  --surface: #1f2833;
  --text: #f5f6fa;
  --text-muted: #c5c6c7;
  --border: #333945;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 25px rgba(230, 36, 41, 0.3);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background-color: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
ul { list-style: none; }
input, button, select, textarea { font-family: inherit; }

/* Container */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 15px; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; background: var(--primary); color: #fff;
  font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase;
  border-radius: 4px; border: 2px solid var(--primary); cursor: pointer;
  transition: var(--transition); text-align: center;
}
.btn:hover { background: transparent; color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(11, 12, 16, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: var(--transition); padding: 15px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: #fff; text-transform: uppercase; display: flex; align-items: center; gap: 10px; flex: 1; }
.logo span { color: var(--primary); }
.search-container { width: 100%; display: flex; justify-content: center; padding-top: 15px; }
.search-bar { width: 100%; max-width: 600px; position: relative; }
.search-bar input { width: 100%; padding: 10px 40px 10px 15px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 0.9rem; }
.search-bar input:focus { outline: none; border-color: var(--primary); }
.search-bar .search-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 10px 10px; display: none; z-index: 10; padding: 10px 0; }
.search-suggestions.active { display: block; }
.search-suggestions a { display: block; padding: 8px 15px; font-size: 0.9rem; color: var(--text); }
.search-suggestions a:hover { background: var(--primary); color: #fff; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex: 1; }
.icon-link { position: relative; font-size: 24px; color: var(--text); transition: var(--transition); }
.icon-link:hover { color: var(--primary); transform: scale(1.1); }
.badge { position: absolute; top: -5px; right: -8px; background: var(--primary); color: #fff; font-size: 10px; width: 18px; height: 18px; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-family: var(--font-body); font-weight: bold; }
.burger-menu { display: none; font-size: 28px; cursor: pointer; color: var(--text); }

/* Navigation */
.main-nav { margin-top: 0; display: flex; justify-content: center; flex: 0 1 auto; }
.nav-list { display: flex; gap: 30px; }
.nav-list a { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.1rem; font-weight: 500; position: relative; padding: 5px 0; }
.nav-list a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }

/* Mobile Menu */
@media (max-width: 991px) {
  .burger-menu { display: block; }
  .main-nav { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background: rgba(11, 12, 16, 0.98); flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 50px; transition: 0.4s ease-in-out; z-index: 999; }
  .main-nav.open { left: 0; }
  .nav-list { flex-direction: column; align-items: center; gap: 25px; width: 100%; }
  .nav-list a { font-size: 1.5rem; }
  .header-inner { flex-wrap: wrap; }
  .search-container { padding-top: 15px; }
  .site-header { padding: 10px 0 15px 0; }
}

@media (max-width: 575px) {
  .logo { font-size: 20px; }
  .icon-link { font-size: 20px; }
  .btn { padding: 10px 20px; font-size: 0.9rem; }
}

/* Common Sections */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: #fff; position: relative; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background: var(--primary); margin: 15px auto 0; }

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

/* Product Card */
.product-card { background: var(--surface); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); transition: var(--transition); position: relative; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--primary); }
.product-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 1; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.1); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; padding: 5px 10px; font-size: 0.8rem; font-family: var(--font-heading); font-weight: bold; border-radius: 4px; z-index: 2; }
.product-actions-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; opacity: 0; transition: var(--transition); z-index: 2; gap: 15px; }
.product-card:hover .product-actions-overlay { opacity: 1; }
.icon-btn { background: #fff; color: var(--secondary); width: 45px; height: 45px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; cursor: pointer; transition: var(--transition); border: none; }
.icon-btn:hover { background: var(--primary); color: #fff; transform: scale(1.1); }
.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.product-title { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.product-title a { color: inherit; }
.product-title a:hover { color: var(--primary); }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-top: auto; display: flex; align-items: center; gap: 10px; }
.old-price { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; font-weight: 400; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-widget h4 { font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-widget h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary); }
.footer-widget p { color: var(--text-muted); margin-bottom: 15px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.contact-info li { display: flex; gap: 15px; margin-bottom: 15px; color: var(--text-muted); align-items: flex-start; }
.contact-info i { color: var(--primary); font-size: 1.2rem; margin-top: 3px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; color: #fff; transition: var(--transition); }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }
.map-container { width: 100%; height: 200px; border-radius: 8px; overflow: hidden; margin-top: 20px; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.footer-bottom { background: var(--bg); padding: 20px 0; text-align: center; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; }
.payment-icons { display: flex; gap: 15px; font-size: 24px; color: var(--text-muted); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: var(--surface); border-top: 2px solid var(--primary); padding: 20px; z-index: 10000; transition: bottom 0.5s ease-in-out; box-shadow: 0 -5px 20px rgba(0,0,0,0.5); }
.cookie-banner.show { bottom: 0; }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 300px; font-size: 0.95rem; }
.cookie-btns { display: flex; gap: 10px; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Text Content blocks */
.text-content { max-width: 900px; margin: 0 auto; padding: 20px; background: var(--surface); border-radius: 8px; border-left: 4px solid var(--primary); box-shadow: var(--shadow); margin-bottom: 40px; }
.text-content p { margin-bottom: 15px; font-size: 1.05rem; color: var(--text-muted); }
.text-content h3 { margin: 30px 0 15px; font-size: 1.5rem; }

/* Modal Styles */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 99999; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--surface); padding: 40px; border-radius: 10px; border: 1px solid var(--primary); text-align: center; max-width: 400px; width: 90%; transform: scale(0.8); transition: var(--transition); box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-icon { font-size: 4rem; color: var(--primary); margin-bottom: 20px; }
.modal-title { font-size: 2rem; color: #fff; margin-bottom: 15px; text-transform: uppercase; font-family: var(--font-heading); }
.modal-text { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; line-height: 1.6; }
.modal-close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.modal-close-btn:hover { color: var(--primary); }

/* Layout adjustments */
main { flex: 1 0 auto; }

/* Chat Widget */
.chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 9999; font-family: var(--font-body); }
.chat-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; cursor: pointer; box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4); border: none; transition: transform 0.3s, background 0.3s; }
.chat-btn:hover { transform: scale(1.1); background: #d32f2f; }
.chat-window { position: absolute; bottom: 80px; right: 0; width: 350px; height: 450px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease; }
.chat-window.active { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-header { background: var(--bg); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.chat-header h4 { margin: 0; font-size: 1.1rem; color: #fff; display: flex; align-items: center; gap: 10px; }
.chat-header h4 i { color: var(--primary); }
.close-chat-btn { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.close-chat-btn:hover { color: var(--primary); }
.chat-messages { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.chat-message { max-width: 80%; padding: 10px 15px; border-radius: 15px; font-size: 0.95rem; line-height: 1.4; }
.chat-message.bot { background: var(--bg); color: var(--text); align-self: flex-start; border-bottom-left-radius: 5px; border: 1px solid var(--border); }
.chat-message.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.chat-input-area { padding: 15px; background: var(--bg); border-top: 1px solid var(--border); display: flex; gap: 10px; }
.chat-input-area input { flex: 1; background: var(--surface); border: 1px solid var(--border); padding: 10px 15px; border-radius: 20px; color: #fff; font-family: inherit; outline: none; }
.chat-input-area input:focus { border-color: var(--primary); }
.chat-input-area button { background: var(--primary); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: background 0.3s; }
.chat-input-area button:hover { background: #d32f2f; }
@media (max-width: 480px) { .chat-window { width: 300px; height: 400px; right: -10px; } }


/* Global Mobile Typography & Spacing */
@media (max-width: 768px) {
    /* Base text */
    body {
        font-size: 0.95rem;
    }
    p {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }
    
    /* Headings */
    h1, .page-header h1 {
        font-size: 2rem !important;
    }
    h2, .section-title {
        font-size: 1.75rem !important;
        margin-bottom: 25px !important;
    }
    h3 {
        font-size: 1.3rem !important;
    }
    h4 {
        font-size: 1.1rem !important;
    }
    
    /* Specific components */
    .hero h1 {
        font-size: 2.2rem !important;
    }
    .hero p {
        font-size: 1rem !important;
    }
    .newsletter h3 {
        font-size: 1.8rem !important;
    }
    .club-name {
        font-size: 1.25rem !important;
    }
    .product-title {
        font-size: 1.1rem !important;
    }
    
    /* General spacing reductions */
    .section, .about-us-section, .page-header {
        padding: 50px 0 !important;
    }
    .newsletter {
        padding: 50px 0 !important;
    }
}

@media (max-width: 480px) {
    /* Even smaller for very small screens */
    h1, .page-header h1 {
        font-size: 1.75rem !important;
    }
    .hero h1 {
        font-size: 1.8rem !important;
    }
    h2, .section-title {
        font-size: 1.5rem !important;
    }
}
