/* wwwroot/css/home.css */

/* --- Ensure CSS variables from site.css (:root) are available --- */
/* These variables (:root) should be defined in site.css */

/* --- Homepage Background: Fullscreen Logo --- */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: url('/images/logo.webp') no-repeat center center fixed;
    background-size: cover;
    background-color: #181818;
    position: relative;
}

/* --- Overlay and Blur only on main content, not footer --- */
.background-overlay-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh; /* Ensures overlay covers at least the viewport */
}

    .background-overlay-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,0.18); /* Lighter overlay for readability */
        backdrop-filter: blur(8px); /* Blur for clarity */
        z-index: 0;
        pointer-events: none;
    }

    /* Ensure all main content is above the overlay */
    .background-overlay-wrapper > * {
        position: relative;
        z-index: 1;
    }

/* Add a subtle background to main content for extra clarity */
.main-content, .homepage-content {
    background: rgba(24,24,24,0.72);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.12);
    padding: 0;
    margin: 2vw auto;
    max-width: 1200px;
    margin-top: 0;
}

/* --- Responsive Navigation --- */
.site-header {
    width: 100%;
    background: rgba(24,24,24,0.96);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* --- Homepage Specific Styles --- */

/* Hero Section Styles - FULL WIDTH FIX, NO BG, LARGER LOGO */
.hero-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.45) blur(1.5px);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(24,24,24,0.7) 0%, rgba(44,26,63,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6vw 2vw 0 2vw;
}

.hero-section-title {
    font-family: 'Bebas Neue', 'Oswald', Arial, sans-serif;
    font-size: clamp(5.5em, 15vw, 11.2em);
    margin: 0.1em 0;
    color: #fff;
    filter: none; /* Remove drop-shadow for sharpness */
    text-shadow: 0 0 5px #fa2a55, 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, #fa2a55 20%, #fff 70%, #3a7bd5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.08em;
    font-weight: 900;
    text-transform: uppercase;
}

.tagline {
    font-size: clamp(1.2em, 4vw, 2.2em);
    font-style: italic;
    color: #fff;
    font-weight: 700;
    margin-top: 0.4em;
    text-shadow: 0 2px 8px #000, 0 0 4px #fa2a55, 0 1px 0 rgba(0,0,0,0.5);
    letter-spacing: 0.04em;
    background: rgba(24,24,24,0.3);
    border-radius: 0.5em;
    padding: 0.2em 1em;
    display: inline-block;
    max-width: 90vw;
}

/* Homepage Specific Content Container */
.homepage-content {
    /* Padding/margins handled by .content-section:first-of-type in site.css */
}

/* Featured Track Styles (within .content-section) - UPDATED for Visualizer */
.featured-track {
    position: relative;
    overflow: hidden;
    padding-bottom: 2em;
    border-left-color: var(--primary-orange);
}

    .featured-track h2 {
        color: var(--primary-orange);
        border-bottom-color: var(--primary-orange);
        margin-bottom: 1.5em;
    }

/* Style for the visualizer canvas */
.featured-track-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.85;
    /* Optional: filter: blur(1px); */
}

/* Wrapper for the audio player */
.featured-audio-wrapper {
    position: relative;
    z-index: 1;
    background-color: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(3px);
    padding: 1em;
    border-radius: 8px;
    max-width: 80%;
    margin: 1em auto 0 auto;
}

    .featured-audio-wrapper audio#featured-audio {
        width: 100%;
        display: block;
        border-radius: 5px;
        filter: invert(90%) sepia(10%) saturate(1000%) hue-rotate(180deg);
    }

/* Short Bio Styles (within .content-section) */
.short-bio p {
    line-height: 1.7;
    color: var(--medium-text);
    font-size: clamp(0.95em, 2.5vw, 1.05em);
}

/* Latest News Section Styles (within .content-section) */
.latest-news {
    border-left-color: var(--vibrant-pink);
}

    .latest-news h2 {
        color: var(--vibrant-pink);
        border-bottom-color: var(--vibrant-pink);
    }

.news-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    align-items: center;
}

.news-image {
    flex: 1 1 180px;
    max-width: 250px;
}

    .news-image img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

.news-details {
    flex: 2 1 300px;
}

    .news-details h3 {
        margin-top: 0;
        font-size: clamp(1.3em, 4vw, 1.6em);
        color: var(--primary-orange);
    }

    .news-details p {
        line-height: 1.6;
        color: var(--medium-text);
        margin-bottom: 1.5em;
        font-size: clamp(0.9em, 2.5vw, 1em);
    }

.news-cta {
    background-color: var(--vibrant-pink);
    color: var(--light-text);
}

    .news-cta:hover {
        background-color: #c2185b;
    }

/* Vocalist Search Section Styles (within .content-section) - VIBRANCY INCREASED */
.vocalist-search-section {
    border-left-color: var(--vibrant-pink);
    background-color: rgba(42, 42, 42, 0.85);
    border-top: 1px solid var(--vibrant-pink);
    border-bottom: 1px solid var(--vibrant-pink);
    padding-top: 2.5em;
    padding-bottom: 2.5em;
}

    .vocalist-search-section h2 {
        color: #ff4da6;
        border-bottom-color: #ff4da6;
        text-align: center;
        font-size: clamp(1.6em, 4.5vw, 2em);
        text-shadow: 0 0 8px rgba(255, 77, 166, 0.5);
    }

.vocalist-search-content p {
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 1.2em;
    font-size: clamp(1em, 2.5vw, 1.1em);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

    .vocalist-search-content p:last-of-type {
        margin-bottom: 1.8em;
    }

.vocalist-search-content .cta-wrapper {
    text-align: center;
}

.vocalist-cta {
    background-color: #ff4da6;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    padding: 0.9em 2em;
    font-size: clamp(1em, 2.8vw, 1.1em);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

    .vocalist-cta:hover {
        background-color: #e91e63;
        box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
        transform: translateY(-2px);
    }

    .vocalist-cta i {
        margin-right: 0.5em;
    }

/* Section Previews Styles (within .content-section) */
.section-previews {
    border-left-color: var(--primary-orange);
}

    .section-previews h2 {
        color: var(--primary-orange);
        border-bottom-color: var(--primary-orange);
    }

/* UPDATED: Explore Section Grid Layout (2x2) */
.previews-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}

.preview-item {
    background-color: var(--card-bg);
    padding: 1.5em;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

    .preview-item:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .preview-item h3 {
        margin-top: 0;
        flex-shrink: 0;
    }

        .preview-item h3 a {
            color: var(--primary-orange);
            text-decoration: none;
            margin-bottom: 0.7em;
            display: block;
            font-size: clamp(1.1em, 3vw, 1.3em);
            transition: color 0.3s ease;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
        }

            .preview-item h3 a:hover {
                color: var(--light-text);
                text-shadow: 0 0 5px var(--primary-orange);
            }

    .preview-item p {
        font-size: clamp(0.85em, 2.2vw, 0.95em);
        color: var(--medium-text);
        line-height: 1.6;
        flex-grow: 1;
        margin-bottom: 0;
    }

/* --- Responsive Adjustments Specific to Homepage --- */


/* MOBILE FIXES */
@media (max-width: 768px) {
    .hero-section {
        position: relative;
        left: unset;
        right: unset;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }

    .main-content,
    .homepage-content {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
}
