/* ========== BASE STYLES ========== */
:root {
    --content-padding: 5%;
    --section-spacing: 15px;
    --large-spacing: 40px;
    --small-spacing: 20px;
    --accent-color: #00bfff;
    --text-primary: #fff;
    --text-secondary: #eee;
    --text-muted: #ccc;
    --bg-primary: black;
    --bg-secondary: white;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.6s;
    --font-size-caption: 1rem;
    --font-family-caption: 'Georgia', serif;
    --font-weight-caption: 400;
    --text-max-width: 700px;
}

body {
    background-color: var(--bg-primary);
    font-family: var(--body-font), var(--fallback-fonts);
    margin: 0;
    padding: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* ========== NAVIGATION ========== */
.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--bg-secondary);
    color: var(--bg-primary);
    padding: 15px 30px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--header-font), var(--fallback-fonts);
    font-size: var(--font-size-logo);
    font-weight: var(--font-weight-bold);
    color: var(--bg-primary);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
    position: relative;
    display: inline-block;
}

.logo:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.logo::after,
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-fast) ease;
}

.logo:hover::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--body-font), var(--fallback-fonts);
    color: var(--bg-primary);
    text-decoration: none;
    font-size: var(--font-size-nav);
    transition: color var(--transition-fast);
    position: relative;
    display: inline-block;
}

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



/* ========== HERO SECTION ========== */
.hero {
    margin-top: 60px;
    margin-bottom: var(--section-spacing);
    padding: 0 var(--content-padding);
}

@media (max-width: 768px) {
    .hero {
        margin-top: 30px;
        padding: 0 2vw;
    }
}

.hero h1 {
    font-family: var(--header-font), var(--fallback-fonts);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-h1);
    margin-bottom: var(--small-spacing);
    color: var(--text-primary);
}

.hero h2 {
    font-family: var(--header-font), var(--fallback-fonts);
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-large);
    margin-bottom: 30px;
    width: 100%;
    color: var(--text-muted);
}

/* ========== MAIN CONTENT SECTIONS ========== */
.section {
    margin-bottom: var(--section-spacing);
    padding: 0 var(--content-padding);
}

.section h2 {
    font-family: var(--header-font), var(--fallback-fonts);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-h2);
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.section p {
    font-family: var(--body-font), var(--fallback-fonts);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    margin-bottom: var(--small-spacing);
    max-width: var(--text-max-width);
    color: var(--text-secondary);
}

.full-width {
    max-width: 97% !important;
}

