/**
 * Public Band Profile Styles
 */

/* Header Styles */
.band-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    padding-bottom: 4rem;
    color: white;
    position: relative;
}

.band-header::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 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
    overflow: hidden;
}

.band-header > .container {
    position: relative;
    z-index: 1;
}

.band-logo {
    transition: transform 0.3s ease;
}

.band-logo:hover {
    transform: scale(1.05);
}

/* Share Buttons */
.share-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.share-buttons .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Social Media Buttons */
.card-body .btn-outline-primary,
.card-body .btn-outline-success,
.card-body .btn-outline-danger,
.card-body .btn-outline-warning,
.card-body .btn-outline-secondary,
.card-body .btn-outline-dark {
    transition: all 0.2s ease;
}

.card-body .btn:hover {
    transform: translateX(3px);
}

/* Photo Gallery */
.card-body img {
    transition: transform 0.3s ease;
}

.card-body img:hover {
    transform: scale(1.02);
}

/* List Group Items */
.list-group-item {
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Tour Cards */
.card .card.border:hover {
    border-color: #667eea !important;
}

/* Badge Styles */
.badge {
    font-weight: 500;
}

/* QR Code Container */
.bg-white.p-3.rounded.shadow {
    transition: transform 0.3s ease;
}

.bg-white.p-3.rounded.shadow:hover {
    transform: scale(1.02);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .band-header {
        padding: 2rem 0;
        text-align: center;
    }

    .band-header .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .band-header .me-4 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }

    .band-header h1 {
        font-size: 1.75rem;
    }

    .share-buttons {
        top: 10px;
        right: 10px;
    }

    .share-buttons .btn {
        width: 35px;
        height: 35px;
    }

    .col-md-4.text-md-end {
        margin-top: 1.5rem;
        text-align: center !important;
    }
}

/* Print Styles */
@media print {
    .share-buttons {
        display: none;
    }

    .band-header {
        background: #333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .card {
        break-inside: avoid;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.5s ease forwards;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }

/* Toast notification */
.toast {
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
