/* Shared styles for Proveho sample club site demos */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #1e293b;
    line-height: 1.6;
    background: #fff;
}

/* Proveho preview banner */
.demo-banner {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid #1e293b;
}
.demo-banner a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
}
.demo-banner a:hover { text-decoration: underline; }
.demo-banner strong { color: #e2e8f0; }

/* Club site header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.site-logo .mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.site-nav {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.site-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 0.15s;
}
.site-nav a:hover { opacity: 1; }

/* Hero */
.site-hero {
    padding: 4rem 2rem;
    text-align: center;
}
.site-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}
.site-hero .lead {
    max-width: 540px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    opacity: 0.9;
}
.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: inherit; }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }

/* Stats strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: rgba(0,0,0,0.08);
}
.stat-item {
    background: rgba(255,255,255,0.12);
    padding: 1.25rem 1rem;
    text-align: center;
}
.stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}
.stat-item span { font-size: 0.8rem; opacity: 0.8; }

/* Content sections */
.site-section {
    padding: 3.5rem 2rem;
    max-width: 1040px;
    margin: 0 auto;
}
.site-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}
.section-sub {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.info-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.35rem;
    background: #fff;
}
.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.info-card p { font-size: 0.9rem; color: #64748b; }

/* News list */
.news-list { display: flex; flex-direction: column; gap: 0.85rem; }
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    flex-wrap: wrap;
}
.news-item h4 { font-size: 0.95rem; font-weight: 600; }
.news-item time { font-size: 0.8rem; color: #64748b; white-space: nowrap; }

/* Fixtures table */
.fixtures-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.fixtures-table th,
.fixtures-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.fixtures-table th { font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.fixtures-table tr:last-child td { border-bottom: none; }
.result-win { color: #059669; font-weight: 600; }

/* Sponsors */
.sponsor-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.sponsor-badge {
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
}

/* Teams grid (multi-sport) */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.team-card {
    border-radius: 12px;
    padding: 1.25rem;
    color: #fff;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.team-card span { font-size: 0.75rem; opacity: 0.85; margin-bottom: 0.2rem; }
.team-card strong { font-size: 1.05rem; }

/* CTA band */
.cta-band {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 1rem;
}
.cta-band h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.cta-band p { margin-bottom: 1.25rem; opacity: 0.9; }

/* Footer */
.site-footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.82rem;
}
.site-footer .proveho-note {
    margin-top: 0.5rem;
    opacity: 0.7;
    font-size: 0.78rem;
}

/* ---- Theme: Table Tennis Starter (blue) ---- */
.theme-starter .site-header { background: #1e40af; color: #fff; }
.theme-starter .site-nav a { color: #bfdbfe; }
.theme-starter .mark { background: rgba(255,255,255,0.2); }
.theme-starter .site-hero { background: linear-gradient(160deg, #1e40af 0%, #3b82f6 100%); color: #fff; }
.theme-starter .btn-primary { color: #1e40af; }
.theme-starter .info-card h3 { color: #1e40af; }
.theme-starter .cta-band { background: #eff6ff; color: #1e3a8a; }
.theme-starter .btn-cta { background: #2563eb; color: #fff; }
.theme-starter .site-footer { background: #0f172a; color: #94a3b8; }

/* ---- Theme: Club Pro (navy + fixtures) ---- */
.theme-pro .site-header { background: #0f172a; color: #fff; }
.theme-pro .site-nav a { color: #94a3b8; }
.theme-pro .mark { background: #2563eb; }
.theme-pro .site-hero { background: #0f172a; color: #fff; }
.theme-pro .btn-primary { background: #2563eb; color: #fff; }
.theme-pro .fixtures-table th { background: #1e293b; color: #fff; }
.theme-pro .info-card h3 { color: #0f172a; }
.theme-pro .cta-band { background: #0f172a; color: #fff; }
.theme-pro .btn-cta { background: #2563eb; color: #fff; }
.theme-pro .site-footer { background: #020617; color: #64748b; }

/* ---- Theme: Football (grass green) ---- */
.theme-football .site-header { background: #14532d; color: #fff; }
.theme-football .site-nav a { color: #bbf7d0; }
.theme-football .mark { background: rgba(255,255,255,0.15); }
.theme-football .site-hero {
    background: linear-gradient(160deg, #14532d 0%, #166534 50%, #15803d 100%);
    color: #fff;
}
.theme-football .btn-primary { color: #14532d; background: #fff; }
.theme-football .fixtures-table th { background: #14532d; color: #fff; }
.theme-football .info-card h3 { color: #14532d; }
.theme-football .cta-band { background: #f0fdf4; color: #14532d; }
.theme-football .btn-cta { background: #15803d; color: #fff; }
.theme-football .site-footer { background: #052e16; color: #86efac; }

/* ---- Theme: Multi-sport Complete ---- */
.theme-complete .site-header { background: #fff; color: #0f172a; border-bottom: 1px solid #e2e8f0; }
.theme-complete .site-nav a { color: #475569; }
.theme-complete .mark { background: #059669; color: #fff; }
.theme-complete .site-hero {
    background: linear-gradient(160deg, #064e3b 0%, #059669 100%);
    color: #fff;
}
.theme-complete .btn-primary { color: #065f46; background: #fff; }
.theme-complete .team-card:nth-child(1) { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.theme-complete .team-card:nth-child(2) { background: linear-gradient(135deg, #14532d, #22c55e); }
.theme-complete .team-card:nth-child(3) { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.theme-complete .team-card:nth-child(4) { background: linear-gradient(135deg, #581c87, #a855f7); }
.theme-complete .cta-band { background: #ecfdf5; color: #065f46; }
.theme-complete .btn-cta { background: #059669; color: #fff; }
.theme-complete .site-footer { background: #0f172a; color: #94a3b8; }

@media (max-width: 640px) {
    .site-header { padding: 0.85rem 1.25rem; }
    .site-hero { padding: 2.5rem 1.25rem; }
    .site-section { padding: 2.5rem 1.25rem; }
}
