/* style/hiphop-theme-music-collaboration-cases.css */

/* Variables for consistent styling */
:root {
    --page-hiphop-primary-color: #0A192F; /* Dark Blue */
    --page-hiphop-secondary-color: #E0B400; /* Golden Yellow */
    --page-hiphop-text-light: #FFFFFF;
    --page-hiphop-text-dark: #0A192F; /* Use primary color for dark text on light backgrounds */
    --page-hiphop-text-dark-contrast: #333333; /* A slightly softer dark for general text */
    --page-hiphop-bg-light: #F8F8F8; /* Light background for sections */
}

.page-hiphop-theme-music-collaboration-cases {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-hiphop-text-dark-contrast); /* Default text color for light backgrounds */
    background-color: var(--page-hiphop-bg-light);
}

.page-hiphop-theme-music-collaboration-cases__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-hiphop-theme-music-collaboration-cases__hero {
    position: relative;
    background: var(--page-hiphop-primary-color); /* Dark blue background */
    color: var(--page-hiphop-text-light);
    padding: 100px 0; /* Adjusted padding for better visual */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-hiphop-theme-music-collaboration-cases__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
}

.page-hiphop-theme-music-collaboration-cases__hero .page-hiphop-theme-music-collaboration-cases__container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-hiphop-theme-music-collaboration-cases__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-hiphop-secondary-color); /* Golden yellow for emphasis */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hiphop-theme-music-collaboration-cases__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--page-hiphop-text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-hiphop-theme-music-collaboration-cases__section {
    padding: 80px 0;
}

.page-hiphop-theme-music-collaboration-cases__section:nth-of-type(even) {
    background-color: var(--page-hiphop-primary-color);
    color: var(--page-hiphop-text-light);
}

.page-hiphop-theme-music-collaboration-cases__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
    color: inherit; /* Inherit color from parent section */
}

.page-hiphop-theme-music-collaboration-cases__section:nth-of-type(even) .page-hiphop-theme-music-collaboration-cases__section-title {
    color: var(--page-hiphop-secondary-color);
}

/* Introduction Section */
.page-hiphop-theme-music-collaboration-cases__intro p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-hiphop-theme-music-collaboration-cases__intro .page-hiphop-theme-music-collaboration-cases__container p {
    color: var(--page-hiphop-text-dark-contrast);
}

.page-hiphop-theme-music-collaboration-cases__intro:nth-of-type(even) .page-hiphop-theme-music-collaboration-cases__container p {
    color: var(--page-hiphop-text-light);
}

/* Case Studies Section */
.page-hiphop-theme-music-collaboration-cases__case-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-hiphop-theme-music-collaboration-cases__case-item:last-child {
    margin-bottom: 0;
}

.page-hiphop-theme-music-collaboration-cases__case-item--reverse {
    flex-direction: row-reverse;
}

.page-hiphop-theme-music-collaboration-cases__case-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-hiphop-theme-music-collaboration-cases__case-content {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.page-hiphop-theme-music-collaboration-cases__case-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-hiphop-primary-color); /* Dark blue for titles on light background */
}

.page-hiphop-theme-music-collaboration-cases__case-item:nth-of-type(even) .page-hiphop-theme-music-collaboration-cases__case-title {
    color: var(--page-hiphop-secondary-color); /* Golden yellow for titles on dark background */
}

.page-hiphop-theme-music-collaboration-cases__case-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    text-align: justify;
}

/* Impact Section */
.page-hiphop-theme-music-collaboration-cases__impact p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Call to Action Section */
.page-hiphop-theme-music-collaboration-cases__cta {
    background-color: var(--page-hiphop-secondary-color); /* Golden yellow background */
    color: var(--page-hiphop-text-dark); /* Dark text on golden background */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hiphop-theme-music-collaboration-cases__cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    z-index: 1;
}

.page-hiphop-theme-music-collaboration-cases__cta .page-hiphop-theme-music-collaboration-cases__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-hiphop-theme-music-collaboration-cases__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-hiphop-text-dark); /* Dark blue on golden background */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3);
}

.page-hiphop-theme-music-collaboration-cases__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-hiphop-text-dark-contrast); /* Slightly lighter dark for readability */
}

.page-hiphop-theme-music-collaboration-cases__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-hiphop-theme-music-collaboration-cases__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    white-space: nowrap;
}

.page-hiphop-theme-music-collaboration-cases__btn--primary {
    background-color: var(--page-hiphop-primary-color);
    color: var(--page-hiphop-secondary-color); /* Golden text on dark blue button */
    border: 2px solid var(--page-hiphop-primary-color);
}

.page-hiphop-theme-music-collaboration-cases__btn--primary:hover {
    background-color: #05101f; /* Slightly darker primary */
    transform: translateY(-3px);
}

.page-hiphop-theme-music-collaboration-cases__btn--secondary {
    background-color: transparent;
    border: 2px solid var(--page-hiphop-primary-color);
    color: var(--page-hiphop-primary-color);
}

.page-hiphop-theme-music-collaboration-cases__btn--secondary:hover {
    background-color: var(--page-hiphop-primary-color);
    color: var(--page-hiphop-secondary-color);
    transform: translateY(-3px);
}

