/* SEO Pages Shared Styles
   Matches the humanized design from the main GrassGigs page.
   Used by band, venue, city, state, and country templates.
*/

/* ── CSS Variables (match main page) ── */
:root {
    --btn-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80'%3E%3Cpath d='M0 4 Q50 2 100 5 Q150 2 200 4' fill='none' stroke='%23000' stroke-width='0.5' opacity='0.09'/%3E%3Cpath d='M0 10 Q50 8 100 12 Q150 8 200 10' fill='none' stroke='%23000' stroke-width='0.8' opacity='0.06'/%3E%3Cpath d='M0 16 Q50 13 100 18 Q150 13 200 16' fill='none' stroke='%23000' stroke-width='0.4' opacity='0.1'/%3E%3Cpath d='M0 22 Q50 19 100 24 Q150 19 200 22' fill='none' stroke='%23000' stroke-width='0.7' opacity='0.07'/%3E%3Cpath d='M0 28 Q50 25 100 30 Q150 25 200 28' fill='none' stroke='%23000' stroke-width='0.5' opacity='0.09'/%3E%3Cpath d='M0 34 Q50 31 100 36 Q150 31 200 34' fill='none' stroke='%23000' stroke-width='0.9' opacity='0.06'/%3E%3Cpath d='M0 40 Q50 37 100 42 Q150 37 200 40' fill='none' stroke='%23000' stroke-width='0.4' opacity='0.1'/%3E%3Cpath d='M0 46 Q50 43 100 48 Q150 43 200 46' fill='none' stroke='%23000' stroke-width='0.7' opacity='0.07'/%3E%3Cpath d='M0 52 Q50 49 100 54 Q150 49 200 52' fill='none' stroke='%23000' stroke-width='0.5' opacity='0.08'/%3E%3Cpath d='M0 58 Q50 55 100 60 Q150 55 200 58' fill='none' stroke='%23000' stroke-width='0.8' opacity='0.06'/%3E%3Cpath d='M0 64 Q50 61 100 66 Q150 61 200 64' fill='none' stroke='%23000' stroke-width='0.4' opacity='0.09'/%3E%3Cpath d='M0 70 Q50 67 100 72 Q150 67 200 70' fill='none' stroke='%23000' stroke-width='0.6' opacity='0.07'/%3E%3Cpath d='M0 76 Q50 73 100 78 Q150 73 200 76' fill='none' stroke='%23000' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
    --btn-grain-size: 200px 80px;
    --gradient-green-blue: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
}

/* ── Breadcrumb ── */
.seo-breadcrumb {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}

.seo-breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    color: #94a3b8;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.seo-breadcrumb a {
    color: #38bdf8 !important;
    text-decoration: none;
}

