/* ==========================================================================
   GET SET TENNIS - MODERN PREMIUM STYLESHEET
   ========================================================================== */

/* --- 1. CSS VARIABLES (DESIGN TOKENS) --- */
:root {
    /* Colors - Dark Premium Theme */
    --bg-base: #0a0a0a;
    --bg-surface: #141414;
    --bg-surface-elevated: #1e1e1e;
    --bg-card: rgba(30, 30, 30, 0.6);

    /* Accents - "Tennis Yellow" */
    --accent-primary: #CCFF00;
    --accent-hover: #D4FF33;
    --accent-glow: rgba(204, 255, 0, 0.2);

    /* Typography Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --text-inverse: #0a0a0a;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(204, 255, 0, 0.3);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    --shadow-subtle: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 0 20px var(--accent-glow);
    --blur-base: blur(16px);

    /* Layout */
    --max-width: 1280px;
    --section-padding: 6rem;
}

/* Light Theme Overrides */
.light-theme {
    --bg-base: #f8f9fa;
    /* Off-white background */
    --bg-surface: #ffffff;
    /* White surface */
    --bg-surface-elevated: #ffffff;
    /* White elevated */
    --bg-card: rgba(255, 255, 255, 0.8);

    --text-primary: #111111;
    --text-secondary: #444444;
    --text-muted: #888888;
    --text-inverse: #ffffff;

    --accent-primary: #a6cc00;
    /* Slightly darker Neon Tennis Yellow for contrast */
    --accent-hover: #b5e600;
    --accent-glow: rgba(166, 204, 0, 0.2);

    --border-color: rgba(0, 0, 0, 0.1);
    --border-accent: rgba(166, 204, 0, 0.3);

    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- 2. RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding) 0;
}

.section-darker {
    padding: var(--section-padding) 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.text-accent {
    color: var(--accent-primary);
}

/* --- 3. UTILITY COMPONENTS --- */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.btn i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-inverse);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-inverse);
}

.btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.mt-auto {
    margin-top: auto;
}

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

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
}

