/* ---------------------- */
/* 🔄 CSS RESET & GLOBALS */
/* ---------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #111; /* updated from new CSS */
    background: #fff; /* updated from new CSS */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 {
    font-size: 2rem;
    margin: 1rem 0;
}

/* ---------------------- */
/* 📌 NAVIGATION BAR      */
/* ---------------------- */
nav {
    background: white;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.navCart {
    width: 40px;
    height: 40px;
}
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
}

.cart-icon {
    cursor: pointer;
}

/* 🍔 Burger Menu for Mobile */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger .line {
    width: 25px;
    height: 3px;
    background: black;
}

/* 📱 Responsive Navigation */
.nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 20px;
    right: 0;
    background: white;
    width: 100%;
}

.nav-links.active li {
    width: 100%;
}

.nav-links.active li a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    color: black;
}

@media screen and (max-width: 768px) {
    nav {
        height: 130px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
    }

    .logo-wrapper {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .burger {
        display: flex;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .cart-icon {
        position: absolute;
        right: 20px;
        top: 30%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: rgba(0,0,0,0.8);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        background: white;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        transform: translateX(-100%);
        animation: slideInLeft 0.3s forwards;
    }

    @keyframes slideInLeft {
        to {
            transform: translateX(0);
        }
    }

    .nav-links li a {
        font-size: 1.5rem;
        color: black;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-links li a:hover {
        text-decoration: underline;
    }
}

#about,
#contact {
    margin-top: 100px;
    padding: 20px;
}

/* ---------------------- */
/* 🖼️ HERO SECTIONS       */
/* ---------------------- */
.heroHome {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: blue;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: black;
    text-align: center;
    text-shadow: 2px 2px 4px white;
    padding: 20px;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ---------------------- */
/* 🧱 SECTION LAYOUTS     */
/* ---------------------- */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}

/* ---------------------- */
/* 🛍️ PRODUCT CARDS       */
/* ---------------------- */
.featured-collection {
    padding: 2em;
    text-align: center;
}

.featured-collection h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

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

.clothing-collection .featured-header {
    padding-left: 2em;
}

.clothing-collection .scroll-container {
    padding-left: 2em;
}

.product-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
}

.product-scroll::-webkit-scrollbar {
    display: none;
}

.product-card {
    width: 180px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.product-card a {
    text-decoration: none;
}

.product-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0.5rem 0;
}

.product-card .price {
    font-size: 1rem;
    color: #666;
    margin: 0.25rem 0 1rem;
}

.scroll-container {
    position: relative;
}

.clothing-collection .scrollF-container{
    padding-left: 2em;
}


.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: black;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 5;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.scroll-btn:hover {
    background: #eee;
}

/* ---------------------- */
/* 🟡 BUTTONS */
.add-to-cart,
.remove-item,
.btn,
.add-to-cart-btn,
button {
    background: black;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: center;
}

button:hover {
    background: #595858;
}

.close-btn:hover {
    background: white;  /* same as normal */
    color: black;       /* same as normal */
}

.add-to-cart:hover,
.remove-item:hover,
.btn:hover,
.add-to-cart-btn:hover,
button:hover {
    background: #595858;
}

/* Variant selectors & Weight buttons */
.variant-selector button,
.weight-buttons button {
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 25px;
    padding: 0.5em 1.2em;
    margin: 0.25em;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-selector button.selected,
.weight-btn.selected {
    border: 2px solid #111;
    font-weight: 600;
    background-color: black;
    color: white;
}

/* Only hide buttons on homepage */
body.homepage .add-to-cart-btn,
body.homepage .add-to-cart-custom-btn {
    display: none;
}

.color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    margin: 2px;
}

.color-btn.selected {
    border: 3px solid #000; /* black border indicates selection */
}

/* ---------------------- */
/* Quantity selector */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto; /* auto margins help centering too */
}

