/* ============================================
   Cobra Lanes - Bowling, Food & Leagues
   Farley, Iowa
   ============================================ */

/* --- CSS Reset & Custom Properties --- */

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

:root {
    /* Primary - Cobra Red */
    --primary: #C62828;
    --primary-light: #E53935;
    --primary-dark: #8E0000;

    /* Secondary - Deep Black */
    --secondary: #1A1A1A;
    --secondary-light: #333333;
    --secondary-dark: #000000;

    /* Accent - Warm Gold */
    --accent: #FFB300;
    --accent-light: #FFD54F;
    --accent-dark: #C68400;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --light-gray: #E0E0E0;
    --medium-gray: #757575;
    --dark-gray: #212121;
    --near-black: #121212;

    /* Functional */
    --success: #16a34a;
    --error: #dc2626;
    --warning: #d97706;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(198,40,40,0.3);

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --header-height-scrolled: 64px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}
.skip-link:focus { top: 0.5rem; }

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- Wave Divider --- */
.wave-divider {
    position: relative;
    margin: 0;
    line-height: 0;
}
.wave-divider svg {
    width: 100%;
    height: 40px;
    display: block;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--primary-light); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility Classes --- */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section--alt {
    background: var(--off-white);
}

.section--dark {
    background: var(--secondary);
    color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 650px;
    margin: 0 auto 48px;
    text-align: center;
}

.section--dark .section-subtitle {
    color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section--dark .section-title::after {
    background: var(--accent);
}

/* --- Section Background Textures --- */

/* Dot grid pattern */
.section--dots {
    background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Diagonal lines pattern */
.section--lines {
    position: relative;
}
.section--lines::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(0,0,0,0.015) 20px,
        rgba(0,0,0,0.015) 21px
    );
    pointer-events: none;
}

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn--outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--accent {
    background: var(--accent);
    color: var(--secondary);
    border-color: var(--accent);
}
.btn--accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Nav Overlay --- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}
.nav-overlay--visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 999;
    background: rgba(26,26,26,0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    border-bottom: 3px solid var(--primary);
}

.header--scrolled {
    height: var(--header-height-scrolled);
    box-shadow: var(--shadow-md);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header__logo img {
    height: 50px;
    border-radius: 4px;
    transition: height var(--transition-normal);
}

.header--scrolled .header__logo img {
    height: 40px;
}

.header__logo-text {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
    line-height: 1.1;
}

.header__logo-text span {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Navigation --- */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    padding: 8px 16px;
    color: var(--light-gray);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all var(--transition-fast);
    text-decoration: none;
}
.nav__link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.nav__link--active {
    color: var(--white);
}

.nav__cta {
    margin-left: 8px;
}

/* --- Hamburger --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger__line {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger--active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger--active .hamburger__line:nth-child(2) {
    opacity: 0;
}
.hamburger--active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, #2c1010 100%);
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Bowling lane wood texture overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 48px,
            rgba(255,255,255,0.03) 48px,
            rgba(255,255,255,0.03) 50px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 200px,
            rgba(255,255,255,0.01) 200px,
            rgba(255,255,255,0.01) 201px
        );
    pointer-events: none;
}

/* Animated lane arrows */
.hero__lane-arrows {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100%;
    pointer-events: none;
    opacity: 0.06;
}

.hero__lane-arrows .arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--white);
    left: 50%;
    transform: translateX(-50%);
    animation: laneArrowPulse 3s ease-in-out infinite;
}

.hero__lane-arrows .arrow:nth-child(1) { bottom: 10%; animation-delay: 0s; }
.hero__lane-arrows .arrow:nth-child(2) { bottom: 15%; animation-delay: 0.2s; }
.hero__lane-arrows .arrow:nth-child(3) { bottom: 20%; animation-delay: 0.4s; }
.hero__lane-arrows .arrow:nth-child(4) { bottom: 25%; animation-delay: 0.6s; }
.hero__lane-arrows .arrow:nth-child(5) { bottom: 30%; animation-delay: 0.8s; }
.hero__lane-arrows .arrow:nth-child(6) { bottom: 35%; animation-delay: 1.0s; }
.hero__lane-arrows .arrow:nth-child(7) { bottom: 40%; animation-delay: 1.2s; }

