/* ============================================
   A & J Paintball — Brand Styles
   Palette: Charcoal (#1a1a1a, #2d2d2d) + Coral (#e8644a, #f4845f)
   Fonts: Playfair Display (headlines) + Inter (body)
   ============================================ */

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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --charcoal-mid: #3d3d3d;
    --coral: #e8644a;
    --coral-light: #f4845f;
    --coral-dark: #c94f35;
    --cream: #faf8f6;
    --cream-dark: #f0ece6;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #6b6b6b;
    --text-muted-light: rgba(255,255,255,0.6);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.nav-logo-accent {
    color: var(--coral);
    font-style: italic;
}

.nav-logo-text {
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--coral);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--white);
}

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

.nav-link-cta {
    background: var(--coral);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.92) 0%,
        rgba(26, 26, 26, 0.75) 50%,
        rgba(26, 26, 26, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 28px;
    max-width: 800px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--coral);
}

.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.3125rem);
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
    max-width: 540px;
    margin-bottom: 44px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}

.btn-primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 100, 74, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* ============================================
   Section Shared
   ============================================ */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--coral);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding: 16px 0;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-feature-icon {
    flex-shrink: 0;
    color: var(--coral);
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: 120px 0;
    background: var(--charcoal);
}

.products .section-headline {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--charcoal-light);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.product-card-img-wrap {
    overflow: hidden;
    height: 220px;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.product-card-body {
    padding: 28px 24px;
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.product-card-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.55);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.services-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 48px;
}

.service-item {
    display: grid;
    grid-template-columns: 48px 2px 1fr;
    gap: 20px;
    align-items: start;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
    padding-top: 4px;
}

.service-divider {
    width: 2px;
    height: 64px;
    background: linear-gradient(to bottom, var(--coral), transparent);
    border-radius: 2px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    padding-left: 68px;
}

.services-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

/* ============================================
   Community Section
   ============================================ */
.community {
    padding: 120px 0;
    background: var(--charcoal);
}

.community-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.community .section-headline {
    color: var(--white);
}

.community-quote {
    position: relative;
    margin-top: 40px;
    padding: 36px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.quote-icon {
    color: var(--coral);
    margin-bottom: 20px;
    opacity: 0.8;
}

.community-quote p {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
}

.community-cite {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    color: var(--coral);
    letter-spacing: 0.04em;
}

.community-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    padding: 16px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 44px;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    flex-shrink: 0;
    color: var(--coral);
    margin-top: 2px;
}

.contact-detail-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.contact-link {
    color: var(--coral);
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--coral-dark);
}

.btn-directions {
    display: inline-flex;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 8px;
    padding: 44px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8125rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1.5px solid var(--cream-dark);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--coral);
    background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    margin-top: 16px;
    color: #166534;
    font-size: 0.9375rem;
    font-weight: 500;
}

.form-success svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--charcoal);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo-accent {
    color: var(--coral);
    font-style: italic;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-phone {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--coral);
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: var(--coral-light);
}

.footer-address {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .services-inner,
    .community-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .services-img {
        height: 400px;
    }

    .about-image-accent {
        display: none;
    }

    .service-desc {
        padding-left: 0;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.0625rem;
        color: rgba(255,255,255,0.8);
    }

    .nav-link-cta {
        padding: 14px 32px;
    }

    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.375rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card-img-wrap {
        height: 200px;
    }

    .contact-form-wrap {
        padding: 28px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .community-quote p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .service-item {
        grid-template-columns: 36px 1px 1fr;
        gap: 12px;
    }

    .service-divider {
        height: 48px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}