.quantity-selector button {
    border-radius: 5px; /* smaller radius, removes full circle */
    width: auto;         /* optional: adjusts width to content */
    height: auto;        /* optional: adjusts height to content */
    padding: 0.5em 1em;  /* optional: adds spacing around + and - */
}

.size-btn {
    color: black;
    background: white;
    border: 1px solid #ccc;
}

.size-btn:hover {
    transform: translateY(-3px);
    color: black;
    background: white;
}

.size-btn.selected {
    color: black;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 40%, transparent);
    background: color-mix(in oklab, var(--accent) 10%, white);
}

/* ---------------------- */
/* 🛒 CART STYLES */
.cart-icon {
    position: relative;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0 20px;
    transition: color 0.3s;
}

#cart-count {
    background: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    position: absolute;
    top: -5px;
    right: 10px;
}



#cart-dropdown {
    position: fixed;
    top: 60px;
    right: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    color: black;
    padding: 1rem;
    width: 250px;
    z-index: 2000;
}

#cart-dropdown.hidden {
    display: none;
}

#cart-items {
    list-style: none;
    padding-left: 0;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    text-align: left;
}

#cart-items li {
    margin-bottom: 0.5rem;
}

#cart-total {
    font-weight: bold;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333;
    transition: color 0.2s;
}

/* ---------------------- */
/* 👥 TEAM SECTION */
.team-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.coach {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
}

.coach img {
    width: 100%;
    border-radius: 10px;
}

/* ---------------------- */
/* 📝 FORMS */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: lightgray;
    padding: 10px 0;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-text {
    flex: 1;
}

.contact-text .small-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-text h2 {
    font-size: 32px;
    font-weight: 700;
}

/* Form styling */
.contact-form {
    flex: 1.2;
    background: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: lightgray;
}

textarea {
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }


    .contact-form {
        width: 100%;            /* ✅ make form full width */
        padding: 20px;          /* keep some breathing room */
        border-radius: 0;       /* optional: remove rounding so it fits screen edge */
    }

    input, textarea {
        width: 100%;            /* ✅ inputs expand to full width */
    }
}

button {
    padding: 10px 20px;
}

/* ---------------------- */
/* 🔚 FOOTER */
footer {
    background: #fafafa;
    padding: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links img {
    width: 5%;
}

/* ---------------------- */
/* ❓ FAQ SECTION */
.faq-item {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.faq-item h3 {
    margin-bottom: 8px;
}

/* ---------------------- */
/* ⭐ REVIEWS CAROUSEL */
.reviews-carousel {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    background: white;
    color: black;
    font-family: sans-serif;
}

.reviews-carousel h2 {
    font-size: 2rem;
    font-weight: 700;
    z-index: 1;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border: 2px solid black;
    border-radius: 50%;
    background: white;
    color: black;
    cursor: pointer;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
}

.arrow-btn:hover {
    background: white;
    color: black;
}

.dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(204, 204, 204, 0.58);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: black;
}

/* ---------------------- */
/* 🧤 GLOVE PRODUCT PAGE */
.product-page {
    max-width: 1200px;
    margin: 2em auto;
    padding: 0 1em;
}

.product-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.image-gallery {
    flex: 1;
    max-width: 500px;
}

.image-gallery img {
    width: 100%;
    border-radius: 10px;
}

.thumbnail-row {
    display: flex;
    gap: 0.5em;
    margin-top: 1em;
}

.thumbnail-row img {
    width: 80px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid black;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.price {
    font-size: 1.5em;
    margin-bottom: 1em;
}

/* Clothing Section Layout */
.clothing-collection .product-grid {
    padding: 1rem;
    display: flex;
    justify-content: flex-start;  /* align items from the left */
    align-items: stretch;
    gap: 0;                       /* no space between items */
    flex-wrap: wrap;              /* allow wrapping on smaller screens */
}

.clothing-collection .product-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
}

.clothing-collection .product-scroll::-webkit-scrollbar {
    display: none;
}


.product-card {
    flex: 0 0 auto;               /* prevents auto-stretch */
    max-width: 300px;             /* keeps consistent width */
    margin: 0;
    border: none;
}

.product-card h3 {
    font-size: 17px;
}

/* Image hover effect */
.product-image {
    position: relative;
    display: block;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    display: block;
    transition: opacity 0.4s ease-in-out;
}

.product-image .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image:hover .hover-img {
    opacity: 1;
}

.product-image:hover img:first-child {
    opacity: 0;
}


.options {
    margin-bottom: 1.5em;
}

.color-swatches button {
    border: none;
    background: none;
    margin-right: 0.5em;
    cursor: pointer;
}

.color-swatches img {
    width: 40px;
    border-radius: 6px;
}

.weight-buttons button {
    color:white;
    padding: 0.5em 1em;
    margin-right: 0.5em;
    margin-top: 0.5em;
    border: 1px solid black;
    background: grey;
    border-radius: 6px;
    cursor: pointer;
}

.weight-buttons button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.weight-btn.selected {
    border: 2px solid white;
    background-color: black;
}

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .image-gallery,
    .product-info {
        max-width: 100%;
    }

    .thumbnail-row {
        justify-content: center;
    }
}