@keyframes laneArrowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 60px 0;
}

.hero__badge {
    display: inline-block;
    background: rgba(198,40,40,0.2);
    border: 1px solid rgba(198,40,40,0.4);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero__title-accent {
    color: var(--primary-light);
    display: inline-block;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 32px;
    max-width: 550px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Animated bowling pins decoration */
.hero__pins {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    z-index: 1;
    opacity: 0.12;
}

.hero__pins .pin {
    position: absolute;
    width: 30px;
    fill: var(--white);
    animation: pinWobble 4s ease-in-out infinite;
}

.hero__pins .pin:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.hero__pins .pin:nth-child(2) { top: 25%; left: 35%; animation-delay: 0.3s; }
.hero__pins .pin:nth-child(3) { top: 25%; left: 60%; animation-delay: 0.5s; }
.hero__pins .pin:nth-child(4) { top: 50%; left: 20%; animation-delay: 0.2s; }
.hero__pins .pin:nth-child(5) { top: 50%; left: 45%; animation-delay: 0.7s; }
.hero__pins .pin:nth-child(6) { top: 50%; left: 70%; animation-delay: 0.4s; }
.hero__pins .pin:nth-child(7) { top: 75%; left: 8%; animation-delay: 0.1s; }
.hero__pins .pin:nth-child(8) { top: 75%; left: 33%; animation-delay: 0.6s; }
.hero__pins .pin:nth-child(9) { top: 75%; left: 58%; animation-delay: 0.8s; }
.hero__pins .pin:nth-child(10) { top: 75%; left: 83%; animation-delay: 0.35s; }

@keyframes pinWobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

/* Bowling ball rolling animation in hero */
.hero__rolling-ball {
    position: absolute;
    bottom: 80px;
    left: -80px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 35% 35%, var(--primary-light), var(--primary-dark));
    border-radius: 50%;
    z-index: 1;
    animation: rollBall 8s linear infinite;
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.4), 0 4px 15px rgba(0,0,0,0.3);
}

.hero__rolling-ball::before,
.hero__rolling-ball::after {
    content: '';
    position: absolute;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.hero__rolling-ball::before {
    width: 10px; height: 10px;
    top: 15px; left: 20px;
}
.hero__rolling-ball::after {
    width: 10px; height: 10px;
    top: 12px; left: 33px;
}

.hero__rolling-ball .ball-hole {
    position: absolute;
    width: 9px; height: 9px;
    top: 25px; left: 28px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

@keyframes rollBall {
    0% { left: -80px; transform: rotate(0deg); opacity: 0; }
    5% { opacity: 1; }
    50% { left: 110%; transform: rotate(720deg); opacity: 1; }
    55% { opacity: 0; }
    100% { left: 110%; transform: rotate(720deg); opacity: 0; }
}

/* --- Page Hero (subpages) --- */
.page-hero {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary), #2c1010);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 48px,
            rgba(255,255,255,0.02) 48px,
            rgba(255,255,255,0.02) 50px
        );
    pointer-events: none;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
}

