/* Import fonts for the streetwear vibe */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Courier+Prime:wght@700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #111111; /* Deep black instead of purple */
    --primary-dark: #000000;
    --accent: #E53935; /* The red from the banner */
    --accent-cyan: #40E0D0; /* The cyan from the shirt */
    --text: #1a1a1a;
    --muted: #5a5a5a;
    --white: #ffffff;
    --light: #f4f4f0; /* Off-white/cream like the shirts */
    --border: #111111; /* Hard black borders */
    --success: #16803c;
    --shadow: #111111; 
}

/* Reset / base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    color: var(--text);
    background: var(--light);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, .logo, .button {
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font: inherit;
}

/* Layout container */
.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header / Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 3px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 1.5rem;
}

.logo-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    background: var(--accent);
    font-size: 1.2rem;
    border: 2px solid var(--primary);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation a:not(.cart-link) {
    position: relative;
    padding: 8px 0;
    color: var(--text);
    font-weight: 700;
    font-family: "Anton", sans-serif;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--accent);
}

.main-navigation a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 4px;
    background: var(--accent);
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
}

/* Hero */
.hero {
    padding: 120px 0;
    color: var(--white);
    /* This loads the image and adds a dark overlay so the white text is readable */
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.8)), url('images/S3.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This makes the image stay still while scrolling (parallax effect) */
    border-bottom: 5px solid var(--border);
}

.hero-content.single {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    text-shadow: 3px 3px 0 var(--accent);
}

.hero p:not(.eyebrow) {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--light);
    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}


/* Buttons */
.button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.1rem;
    border: 3px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0 var(--border);
}

.button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--border);
}

.button:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--border);
}

.button-primary {
    color: var(--white);
    background: var(--accent);
}

.button-light {
    color: var(--primary);
    background: var(--white);
}

.button-outline {
    color: var(--white);
    background: transparent;
    box-shadow: 4px 4px 0 var(--white);
    border-color: var(--white);
}
.button-outline:hover {
    box-shadow: 6px 6px 0 var(--white);
}

/* Sections */
.section {
    padding: 80px 0;
}

.featured-section {
    background: var(--white);
    border-bottom: 3px solid var(--border);
}

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 30px;
    background: var(--white);
    border: 3px solid var(--border);
    box-shadow: 6px 6px 0 var(--primary);
    text-align: center;
}

.info-card h3 {
    margin: 18px 0 10px;
    color: var(--primary);
    font-size: 1.5rem;
}

.info-card p {
    color: var(--muted);
}

/* Call to action */
.call-to-action {
    background: var(--accent);
    color: var(--white);
    text-align: center;
    border-bottom: 5px solid var(--border);
}
.call-to-action h2 { color: var(--white); text-shadow: 2px 2px 0 var(--border);}
.call-to-action p { margin-bottom: 25px; font-weight: 600; }

/* Page banner */
.page-banner {
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    background: var(--primary);
    border-bottom: 5px solid var(--border);
}

.page-banner h1 {
    margin-bottom: 15px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 3px 3px 0 var(--accent);
}

.page-banner p {
    color: var(--light);
    font-size: 1.1rem;
}

/* Two-column layouts */
.two-column, .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Panels and forms */
.contact-form-wrapper, .about-panel {
    padding: 30px;
    background: var(--white);
    border: 3px solid var(--border);
    box-shadow: 8px 8px 0 var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Anton", sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px;
    border: 2px solid var(--border);
    background: var(--light);
    color: var(--text);
    font-family: "Inter", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

/* Footer */
.site-footer {
    padding-top: 60px;
    background: var(--primary);
    color: var(--light);
    border-top: 5px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.5rem;
}

.site-footer p {
    color: #aeb8ca;
}

.site-footer h3 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

.site-footer a:not(.footer-logo) {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    color: #cbd4e4;
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--accent-cyan);
}

/* Social icons */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--border);
    box-shadow: 3px 3px 0 var(--accent);
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--accent-cyan);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--white);
}

.footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 2px solid #333;
    font-family: "Courier Prime", monospace;
    font-size: 0.9rem;
}

/* ===== Store & accessibility ===== */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 200; padding: 10px 16px; background: var(--primary); color: var(--white); border: 2px solid var(--white); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.cart-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 700; 
    font-family: "Inter", sans-serif;
    border: 2px solid var(--border);
    padding: 5px 12px;
    box-shadow: 3px 3px 0 var(--border);
    background: var(--white);
}
.cart-link:hover { background: var(--light); }

.cart-count { 
    background: var(--accent); 
    color: var(--white); 
    padding: 2px 8px; 
    border-radius: 999px; 
    font-size: 0.9rem; 
}

