/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Hide the floating playlist on mobile devices */
@media (max-width: 768px) {
    .floating-playlist {
        display: none;  /* Hides the floating playlist on screens smaller than 768px */
    }
}


body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
    overflow-x: hidden; /* Prevents horizontal scrolling */
     padding-top: 60px;
}
.mixtape-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
}

.share-btn:hover {
    background-color: #45a049;
}

.share-alert {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
    pointer-events: none;
}

.share-alert.show {
    opacity: 1;
    transform: translateY(0);
}

.mixtape-item {
    position: relative;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 10px;
}
.nav-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    margin-left: 1rem;
}
.nav-menu li a {
    color: white;
    text-decoration: none;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 1rem;
    }
    .nav-menu.show {
        display: flex;
    }
    .nav-menu li {
        margin: 0.5rem 0;
    }
}

.progress {
    background-color: #ff00ff;
    height: 100%;
    width: 0; /* Initial width set to 0, will be updated dynamically */
    transition: width 0.1s ease;
}

.book-now-btn {
        position: relative;
        z-index: 900; /* Lower than the header but above other content */
    }
/* General styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; /* Ensure full width on mobile */
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Header styles */
header {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff00ff;
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.hero-image {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dj-image {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 0, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 255, 0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Glitch effect */
.glitch {
    position: relative;
    color: #fff;
    font-size: 4em;
    letter-spacing: 0.5em;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 31px, 0);
        transform: skew(0.85deg);
    }
    5% {
        clip: rect(70px, 9999px, 71px, 0);
        transform: skew(0.21deg);
    }
    10% {
        clip: rect(5px, 9999px, 92px, 0);
        transform: skew(0.69deg);
    }
    100% {
        clip: rect(59px, 9999px, 26px, 0);
        transform: skew(0.05deg);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
        transform: skew(0.12deg);
    }
    5% {
        clip: rect(24px, 9999px, 73px, 0);
        transform: skew(0.66deg);
    }
    10% {
        clip: rect(46px, 9999px, 19px, 0);
        transform: skew(0.91deg);
    }
    100% {
        clip: rect(67px, 9999px, 78px, 0);
        transform: skew(0.64deg);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(-2deg);
    }
    20% {
        transform: skew(1deg);
    }
    40% {
        transform: skew(-2deg);
    }
    60% {
        transform: skew(3deg);
    }
    80% {
        transform: skew(1deg);
    }
    100% {
        transform: skew(0deg);
    }
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: 0.15em solid #fff;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #fff;
    }
}

/* Button styles */
.btn {
    display: inline-block;
    background: #ff00ff;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: #cc00cc;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.4);
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-neon {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: #ff00ff;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    font-size: 24px;
    overflow: hidden;
    transition: 0.2s;
    background: transparent;
    border: 2px solid #ff00ff;
}

.btn-neon:hover {
    color: #fff;
    background: #ff00ff;
    box-shadow: 0 0 10px #ff00ff, 0 0 40px #ff00ff, 0 0 80px #ff00ff;
    transition-delay: 0.2s;
}

.btn-neon span {
    position: absolute;
    display: block;
}

.btn-neon span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff00ff);
    animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.btn-neon span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #ff00ff);
    animation: btn-anim2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }
    50%, 100% {
        top: 100%;
    }
}

.btn-neon span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #ff00ff);
    animation: btn-anim3 1s linear infinite;
    animation-delay: 0.5s;
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }
    50%, 100% {
        right: 100%;
    }
}

.btn-neon span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #ff00ff);
    animation: btn-anim4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }
    50%, 100% {
        bottom: 100%;
    }
}

/* Section styles */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ff00ff;
    margin: 10px auto 0;
}

/* About section */
.about-section {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Skills section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill h3 {
    margin-bottom: 0.5rem;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress {
    background: #ff00ff;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: progress-animation 1.5s ease-in-out;
}

@keyframes progress-animation {
    0% {
        width: 0;
    }
}

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

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.4);
}

.service-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff00ff;
}

/* Booking and Contact page styles */
.booking-section,
.contact-section {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.booking-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

/* Playlist Item Styling */
.mixtape-item {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column; /* Stack items on top of each other */
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center; /* Center the text */
}

.mixtape-content {
    display: flex;
    align-items: center;
}

.mixtape-cover {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 10px;
}

.mixtape-title {
    color: white;
    font-size: 16px;
}

.mixtape-actions {
    display: flex;
}

.play-btn, .download-btn {
    padding: 10px 15px;
    background-color: #ff00ff;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Full width on mobile */
    max-width: 200px; /* Prevent buttons from being too wide */
    margin: 10px 0; /* Add spacing between buttons */
}

.play-btn {
    background-color: #00ff00;
}

.play-btn:hover {
    background-color: #00cc00;
}

.download-btn:hover {
    background-color: #cc00cc;
}
.download-btn {
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
}


/* Playlist section */
.playlist-section {
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
    border-radius: 10px;
    padding: 2rem;
}

/* Responsive Design for Player */
#audiomackPlayer {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.5);
    transition: all 0.3s ease;
}

#audioPlayer {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
}

.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* Make buttons wrap on smaller screens */
}

.control-btn {
    background: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.control-btn:hover {
    background: #ff00ff;
    transform: scale(1.1); /* Button animation on hover */
}

#trackTitle {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.player-cover {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin: 10px auto;
    animation: pulse 2s infinite; /* Smooth animation for cover */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .player-controls {
        flex-direction: column;
    }

    .control-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    #trackTitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .control-btn {
        padding: 10px;
        font-size: 14px;
    }

    #trackTitle {
        font-size: 1rem;
    }

    .player-cover {
        width: 100px;
        height: 100px;
    }
}


/* Floating playlist */
.floating-playlist {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 10px;
    max-width: 300px;
    z-index: 100;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.floating-playlist h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.floating-playlist ul {
    list-style-type: none;
    max-height: 200px;
    overflow-y: auto;
}

.floating-playlist li {
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.floating-playlist li:hover {
    color: #ff00ff;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 1s ease forwards;
}

@media (max-width: 768px) {
    /* Adjust playlist and player for mobile */
    .mixtape-item {
        padding: 10px;
    }

    /* Buttons full width on mobile */
    .play-btn, .download-btn {
        width: 100%; /* Full width on mobile */
    }

    .player-controls {
        flex-direction: column; /* Stack player controls on top of each other */
        gap: 10px;
    }

    /* Reduce font size on smaller screens */
    .mixtape-item h2, .mixtape-item h3 {
        font-size: 1rem;
    }

    .mixtape-item img {
        max-width: 120px; /* Reduce image size for smaller screens */
        margin-bottom: 10px;
    }
    
    /* Hide floating playlist on mobile */
    .floating-playlist {
        display: none; /* Hides the floating playlist on smaller screens */
    }
}

@media (max-width: 480px) {
    /* Even smaller adjustments for very small devices (mobile) */
    .play-btn, .download-btn {
        padding: 8px;
        font-size: 12px; /* Smaller text for very small screens */
    }

    .mixtape-item h2, .mixtape-item h3 {
        font-size: 0.9rem;
    }

    .player-cover {
        width: 100px; /* Smaller cover art size */
        height: 100px;
    }
}