/* ========== MEDIA COMPONENTS ========== */
.video-container {
    width: 100%;
    height: 75vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-color: black;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.video-container video {
    width: 100%;
    max-height: 75vh;
    display: block;
    object-fit: cover;
}

/* Full-width images */
.full-width-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

.full-width-image {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ========== LAYOUT COMPONENTS ========== */
.fifty-fifty-split {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    gap: var(--large-spacing);
}

.left-column,
.right-column {
    flex: 1;
    max-width: 50%;
}

.right-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.music-link {
    font-family: var(--body-font), var(--fallback-fonts);
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.music-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ========== GRID IMAGE LAYOUTS ========== */
.text-with-grid-images {
    display: flex;
    gap: 30px;
    margin-bottom: var(--large-spacing);
    justify-content: space-between;
}

.text-content {
    flex: 0 1 45%;
}

.text-content h2 {
    margin-top: 0;
}

.image-grid {
    flex: 0 0 50%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top-row,
.bottom-row {
    display: flex;
    gap: 15px;
}

.grid-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

.img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    /* Remove these two lines: */
    /* aspect-ratio: 16/9; */
    /* overflow: hidden; */
    border-radius: 6px;
    box-shadow: var(--shadow-light);
}

.img-container img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    object-position: center;
}

.image-caption {
    text-align: center;
    width: 100%;
    margin-top: 8px;
    color: var(--text-muted, #888);
    font-size: 1rem;
}

/* Responsive adjustments for captions */
@media (max-width: 1024px) {
    .image-caption {
        font-size: 0.9rem;
        max-width: 95vw;
    }
}

@media (max-width: 768px) {
    .image-caption {
        font-size: 0.8rem;
        max-width: 100vw;
    }
}

@media (max-width: 480px) {
    .image-caption {
        font-size: 0.7rem;
        max-width: 100vw;
    }
}

/* Text with side image layout */
.text-with-image {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: var(--large-spacing);
    justify-content: space-between;
}

.side-image {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: var(--shadow-light);
}

/* ========== POSTER LAYOUT ========== */
.text-with-image.poster-layout {
    display: flex;
    align-items: flex-start;
    gap: var(--large-spacing);
    margin-bottom: var(--large-spacing);
    padding: 0 var(--content-padding);
}

.text-with-image.poster-layout .text-wrapper {
    flex: 1;
    max-width: var(--text-max-width);
}

.text-with-image.poster-layout p {
    margin-bottom: var(--small-spacing);
}

.text-with-image.poster-layout .side-image.vertical {
    flex: 0 0 auto;
    margin-left: var(--large-spacing);
}

.text-with-image.poster-layout .side-image.vertical img {
    max-height: 580px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    margin-left: 0;
}

/* Feature layout for special content */
.text-with-image.feature-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--large-spacing);
    margin-bottom: var(--large-spacing);
}

.text-with-image.feature-layout p {
    flex: 0 1 60%;
    margin: 0;
    max-width: var(--text-max-width);
}

.text-with-image.feature-layout .side-image {
    flex: 0 1 35%;
    margin: 0;
    margin-left: auto;
    max-width: none;
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

/* ========== VIDEO CAROUSEL STYLES ========== */
.video-carousel-section {
    margin: var(--large-spacing) 0 100px 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-carousel {
    position: relative;
    width: 70%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #000;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: all var(--transition-slow) ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.carousel-item.prev {
    opacity: 0.4;
    z-index: 2;
    transform: scale(0.6);
    left: -40%;
}

.carousel-item.next {
    opacity: 0.4;
    z-index: 2;
    transform: scale(0.6);
    left: 40%;
}

/* Carousel caption (renamed to avoid conflict) */
.carousel-caption {
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 0 0 8px 8px;
    margin-top: 0;
}

/* YouTube embed: fill parent */
.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    overflow: hidden;
}

.youtube-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Navigation controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: background var(--transition-fast);
}



.carousel-control:hover {
    background: rgba(0, 191, 255, 0.7);
}

.carousel-control.prev {
    left: -75px;
}

.carousel-control.next {
    right: -75px;
}

/* Indicator dots */
.carousel-indicators {
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 5;
    bottom: -20px;
    /* moved up for tighter spacing */
    left: 0;
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background: var(--border-subtle);
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.indicator.active {
    background: var(--accent-color);
}

/* ========== RESPONSIVE VIDEO CAROUSEL ========== */
@media (max-width: 1024px) {
    .video-carousel {
        width: 95vw;
        max-width: 100vw;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 0;
    }

    .carousel-caption {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}

@media (max-width: 768px) {
    .video-carousel-section {
        margin: 20px 0 40px 0;
    }

    .video-carousel {
        width: 100vw;
        max-width: 100vw;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-caption {
        font-size: 0.8rem;
        padding: 7px 0;
    }
}

@media (max-width: 480px) {
    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .carousel-caption {
        font-size: 0.7rem;
        padding: 6px 0;
    }
}

/* ========== SOCIAL LINKS ========== */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 60px auto 20px;
    padding: 15px 0 0;
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-intro {
    color: white;
    font-family: var(--body-font), var(--fallback-fonts);
    font-size: var(--font-size-body);
    text-align: center;
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-weight: 300;
}

.social-links-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.social-link {
    color: white;
    text-decoration: none;
    font-family: var(--body-font), var(--fallback-fonts);
    font-size: var(--font-size-social-link);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    color: #00bfff;
}

.social-link i {
    width: 20px;
    text-align: center;
}

/* ========== TRANSITIONS & ANIMATIONS ========== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
    opacity: 1;
    /* Overlay is visible by default */
    pointer-events: all;
    transition: opacity 0.5s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

.fade-in-animation {
    animation: fadeIn 0.8s ease-in-out forwards;
}

.no-animation {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========== RESPONSIVE GENERAL ========== */
/* Add your other responsive rules here as needed */