:root {
    --bg-primary: #0A0A0A;
    --surface: #141414;
    --surface-light: #1F1F1F;
    --gold: #0567AA;
    --dark-gold: #FFFFFF;
    --text-primary: #ee2245;
    --text-secondary: #E3E3E3;
    --text-muted: #888888;

    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;

    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar.shrink {
    height: 60px;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo-link {
    display: inline-flex;
    position: relative;
    z-index: 2;
}

.logo-link::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle, var(--text-primary) 0%, transparent 60%);
    opacity: 0;
    mix-blend-mode: screen;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.logo-link:hover::after { opacity: 0.15; }

.logo {
    height: 160px;
    width: auto;
    object-fit: contain;
    margin-top: 30px;
    filter: drop-shadow(0 0 14px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar.shrink .logo { height: 80px; margin-top: 0; }

.logo:hover { transform: scale(1.05) rotate(-2deg); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    background: var(--gold);
    color: var(--dark-gold);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background: var(--text-primary);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.nav-cta:hover::before { width: 100%; }
.nav-cta:hover { transform: scale(1.03); }
.nav-cta i { transition: transform 0.3s ease; }
.nav-cta:hover i { transform: translateX(4px); }

/* ===================== HERO SECTION ===================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: calc(var(--nav-height) + 2rem) 5% 2rem;
    z-index: 1;
    background-image: url('./background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#particles-container {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: -1;
    pointer-events: none; 
}

/* Ensure the canvas itself inside the container also respects pointer-events if possible,
   but tsParticles often sets its own. The best way is to put interactive content above it. */

.hero-content {
    position: relative;
    z-index: 10; /* Higher than particles */
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: var(--dark-gold);
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
}

.title-line:last-child {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    letter-spacing: 6px;
}

.fade-text { color: var(--text-primary); }
.away-text { color: var(--gold); }
.barber-text { color: var(--dark-gold); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.5s;
}

.hero-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--dark-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.8s;
}

.hero-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background: var(--text-primary);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.hero-btn:hover::before { width: 100%; }
.hero-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 30px rgba(238, 34, 69, 0.3); }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================== SECTION COMMON ===================== */
section {
    position: relative;
    z-index: 10; /* Ensure sections are above any potential background particles */
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--dark-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ===================== VALUE PROPS ===================== */
.value-props {
    padding: 6rem 5%;
}

.props-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.prop-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.prop-card:hover {
    transform: translateY(-10px);
    border-color: rgba(5, 103, 170, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.prop-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--gold);
    transition: all 0.4s ease;
}

.prop-card:hover .prop-icon {
    background: var(--gold);
    color: var(--dark-gold);
    transform: scale(1.1) rotate(5deg);
}

.prop-icon-logo {
    padding: 12px;
    overflow: hidden;
}

.prop-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prop-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-gold);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.prop-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===================== STORE GALLERY ===================== */
.store-gallery {
    padding: 6rem 5%;
    z-index: 20; /* High z-index to ensure it stays above background effects */
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.product-card {
    display: block;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    z-index: 5;
    pointer-events: auto;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover .product-overlay {
    opacity: 1;
    bottom: 0;
}

.overlay-text {
    color: var(--dark-gold);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: var(--gold);
    color: var(--dark-gold);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 3;
}

.gallery-cta {
    text-align: center;
    margin-top: 2rem;
}



/* ===================== FINAL CTA ===================== */
.final-cta {
    position: relative;
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
}

.cta-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.75);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--dark-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: var(--gold);
    color: var(--dark-gold);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(238, 34, 69, 0.4); }

/* ===================== BUTTONS GENERAL ===================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-gold);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
    min-width: 200px;
    text-transform: uppercase;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

.btn.bg-primary {
    background: var(--gold);
}

.btn.bg-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background: var(--text-primary);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn.bg-primary:hover::before { width: 100%; }

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--surface);
    padding: 3rem 5% 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===================== MOBILE STICKY BAR ===================== */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--dark-gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 8px;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== MEDIA QUERIES ===================== */
@media (max-width: 768px) {
    .nav-cta { display: none; }

    .navbar { justify-content: center; }

    .logo-link {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo { height: 120px; }

    .navbar.shrink .logo { height: 70px; }

    .hero { padding-top: 140px; }

    .scroll-indicator { display: none; }

    .mobile-sticky-bar { display: block; }

    .main-content { padding-bottom: 70px; }

    .props-container, .gallery-container {
        grid-template-columns: 1fr;
    }

    .product-overlay { display: none; }
}

@media (max-width: 480px) {
    .title-line { font-size: 3rem; }
    .logo { height: 90px; }
    .navbar.shrink .logo { height: 60px; }
    .hero { padding-top: 110px; }
    .hero-btn, .cta-btn { padding: 0.9rem 1.8rem; font-size: 1rem; }
}
