/* assets/css/header.css */

/* -------------------------------------------------
   HEADER – glass‑effect & flex layout
   ------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
}

/* Vnitřní kontejner */
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.site-header .logo {
    flex: 0 0 auto;
}
.site-header .logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}
.site-header .logo img:hover { transform: scale(1.05); }

/* Navigační menu */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}
.main-nav a:hover, .main-nav a:focus { color: #ff6600; }
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: #ff6600;
    transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a:focus::after { width: 100%; }

/* Překladové tlačítka */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
}
.lang-switcher button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
}
.lang-switcher button.active, .lang-switcher button:hover { background: rgba(255,255,255,0.4); }

/* Mobilní menu toggle (hamburger) */
.menu-toggle { 
    display: none; 
    background: transparent; 
    border: none; 
    color: #fff; 
    font-size: 1.8rem; 
    cursor: pointer; 
    z-index: 1100; 
}

/* RESPONZIVNÍ STYLY PRO MOBILNÍ ZAŘÍZENÍ */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .lang-switcher { display: none; }
    .menu-toggle { display: block; }
    .main-nav.mobile-menu { display: block; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(0,0,0,0.95); backdrop-filter: blur(5px); padding: 1rem 0; }
    .main-nav.mobile-menu ul { flex-direction: column; align-items: center; width: 100%; gap: 1rem; }
    .main-nav.mobile-menu a { font-size: 1.2rem; padding: 0.8rem 1rem; }
    .site-header .logo img { height: 40px; }
}