/* buttons-links.css - Button and link styling */
/* ============================================
   BAND CARD BUTTONS - ALWAYS VISIBLE
   ============================================ */

.band-card .btn-outline-primary {
    color: #667eea !important;
    border-color: #667eea !important;
    background-color: white !important;
}

.band-card .btn-outline-primary:hover {
    color: white !important;
    background-color: #667eea !important;
}

.band-card .btn-outline-warning {
    color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.band-card .btn-outline-warning:hover {
    color: #000 !important;
    background-color: #ffc107 !important;
}

.band-card .btn {
    opacity: 1 !important;
}

/* Button Styles */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Link Styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.text-decoration-none {
    text-decoration: none;
}

.text-decoration-none:hover {
    text-decoration: underline;
}

/* Hero Buttons */
.hero-buttons {
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition-base);
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-hero-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Ticket Buttons */
.btn-ticket {
    background: var(--secondary-gradient);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(245, 87, 108, 0.3);
}

.btn-ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
    color: white;
}

/* Action Buttons */
.btn-action {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    transition: var(--transition-base);
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.action-buttons .btn,
.event-actions .btn {
    transition: var(--transition-base);
}

.action-buttons .btn:hover,
.event-actions .btn:hover {
    transform: translateY(-2px);
}

/* Social Links */
.social-links a, .contact-links a {
    display: inline-flex; /* Sets up a flex context for each link */
    align-items: center; /* Vertically centers the content inside each link */
    justify-content: center; /* Horizontally centers the content inside each link */

    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}
.social-links a:hover, .contact-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-btn {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    text-decoration: none;
}

.share-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Venue Links */
.venue-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    position: relative;
}

.venue-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.venue-link:hover::after {
    content: ' \f35d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8em;
    margin-left: 5px;
    opacity: 0.7;
}

/* Event Title Links */
.event-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Event Tabs */
.event-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.event-tab {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-pill);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.event-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.event-tab.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Newsletter Form */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 50px;
    padding: 15px 20px;
    border: none;
    margin-bottom: 15px;
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
    font-weight: bold;
    border: none;
    width: 100%;
}

.newsletter-form .btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* Admin Actions Bar */
.admin-actions {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-actions strong {
    color: #856404 !important;
}

.admin-actions i {
    color: #856404 !important;
}

/* Buttons on purple background - override for visibility */
/* Only apply white styling on dark backgrounds */
.hero-section .btn-outline-primary,
.hero-section .btn-outline-secondary,
.footer-section .btn-outline-primary,
.footer-section .btn-outline-secondary,
.stats-section .btn-outline-primary,
.stats-section .btn-outline-secondary,
.newsletter-section .btn-outline-primary,
.newsletter-section .btn-outline-secondary {
    color: white !important;
    border-color: white !important;
}

.hero-section .btn-outline-primary:hover,
.hero-section .btn-outline-secondary:hover,
.footer-section .btn-outline-primary:hover,
.footer-section .btn-outline-secondary:hover,
.stats-section .btn-outline-primary:hover,
.stats-section .btn-outline-secondary:hover,
.newsletter-section .btn-outline-primary:hover,
.newsletter-section .btn-outline-secondary:hover {
    background-color: white !important;
    color: #667eea !important;
    border-color: white !important;
}

/* Default button styles for light backgrounds */
.btn-outline-primary {
    color: #667eea;
    border-color: #667eea;
    background-color: transparent;
}

.btn-outline-primary:hover {
    color: white;
    background-color: #667eea;
    border-color: #667eea;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    color: white;
    background-color: #6c757d;
    border-color: #6c757d;
}


/* Responsive Button Adjustments */
@media (max-width: 768px) {
    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

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

    .action-buttons .btn {
        width: 100%;
    }
}