/* EventBrella - It'll Happen Boyz Summer Showcase - Brand Colors */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;700&display=swap');

:root {
    /* Brand: Red, Black, White */
    --primary: #E63946;
    --primary-hover: #C5192D;
    --secondary: #000000;
    --secondary-hover: #2a2a2a;
    --text-dark: #000000;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #FFFFFF;
    --border-color: #e0e0e0;
    --accent: #E63946;
}

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

/* ===== TYPOGRAPHY SYSTEM ===== */
h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }

body, p, span, div {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button, .btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ticket-price, .price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.02em;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f0f0;
    color: var(--text-dark);
    line-height: 1.6;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Hero Section: full-width black, image box left, text right */
.hero-section {
    background-color: #000000;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 4rem;
}

.hero-image-box {
    flex: 0 0 45%;
    height: 400px;
    background-image: url('/images/hero-banner.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000000;
    border-radius: 8px;
}

.hero-content {
    flex: 1;
    color: #FFFFFF;
    padding-left: 2rem;
}

.hero-content .hero-info {
    padding: 0;
}

.event-poster {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
}

.hero-content h1,
.hero-info h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hero-content .hero-meta-item,
.hero-info .hero-meta-item {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0.75rem 0;
}

.hero-content .organizer-link,
.hero-info .organizer-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #E63946;
}

.hero-info h1 {
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 10px;
}

.hero-meta-item::before {
    content: '📅';
    font-size: 18px;
}

.hero-meta-item.location::before {
    content: '📍';
}

.organizer-link {
    color: #E63946;
    text-decoration: none;
}

.organizer-link:hover {
    text-decoration: underline;
}

/* Ticket Section */
.ticket-section {
    background-color: var(--white);
    padding: 30px 40px;
    border-bottom: 1px solid var(--border-color);
}

.ticket-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}
.ticket-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Single centered ticket (Team Registration) */
.ticket-section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #E63946;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}
.ticket-tier-single {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}
.ticket-tier.registration-card {
    width: 100%;
    max-width: 480px;
    padding: 32px;
    border: 3px solid #E63946;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.15), 0 4px 16px rgba(0,0,0,0.06);
}
.ticket-tier.registration-card:hover {
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.2), 0 6px 20px rgba(0,0,0,0.08);
}

.ticket-tier {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
}
.ticket-tier-name {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    margin: 8px 0 4px;
}
.ticket-tier-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-light, #666);
    margin-bottom: 12px;
    line-height: 1.3;
}

.ticket-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    color: #E63946;
}

.ticket-fees {
    font-size: 14px;
    color: #666666;
    margin-left: 4px;
}

.get-tickets-btn {
    width: 100%;
    padding: 16px 32px;
    background-color: #E63946;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.get-tickets-btn:hover {
    background-color: #C5192D;
}

/* Event Details Section */
.event-details {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    background-color: #000000;
    color: #FFFFFF;
    padding: 20px 40px;
}

.details-content {
    background-color: var(--white);
    padding: 40px;
    color: var(--text-dark);
}

.details-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Venue Section */
.venue-section {
    padding: 40px;
    background-color: #fafafa;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.venue-info {
    margin-bottom: 20px;
}

.venue-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.venue-address {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.map-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.map-btn {
    padding: 12px 24px;
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #E63946;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.map-btn:hover {
    background-color: #2a2a2a;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Organizer Section */
.organizer-section {
    padding: 0 40px 40px 40px;
    background-color: #fafafa;
}

.organizer-content {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    align-items: flex-start;
}

.organizer-image {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.organizer-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #E63946;
    margin-bottom: 15px;
}

.organizer-details p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.more-events-btn {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #E63946;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.more-events-btn:hover {
    background-color: #2a2a2a;
}

.btn-select {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.btn-select:hover {
    background-color: var(--primary-hover);
}

/* Event Calendar Section */
.event-calendar {
    padding: 80px 20px;
    background-color: var(--white);
}

.calendar-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary);
    background-color: var(--white);
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.calendar-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.event-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.event-date {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.event-type {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Activities Section */
.activities {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.activity-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.activity-item p {
    color: var(--text-light);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    /* Prevent scroll issues */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content.success {
    text-align: center;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Locked event date pill */
.event-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.event-date-pill-icon {
    font-size: 1rem;
}

.form-summary {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid var(--border-color);
}

.stripe-card {
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin: 20px 0;
}

#cardErrors {
    color: var(--primary);
    margin-bottom: 20px;
    min-height: 20px;
}

.btn-purchase {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-purchase:hover:not(:disabled) {
    background-color: var(--primary-hover);
}

.btn-purchase:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-close {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

.btn-close:hover {
    background-color: var(--primary-hover);
}

/* Footer */
.footer {
    background-color: #000000;
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer a {
    color: #E63946;
    text-decoration: underline;
}

.footer-contact {
    margin: 10px 0;
    opacity: 0.9;
}

.footer-terms {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Local Branding */
.local-branding {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.local-branding-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.local-branding-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Ticket Card Enhancements */
.ticket-card.featured {
    border: 3px solid var(--accent);
    position: relative;
}

.ticket-card.premium {
    border: 3px solid var(--primary);
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
}

.ticket-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.ticket-badge.premium-badge {
    background: var(--primary);
    color: var(--white);
}

.vendor-credits-note {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--primary);
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Cornhole Tournament Section (removed from UI) */

/* Swag Bag Section */
.swag-bag {
    padding: 80px 20px;
    background-color: var(--white);
}

.swag-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.swag-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swag-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.swag-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.swag-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.swag-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Vendors Section */
.vendors {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.featured-vendor {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary);
}

.featured-vendor-content {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: center;
}

.featured-vendor-image {
    text-align: center;
}

.vendor-icon-large {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.featured-vendor-name {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.featured-vendor-tagline {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-vendor-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.vendor-benefits {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vendor-benefit-tag {
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.vendor-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.vendor-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.vendor-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.vendor-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.vendor-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 40px;
}

.vendor-cta p {
    margin: 0;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-image-box {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .hero-content h1,
    .hero-info h1 {
        font-size: 2rem;
        white-space: normal;
    }
    .ticket-price, .price {
        font-size: 2rem;
    }

    .organizer-content {
        grid-template-columns: 1fr;
    }

    .organizer-image {
        width: 120px;
        height: 120px;
    }

    .map-buttons {
        flex-direction: column;
    }

    .ticket-section,
    .details-content,
    .venue-section,
    .organizer-section {
        padding: 30px 20px;
    }

    .modal-content {
        padding: 20px;
        margin: 10% auto;
    }

    .featured-vendor-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vendor-icon-large {
        margin-bottom: 20px;
    }

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

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

}

