/* Version 1.4 | 2025-09-23 - Added Responsive Media Fitting for Carousel */

/* ==========================================================================
   1. Modern Setup & Animated Gradient
   ========================================================================== */

:root {
    --color-bg-1: #9c4c02; /* Dark Orange (from your accent color) */
    --color-bg-2: #381900; /* A darker, burnt orange for a smooth transition */
    --color-bg-3: #000000; /* Black */
    --primary-accent: #ff8c00;   /* Dark Orange */
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-primary: 'Poppins', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--text-light);
    background: linear-gradient(-45deg, var(--color-bg-1), var(--color-bg-2), var(--color-bg-3));
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ==========================================================================
   2. HOMEPAGE CAROUSEL STYLES
   ========================================================================== */

.slideshow-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
}

.slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-text {
    color: #fff;
    font-size: clamp(1.2rem, 3vw, 1.5rem); /* Made text much smaller */
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: absolute;
    bottom: 40px;
    left: 1.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    z-index: 10;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: var(--card-border);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
    background-color: var(--primary-accent);
}


/* ==========================================================================
   2.1. Responsive Carousel Styles
   ========================================================================== */

@media (max-width: 768px) {
    /* Adjust the overall height of the carousel on mobile to feel less overwhelming */
    .slideshow-hero {
        height: 85vh;
    }

    /* ✅ Make videos and images fit within the screen without being cropped */
    .slide img,
    .slide video {
        object-fit: contain !important; /* Force this rule to apply, overriding any cache issues */
    }

    .slide-text {
        font-size: clamp(1rem, 4vw, 1.2rem); /* Made text much smaller for mobile */
        bottom: 60px; /* Adjust position to avoid overlap with dots */
        left: 1rem;
        right: 1rem;
        text-align: center; /* Center the text on mobile */
        padding: 0.4rem 0.8rem;
    }

    .prev, .next {
        font-size: 18px;
        padding: 12px;
        margin-top: -22px;
    }

    .dots-container {
        bottom: 25px; /* Move dots up slightly */
    }

    .dot {
        height: 12px;
        width: 12px;
    }

    /* Adjust play button size for mobile */
    .play-overlay {
        width: 80px;
        height: 80px;
    }

    .play-overlay i {
        font-size: 30px;
    }
}


/* ==========================================================================
   3. General Page & Artist Page Styles
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

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

.headline-container {
    position: relative;
    z-index: 2;
}

.headline-container h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.headline-container p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 300;
    color: var(--text-muted);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

main {
    padding: 0 2rem;
}

section {
    max-width: 1200px;
    margin: 8rem auto;
}

.main-content-no-hero {
    padding-top: 120px;
}

h1, h2, h3, h4 {
    background: linear-gradient(to bottom, #FFFFFF, #ff9436);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.6));
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.music-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.music-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.music-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.music-item iframe {
    border-radius: 12px;
    border: none;
    width: 100%;
}

.social-section, .newsletter-section, .tutorials-section {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.email-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.email-form input, .email-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.email-form input::placeholder, .email-form textarea::placeholder {
    color: var(--text-muted);
}

.email-form input:focus, .email-form textarea:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

.email-form button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    background-color: var(--primary-accent);
    color: #000;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 1rem;
}

.email-form button:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   4. Responsive Video Embed Container
   ========================================================================== */

.video-caption {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2.5rem;
}

/* ==========================================================================
   5. Glowing Video Effect
   ========================================================================== */

.glowing-video-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.glowing-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-accent), #d32f2f);
    transform: scale(1.1);
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    animation: glow-pulse 10s ease-in-out infinite alternate;
}

.glowing-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

@keyframes glow-pulse {
    from {
        opacity: 0.5;
        transform: scale(1.05);
    }
    to {
        opacity: 0.7;
        transform: scale(1.15);
    }
}

/* ==========================================================================
   6. Navigation Link Hover Effect
   ========================================================================== */

.nav-link {
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 5px 0;
    display: inline-block;
}

.nav-link:hover {
    transform: translateY(-3px);
}

.nav-link:not(.active):hover {
    color: #fff;
}

