/* ===== CSS VARIABLES ===== */
:root {
    /* Card Background Colors (matching dynamic site) */
    --color-home: #FEDC6E;
    --color-land: #ABD777;
    --color-thanks: #77BBE2;
    --color-artists: #C3E7E5;
    --color-visit: #DA7DB3;

    /* Text Colors (matching dynamic site) */
    --color-text-dark: #2D2B3A;
    --color-text-light: #FDF6E3;
    --color-cream: #FDF6E3;

    /* Title word colors (matching dynamic site) */
    --color-dark: #E85D4C;
    --color-dingy: #4AC083;
    --color-underpass: #3B9FD8;

    /* Accent colors */
    --color-coral: #E85D4C;
    --color-purple: #6B4C9A;

    /* Typography (matching dynamic site) */
    --font-sans: 'Nunito', sans-serif;
    --font-display: 'Fredoka', sans-serif;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 20px;
    --section-padding-mobile: 60px 20px;
}

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

body {
    font-family: var(--font-sans);
    font-size: 18px;
    color: var(--color-text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--color-home);
}

body.scroll-locked {
    overflow: hidden;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== CARDS ===== */
.card {
    padding: var(--section-padding);
    position: relative;
}

/* Intro overlay with fade animation */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--color-home);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    animation: fadeOut 0.8s ease-out 3s forwards;
    pointer-events: auto;
}

.intro-overlay.faded {
    pointer-events: none;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        pointer-events: auto;
    }
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

.intro-quote {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-dark);
    text-align: center;
    line-height: 1.3;
    max-width: 800px;
    margin: 0;
    animation: fadeInQuote 0.6s ease-out 0.3s backwards;
}

@keyframes fadeInQuote {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-card {
    background-color: var(--color-home);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.land-card {
    background-color: var(--color-land);
    padding: 100px 20px;
}

.thanks-card {
    background-color: var(--color-thanks);
    padding: 100px 20px;
}

.artists-card {
    background-color: var(--color-artists);
    padding: 100px 20px;
}

.visit-card {
    background-color: var(--color-visit);
    padding: 100px 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: var(--font-display);
    margin-bottom: 24px;
}

.main-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    text-align: center;
}

.dark-text {
    color: var(--color-dark);
}

.dingy-text {
    color: var(--color-dingy);
}

.underpass-text {
    color: var(--color-underpass);
}

h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 32px;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

p {
    margin-bottom: 24px;
    font-size: 20px;
}

/* Dark text on all colored sections */
p {
    color: var(--color-text-dark);
}

.home-card .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== BUTTON GROUP ===== */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
    align-items: center;
}

.story-button {
    position: relative;
    display: block;
    width: 100%;
    max-width: 500px;
    text-decoration: none;
    border-radius: 114px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.story-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.story-button img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 110px;
    display: block;
}

.button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 36px;
    color: var(--color-text-light);
    text-shadow:
        -2px -2px 0 var(--color-text-dark),
        2px -2px 0 var(--color-text-dark),
        -2px 2px 0 var(--color-text-dark),
        2px 2px 0 var(--color-text-dark),
        0 4px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* ===== CURVE DIVIDER ===== */
.curve-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    margin-top: -1px;
    margin-bottom: -1px;
}

.curve-divider img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CADA LOGO ===== */
.cada-logo {
    max-width: 300px;
    margin: 0 auto 32px;
}

.cada-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: var(--color-cream);
    border-radius: 16px;
    padding: 20px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== SPONSOR GRID ===== */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--color-cream);
    border-radius: 16px;
    padding: 20px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== ARTIST BIOS ===== */
