/*
    HexaSpark Apparel Stylesheet
    Author: Gemini
    Date: August 8, 2025
    GEO: Paris, France
*/

/* --- Base & Utilities --- */
:root {
    --dark-base: #0b0c2a;
    --dark-secondary: #11142a;
    --cyan: #00ffff;
    --violet: #8a2be2;
    --lime: #ccff00;
    --text-color: #f0f0f0;
    --highlight-color: var(--cyan);
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --header-height: 60px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--dark-base);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 0.5em;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 5vw, 2rem); }

a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover, a:focus {
    color: var(--lime);
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--cyan), var(--violet));
    color: var(--dark-base);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 255, 255, 0.5);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.cta-button.secondary:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: var(--cyan);
    color: var(--dark-base);
}

/* --- Header & Nav --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 20, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(17, 20, 42, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
}

.nav-links {
    display: none;
    list-style: none;
}

.nav-links a {
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 16px;
    position: relative;
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--cyan);
    transition: width var(--transition-speed) ease, left var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

/* --- Sections --- */
section {
    padding: 80px 0;
    position: relative;
}

/* Hero Section */
.hero-section {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../img/hero.png') no-repeat center center/cover;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    margin-bottom: 40px;
}

.subheadline {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5em auto;
    color: #c0c0c0;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-direction: column;
    margin-bottom: 40px;
}

.trust-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
}

.trust-item .fas {
    font-size: 2rem;
    color: var(--cyan);
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(0, 255, 255, 0.2); }
    to { box-shadow: 0 0 30px rgba(0, 255, 255, 0.4); }
}

/* Featured Products */
.featured-products-section h2, .collections-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

.product-card, .collection-card {
    background-color: var(--dark-secondary);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.product-card:hover, .collection-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 43, 226, 0.3);
}

.product-card .product-image-container, .collection-card img {
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    height: 280px;
}

.product-card .product-image-container img, .collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    color: var(--dark-base);
    z-index: 10;
}

.product-badge.new { background-color: var(--lime); }
.product-badge.bestseller { background-color: var(--cyan); }
.product-badge.limited { background-color: var(--violet); }

.product-card h3 {
    margin-bottom: 5px;
}

.product-card p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 10px;
}

.product-card .price {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--cyan);
    margin-bottom: 15px;
}

.sizes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sizes label {
    background-color: var(--dark-base);
    border: 1px solid #444;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sizes input[type="radio"] {
    display: none;
}

.sizes input[type="radio"]:checked + label {
    background-color: var(--violet);
    border-color: var(--violet);
    color: white;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--cyan);
    color: var(--dark-base);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.add-to-cart-btn:hover {
    color: black;
    background-color: var(--lime);
    transform: translateY(-2px);
}

/* Collections */
.collection-card {
    text-align: left;
    padding: 0;
}

.collection-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 0;
}

.collection-card h3, .collection-card p, .collection-card .cta-button {
    padding: 0 20px;
}

.collection-card h3 {
    margin-top: 20px;
}

.collection-card .cta-button {
    margin: 20px;
    width: auto;
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Quality Section */
.quality-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.quality-content ul {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.quality-content li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quality-content .fas {
    color: var(--lime);
}

.quality-section .quality-content, .quality-section .quality-image-placeholder {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.quality-section .quality-content.visible, .quality-section .quality-image-placeholder.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Size & Care */
.size-care-section .container {
    text-align: center;
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.size-chart table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: var(--dark-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.size-chart th, .size-chart td {
    padding: 12px;
    border: 1px solid #2a2c4e;
    text-align: center;
}

.size-chart th {
    background-color: #1e204a;
    color: var(--cyan);
}

.size-chart td {
    font-family: monospace;
}

.care-tips ul {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.care-tips li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.care-tips .fas {
    color: var(--violet);
}

/* Reviews */
.customer-reviews-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.review-card {
    background-color: var(--dark-secondary);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header .stars .fa-star {
    color: gold;
}

.reviewer {
    font-style: italic;
    font-size: 0.9rem;
    color: #ccc;
}

.photo-review .review-photo-placeholder {
    width: 100%;
    margin-top: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Shipping & Returns */
.shipping-returns-section .container {
    text-align: center;
}

.shipping-returns-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.shipping-info, .returns-info {
    background-color: var(--dark-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: left;
}

.shipping-info ul, .returns-info ul {
    list-style: none;
    margin-top: 20px;
}

.shipping-info li, .returns-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.shipping-info .fas, .returns-info .fas {
    color: var(--cyan);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Contact Form */
.contact-section .container {
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;
}

.contact-form, .contact-info {
    background-color: var(--dark-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--cyan);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background-color: var(--dark-base);
    border: 1px solid #444;
    border-radius: var(--border-radius);
    color: var(--text-color);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

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

.contact-info address, .contact-info p {
    margin-bottom: 10px;
    font-style: normal;
}

.contact-info .fas {
    margin-right: 8px;
    color: var(--lime);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    margin-top: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--dark-secondary);
    padding: 40px 0 20px;
    color: #ccc;
    font-size: 0.9rem;
}

.footer .container {
    text-align: center;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 10px;
}

.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.2s ease;
}

.footer-links h4, .footer-legal h4, .footer-contact h4 {
    color: var(--cyan);
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links a, .footer-legal a {
    display: block;
    padding: 5px 0;
    color: #ccc;
    transition: color 0.2s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--text-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2a2c4e;
}

/* --- Accessibility & Focus States --- */
:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
    border-radius: var(--border-radius);
}

/* --- Media Queries --- */
@media (min-width: 768px) {
    .header .container {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
    }

    .nav-links {
        display: flex;
        justify-content: flex-end;
    }

    .hero-section .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 60px;
    }

    .hero-content {
        margin-bottom: 0;
    }

    .hero-ctas {
        flex-direction: row;
    }

    .quality-section .container {
        flex-direction: row;
        text-align: left;
    }

    .quality-content ul {
        margin-left: 20px;
    }

    .size-care-section h2 {
        text-align: left;
    }

    .guide-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .size-chart, .care-tips {
        flex-basis: 48%;
    }

    .shipping-returns-content, .contact-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .contact-form, .contact-info {
        flex-basis: 48%;
    }

    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-brand, .footer-links, .footer-legal, .footer-contact {
        flex-basis: 22%;
        text-align: left;
    }
}.privacy-policy-section {
            padding: 80px 20px;
            background-color: var(--dark-base);
            min-height: calc(100vh - 60px - 40px); /* Adjust based on header/footer height */
            color: var(--text-color);
        }

        .privacy-policy-section h1 {
            margin-bottom: 40px;
            text-align: center;
        }

        .privacy-policy-section h2 {
            margin-top: 40px;
            border-bottom: 2px solid var(--violet);
            padding-bottom: 10px;
        }

        .privacy-policy-section p, .privacy-policy-section ul {
            margin-bottom: 20px;
            color: #ccc;
        }
        
        .privacy-policy-section ul {
            padding-left: 20px;
        }