/* J-COB'S Pickleball — Website Styles */
:root {
    --bg: #111;
    --bg-card: #1a1a1a;
    --bg-dark: #0a0a0a;
    --gold: #D4A843;
    --gold-dark: #B8922F;
    --red: #C41E24;
    --green: #22c55e;
    --text: #f0f0f0;
    --text-secondary: #999;
    --text-muted: #666;
    --border: #2a2a2a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--gold); text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.navbar { background: #000; border-bottom: 2px solid var(--gold); position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.nav-title { font-size: 1.2rem; font-weight: 800; color: var(--gold); display: block; line-height: 1.1; }
.nav-subtitle { font-size: 0.55rem; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; display: block; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link { color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; padding: 8px 16px; border-radius: 8px; transition: all 0.2s; }
.nav-link:hover { color: var(--text); }
.nav-cta { background: var(--gold); color: #000 !important; font-weight: 700; }
.nav-cta:hover { background: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); margin: 5px 0; transition: 0.3s; }

/* Hero */
.hero { height: 100vh; min-height: 600px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 20px; }
.hero-logo { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--gold); margin-bottom: 20px; object-fit: cover; }
.hero-content h1 { font-size: 3.5rem; font-weight: 900; color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.hero-tagline { font-size: 1.3rem; color: var(--text-secondary); margin-bottom: 32px; font-weight: 500; }

/* Buttons */
.btn-primary { display: inline-block; background: var(--gold); color: #000; font-weight: 700; padding: 14px 36px; border-radius: 10px; font-size: 0.95rem; transition: all 0.2s; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212,168,67,0.2); }
.btn-large { padding: 18px 48px; font-size: 1.1rem; }
.btn-block { width: 100%; text-align: center; }
.btn-outline { display: inline-block; border: 2px solid var(--gold); color: var(--gold); font-weight: 700; padding: 12px 32px; border-radius: 10px; font-size: 0.9rem; transition: all 0.2s; margin-top: 16px; }
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-text { display: block; color: var(--text-secondary); margin-top: 12px; font-size: 0.85rem; }

/* Sections */
.section { padding: 80px 0; }
.section-dark { background: var(--bg); }
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--gold); text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; line-height: 1.6; }
.page-section { padding-top: 100px; min-height: 80vh; }
.page-title { font-size: 2rem; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.page-subtitle { color: var(--text-secondary); margin-bottom: 32px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 36px 24px; text-align: center; }
.feature-icon { font-size: 2.5rem; font-weight: 900; color: var(--gold); margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

/* Gallery */
.section-gallery { padding: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.gallery-item { height: 300px; background-size: cover; background-position: center; transition: opacity 0.3s; }
.gallery-item:hover { opacity: 0.85; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.pricing-main { border-color: var(--gold); text-align: center; }
.pricing-label { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.pricing-amount { font-size: 3rem; font-weight: 900; color: var(--text); }
.pricing-period { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li { padding: 6px 0; color: var(--text-secondary); font-size: 0.9rem; }
.pricing-features li::before { content: '✓ '; color: var(--gold); font-weight: 700; }
.pricing-items { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.pricing-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: 0.9rem; }
.pricing-item span:last-child { color: var(--gold); font-weight: 700; }

/* CTA */
.section-cta { background-size: cover; background-position: center; position: relative; text-align: center; padding: 100px 0; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 2.5rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.cta-content p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 32px; }

/* Booking Page */
.date-picker { margin-bottom: 24px; }
.date-picker label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.date-picker input { background: var(--bg-card); border: 2px solid var(--border); color: var(--text); padding: 12px 16px; border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; width: 220px; }
.date-picker input:focus { border-color: var(--gold); outline: none; }

.availability-wrapper { overflow-x: auto; margin-bottom: 32px; }
.availability-grid { min-width: 600px; }
.grid-header { display: grid; grid-template-columns: 80px repeat(6, 1fr); gap: 4px; margin-bottom: 4px; }
.grid-row { display: grid; grid-template-columns: 80px repeat(6, 1fr); gap: 4px; margin-bottom: 4px; }
.grid-cell { padding: 10px 4px; text-align: center; border-radius: 6px; font-size: 0.75rem; font-weight: 600; }
.grid-corner { background: transparent; }
.grid-court-header { background: var(--bg-card); color: var(--gold); font-weight: 700; }
.grid-time { background: var(--bg-card); color: var(--text-secondary); font-size: 0.7rem; display: flex; align-items: center; justify-content: center; }
.grid-available { background: #1a3a1a; color: var(--green); cursor: pointer; transition: all 0.15s; }
.grid-available:hover { background: #224422; transform: scale(1.05); }
.grid-selected { background: var(--gold) !important; color: #000 !important; }
.grid-taken { background: #2a1a1a; color: #666; cursor: not-allowed; }
.grid-past { background: #1a1a1a; color: #333; cursor: not-allowed; }
.grid-loading { text-align: center; padding: 40px; color: var(--text-muted); }

.booking-form-wrapper { max-width: 480px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; margin-top: 24px; }
.booking-form-wrapper h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; color: var(--gold); }
.selected-slot { background: var(--bg-dark); border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; font-size: 0.9rem; color: var(--text); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-group input { width: 100%; padding: 12px 14px; background: var(--bg-dark); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.95rem; }
.form-group input:focus { border-color: var(--gold); outline: none; }
.form-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--border); margin-bottom: 16px; font-weight: 700; }
.form-amount { font-size: 1.4rem; color: var(--gold); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; }

/* Confirmation */
.confirm-container { max-width: 500px; }
.confirm-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; text-align: center; }
.confirm-icon { width: 64px; height: 64px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; font-weight: 900; color: #000; }
.confirm-card h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.confirm-ref { font-size: 1.1rem; color: var(--gold); font-weight: 700; margin-bottom: 24px; }
.confirm-details { background: var(--bg-dark); border-radius: 10px; padding: 16px; margin-bottom: 24px; text-align: left; }
.confirm-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; }
.confirm-row span:first-child { color: var(--text-secondary); }
.confirm-total { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; font-weight: 700; }
.confirm-total span:last-child { color: var(--gold); font-size: 1.1rem; }
.confirm-payment { margin-bottom: 24px; }
.confirm-payment h3 { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.confirm-payment p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.gcash-qr img { max-width: 200px; margin: 16px auto; display: block; border-radius: 10px; }
.gcash-placeholder { color: var(--text-muted); font-size: 0.85rem; }
.status-badge { display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; }
.status-badge.tentative { background: rgba(245,166,35,0.15); color: var(--gold); }
.status-badge.confirmed { background: rgba(34,197,94,0.15); color: var(--green); }
.status-badge.cancelled { background: rgba(196,30,36,0.15); color: var(--red); }
.confirm-status p { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.contact-card h3 { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.contact-card p { color: var(--text-secondary); line-height: 1.6; font-size: 0.9rem; }
.contact-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.contact-label { color: var(--text-muted); }

/* Footer */
.footer { background: #000; border-top: 1px solid var(--border); padding: 48px 0 0; }
.footer-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; margin-bottom: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 0.8rem; }
.footer-info h4 { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.footer-info p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }
.footer-bottom { text-align: center; padding: 24px 0; margin-top: 32px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #000; border-bottom: 2px solid var(--gold); padding: 16px; gap: 4px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero-content h1 { font-size: 2rem; }
    .hero-tagline { font-size: 1rem; }
    .hero-logo { width: 80px; height: 80px; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { height: 200px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 24px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 1.6rem; }
    .page-section { padding-top: 80px; }
}

@media (max-width: 480px) {
    .footer-container { grid-template-columns: 1fr; }
    .hero { min-height: 500px; }
    .hero-content h1 { font-size: 1.6rem; }
    .btn-primary { padding: 12px 28px; font-size: 0.9rem; }
}

/* Booking Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.25s; padding: 20px; }
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; max-width: 440px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.95); transition: transform 0.25s; }
.modal-overlay.show .modal-box { transform: scale(1); }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; line-height: 1; padding: 4px; transition: color 0.2s; }
.modal-close:hover { color: var(--text); }
.modal-box h3 { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 16px; }

/* Duration Picker */
.duration-picker { display: flex; gap: 8px; }
.dur-btn { flex: 1; padding: 10px; background: var(--bg-dark); border: 1px solid var(--border); border-radius: 8px; color: var(--text-secondary); cursor: pointer; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; transition: all 0.15s; }
.dur-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.dur-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }
.dur-btn:disabled { cursor: not-allowed; }
.duration-note { font-size: 0.8rem; color: var(--gold); margin-top: 8px; }

/* Modal scrollbar */
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

@media (max-width: 480px) {
    .modal-box { padding: 24px 20px; border-radius: 12px; }
    .duration-picker { gap: 4px; }
    .dur-btn { padding: 8px 4px; font-size: 0.8rem; }
}

/* Booking Tabs */
.booking-tabs { display: flex; gap: 0; margin-bottom: 32px; border-bottom: 2px solid var(--border); }
.booking-tab { flex: 1; padding: 14px 24px; background: none; border: none; color: var(--text-muted); font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.booking-tab:hover { color: var(--text-secondary); }
.booking-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Check Booking */
.check-container { max-width: 440px; margin: 0 auto; text-align: center; }
.check-icon { color: var(--gold); margin-bottom: 16px; opacity: 0.6; }
.check-container h2 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.check-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 28px; line-height: 1.5; }
.check-form { text-align: left; }
.check-error { background: rgba(196,30,36,0.1); border: 1px solid rgba(196,30,36,0.3); border-radius: 8px; padding: 12px; margin-bottom: 20px; color: #ef5350; font-size: 0.85rem; text-align: center; }

/* GCash Confirmation Checkbox */
.gcash-confirm { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }
.gcash-confirm input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.gcash-confirm strong { color: var(--gold); }