.seo-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Main Content Container ── */
.seo-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* ── Hero / Header Card ── */
.seo-hero {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(5, 150, 105, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.seo-hero h1 {
    font-family: 'Lora', Georgia, serif;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.seo-hero .subtitle {
    color: #94a3b8;
    margin: 0;
    font-size: 1.1rem;
}

.seo-hero .description {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1.05rem;
    margin-top: 1rem;
}

/* ── Stats Row ── */
.seo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(5, 150, 105, 0.15);
}

.seo-stat {
    text-align: center;
}

.seo-stat-value {
    font-family: 'Lora', Georgia, serif;
    background: var(--gradient-green-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 700;
}

.seo-stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ── Section Headings ── */
.seo-section-title {
    font-family: 'Lora', Georgia, serif;
    color: #f1f5f9;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.seo-section-title.large {
    font-size: 1.75rem;
}

/* ── Event Cards ── */
.seo-event-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.seo-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
    border-color: rgba(5, 150, 105, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

.seo-event-card .event-band-name {
    font-family: 'Lora', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    background: var(--gradient-green-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
}

.seo-event-card .event-band-name a {
    background: var(--gradient-green-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    background-clip: text;
    text-decoration: none;
}

.seo-event-card .event-band-name a:hover {
    text-decoration: underline;
    -webkit-text-fill-color: #0ea5e9 !important;
}

.seo-event-card .event-meta {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.seo-event-card .event-meta a {
    color: #38bdf8 !important;
    text-decoration: none;
}

.seo-event-card .event-meta a:hover {
    text-decoration: underline;
}

.seo-event-card .event-date-badge {
    flex-shrink: 0;
    text-align: center;
    min-width: 60px;
    padding: 0.5rem;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.seo-event-card .event-date-badge .month {
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.seo-event-card .event-date-badge .day {
    color: #f1f5f9;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* ── CTA Buttons ── */
.seo-btn-primary {
    display: inline-block;
    background: var(--btn-grain), var(--gradient-green-blue);
    background-size: var(--btn-grain-size), 100% 100%;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    border: none;
    cursor: pointer;
}

.seo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.seo-btn-secondary {
    display: inline-block;
    background: rgba(15, 23, 42, 0.8);
    color: #38bdf8 !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.seo-btn-secondary:hover {
    border-color: #059669;
    background: rgba(5, 150, 105, 0.1);
    transform: translateY(-1px);
}

.seo-btn-details {
    display: inline-block;
    background: var(--btn-grain), var(--gradient-green-blue);
    background-size: var(--btn-grain-size), 100% 100%;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.seo-btn-details:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.seo-btn-tickets {
    display: inline-block;
    background: #10b981;
    color: white !important;
    -webkit-text-fill-color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.seo-btn-tickets:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* ── Grid Cards (venues, bands, cities, states) ── */
.seo-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.seo-grid.narrow {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.seo-grid-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 1.25rem;
    border: 1px solid rgba(5, 150, 105, 0.15);
    text-decoration: none !important;
    display: block;
    transition: all 0.3s ease;
}

.seo-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.3);
}

.seo-grid-card h3 {
    font-family: 'Lora', Georgia, serif;
    background: var(--gradient-green-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.seo-grid-card p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

.seo-grid-card .event-count {
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ── Jam Card Variant ── */
.seo-grid-card.jam-card {
    border-color: rgba(245, 158, 11, 0.3);
}

.seo-grid-card.jam-card:hover {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.1);
}

.jam-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1e293b;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ── CTA Sections ── */
.seo-cta {
    background: var(--btn-grain), var(--gradient-green-blue);
    background-size: var(--btn-grain-size), 100% 100%;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
    position: relative;
    overflow: hidden;
}

.seo-cta h2 {
    font-family: 'Lora', Georgia, serif;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.seo-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
}

.seo-cta .cta-button {
    display: inline-block;
    background: #ffffff;
    color: #059669 !important;
    -webkit-text-fill-color: #059669 !important;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.seo-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.seo-cta .cta-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ── Claim Profile CTA (band pages) ── */
.seo-claim-cta {
    background: rgba(15, 23, 42, 0.8);
    border: 2px dashed rgba(5, 150, 105, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.seo-claim-cta h3 {
    font-family: 'Lora', Georgia, serif;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.seo-claim-cta p {
    color: #94a3b8;
    margin: 0 0 1.5rem 0;
}

/* ── Empty State ── */
.seo-empty-state {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.seo-empty-state p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin: 0;
}

.seo-empty-state .hint {
    color: #64748b;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* ── Info Callout (e.g. MBOTMA link) ── */
.seo-callout {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(5, 150, 105, 0.08);
    border-left: 4px solid #10b981;
    border-radius: 0 10px 10px 0;
}

.seo-callout p {
    color: #cbd5e1;
    margin: 0;
}

.seo-callout a {
    color: #38bdf8 !important;
    text-decoration: none;
    font-weight: 600;
}

/* ── Venue Info Grid ── */
.seo-info-grid {
    display: grid;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 1rem;
}

.seo-info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seo-info-row a {
    color: #38bdf8 !important;
    text-decoration: none;
}

.seo-info-row a:hover {
    text-decoration: underline;
}

/* ── Map Container ── */
.seo-map {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ── Tag / Chip Links ── */
.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.seo-tag {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
    text-decoration: none !important;
    color: #38bdf8 !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.seo-tag:hover {
    border-color: #059669;
    background: rgba(5, 150, 105, 0.1);
    transform: translateY(-1px);
}

/* ── Back Link ── */
.seo-back-link {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.seo-back-link a {
    color: #38bdf8 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.seo-back-link a:hover {
    text-decoration: underline;
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
    .seo-hero {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .seo-hero h1 {
        font-size: 1.5rem;
    }

    .seo-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .seo-stat-value {
        font-size: 1.5rem;
    }

    .seo-event-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .seo-event-card .event-band-name {
        font-size: 1.1rem;
    }

    .seo-grid {
        grid-template-columns: 1fr;
    }

    .seo-cta {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .seo-cta h2 {
        font-size: 1.35rem;
    }

    .seo-map {
        height: 300px;
        border-radius: 12px;
    }
}