.page-hero p {
    color: var(--light-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* --- About Section --- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__content h2 {
    margin-bottom: 20px;
}

.about__content p {
    color: var(--medium-gray);
    font-size: 1.05rem;
}

.about__image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

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

/* Highlight badges */
.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about__highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about__highlight-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(198,40,40,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__highlight-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.about__highlight h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.about__highlight p {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin: 0;
}

/* --- Stats Section --- */
.stats {
    background: var(--primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Pin scatter pattern behind stats */
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(255,255,255,0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 30%, rgba(255,255,255,0.06) 0%, transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.04) 0%, transparent 35%);
    pointer-events: none;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.stat {
    text-align: center;
}

.stat__value {
    font-family: 'Raleway', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(198,40,40,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all var(--transition-normal);
}

.service-card:hover .service-card__icon {
    background: var(--primary);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    transition: stroke var(--transition-normal);
}

.service-card:hover .service-card__icon svg {
    stroke: var(--white);
}

/* Bowling pin topple hover effect on service cards */
.service-card:hover .service-card__icon {
    animation: pinTopple 0.5s ease-out;
}

@keyframes pinTopple {
    0% { transform: rotate(0deg) scale(1); }
    30% { transform: rotate(-15deg) scale(1.1); }
    60% { transform: rotate(5deg) scale(1.05); }
    100% { transform: rotate(-5deg) scale(1.05); }
}

.service-card h4 {
    margin-bottom: 8px;
}

.service-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(198,40,40,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(198,40,40,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 2rem;
}

.cta-section p {
    color: var(--light-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* --- Menu Section --- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.menu-category {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.menu-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.menu-category__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light-gray);
}

.menu-category__icon {
    width: 48px;
    height: 48px;
    background: rgba(198,40,40,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-category__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.menu-category h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.menu-item {
    padding: 16px;
    border-radius: 10px;
    background: var(--off-white);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.menu-item:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.menu-item__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.menu-item__name {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary);
}

.menu-item__price {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    white-space: nowrap;
}

.menu-item__desc {
    font-size: 0.85rem;
    color: var(--medium-gray);
    line-height: 1.5;
    margin: 0;
}

.menu-item__sizes {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-top: 4px;
    font-style: italic;
}

/* Featured menu item */
.menu-item--featured {
    background: linear-gradient(135deg, rgba(198,40,40,0.05), rgba(255,179,0,0.05));
    border: 1px solid rgba(198,40,40,0.15);
}

/* --- Contact Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(198,40,40,0.1);
    outline: none;
}

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

.form-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-message--success {
    background: rgba(22,163,74,0.1);
    color: var(--success);
    border: 1px solid rgba(22,163,74,0.2);
}

.form-message--error {
    background: rgba(220,38,38,0.1);
    color: var(--error);
    border: 1px solid rgba(220,38,38,0.2);
}

/* Contact info cards */
.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    background: var(--off-white);
    margin-bottom: 16px;
    transition: all var(--transition-normal);
}

.contact-info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.contact-info-card__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(198,40,40,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.5;
}

.contact-info-card a {
    color: var(--primary);
    font-weight: 600;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.contact-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 12px;
}

/* --- About/Story Page --- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.story-content h2 {
    margin-bottom: 16px;
}

.story-content p {
    color: var(--medium-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

.story-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--secondary);
    background: rgba(198,40,40,0.03);
    border-radius: 0 8px 8px 0;
}

.story-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.timeline-item p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* --- Bowling Score Display (for hours) --- */
.score-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.score-frame {
    background: var(--off-white);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    border: 2px solid var(--light-gray);
    transition: all var(--transition-normal);
}

.score-frame:hover {
    border-color: var(--primary);
}

.score-frame__day {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 4px;
}

.score-frame__time {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background: var(--near-black);
    color: var(--light-gray);
    padding: 64px 0 0;
    position: relative;
    overflow: hidden;
}

/* Subtle bowling lane pattern in footer */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 58px,
            rgba(255,255,255,0.015) 58px,
            rgba(255,255,255,0.015) 60px
        );
    pointer-events: none;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.footer__brand p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 12px;
    max-width: 300px;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.footer__socials a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer__socials svg {
    width: 18px;
    height: 18px;
    fill: var(--light-gray);
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 8px;
}

.footer__links a {
    color: var(--medium-gray);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    stroke: var(--primary-light);
    margin-top: 2px;
}

.footer__contact-item a {
    color: var(--primary-light);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--medium-gray);
    position: relative;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bowling-specific: pin scatter entrance */
.pin-scatter-in {
    opacity: 0;
    transform: translateY(20px) rotate(-5deg);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pin-scatter-in--visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* --- 404 Page --- */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.error-page h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.error-page p {
    color: var(--medium-gray);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* --- Responsive --- */

@media (max-width: 1024px) {
    .about__grid,
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .hero__pins {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hamburger { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 8px;
        transition: right var(--transition-normal);
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    .nav--open {
        right: 0;
    }

    .nav__link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav__cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

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

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

    .menu-category {
        padding: 24px;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

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

    .score-display {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero {
        padding: 120px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat__value {
        font-size: 2rem;
    }

    .hero__rolling-ball {
        width: 40px;
        height: 40px;
        bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.85rem;
    }

    .container {
        padding: 0 16px;
    }

    .score-display {
        grid-template-columns: 1fr;
    }
}
