/* UNMF Music Database - Public CSS */

/* Global Styles */
:root {
    --primary-color: #3c8dbc;
    --secondary-color: #605ca8;
    --success-color: #00a65a;
    --info-color: #00c0ef;
    --warning-color: #f39c12;
    --danger-color: #dd4b39;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Figtree', sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

/* Navbar Customization */
.navbar-dark.bg-primary {
    background-color: var(--primary-color) !important;
}

.navbar-brand img {
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.3));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Card Customization */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Artist Card */
.artist-card .card-img-top {
    height: 250px;
}

.artist-card .card-title {
    font-weight: 600;
}

/* Song Card */
.song-card .card-body {
    padding-top: 15px;
}

.song-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.song-card:hover .play-button {
    opacity: 1;
}

/* Video Card */
.video-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.video-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Event Card */
.event-card .event-date {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.event-card .event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-card .event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background-color: #367fa9;
    border-color: #367fa9;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Pagination */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-icons a {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Artist Profile */
.artist-profile-header {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px;
    margin-bottom: 100px;
}

.artist-profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
}

.artist-profile-header .profile-info {
    position: absolute;
    bottom: -80px;
    left: 50px;
    display: flex;
    align-items: flex-end;
}

.artist-profile-header .profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.artist-profile-header .profile-name {
    color: white;
    margin-bottom: 80px;
}

.artist-profile-header .profile-name h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Media Player */
.audio-player {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
    margin-bottom: 20px;
}

.audio-player audio {
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .artist-profile-header {
        height: 200px;
        margin-bottom: 150px;
    }
    
    .artist-profile-header .profile-info {
        left: 20px;
    }
    
    .artist-profile-header .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .artist-profile-header .profile-name h1 {
        font-size: 1.8rem;
    }
}