.nav-link.active {
    color: var(--primary-accent);
}

/* ==========================================================================
   7. Bio Section Styles
   ========================================================================== */

.bio-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bio-image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.bio-image-wrapper:hover .bio-image img {
    transform: scale(1.05);
}

.bio-text h3 {
    margin-top: 0;
    font-size: 2rem;
}

.bio-text p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.bio-text p:last-of-type {
    margin-bottom: 2.5rem;
}

.artist-alias {
    color: var(--primary-accent);
    font-weight: 600;
}

.bio-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--primary-accent);
    border-radius: 8px;
    color: var(--primary-accent);
    background-color: transparent;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.action-button:hover {
    background-color: var(--primary-accent);
    color: #000;
}

@media (max-width: 800px) {
    .bio-container {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    .bio-text {
        text-align: center;
    }
    .bio-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    .bio-actions {
        justify-content: center;
    }
}

/* ==========================================================================
   8. Glowing Card Effect
   ========================================================================== */

.glowing-card {
    position: relative;
    z-index: 1;
}

.glowing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-accent), #d32f2f);
    transform: scale(1.05);
    filter: blur(90px);
    opacity: 0.2;
    z-index: -1;
    animation: glow-pulse 12s ease-in-out infinite alternate;
    border-radius: 15px;
}

/* ==========================================================================
   9. Visual Art Page Styles
   ========================================================================== */

.visual-art-text {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: left;
    line-height: 1.8;
}

.visual-art-text h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (max-width: 800px) {
    .visual-art-text {
        text-align: center;
    }
}

/* ==========================================================================
   10. RESPONSIVE NAVIGATION
   ========================================================================== */

body.nav-open {
    overflow: hidden;
}

.nav-toggle {
    display: none;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
        padding: .5em;
        background: transparent;
        border: 0;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .hamburger {
        display: block;
        position: relative;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        background: var(--text-light);
        width: 2em;
        height: 3px;
        border-radius: 1em;
        transition: transform 250ms ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
    }

    .hamburger::before { top: 7px; }
    .hamburger::after { bottom: 7px; }

    .nav-menu {
        position: fixed;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        color: var(--text-light);
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 100vh;
        transform: translateX(100%);
        transition: transform 250ms cubic-bezier(.5, 0, .5, 1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .nav-menu--visible {
        transform: translateX(0);
    }

    .nav-menu .nav-link {
        font-size: 1.5rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        opacity: 1;
    }

    .nav-menu .dropdown-menu {
        position: static;
        display: none;
        background: none;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        text-align: center;
        margin-top: 1rem;
    }

    .nav-menu .dropdown.open .dropdown-menu {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-menu .dropdown-item {
        font-size: 1.2rem;
        color: var(--text-muted);
    }

    .nav-open .hamburger {
        transform: rotate(.625turn);
    }

    .nav-open .hamburger::before {
        transform: rotate(90deg) translateX(-7px);
    }

    .nav-open .hamburger::after {
        opacity: 0;
    }
}

/* ==========================================================================
   11. Carousel Play Button Overlay
   ========================================================================== */

.play-overlay {
    position: absolute;
    z-index: 11;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.play-overlay:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.play-overlay i {
    font-size: 40px;
    color: white;
    margin-left: 5px;
}

/* ==========================================================================
   12. Welcome Overlay
   ========================================================================== */

#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.5s ease-out;
}

.welcome-content {
    animation: fadeIn 1.5s ease-in-out;
}

.welcome-content h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    margin-bottom: 0.5rem;
}

.welcome-content p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

#enter-site-btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

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



/* ==========================================================================
   13. Press Kit Call to Action Section
   ========================================================================== */
.press-kit-cta {
    display: flex;          /* ✅ Use Flexbox for alignment */
    justify-content: center;/* ✅ Center the button horizontally */
    align-items: center;    /* ✅ Center the button vertically (good practice) */
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.press-kit-cta p {
    max-width: 700px;
    margin: 1rem auto 2rem auto; /* Center text and add spacing below */
    color: var(--text-muted);
    line-height: 1.6;
}