/* CSS Variables */
:root {
    --primary-color: #0b4aa1;      /* Waterstaete blue */
    --secondary-color: #0aa2b8;    /* Teal accent */
    --text-color: #1f2937;
    --light-bg: #f5f7fb;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Basics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 120px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    filter: brightness(0.92);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links a:not(.btn):hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    /* Space for fixed header */
    padding-bottom: 15vh;
    /* Large space for wave */
    background: linear-gradient(135deg, #1e5e22 0%, #39A935 100%);
    /* Green Gradient */
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    color: var(--white);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--secondary-color);
}

.hero-text .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.profile-img {
    border-radius: 20px;
    box-shadow: 20px 20px 0px rgba(224, 172, 28, 0.2);
    border: 5px solid rgba(255, 255, 255, 0.1);
    max-height: 500px;
    object-fit: cover;
}

/* Countdown */
.countdown-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    display: inline-block;
}

.countdown-container h2 {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.countdown {
    display: flex;
    gap: 20px;
}

.time-unit {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.time-unit span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.time-unit label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Wave */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* About */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Vision */
.bg-light {
    background-color: var(--light-bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Contact */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-form input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    margin: 0 10px;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .countdown {
        gap: 10px;
    }

    .time-unit span {
        font-size: 1.8rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu to be implemented if needed */
    }
}

.count-up-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    /* Moved lower (was -50px) */
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 400px;
    /* Narrower */
    margin-left: auto;
    margin-right: auto;
}

.thermometer-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.thermometer-container {
    width: 80px;
    /* Smaller width */
    height: 300px;
    /* Smaller height */
    position: relative;
}

.thermometer {
    width: 30px;
    height: 270px;
    /* Adjusted for container height 200px */
    background: #eee;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
    position: relative;
    border: 3px solid #ddd;
    border-bottom: none;
    z-index: 1;
}

.thermometer-stem {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
}

.thermometer-liquid {
    width: 100%;
    background: linear-gradient(to top, var(--secondary-color), #f1c40f);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: height 2s ease-out;
}

.thermometer-bulb {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #ddd;
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.thermometer-marks {
    position: absolute;
    right: -40px;
    top: 0;
    bottom: 0;
    width: 30px;
}

.mark {
    position: absolute;
    width: 100%;
    border-bottom: 1px solid #999;
    font-size: 0.8rem;
    color: #666;
    text-align: left;
    padding-left: 5px;
    line-height: 0;
}

.progress-labels {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 20px;
}

#joiner-needed-p {
    color: var(--secondary-color);
}

#joiner-needed {
    font-weight: 700;
}

/* Privacy Page Specifics */
.privacy-main {
    padding-top: 140px;
    /* Offset for fixed header */
    padding-bottom: 60px;
}

.privacy-card {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.privacy-card h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.update-date {
    color: #888;
    margin-bottom: 40px;
}

.privacy-item {
    margin-bottom: 30px;
}

.privacy-item h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.privacy-item ul {
    margin-left: 20px;
    list-style: disc;
}

.privacy-item li {
    margin-bottom: 10px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: bottom 0.5s ease-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
/* Map Section */
.neighborhood-map {
    background-color: var(--white);
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.leaflet-popup-content {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

/* Form Select Styling */
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(57, 169, 53, 0.1);
}
