:root {
    --bg-color: #F8F5F1;
    --text-color: #1A1A1A;
    --border-color: #E2DFD9;
    --accent-color: #FFD166;
    --btn-primary-bg: #1A1A1A;
    --btn-primary-text: #FFFFFF;
    --btn-secondary-bg: transparent;
    --btn-secondary-border: #1A1A1A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 40px;
    background-color: #FFFFFF;
    border-radius: 40px;
    max-width: 1200px;
    margin: 20px auto;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.5rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.logo a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a.active {
    color: #e04f5f;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5% 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #666;
}

.title {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.description {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #4a4a4a;
    max-width: 90%;
}

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

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--text-color);
    border: 1px solid var(--btn-secondary-border);
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    mix-blend-mode: multiply; /* Helps blend the off-white background of the generated image */
}

/* Map Section */
#mapSection {
    width: 100%;
    height: 600px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

#map {
    width: 100%;
    height: 100%;
}

/* Modal */
.modal {
    border: none;
    border-radius: 20px;
    padding: 0;
    margin: auto;
    background-color: var(--bg-color);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    padding: 40px;
    text-align: center;
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #4a4a4a;
}

/* Map popup styling overrides */
.maplibregl-popup-content {
    font-family: 'Fredoka', sans-serif;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.maplibregl-popup-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}
.maplibregl-popup-content p {
    margin: 0;
    color: #666;
}

/* Footer Section */
.footer-section {
    padding: 60px 10% 20px;
    background-color: #e5dfd5; /* slightly darker beige as seen in the reference */
    position: relative;
    overflow: hidden;
    color: var(--text-color);
}

.newsletter-card {
    border: 1px dashed #999;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.newsletter-card h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.newsletter-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid #999;
    background-color: transparent;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    outline: none;
}

.footer-divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 auto 30px;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 auto 30px;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
}

.watermark-text {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 18vw;
    font-weight: 700;
    color: #f1ebd8; /* extremely faint watermark, lighter than bg */
    z-index: 1;
    pointer-events: none;
    line-height: 0.8;
    white-space: nowrap;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .description {
        margin: 0 auto 40px auto;
    }

    .buttons {
        justify-content: center;
    }

    .title {
        font-size: 4rem;
    }
}