/* Ensure contrast for buttons in specific sections */
.page-hiphop-theme-music-collaboration-cases__section:nth-of-type(even) .page-hiphop-theme-music-collaboration-cases__btn--secondary {
    border-color: var(--page-hiphop-text-light);
    color: var(--page-hiphop-text-light);
}

.page-hiphop-theme-music-collaboration-cases__section:nth-of-type(even) .page-hiphop-theme-music-collaboration-cases__btn--secondary:hover {
    background-color: var(--page-hiphop-text-light);
    color: var(--page-hiphop-primary-color);
}

/* Ensure contrast for buttons in CTA section */
.page-hiphop-theme-music-collaboration-cases__cta .page-hiphop-theme-music-collaboration-cases__btn--primary {
    background-color: var(--page-hiphop-primary-color);
    color: var(--page-hiphop-secondary-color);
    border-color: var(--page-hiphop-primary-color);
}

.page-hiphop-theme-music-collaboration-cases__cta .page-hiphop-theme-music-collaboration-cases__btn--primary:hover {
    background-color: #05101f;
}

.page-hiphop-theme-music-collaboration-cases__cta .page-hiphop-theme-music-collaboration-cases__btn--secondary {
    border-color: var(--page-hiphop-primary-color);
    color: var(--page-hiphop-primary-color);
}

.page-hiphop-theme-music-collaboration-cases__cta .page-hiphop-theme-music-collaboration-cases__btn--secondary:hover {
    background-color: var(--page-hiphop-primary-color);
    color: var(--page-hiphop-secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-hiphop-theme-music-collaboration-cases__hero-title {
        font-size: 2.8em;
    }
    .page-hiphop-theme-music-collaboration-cases__hero-subtitle {
        font-size: 1.3em;
    }
    .page-hiphop-theme-music-collaboration-cases__section-title {
        font-size: 2em;
    }
    .page-hiphop-theme-music-collaboration-cases__case-item {
        flex-direction: column;
        text-align: center;
    }
    .page-hiphop-theme-music-collaboration-cases__case-item--reverse {
        flex-direction: column;
    }
    .page-hiphop-theme-music-collaboration-cases__case-image,
    .page-hiphop-theme-music-collaboration-cases__case-content {
        max-width: 100%;
    }
    .page-hiphop-theme-music-collaboration-cases__cta-title {
        font-size: 2.5em;
    }
    .page-hiphop-theme-music-collaboration-cases__cta-description {
        font-size: 1.1em;
    }
    .page-hiphop-theme-music-collaboration-cases__cta-buttons {
        flex-direction: column;
    }
    .page-hiphop-theme-music-collaboration-cases__btn {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-hiphop-theme-music-collaboration-cases__hero {
        padding: 80px 0;
        min-height: 400px;
    }
    .page-hiphop-theme-music-collaboration-cases__hero-title {
        font-size: 2.2em;
    }
    .page-hiphop-theme-music-collaboration-cases__hero-subtitle {
        font-size: 1.1em;
    }
    .page-hiphop-theme-music-collaboration-cases__section {
        padding: 60px 0;
    }
    .page-hiphop-theme-music-collaboration-cases__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-hiphop-theme-music-collaboration-cases__case-title {
        font-size: 1.5em;
    }
    .page-hiphop-theme-music-collaboration-cases__cta {
        padding: 80px 0;
    }
    .page-hiphop-theme-music-collaboration-cases__cta-title {
        font-size: 2em;
    }
    .page-hiphop-theme-music-collaboration-cases__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-hiphop-theme-music-collaboration-cases__hero-title {
        font-size: 1.8em;
    }
    .page-hiphop-theme-music-collaboration-cases__hero-subtitle {
        font-size: 1em;
    }
    .page-hiphop-theme-music-collaboration-cases__btn {
        padding: 12px 20px;
        font-size: 1em;
        width: 90%;
    }
    .page-hiphop-theme-music-collaboration-cases__case-image {
        min-width: unset;
    }
}

/* Ensure link styles for text within paragraphs */
.page-hiphop-theme-music-collaboration-cases p a {
    color: var(--page-hiphop-secondary-color); /* Golden yellow for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-hiphop-theme-music-collaboration-cases p a:hover {
    color: #f0c830; /* Slightly lighter golden on hover */
    text-decoration: none;
}

.page-hiphop-theme-music-collaboration-cases__section:nth-of-type(even) p a {
    color: var(--page-hiphop-text-light); /* White links on dark background */
}

.page-hiphop-theme-music-collaboration-cases__section:nth-of-type(even) p a:hover {
    color: var(--page-hiphop-secondary-color); /* Golden on hover for dark sections */
}

/* Scroll animations */
.page-hiphop-theme-music-collaboration-cases__section,
.page-hiphop-theme-music-collaboration-cases__hero {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.page-hiphop-theme-music-collaboration-cases__hero {
    transform: translateY(-20px); /* Hero animates from top */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.page-hiphop-theme-music-collaboration-cases__section.is-visible,
.page-hiphop-theme-music-collaboration-cases__hero.is-visible {
    opacity: 1;
    transform: translateY(0);
}