#review-text {
    transition: opacity 0.4s ease;
    opacity: 1;
}

#review-text.fade-out {
    opacity: 0;
}

#review-text.fade-in {
    opacity: 1;
}

/* About section */
#about {
    padding: 3rem 2rem;
    background-color: white;
    text-align: left;
}

.about-container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: black;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.coming-soon {
    text-align: center;
    margin: 50px auto;
    padding: 40px;
}

.coming-soon-box {
    border: 2px dashed #333;
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    background-color: #f9f9f9;
}

.coming-soon-box h3 {
    font-size: 2rem;
    color: black;
    margin-bottom: 10px;
}

.coming-soon-box p {
    font-size: 1.2rem;
    color: #333;
}
/* Accent colour used for "selected" ring */
:root { --accent: #f59e0b; } /* amber; tweak if you like */

/* Style + Weight pills */
.weight-buttons button,
.style-buttons button {
    color: black;
    padding: 0.5rem 0.8rem;
    border: 2px solid #d1d5db;
    border-radius: 9999px;
    background: #fff;
    cursor: pointer;
    font: inherit;
    transition: transform .15s, border-color .2s, box-shadow .2s, background-color .2s, color .2s;
}

.weight-buttons button:hover,
.style-buttons button:hover { transform: translateY(-1px); }

.weight-buttons button.selected,
.style-buttons button.selected {
    color: black;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 40%, transparent);
    background: color-mix(in oklab, var(--accent) 10%, white);
}

/* Colour swatches */
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.color-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: transform .15s, outline .2s, box-shadow .2s, border-color .2s;
}

.color-btn:hover { transform: scale(1.08); }

.color-btn.selected {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent);
}

.color-btn.selected::after {
    content: "✓";
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: var(--accent);
    color: black;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

/* Map colors */
.color-btn[data-color="gold"] { background: gold; border: 1px solid black; }
.color-btn[data-color="black"] { background: black; border: 1px solid black;}
.color-btn[data-color="white"] { background: white; border: 1px solid black; }
.color-btn[data-color="red"] { background: red; border: 1px solid black; }
.color-btn[data-color="navy"] { background: navy; border: 1px solid black;}
.color-btn[data-color="pink"] { background: pink; border: 1px solid black;}
.color-btn[data-color="darkgreen"] { background: darkgreen; border: 1px solid black;}
.color-btn[data-color="yellow"] { background: yellow; border: 1px solid black;}

/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Hide modal by default */
.hidden {
    display: none;
}

/* Modal content box */
.modal-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ddd;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-content h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 1rem;
    color: #666;
}