@font-face {
  font-family: "Baloo 2";
  src: url("/assets/fonts/Baloo2-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    --sky-light: #e8f4fc;
    --sky-mid: #c5e3f6;
    --sky-deep: #87ceeb;

    --grass-light: #7bc043;
    --grass-mid: #5a9c32;
    --grass-dark: #3d7a20;

    --accent-red: #e93a43;
    --accent-orange: #f7941d;
    --accent-yellow: #fde124;
    --accent-blue: #2993e0;
    --accent-green: #388641;

    --cream: #fffef5;
    --warm-white: #fefefe;
    --text-dark: #2d3a2e;
    --text-mid: #4a5a4b;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ===== CSS Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--cream);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }

p {
    font-size: 1.05rem;
    color: var(--text-mid);
}

/* ===== Utilities ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

.nav a:nth-child(1):hover { background: var(--accent-yellow); }
.nav a:nth-child(2):hover { background: #ffcccb; }
.nav a:nth-child(3):hover { background: #b3e5fc; }
.nav a:nth-child(4):hover { background: #c8e6c9; }
.nav a:nth-child(5):hover { background: var(--accent-yellow); }
.nav a:nth-child(6):hover { background: #ffcccb; }
.nav a:nth-child(7):hover { background: #b3e5fc; }

.lang-switch {
    display: flex;
    gap: 4px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 2px solid rgba(0,0,0,0.1);
}

.lang-switch button,
.lang-switch a {
    background: none;
    border: 2px solid transparent;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-mid);
    line-height: 1;
    text-decoration: none;
}

.lang-switch button:hover,
.lang-switch a:hover,
.lang-switch button.active,
.lang-switch a.active {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.burger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent-blue);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky-mid) 100%);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand img {
    width: 150px;
    height: auto;
}

.footer-brand p {
    font-size: 1rem;
    max-width: 300px;
}

.footer h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: var(--text-mid);
    font-size: 0.9rem;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    padding: 80px 30px 30px;
    z-index: 99;
    flex-direction: column;
    align-items: center;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    display: block;
    padding: 16px 30px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: background 0.2s ease;
    text-align: center;
}

.mobile-menu a:hover {
    background: var(--sky-light);
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu .lang-switch-mobile {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.mobile-menu .lang-switch-mobile button,
.mobile-menu .lang-switch-mobile a {
    background: var(--sky-light);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    color: var(--text-dark);
}

.mobile-menu .lang-switch-mobile button.active,
.mobile-menu .lang-switch-mobile a.active {
    background: var(--accent-blue);
    color: white;
}

/* ===== Responsive - Header, Footer, Mobile Menu ===== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .lang-switch {
        border: none;
        margin: 0;
        padding: 0;
    }

    .burger {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}
