/* Basic Reset & Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for nav links */
}

body {
    font-family: 'Arial', sans-serif; /* Choose a suitable font */
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    padding-bottom: 80px; /* Adjust based on footer height */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #1db954; /* Spotify-like green */
    text-decoration: none;
}

a:hover {
    color: #1ed760;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px; /* Uniform gap between sections */
}

.btn {
    display: inline-block;
    background-color: #1db954;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    height: 22.5px;
    text-align: center;
    font-size: 0.75rem;
    line-height: 22.5px;
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #1ed760;
}

#load-more-podcast.btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 20px auto !important;
    padding: 6px 12px !important;
    height: 22.5px !important;
    font-size: 0.75rem !important;
    line-height: 22.5px !important;
    width: auto !important;
    border-radius: 25px !important;
    background-color: #1db954 !important;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.grid-item {
    background-color: #111;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-item img {
    margin-bottom: 10px;
    border-radius: 4px;
}

.grid-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.grid-item p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 10px;
}

/* Navigation Bar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 10px 2%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1db954;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('../images/hero1.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: #fff;
    margin-bottom: 40px; /* Uniform gap below Hero */
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, #181818 0%, #111 100%);
    border-radius: 8px;
    padding: 50px;
}

.about-content {
    overflow: hidden; /* Clearfix for floated image */
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.2rem;
}

.about-image {
    float: right;
    width: 320px;
    margin: 0 0 20px 20px; /* Align top-right with spacing */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    max-height: 420px;
}

/* Podcast Section */
.podcast-section {
    background-color: #181818;
    padding: 25px;
    border-radius: 8px;
}

#latest-podcast-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px; /* Uniform gap between Recent and Previous Episodes */
}

.latest-podcast-with-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.latest-podcast-with-image .podcast-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.latest-podcast-with-image .podcast-content {
    text-align: center;
    width: 100%;
}

#latest-podcast-container h3 {
    font-size: 1.5rem;
    color: #1db954;
    margin-bottom: 10px;
}

#latest-podcast-container ol {
    color: #ccc;
    font-size: 0.9rem;
    margin: 10px 0;
    padding-left: 20px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#latest-podcast-container .play-episode-btn {
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.podcast-item {
    background-color: #111;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 300px;
}

.podcast-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 10px;
}

.podcast-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
}

.podcast-item .play-episode-btn {
    margin: 10px auto;
}

.podcast-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 0;
    min-height: 22.5px;
}

.podcast-item .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    background-color: #181818;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #333;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: #1db954;
    margin: 0;
}

.close-modal {
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #fff;
}

.modal-body ul {
    list-style-type: none;
    padding-left: 0;
}

.modal-body li {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Tracklist Table Styling */
.tracklist-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #181818;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    table-layout: fixed; /* Enforce consistent column widths */
}

.tracklist-table td {
    padding: 3px; /* Adjusted for readability, ~70% reduction from 10px */
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    vertical-align: middle;
}

.tracklist-table td:not(.track-number) {
    text-align: left; /* Align artist-track and shop links to the left */
}

.tracklist-table .track-number {
    width: 5%; /* Further reduced to minimize gap */
    text-align: center;
}

.shop-links {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjusted for balanced spacing */
    justify-content: flex-start;
    padding: 8px; /* Slightly reduced for compactness */
}

.shop-links a {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.shop-links a[href*="soundcloud.com"]:hover {
    color: #FF3300;
}

.shop-links a[href*="apple.com"]:hover {
    color: #B125EA;
}

.shop-links a[href*="beatport.com"]:hover {
    color: #1db954;
}

.shop-links a[href*="spotify.com"]:hover {
    color: #1db954;
}

.shop-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(0.8);
    transition: filter 0.3s ease;
}

.shop-links a[href*="beatport.com"]:hover .shop-icon {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(90deg) saturate(5);
}

/* Merch Section */
.merch-section {
    background-color: #181818;
    padding: 25px;
    border-radius: 8px;
}

.merch-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.merch-item img {
    border: 1px solid #333;
    margin-bottom: 10px;
}