.artist-bio {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: var(--color-cream);
    border-radius: 24px;
    padding: 40px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.artist-bio:last-child {
    margin-bottom: 0;
}

.artist-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 4px solid var(--color-purple);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.artist-bio h3 {
    text-align: center;
    font-size: 28px;
}

.artist-role {
    font-weight: 400;
    font-size: 16px;
    color: var(--color-purple);
    display: block;
    margin-top: 4px;
}

.artist-website {
    margin-bottom: 20px;
    text-align: center;
}

.artist-website a {
    color: var(--color-underpass);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.artist-website a:hover {
    text-decoration: underline;
}

.artist-bio p:last-child {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    opacity: 0.85;
}

/* ===== MAP & VISIT ===== */
.visit-card .container {
    text-align: center;
}

.visit-card p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    max-width: 800px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.directions-button,
.report-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.directions-button {
    background-color: var(--color-cream);
    color: var(--color-text-dark);
}

.directions-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.report-button {
    background-color: var(--color-coral);
    color: var(--color-text-light);
}

.report-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(to top, rgba(245, 197, 24, 0.5), transparent);
    color: var(--color-text-dark);
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

footer a {
    color: var(--color-text-dark);
    font-weight: 600;
    text-decoration: none;
}

footer a:hover {
    color: var(--color-coral);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 768px) {
    .intro-quote {
        font-size: 36px;
    }

    .main-title {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    p {
        font-size: 18px;
    }

    .button-text {
        font-size: 28px;
    }

    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .map-container iframe {
        height: 350px;
    }

    .artist-bio {
        padding: 30px;
    }

    .artist-image {
        width: 120px;
        height: 120px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .intro-quote {
        font-size: 28px;
        padding: 0 16px;
    }

    .main-title {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .button-text {
        font-size: 24px;
    }

    .button-group {
        gap: 16px;
        margin-top: 32px;
    }

    .story-button img {
        height: 80px;
    }

    .sponsor-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .map-container iframe {
        height: 280px;
    }

    .card {
        padding: 60px 16px;
    }

    .land-card,
    .thanks-card,
    .artists-card,
    .visit-card {
        padding: 80px 16px;
    }

    .artist-bio {
        padding: 24px;
        margin-bottom: 40px;
    }

    .artist-image {
        width: 100px;
        height: 100px;
    }

    .artist-bio h3 {
        font-size: 22px;
    }

    .button-row {
        flex-direction: column;
        align-items: center;
    }

    .directions-button,
    .report-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ===== EAST WALL PAGE ===== */
.east-wall-page {
    background-color: #C77BA5;
    min-height: 100vh;
}

.east-wall-wave {
    width: 100%;
    line-height: 0;
}

.east-wall-wave svg {
    width: 100%;
    height: 60px;
}

.east-wall-card {
    background-color: #C77BA5;
    padding: 40px 20px 80px;
    min-height: calc(100vh - 60px);
}

.east-wall-container {
    max-width: 600px;
}

.back-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-dark);
    text-decoration: none;
    margin-bottom: 24px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.east-wall-card h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 32px;
}

.east-wall-card p {
    color: var(--color-text-dark);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.donate-button-container {
    margin-top: 40px;
    text-align: center;
}

.donate-button {
    display: inline-block;
    background-color: var(--color-text-dark);
    color: var(--color-text-light);
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.donate-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.east-wall-footer {
    background-color: #C77BA5;
    padding: 40px 20px;
    text-align: center;
}

.east-wall-footer p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-dark);
    opacity: 0.7;
}

.east-wall-footer a {
    color: var(--color-text-dark);
    font-weight: 600;
    text-decoration: none;
}

.east-wall-footer a:hover {
    text-decoration: underline;
}

/* East Wall Responsive */
@media (max-width: 768px) {
    .east-wall-card h1 {
        font-size: 36px;
    }

    .east-wall-card p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .east-wall-wave svg {
        height: 40px;
    }

    .east-wall-card {
        padding: 30px 16px 60px;
    }

    .east-wall-card h1 {
        font-size: 32px;
    }

    .donate-button {
        padding: 14px 36px;
        font-size: 16px;
    }
}
