/* Base Styles */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
}

/* Brand Variables */

:root {
    --primary-purple: #907BEB;
    --dark-navy: #17152F;
    --off-white: #F7F6FB;
    --white: #FFFFFF;
    --text-dark: #17152F;
}

/* Typography */

h1,
h2,
h3 {
    font-family: "Anton", sans-serif;
    font-weight: 400;
}

/* Hero Section */

.hero {
    min-height: 650px;
    background-color: var(--dark-navy);
    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;
    position: relative;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide:nth-child(1) {
    background-image: url("../images/hero-1.JPG");
}

.hero-slide:nth-child(2) {
    background-image: url("../images/hero-2.JPG");
}

.hero-slide:nth-child(3) {
    background-image: url("../images/hero-3.JPG");
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(23,21,47,0.40);
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 180px;
    height: auto;
    margin: 0 auto 24px;
    display: block;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin: 0 0 24px;
}

.hero-content > p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 32px;
}


.donate-button {
    display: inline-block;
    background-color: var(--primary-purple);
    color:var(--white);

    padding: 16px 32px;
    border-radius: 30px;

    font-weight: 600px;
    text-decoration: none;

    /* donate button movement */
    transition: transform 0.2s ease;
}

.donation-counter {
    margin-top: 24px;
    margin-bottom: 0;
    font-size: 14px;
    opacity: 0.8;
}

.donation-counter span {
    font-weight: 700;
}

.donate-button:hover {
    transform: translateY(-2px);
}

/* Impact Band */

.impact-band {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.impact-content {
    max-width: 900px;
    margin: 0 auto;
}

.impact-content h2 {
    font-size: 72px;   /* was 48px */
    margin: 0 0 8px;
}

.impact-content p {
    margin: 0;
    font-size: 18px;
}

/* Why Now Section */

.why-now {
    position: relative;
    background-color: var(--dark-navy);
    padding: 100px 20px;
    overflow: hidden;
}

.why-now-background {
    position: absolute;
    inset: 0;
    background-image: url("../images/why-now-bg.jpg");
    opacity: 0.5;
    background-size: cover;
    background-position: right;
    background-attachment: fixed;
}

.why-now-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(23,21,47,0.65);
}

.why-now-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.why-now-content h2 {
    font-size: 48px;
    margin: 0 0 24px;
}

.why-now-content p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

/* What Your Gift builds Section */

.gift-builds {
    background-color: var(--off-white);
    padding: 100px 20px;
}

.gift-builds-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.gift-builds-content > h2 {
    font-size: 48px;
    margin: 0 0 48px;
}

/* What Your Gift Builds Section */

.gift-builds {
    background-color: var(--off-white);
    padding: 100px 20px;
}

.gift-builds-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}   

.gift-builds-content > h2 {
    font-size: 48px;
    margin: 0 0 48px;
}

.gift-cards {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.gift-card {
    flex: 1;
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
}

.gift-card h3 {
    font-size: 28px;
    margin: 0 0 16px;
    color: var(--primary-purple);
}

.gift-card p {
    margin: 0;
    line-height: 1.7;
}

.gift-closing {
     font-size: 18px;
     font-weight: 500;
     margin: 0 0 32px;
}

.gala-signup {
    position: relative;
    background-color: var(--dark-navy);
    padding: 100px 20px;
    overflow: hidden;
}

.gala-signup-background {
    position: absolute;
    inset: 0;
    background-image: url("../images/gala-signup-bg.jpeg");
    opacity: 0.5;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.gala-signup-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(23,21,47,0.65);
}

.gala-signup-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.gala-signup-content h2 {
    font-size: 48px;
    margin: 0 0 16px;
}

.gala-signup-content > p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto 32px;
}

/* Final CTA Section */

.final-cta {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 48px;
    margin: 0 0 16px;
}

.fianl-cta-content p {
    font-size: 18px;
    margin: 0 auto 32px;
}

/* Footer */

.site-footer {
    background-color: #0d0c1a;
    color: var(--white);
    padding: 40px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: "Anton", sans-serif;
    font-size: 28px;
    margin: 0 0 16px;
}

.footer-content p {
    margin: 8px 0;
}

.footer-content a {
    color: var(--white);
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
}

/* Mobile Styles */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 44px;
    }

    .hero {
        min-height: 600px;
        padding: 60px 20px;
    }
    .why-now-background {
        background-position: center;
    }
    .gala-signup-background{
        background-position: center;
        }
    .impact-content h2 {
        font-size: 52px;
    }

    .gift-cards {
        flex-direction: column;
    }

    .gala-form {
        flex-direction: column;
    }

    .gala-form input,
    .gala-form button {
        width: 100%;
    }

    .why-now-content h2, 
    .gift-builds-content > h2,
    .gala-signup-content h2,
    .final-cta-content h2 {
        font-size: 40px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--primary-purple);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-slide {
        transition: none;
    }

    .donate-button {
        transition: none;
    }
}






