/* ================================
   Moana Landing Page - Main Styles
   Rainbow Arts – Pixel to Life
   ================================ */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-blue: #003049;
    --turquoise: #00A6A6;
    --coral: #FF7F50;
    --soft-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--soft-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--ocean-blue);
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.quote {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== BUTTONS ===== */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--coral) 0%, #FF9A70 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4);
}

.cta-secondary {
    background: linear-gradient(135deg, var(--turquoise) 0%, #00C9C9 100%);
    box-shadow: 0 4px 15px rgba(0, 166, 166, 0.3);
}

.cta-secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 166, 166, 0.4);
}

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

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, #004d6d 50%, var(--turquoise) 100%);
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23003049;stop-opacity:1" /><stop offset="50%" style="stop-color:%23004d6d;stop-opacity:1" /><stop offset="100%" style="stop-color:%2300A6A6;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad)"/><circle cx="200" cy="150" r="80" fill="%23ffffff" opacity="0.05"/><circle cx="900" cy="400" r="120" fill="%23ffffff" opacity="0.03"/><circle cx="600" cy="500" r="60" fill="%23ffffff" opacity="0.07"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 48, 73, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

/* Hero Logos */
.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.moana-logo {
    /* Moana logo specific styles */
}

.rainbow-logo {
    /* Rainbow Arts logo specific styles */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== WHO IS MOANA SECTION ===== */
.who-section {
    padding: 6rem 0;
    background-color: white;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.who-text h2 {
    margin-bottom: 1.5rem;
}

.counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.counter-item {
    text-align: center;
}

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
}

.who-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--ocean-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0, 48, 73, 0.2);
}

.portrait {
    max-width: 400px;
}

.portrait-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 48, 73, 0.2);
    object-fit: cover;
}

/* ===== MISSION / PARTNERSHIP SECTION ===== */
.mission-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 166, 166, 0.08) 0%, rgba(0, 166, 166, 0.15) 100%);
}

.mission-content {
    text-align: center;
    padding: 3rem 2rem;
}

.mission-content h2 {
    margin-bottom: 2rem;
}

.mission-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

.partnership-subheader {
    font-size: 1.5rem;
    color: var(--ocean-blue);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: left;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 48, 73, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 166, 166, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.15rem;
    color: var(--ocean-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.benefit-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

.ai-statement {
    max-width: 800px;
    margin: 3rem auto 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    border-left: 4px solid var(--turquoise);
}

.ai-statement .quote {
    font-size: 1.1rem;
    margin: 0;
}

.ai-statement strong {
    color: var(--ocean-blue);
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    padding: 6rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.impact-card {
    text-align: left;
    padding: 3rem 2.5rem;
    background: var(--soft-white);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-left: 4px solid var(--turquoise);
}

.impact-card:hover {
    transform: translateY(-5px);
    border-color: var(--turquoise);
    box-shadow: 0 10px 30px rgba(0, 166, 166, 0.15);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.impact-step {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 1.25rem;
}

.impact-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.impact-description strong {
    color: var(--ocean-blue);
    font-weight: 600;
}

/* ===== PARTNERSHIPS SECTION ===== */
.partnerships-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 48, 73, 0.03) 0%, rgba(0, 48, 73, 0.08) 100%);
}

.partnerships-content {
    text-align: center;
}

.partnerships-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.logo-placeholder {
    width: 150px;
    height: 100px;
    background: white;
    border: 2px dashed var(--turquoise);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--turquoise);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== MEDIA SECTION ===== */
.media-section {
    padding: 6rem 0;
    background-color: white;
}

.media-content {
    text-align: center;
}

.media-content h2 {
    margin-bottom: 3rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 48, 73, 0.2);
}

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

.video-caption {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 127, 80, 0.08) 0%, rgba(255, 127, 80, 0.15) 100%);
}

.contact-content {
    text-align: center;
}