.section-header.text-center {
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.section-body {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Animations (Scroll Reveal) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-scale.is-revealed {
    opacity: 1;
    transform: scale(1);
}

/* --- 4. HEADER & NAV --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    padding: 1rem 0;
    background-color: rgba(10, 10, 10, 0.85);
    /* Glassmorphism */
    backdrop-filter: var(--blur-base);
    -webkit-backdrop-filter: var(--blur-base);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    z-index: 101;
}

.logo-get {
    color: var(--text-primary);
}

.logo-set {
    color: var(--text-primary);
}

.logo-tennis {
    color: var(--accent-primary);
    display: inline-block;
    transform: skewX(-10deg);
    padding-left: 2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-icon {
    width: 14px;
    height: 14px;
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-subtle);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(15px);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.dropdown-menu a:hover {
    color: var(--accent-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 101;
}

/* --- 5. HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10, 10, 10, 0) 70%);
    filter: blur(100px);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-accent);
    background-color: rgba(204, 255, 0, 0.05);
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-headline {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0) 50%);
}

.slider-indicators {
    position: absolute;
    bottom: -2rem;
    left: 2rem;
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-glow);
    width: 24px;
    border-radius: 100px;
}

/* --- 6. LOCATIONS & CLASSES --- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.location-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    backdrop-filter: var(--blur-base);
}

.location-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-subtle), 0 0 20px var(--accent-glow);
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #222;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* --- 7. VISION SECTION --- */
.vision {
    position: relative;
    overflow: hidden;
}

.vision::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(204, 255, 0, 0.05) 0%, transparent 60%);
    z-index: 0;
}

.vision-container {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.vision-badge {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.vision-statement {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.vision-secondary {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* --- 8. SOCIALS & MEDIA --- */
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.media-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    cursor: pointer;
}

.media-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    background-color: #222;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base);
}

/* Placeholder gradients for media since we don't have images for all */
.media-img-wrapper.listening {
    background: linear-gradient(45deg, #1e1e1e, #333);
}

.media-img-wrapper.watching {
    background: linear-gradient(45deg, #2a2a2a, #444);
}

.media-img-wrapper.socials-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.media-img-wrapper.socials-tt {
    background: linear-gradient(45deg, #000, #25f4ee, #fe2c55);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.media-card:hover .media-overlay {
    opacity: 1;
}

.media-card:hover .media-img-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.media-icon {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.media-overlay span {
    font-weight: 700;
    letter-spacing: 0.1em;
}

.media-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.media-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* --- 9. SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, transparent 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.05);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(204, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.accent-icon {
    color: var(--accent-primary);
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-tagline {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.service-card p:not(.service-tagline) {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* --- 10. MERCH --- */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    cursor: pointer;
    /* used for hover state tracking */
}

.product-img-wrapper {
    background-color: var(--bg-surface-elevated);
    border-radius: 8px;
    aspect-ratio: 4/5;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-img-wrapper {
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.product-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

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

/* Fallback placeholders if needed */
.product-placeholder::before {
    content: 'Product';
    color: #444;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #222, #111);
}

.product-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* --- 11. TESTIMONIALS --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-avatar.accent-avatar {
    background-color: var(--accent-primary);
    color: var(--bg-base);
}

.author-info strong {
    display: block;
    font-size: 1.125rem;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* --- 12. FOOTER --- */
.footer {
    background-color: var(--bg-base);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.newsletter-box {
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.1) 0%, var(--bg-surface-elevated) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 6rem;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-grow: 1;
    max-width: 500px;
}

.input-field {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

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

/* --- 13. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1200px) {

    .locations-grid,
    .media-grid,
    .merch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .services-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .locations-grid,
    .media-grid,
    .services-grid,
    .merch-grid,
    .testimonial-grid,
    .footer-bottom-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-box {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   SUB-PAGE SPECIFIC STYLES 
   (Append to end of styles.css)
   ========================================================================== */

/* Page Headers (Shorter Hero for sub-pages) */
.page-hero {
    padding-top: 150px;
    padding-bottom: 4rem;
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(10, 10, 10, 0) 60%);
    filter: blur(80px);
    z-index: -1;
}

.page-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.page-body {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Split Layout Utilities */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-layout.align-start {
    align-items: start;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.w-full {
    width: 100%;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all var(--transition-base);
}

.team-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.team-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-glow);
}

.portrait-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333, #111);
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.team-cert {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.team-socials a {
    color: var(--text-secondary);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.team-socials a:hover {
    color: var(--text-primary);
}

/* Map Header */
.map-hero {
    padding-top: 80px;
    /* Under header */
    height: 60vh;
    width: 100%;
    background-color: #1a1a1a;
    /* Placeholder for map */
    border-bottom: 1px solid var(--border-color);
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), radial-gradient(#333 1px, transparent 1px);
    background-size: cover, 40px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: monospace;
    position: relative;
}

.map-pin {
    position: absolute;
    color: var(--accent-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transform: translate(-50%, -100%);
    transition: transform var(--transition-base);
    cursor: pointer;
}

.map-pin:hover {
    transform: translate(-50%, -100%) scale(1.1);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.map-pin span {
    background-color: var(--bg-surface-elevated);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* Contact Details */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(204, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    font-size: 1.125rem;
}

.contact-text a,
.contact-text span {
    color: var(--text-secondary);
}

.contact-text a:hover {
    color: var(--accent-primary);
}

/* Forms */
.lead-form {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.input-field {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: rgba(0, 0, 0, 0.6);
}

select.input-field {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.textarea-field {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    margin-top: 0.25rem;
    accent-color: var(--accent-primary);
}

.checkbox-group label {
    font-weight: 400;
    margin-bottom: 0;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background-color var(--transition-fast);
}

.accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.acc-icon {
    color: var(--accent-primary);
    transition: transform var(--transition-base);
}

.accordion-item.active .acc-icon {
    transform: rotate(45deg);
    /* Turns plus into cross */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
}

/* Responsive Sub-pages */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Theme Toggle specifics */
.light-theme .dark-icon {
    display: none !important;
}

.light-theme .light-icon {
    display: block !important;
}

body:not(.light-theme) .dark-icon {
    display: block !important;
}

body:not(.light-theme) .light-icon {
    display: none !important;
}

/* In light mode, some images/placeholders should adjust */
.light-theme .section-darker {
    background-color: #f1f3f5;
}

.light-theme .input-field {
    background-color: rgba(0, 0, 0, 0.03);
}

.light-theme .product-placeholder,
.light-theme .video-thumbnail,
.light-theme .image-wrapper {
    background: #eaeaea;
}

.light-theme .hero::before,
.light-theme .page-hero::before {
    opacity: 0.5;
}

.light-theme .btn-outline {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.light-theme .btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-base);
}

.light-theme .header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
}

.light-theme .hero-img-overlay {
    background: linear-gradient(0deg, rgba(248, 249, 250, 0.8) 0%, rgba(248, 249, 250, 0) 50%);
}

.light-theme .footer {
    background-color: #f1f3f5;
}

.light-theme .media-overlay {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lead-form {
        padding: 2rem 1.5rem;
    }

    .page-hero {
        padding-top: 120px;
    }
}

/* ==========================================================================
   SHOP SPECIFIC STYLES 
   (Append to end of styles.css)
   ========================================================================== */

/* Utility Nav */
.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.cart-icon:hover {
    color: var(--accent-primary);
}

.p-2 {
    padding: 0.5rem;
}

.rounded {
    border-radius: 4px;
}

.relative {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-primary);
    color: var(--text-inverse);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Catalogue Layout */
.catalogue-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

/* Sidebar Filters */
.filters-sidebar {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    height: fit-content;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-heading {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.filter-list label:hover {
    color: var(--accent-primary);
}

.filter-list input[type="checkbox"] {
    margin-right: 0.75rem;
    accent-color: var(--accent-primary);
    width: 16px;
    height: 16px;
}

.accent-slider {
    accent-color: var(--accent-primary);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Shop Headers & Helpers */
.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.pt-0 {
    padding-top: 0;
}

.text-sm {
    font-size: 0.875rem;
}

.sort-select {
    width: auto;
    padding: 0.5rem 1rem;
    background-position: right 0.5rem center;
    font-size: 0.875rem;
}

/* Singular Product View */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.main-image img {
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumb {
    background-color: var(--bg-surface-elevated);
    border: 2px solid transparent;
    border-radius: 8px;
    aspect-ratio: 1/1;
    cursor: pointer;
    overflow: hidden;
    padding: 0.5rem;
    transition: all var(--transition-fast);
}

.thumb.active,
.thumb:hover {
    border-color: var(--accent-primary);
}

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

/* Product Buy Area */
.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb i {
    width: 14px;
    height: 14px;
}

.product-title {
    font-size: 2.5rem;
    text-transform: none;
    margin-bottom: 0.5rem;
}

.price-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
}

.product-status {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-status.in-stock {
    background-color: rgba(204, 255, 0, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(204, 255, 0, 0.3);
}

.product-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Responsive Shop Layouts */
@media (max-width: 992px) {
    .catalogue-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        display: none;
        /* In a real app, this would toggle via a button */
    }

    .merch-grid[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .merch-grid[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .thumbnail-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}