.merch-item .price {
    font-weight: bold;
    color: #1db954;
    margin: 5px 0;
}

.merch-item .purchase-btn {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form */
.contact-section {
    background-color: #181818;
    padding: 25px;
    border-radius: 8px;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #181818;
    padding: 30px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
}

.form-group textarea {
    resize: vertical;
}

#contact-form button {
    display: flex;
    margin: 0 auto;
}

#form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

.form-success { color: #1db954; }
.form-error { color: #e53935; }

/* Social Media Section */
.social-section {
    text-align: center;
    padding: 40px 20px;
}

.social-icons a {
    color: #aaa;
    font-size: 2rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icons a[href*="facebook.com"]:hover {
    color: #1877F2;
}

.social-icons a[href*="x.com"]:hover {
    color: #000000; /* X brand black */
}

.social-icons a[href*="instagram.com"]:hover {
    color: #E4405F;
}

.social-icons a[href*="discord.com"]:hover {
    color: #5865F2;
}

.social-icons a[href*="twitch.tv"]:hover {
    color: #9146FF;
}

.social-icons a[href*="youtube.com"]:hover {
    color: #FF0000; /* YouTube brand red */
}

.social-icons a[href*="tiktok.com"]:hover {
    color: #00F2EA;
}

.social-icons a[href*="soundcloud.com"]:hover {
    color: #FF3300;
}

.social-icons a[href*="mixcloud.com"]:hover {
    color: #52AAD8;
}

.social-icons a[href*="podcasts.apple.com"]:hover {
    color: #B125EA; /* Apple Podcasts purple */
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
    text-align: center;
}

/* Footer Media Player */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #181818;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-controls button {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.player-controls button:hover {
    color: #fff;
}

#play-pause-btn {
    font-size: 1.8rem;
    color: #fff;
}

#play-pause-btn:hover {
    transform: scale(1.1);
}

.footer-thumbnail {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.progress-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin: 0 20px;
}

#progress-bar {
    flex-grow: 1;
    height: 6px;
    cursor: pointer;
    appearance: none;
    background: #535353;
    border-radius: 3px;
    outline: none;
    position: relative;
}

#progress-bar::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #1db954 0%, #1db954 var(--progress), #535353 var(--progress), #535353 100%);
    height: 6px;
    border-radius: 3px;
}

#progress-bar::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -4px;
}

#progress-bar::-moz-range-track {
    background: #535353;
    height: 6px;
    border-radius: 3px;
}

#progress-bar::-moz-range-progress {
    background: #1db954;
    height: 6px;
    border-radius: 3px;
}

#progress-bar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.progress-container span {
    font-size: 0.8rem;
    color: #aaa;
    min-width: 35px;
    text-align: center;
}

#current-time { margin-right: 10px; }
#total-duration { margin-left: 10px; }

.footer-logo-container {
    display: flex;
    align-items: center;
    height: 50px;
}

#footer-logo-img {
    height: 50%;
    width: auto;
}

.volume-control-container {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100px;
    background: #535353;
    border-radius: 3px;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    outline: none;
    writing-mode: vertical-lr;
    direction: rtl;
    appearance: none;
}

.volume-slider::-webkit-slider-runnable-track {
    background: linear-gradient(to top, #1db954 0%, #1db954 var(--volume), #535353 var(--volume), #535353 100%);
    width: 6px;
    border-radius: 3px;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    margin-left: -4px;
}

.volume-slider::-moz-range-track {
    background: #535353;
    width: 6px;
    border-radius: 3px;
}

.volume-slider::-moz-range-progress {
    background: #1db954;
    width: 6px;
    border-radius: 3px;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.volume-slider.hidden {
    opacity: 0;
    visibility: hidden;
}

#audio-player {
    display: none;
}

/* hCaptcha Styles */
.h-captcha {
    display: block;
    min-height: 80px;
    min-width: 300px;
    margin: 10px 0;
    visibility: visible;
}

.form-group:has(.h-captcha) {
    display: block;
    visibility: visible;
    min-height: 100px;
}