.contact-content h2 {
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 2.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ===== SOCIAL MEDIA BAR ===== */
.social-media-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.contact-logo {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rainbow-arts-footer-logo {
    max-width: 300px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.rainbow-arts-footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 48, 73, 0.1);
    text-decoration: none;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Instagram */
.social-icon.instagram svg {
    color: #E4405F;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4);
}

.social-icon.instagram:hover svg {
    color: white;
}

/* Threads */
.social-icon.threads {
    background: #000000;
}

.social-icon.threads svg {
    color: white;
}

.social-icon.threads:hover {
    background: #000000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.social-icon.threads:hover svg text {
    fill: white;
}

/* YouTube */
.social-icon.youtube svg {
    color: #FF0000;
}

.social-icon.youtube:hover {
    background: #FF0000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.social-icon.youtube:hover svg {
    color: white;
}

/* Patreon */
.social-icon.patreon {
    background: #000000;
}

.social-icon.patreon svg {
    color: white;
}

.social-icon.patreon:hover {
    background: #000000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.social-icon.patreon:hover svg text {
    fill: white;
}

/* Spotify */
.social-icon.spotify svg {
    color: #1DB954;
}

.social-icon.spotify:hover {
    background: #1DB954;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.4);
}

.social-icon.spotify:hover svg {
    color: white;
}

/* Facebook */
.social-icon.facebook svg {
    color: #1877F2;
}

.social-icon.facebook:hover {
    background: #1877F2;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-icon.facebook:hover svg {
    color: white;
}

/* ===== FOOTER ===== */
.footer {
    padding: 2.5rem 0;
    background-color: var(--ocean-blue);
    color: white;
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Legal Links */
.legal-links {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.legal-link {
    color: #888888;
    text-decoration: none;
    font-style: italic;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--turquoise);
    text-decoration: underline;
}

.legal-separator {
    color: #888888;
    margin: 0 0.5rem;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 48, 73, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 700px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-medium);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--coral);
}

.modal-content h2 {
    color: var(--ocean-blue);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.modal-body {
    color: var(--text-dark);
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--ocean-blue);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body a {
    color: var(--turquoise);
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

.modal-body em {
    font-style: italic;
    color: var(--text-medium);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    h2 {
        font-size: 2rem;
    }

    .hero-logos {
        gap: 1.5rem;
    }

    .hero-logo {
        height: 90px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .who-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .who-image {
        order: -1;
    }

    .counters {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .logo-row {
        gap: 1.5rem;
    }

    .logo-placeholder {
        width: 120px;
        height: 80px;
    }

    .modal-content {
        margin: 10% 1rem;
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .container, .container-narrow {
        padding: 0 1.5rem;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-logos {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-logo {
        height: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .who-section,
    .mission-section,
    .impact-section,
    .partnerships-section,
    .media-section,
    .contact-section {
        padding: 4rem 0;
    }

    h2 {
        font-size: 1.75rem;
    }

    .counters {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .mission-intro {
        font-size: 1rem;
    }

    .partnership-subheader {
        font-size: 1.3rem;
    }

    .ai-statement {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .social-media-bar {
        gap: 1.2rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon svg {
        width: 22px;
        height: 22px;
    }

    .logo-row {
        gap: 1rem;
    }

    .logo-placeholder {
        width: 100px;
        height: 70px;
        font-size: 0.8rem;
    }

    .modal-content {
        margin: 5% 1rem;
        padding: 1.5rem;
    }

    .modal-close {
        right: 1rem;
        top: 1rem;
        font-size: 1.75rem;
    }

    .legal-links {
        font-size: 0.8rem;
    }

    .rainbow-arts-footer-logo {
        max-width: 200px;
    }
}

/* ===== PRINT OPTIMIZATION ===== */
@media print {
    .scroll-indicator {
        display: none;
    }
    
    .hero-section {
        height: auto;
        min-height: 400px;
    }
    
    .fade-in-up {
        opacity: 1;
        transform: translateY(0);
    }
}
