/* components.css - Reusable component styles */

/* Hero Sections */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 80px 0 40px;  /* Reduced from 60px 0 */
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    min-height: auto;  /* Changed from any min-height value */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0;  /* Remove extra padding */
}

/* Cards */
/* Section Cards - Default text should be dark */
.section-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

/* Cards */
/* Section Cards - Default text should be dark */
.section-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

/* Text colors in section cards - but NOT in admin actions */
.section-card:not(.admin-actions) h3,
.section-card:not(.admin-actions) h4,
.section-card:not(.admin-actions) h5,
.section-card:not(.admin-actions) p,
.section-card:not(.admin-actions) div:not(.admin-actions),
.section-card:not(.admin-actions) span,
.section-card:not(.admin-actions) li {
    color: #333 !important;
}

.section-card .text-muted {
    color: #6c757d !important;
}

/* Bio text should be dark */
.bio-text,
.bio-text *,
.bio-card,
.bio-card p,
.bio-card div {
    color: #333 !important;
}

.bio-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.section-card .text-muted {
    color: #6c757d !important;
}

/* Bio text should be dark */
.bio-text,
.bio-card p,
.bio-card div {
    color: #333 !important;
}

.bio-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.main-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-left: 5px solid var(--primary-color);
}

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

.event-card.past-event {
    opacity: 0.7;
    border-left-color: var(--text-muted);
}

/* Band Cards */
.band-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    height: 100%;
}

.band-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.band-body {
    padding: 25px;
}

.band-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* Venue Cards */
.venue-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
    margin-bottom: 25px;
}

/* Date Badges */
.event-date-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    min-width: 80px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.event-date-day {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.event-date-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.9;
    display: block;
    margin-top: 4px;
}

.event-date-year {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Status Badges */
.event-status-badge {
    padding: 6px 15px;
    border-radius: var(--border-radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-confirmed {
    background: var(--success-color);
    color: white;
}

.status-planning {
    background: var(--warning-color);
    color: #333;
}

.status-contract {
    background: var(--info-color);
    color: white;
}

.status-cancelled {
    background: #6c757d;
    color: white;
}

/* Genre/Band Badges */
.genre-badge, .band-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: var(--border-radius-pill);
    display: inline-block;
    margin-right: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.genre-badge i,
.band-badge i {
    color: white !important;
    margin-right: 8px;
    opacity: 1 !important;
}

.band-badge {
    background: var(--accent-gradient);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-base);
}

.band-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
    color: white;
}

/* Band badges on card bodies need stronger contrast */
.band-body .band-badge {
    background: var(--accent-gradient);
    color: white;
}

.band-body .band-badge i {
    color: white !important;
}

/* Price Tags */
.price-box {
    background: var(--accent-gradient);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.price-box.free {
    background: var(--success-gradient);
}

.price-box.tbd {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.price-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.price-value {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.price-tag {
    background: var(--success-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
}

.price-tag.free {
    background: var(--info-color);
}

/* Stats */
.stats-bar, .stats-section {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

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

.stat-box {
    background: var(--primary-gradient);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Images */
.band-image, .venue-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.3);
}

.band-placeholder, .venue-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 4px solid rgba(255,255,255,0.3);
}

/* Info Cards */
.info-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: start;
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    min-width: 40px;
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-label, .info-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.info-value, .info-card-value {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.info-card-value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* No Content States */
.no-events {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.no-events i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 25px;
    opacity: 0.3;
}

.no-events h3, .no-events h4 {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Venue Info */
.venue-info {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--border-radius-md);
    margin: 15px 0;
}

.venue-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.venue-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-base);
    position: relative;
}

.venue-name a:hover {
    color: var(--primary-color);
}

.venue-name a:hover::after {
    content: ' \f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85em;
    margin-left: 5px;
    opacity: 0.7;
    animation: bouncePin 0.6s ease;
}

@keyframes bouncePin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.venue-address {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.venue-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.venue-info-item i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    min-width: 20px;
}

/* Event Meta Info */
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.meta-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .band-image, .venue-image,
    .band-placeholder, .venue-placeholder {
        width: 150px;
        height: 150px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-card, .section-card {
        padding: 20px;
    }
}

/* Add this to your components.css file */

/* Compact event cards - reusable everywhere */
/* Add this to your components.css file */

/* Compact event cards - reusable everywhere */
.compact-event-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.compact-event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.compact-event-card.past-event {
    opacity: 0.7;
    border-left-color: var(--text-muted);
    border-color: #dee2e6;
}

.compact-event-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.compact-date-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.compact-date-badge.past-date-badge {
    background: #6c757d;
}

.compact-date-day {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.compact-date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.9;
    display: block;
    margin-top: 3px;
}

.compact-event-title {
    flex: 1;
}

.compact-event-title h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.compact-event-title h5 a:hover {
    color: var(--primary-color);
}

.compact-event-body {
    flex: 1;
    margin-bottom: 15px;
}

.compact-event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.compact-event-meta i {
    width: 16px;
    margin-right: 8px;
    color: var(--primary-color);
}

.compact-event-meta a:hover {
    color: var(--primary-color);
}

.compact-event-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.compact-event-footer .btn {
    font-size: 0.85rem;
    padding: 6px 12px;
}

/* Events grid - add spacing between cards */
.events-grid {
    margin-left: -10px;
    margin-right: -10px;
}

.events-grid > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    /* Stack to single column on tablets and below */
    .events-grid .col-lg-6,
    .events-grid .col-lg-4 {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .compact-event-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .compact-date-badge {
        margin-bottom: 10px;
    }

    .events-grid {
        margin-left: 0;
        margin-right: 0;
    }

    .events-grid > [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* CRITICAL: Override Bootstrap link colors in hero social links */
.hero-section .social-links a,
.hero-section .social-links a:link,
.hero-section .social-links a:visited,
.hero-content .social-links a,
.hero-content .social-links a:link,
.hero-content .social-links a:visited {
    color: white !important;
}

.hero-section .social-links a *,
.hero-content .social-links a * {
    color: white !important;
}