/* Products */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px; 
}

.product-card { 
    display: flex; 
    flex-direction: column; 
    padding: 20px; 
    background: var(--white); 
    border: 3px solid var(--border); 
    box-shadow: 6px 6px 0 var(--primary);
    text-align: left;
}

.product-card h2 { 
    margin-top: 15px;
    margin-bottom: 5px; 
    color: var(--primary); 
    font-size: 1.5rem; 
}

.product-media { 
    position: relative; 
    display: grid; 
    place-items: center; 
    aspect-ratio: 4 / 5; 
    margin-bottom: 16px; 
    overflow: hidden; 
    border: 2px solid var(--border);
    background: var(--light); 
}

.product-media img { 
    position: absolute; 
    inset: 0; 
    height: 100%; 
    object-fit: cover; 
}

.product-card .price { 
    margin: 10px 0 15px; 
    color: var(--primary); 
    font-size: 1.5rem; 
    font-family: "Anton", sans-serif;
}

.product-card s { 
    margin-left: 10px; 
    color: var(--muted); 
    font-size: 1.1rem; 
    font-family: "Inter", sans-serif;
}

.save { 
    display: inline-block; 
    margin-left: 10px;
    padding: 2px 8px; 
    background: var(--accent-cyan); 
    color: var(--primary); 
    font-size: 0.85rem; 
    font-weight: 800; 
    text-transform: uppercase;
}

.product-card .form-group { margin-bottom: 15px; }

.product-card .button { margin-top: auto; width: 100%; text-align: center; }

/* Cart specific */
.cart-wrap { overflow-x: auto; margin-bottom: 30px; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border: 3px solid var(--border); box-shadow: 6px 6px 0 var(--primary); }
.cart-table th, .cart-table td { padding: 15px; border-bottom: 2px solid var(--border); text-align: left; }
.cart-table th { font-family: "Anton", sans-serif; background: var(--light); text-transform: uppercase; }
.cart-table input { width: 70px; padding: 8px; border: 2px solid var(--border); text-align: center; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin: 30px 0; padding: 20px; background: var(--white); border: 3px solid var(--border); box-shadow: 6px 6px 0 var(--accent); font-size: 1.5rem; font-family: "Anton", sans-serif;}
.link-btn { background: none; border: 0; color: #b42318; text-decoration: underline; cursor: pointer; font-weight: 700; }
.demo-note { margin-bottom: 20px; padding: 15px; background: var(--light); border: 2px dashed var(--border); font-family: "Courier Prime", monospace; font-size: 0.95rem;}

/* Responsive breakpoints */
@media (max-width: 800px) {
    .menu-toggle { display: block; }
    .main-navigation {
        position: absolute; top: 76px; right: 20px; left: 20px;
        display: none; flex-direction: column; align-items: stretch; gap: 0;
        padding: 20px; background: var(--white); border: 3px solid var(--border);
        box-shadow: 6px 6px 0 var(--primary);
    }
    .main-navigation.open { display: flex; }
    .main-navigation a { padding: 12px 0; border-bottom: 1px solid #eee;}
    .main-navigation a.active::after { display: none; }
    .cart-link { margin-top: 15px; justify-content: center; border: none; box-shadow: none; background: var(--light);}
    
    .hero h1 { font-size: 3rem; }
    .hero-content, .two-column, .contact-layout, .card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .container { width: min(100% - 30px, 1120px); }
    .logo { font-size: 1.1rem; gap: 8px; }
    .logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
    .hero, .section { padding: 50px 0; }
    .hero-buttons { flex-direction: column; }
    .statistics-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* About Page Hero Background */
.about-hero {
    /* The dark overlay makes the text readable against the busy cards */
    background: linear-gradient(rgba(17, 17, 17, 0.75), rgba(17, 17, 17, 0.85)), url('images/S1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0; /* Makes the banner taller to show off the image */
}

.about-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    text-shadow: 4px 4px 0 var(--accent); /* Keeps the red streetwear shadow */
}

.about-hero p {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--light);
}

.about-hero {
    background: linear-gradient(rgba(17, 17, 17, 0.75), rgba(17, 17, 17, 0.85)), url('images/S1.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    padding: 120px 0 !important;
}

/* Shop Page Background */
.store-page .page-banner {
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.8)), url('images/S7.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

/* Make the product grid stand out against the background */
.store-page .section {
    background-color: rgba(244, 244, 240, 0.95); /* Off-white overlay to ensure products are readable */
    border-top: 5px solid var(--border);
    padding-top: 60px;
}
/* Image logo in the header circle */
img.logo-icon { object-fit: cover; object-position: center; transform: none; padding: 0; background: none; }
