/* Water page specific styles */

.water-hero {
    background: var(--card-background);
    position: relative;
}

.water-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--card-background);
    /* Water droplet pattern */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='80' viewBox='0 0 60 80'%3E%3Cpath d='M30 5 C30 5 10 30 10 45 C10 56 19 65 30 65 C41 65 50 56 50 45 C50 30 30 5 30 5Z' fill='%233b82f6' fill-opacity='0.06'/%3E%3C/svg%3E");
    background-size: 60px 80px;
    background-position: 0 0;
    background-repeat: repeat;
    z-index: 1;
}

.water-hero .container {
    position: relative;
    z-index: 2;
}

.water-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

.water-hero .lead {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Water sections */
.water-section {
    padding: 100px 0;
}

.water-section h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-weight: 700;
    text-align: center;
}

.water-section .intro {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.water-section .intro strong {
    color: var(--primary-color);
    font-weight: 700;
}

.content-block {
    max-width: 1000px;
    margin: 0 auto;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.column h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.column p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.column p:last-child {
    margin-bottom: 0;
}

.impact-box {
    background: var(--card-background);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.impact-box h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.impact-box p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

.water-section .cta-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Problem cards */
.problems {
    margin-bottom: 4rem;
}

.problem-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.problem-card p {
    margin-bottom: 0;
}

.problem-card strong {
    color: var(--primary-color);
}

/* Solutions section */
.section-subhead {
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.solution-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.solution-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.solution-card h4 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.solution-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Terraforming section */
.terraforming {
    background: var(--background);
}

/* Water Index section */
.water-index {
    background: linear-gradient(135deg, #0c1929 0%, #1a365d 100%);
    position: relative;
    overflow: hidden;
}

.water-index::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.water-index .container {
    position: relative;
    z-index: 1;
}

.water-index h2 {
    font-size: 3rem;
}

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

.index-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.index-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.index-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.index-feature h4 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.index-feature p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.index-cta-box {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.index-cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .water-hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .water-hero .lead {
        font-size: 1.25rem;
        padding: 0 1rem;
    }

    .water-section {
        padding: 60px 0;
    }

    .water-section h2 {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .water-section .intro {
        font-size: 1.25rem;
        padding: 0 1rem;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .section-subhead {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .impact-box {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .index-features {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .index-cta-box {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
