* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── CSS VARIABLES (were missing — caused all style failures) ── */
:root {
    --transition: 0.25s ease;
    --accent: #e8920a;
    --charcoal: #2c2c2c;
    --font-display: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── BODY: removed display:flex which broke sticky navbar ── */
body {
    background-color: #f4e0a0;
    min-height: 100vh;
}

/* ── NAVBAR ── */
.navbar {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.6rem 5%;
    position: sticky;
    top: 0;
    background: #faaf40;
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(180,100,0,0.15);
    box-shadow: 0 2px 16px rgba(250,175,64,0.25);
}

.logo-box {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 6px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#logo_image {
    width: auto;
    height: 110px;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

.nav-lang {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.08em;
    margin-right: auto;
}
.nav-lang .active { color: #fff; font-weight: 700; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}
.nav-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: width var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active-link { color: #fff; font-weight: 700; }
.nav-links a.active-link::after { width: 100%; }

/* ── HAMBURGER MENU ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    z-index: 101;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250,175,64,0.97);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    backdrop-filter: blur(12px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}
.mobile-nav a:hover { color: var(--charcoal); transform: scale(1.05); }

/* ── GALLERY ── */
.gallery-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-topic {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-box {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.image-box:hover {
    transform: translateY(-5px);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    margin-top: 12px;
    width: 80%;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}



/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}