/* ClubsEasy Events — Public Frontend */

:root {
    --primary: #0a6cb9;
    --accent: #25dbc5;
    --navy: #0B3558;
    --bg: #F8F9FB;
    --text: #333;
    --text-muted: #6c757d;
    --shadow-sm: 0 2px 8px rgba(11, 53, 88, 0.08);
    --shadow-md: 0 4px 16px rgba(11, 53, 88, 0.12);
    --radius-md: 12px;
    --radius-lg: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .display-5, .display-6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

.fw-500 { font-weight: 500; }

/* Navbar */
.navbar-events {
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-clubs { color: var(--navy); }
.brand-easy { color: var(--accent); }
.brand-events {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 2px solid #e0e0e0;
    vertical-align: middle;
}

/* Main content */
.main-content {
    flex: 1;
}

/* Cards */
.event-card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

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

.event-card-past {
    opacity: 0.7;
}

.event-card-past:hover {
    opacity: 1;
}

.event-card-banner {
    height: 180px;
    object-fit: cover;
}

.event-meta {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Badges */
.badge.bg-accent {
    background-color: var(--accent) !important;
    color: #fff;
}

/* Banner */
.event-banner-wrapper {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: var(--navy);
}

.event-banner-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Event info bar */
.event-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.event-info-item i {
    font-size: 1.2rem;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

/* Description */
.event-description {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    line-height: 1.7;
}

.event-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Registration card */
.registration-card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.registration-card .card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

/* Quick facts */
.event-quick-facts {
    font-size: 0.9rem;
}

/* Footer */
.footer-events {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    color: #fff;
}

/* Breadcrumb */
.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Primary button override */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #085a9c;
    border-color: #085a9c;
}

/* Registration Steps */
.registration-steps {
    max-width: 500px;
    margin: 0 auto;
}

.registration-steps .d-flex {
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: #e9ecef;
    color: var(--text-muted);
}

.step.active .step-number {
    background: var(--primary);
    color: #fff;
}

.step.completed .step-number {
    background: var(--accent);
    color: #fff;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.step.active .step-label {
    color: var(--primary);
}

.step.completed .step-label {
    color: var(--accent);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e9ecef;
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
}

.step-connector.completed {
    background: var(--accent);
}

/* Confirmation Icons */
.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.confirmation-icon.success {
    background: #d1f5e0;
    color: #198754;
}

.confirmation-icon.waitlist {
    background: #fff3cd;
    color: #856404;
}

/* Responsive */
@media (max-width: 768px) {
    .event-banner-img {
        height: 240px;
    }

    .event-info-bar {
        flex-direction: column;
        gap: 0.75rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }
}
