/* Music Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Comic+Neue:wght@400;700&display=swap');

:root {
    --primary: #4361ee;
    --secondary: #f72585;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #38b000;
    --warning: #ff9e00;
    --purple: #7209b7;
    --music-pink: #f72585;
    --music-purple: #7209b7;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #f9f0ff 0%, #f0f4ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar spacing */
.navbar {
    margin-bottom: 0;
}

/* Tabs Container */
.tabs-container {
    background: linear-gradient(90deg, var(--music-pink), var(--music-purple));
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Activity Tabs */
.activity-tabs {
    margin: 0 auto;
    max-width: 1200px;
}

.activity-tabs ul {
    border: none;
    justify-content: center;
    flex-wrap: wrap;
}

.activity-tabs li {
    margin: 0 0.5rem;
}

.activity-tabs li a {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: white !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.activity-tabs li.is-active a {
    background-color: white;
    color: var(--music-pink) !important;
    border-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.activity-tabs li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Main Title */
.main-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: var(--music-pink);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--music-pink), var(--music-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--music-purple), transparent);
    border-radius: 10px;
}

/* Subtitle */
.subtitle-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.music-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    font-weight: 500;
}

.music-description::before, .music-description::after {
    content: "";
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    color: var(--music-pink);
    position: absolute;
    opacity: 0.3;
}

.music-description::before {
    top: -20px;
    left: 20px;
}

.music-description::after {
    content: "";
    bottom: -40px;
    right: 20px;
    transform: rotate(180deg);
}

/* Music Player Section */
.music-player-section {
    margin: 4rem 0;
}

.category-title {
    font-family: 'Fredoka One', cursive;
    text-align: center;
    font-size: 2.5rem;
    color: var(--music-pink);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.category-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--music-purple), transparent);
    border-radius: 10px;
}

.music-player {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.player-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.album-art {
    position: relative;
    width: 100px;
    height: 100px;
    margin-right: 1.5rem;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vinyl-record {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #333 10%, #222 10%, #222 15%, #333 15%, #333 20%, #222 20%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.playing .vinyl-record {
    opacity: 0.8;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.song-info h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--music-pink);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.song-info p {
    color: #666;
    font-size: 1rem;
}

.player-controls {
    margin-bottom: 1.5rem;
}

audio {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.custom-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(45deg, var(--music-pink), var(--music-purple));
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(247, 37, 133, 0.4);
}

.play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.volume-control i {
    color: var(--music-pink);
    font-size: 1.2rem;
}

#volume-slider {
    width: 100px;
    accent-color: var(--music-pink);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-container span {
    font-size: 0.9rem;
    color: #666;
    min-width: 40px;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--music-pink), var(--music-purple));
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* Playlist Section */
.playlist-section {
    margin: 5rem 0;
}

.playlist {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playlist-item:last-child {
    border-bottom: none;
}

.playlist-item:hover {
    background: #f9f0ff;
}

.playlist-item.active {
    background: linear-gradient(90deg, rgba(247, 37, 133, 0.1), rgba(114, 9, 183, 0.1));
}

.item-number {
    width: 30px;
    text-align: center;
    font-weight: bold;
    color: var(--music-pink);
    margin-right: 1rem;
}

.item-info {
    flex-grow: 1;
}

.item-info h4 {
    font-family: 'Fredoka One', cursive;
    color: var(--music-pink);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.item-info p {
    color: #666;
    font-size: 0.9rem;
}

.item-duration {
    color: #999;
    font-size: 0.9rem;
}

/* Categories Section */
.categories-section {
    margin: 5rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--music-pink), var(--music-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--music-pink);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.category-card p {
    color: #666;
    line-height: 1.5;
}

/* Videos Section */
.videos-section {
    margin: 5rem 0;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-image img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-content {
    padding: 1.5rem;
}

.video-content h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--music-pink);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.video-content p {
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.video-button {
    font-family: 'Fredoka One', cursive;
    background: linear-gradient(45deg, var(--music-pink), var(--music-purple));
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(247, 37, 133, 0.4);
    width: 100%;
}

.video-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(247, 37, 133, 0.5);
}

/* Modal */
.music-modal {
    display: none;
}

.modal-content {
    width: 90%;
    max-width: 800px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Instruments Section */
.instruments-section {
    margin: 5rem 0;
    padding: 3rem 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(249, 240, 255, 0.8));
    border-radius: 25px;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.instrument-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.instrument-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.instrument-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--music-pink), var(--music-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.instrument-card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--music-pink);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.instrument-card p {
    color: #666;
    line-height: 1.5;
}

/* Floating elements */
.floating-shape {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    background: rgba(247, 37, 133, 0.1);
    animation: floatMusic 25s infinite ease-in-out;
}

@keyframes floatMusic {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .main-title {
        font-size: 3rem;
    }
    
    .activity-tabs li a {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .player-header {
        flex-direction: column;
        text-align: center;
    }
    
    .album-art {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .activity-tabs ul {
        flex-wrap: wrap;
    }
    
    .activity-tabs li {
        margin-bottom: 0.8rem;
    }
    
    .music-description {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    .categories-grid,
    .instruments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .activity-tabs li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .categories-grid,
    .instruments-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-controls {
        gap: 1rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}


body {
    padding-top: 75px; /* Adjust this value based on your navbar height */
}

/* Alternatively, you can add it to the container */
.section-container {
    padding-top: 75px;
}

.hero.is-fullheight {
    padding-top: 75px;
}