/* The Softball Shop - Real Design System */

/* This CSS file controls all the visual styling for the website.
   Colors, fonts, spacing, layouts - everything visual is here! */

/* Import fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables - these are like global settings we can reuse */
:root {
    /* Primary pink color from the logo */
    --primary: #ff0090;
    --primary-dark: #cc0073;
    
    /* Background colors - all dark shades */
    --surface: #0a0a0a;
    --surface-light: #141414;
    --surface-lighter: #1a1a1a;
    --surface-card: #1f1f1f;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    /* Border color */
    --border: rgba(255, 255, 255, 0.1);
}

/* Base styles - applies to everything */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--surface);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Headings use Lexend font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Navigation Bar - fixed at the top */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* Logo styling - uses the actual logo image */
.navbar-logo-link {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

/* Navigation menu */
.navbar-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar-link {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--primary);
}

/* Shimmer Animation Keyframes - creates the moving gradient effect */
@keyframes shimmer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: -200% 0%;
    }
}

/* Primary button - the pink shimmer button */
.btn-primary {
    /* The shimmer effect uses a gradient that moves from left to right */
    background: linear-gradient(
        110deg,
        #ff0090 0%,      /* Bright pink */
        #ff0090 45%,     /* Bright pink */
        #ff66b3 50%,     /* Lighter pink shimmer */
        #ff0090 55%,     /* Back to bright pink */
        #ff0090 100%     /* Bright pink */
    );
    background-size: 200% 100%;  /* Make the gradient twice as wide so it can move */
    animation: shimmer 2s infinite linear;  /* Continuously animate the shimmer */
    
    color: white;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    /* On hover, the shimmer continues but the button lifts up */
}

/* Secondary button - outlined version */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 0, 144, 0.1);
}

/* Hero Section - the big banner at the top of pages */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--surface) 30%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(255, 0, 144, 0.3);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Container - centers content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-dark {
    background-color: var(--surface-light);
}

/* Info Card - used for pricing and features */
.info-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.info-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.info-card li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--surface-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Display */
.pricing-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.pricing-amount {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.pricing-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Contact Info Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    background: var(--surface-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-details {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section h4 {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Page section headings - all centered by default */
section h2 {
    text-align: center;
}

/* Hours table - no checkmarks, just clean rows */
.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    padding-left: 0 !important;  /* Override info-card padding */
}

.hours-list li:before {
    content: none !important;  /* Remove checkmark from hours list */
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Responsive Design - mobile adjustments */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-logo {
        height: 32px;
    }
    
    .hero {
        min-height: 60vh;
        padding: 6rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .pricing-amount {
        font-size: 3rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

/* Alert box for important info */
.alert-box {
    background: rgba(255, 0, 144, 0.1);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.alert-box strong {
    color: var(--primary);
    font-weight: 700;
}

.alert-box p {
    margin: 0.5rem 0;
}
