/*
Theme Name: Business Centrum Cheb - True Espresso Dark V2
Author: Regioplus Reborn
Version: 1.1.3
Description: Vylepšená temná šablona podle přesných měření #302c23. Pouze hamburger menu, sticky footer a výrazné dělící měděné čáry.
*/

/* ==========================================================================
   1. ZÁKLAD: FIX BÍLÉHO DNA & KONTRASTNÍ UHELNÉ POZADÍ
   ========================================================================== */
html {
    background-color: #1d1a15 !important; /* Fix bílého dna - hluboký tón pod footerem */
}

body, h1, h2, h3, p, div, span, a, button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #302c23 !important; /* Přesná naměřená barva pozadí */
    color: #f5f4f2;
    overflow-x: hidden;
}

#page-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: filter 0.4s ease, transform 0.4s ease;
    width: 100%;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ==========================================================================
   2. SITE HEADER & ODSTRANĚNÍ CHYBY S MIZENÍM LOGA
   ========================================================================== */
.site-header {
    background: #1d1a15 !important; /* Hlubší odstín pro elegantní kontrast vůči pozadí */
    padding: 25px 0;
    border-bottom: 2px solid #c26d43 !important; /* HORNÍ TENKÁ MĚDĚNÁ ČÁRA */
    z-index: 1001;
    position: relative;
    width: 100%;
}

.header-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Bezpečné zobrazení prvků záhlaví (Opraveno zmizení!) */
.logo-area, .logo-text, .logo-text a {
    color: #ffffff !important; 
    text-decoration: none !important;
}

.logo-text {
    font-size: 24px;
    font-weight: 300;
    text-transform: none !important; /* KAPITÁLKY ZRUŠENY - respektuje se psaní z HTML */
    letter-spacing: 1px; /* Mírně zúžený rozestup, aby písmena držela lépe u sebe */
    margin: 0;
    display: inline-block;
}

.logo-text span {
    font-weight: 800;
    color: #c26d43 !important;
}

.tagline {
    color: #ba9e8e !important;
    margin: 5px 0 0 0;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ZVIDITELNĚNÍ A ROZSVÍCENÍ MĚDĚNÉHO HAMBURGERU */
.menu-toggle {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 12px !important;
    z-index: 1100 !important;
    width: auto !important;
    height: auto !important;
}

.menu-toggle .bar {
    display: block !important;
    width: 28px !important;
    height: 2px !important;
    background-color: #c26d43 !important;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

body.menu-open .menu-toggle .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .menu-toggle .bar:nth-child(2) { opacity: 0 !important; }
body.menu-open .menu-toggle .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   3. OVERLAY & BLUR NAVIGACE
   ========================================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 26, 21, 0.7);
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
}

body.menu-open .menu-overlay {
    visibility: visible;
    opacity: 1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.menu-open #page-content-wrapper {
    filter: blur(5px);
    transform: scale(0.98);
}

.site-navigation {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: #1d1a15;
    padding: 120px 0 60px 0;
    transition: top 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    text-align: center;
    border-bottom: 2px solid #c26d43;
}

body.menu-open .site-navigation {
    top: 0;
}

.site-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-navigation li {
    margin: 22px 0;
}

.site-navigation a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    display: inline-block !important;
}

.site-navigation a:hover {
    color: #c26d43 !important;
}

/* ==========================================================================
   4. OBSAH, PLASTICITA BOXŮ A CTA
   ========================================================================== */
h1 {
    font-size: 32px;
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 17px;
    color: #d1cbc7;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px auto;
    line-height: 1.7;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.lang-box {
    background: #26231c; /* Jemně odlišný tón pro luxusní prostorový efekt boxů */
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(194, 109, 67, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(194, 109, 67, 0.15);
    border-color: rgba(194, 109, 67, 0.4);
}

.lang-box h3 {
    margin: 0 0 15px 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #e28758;
    font-weight: 700;
}

.lang-box p {
    margin: 0;
    font-size: 14px;
    color: #e5e1de;
    line-height: 1.7;
}

.cta-block {
    background: #26231c;
    color: #ffffff;
    padding: 45px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid rgba(194, 109, 67, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-block h2 {
    color: #ffffff !important;
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
}

.cta-block p {
    color: #e28758 !important;
    margin: 0;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   5. PATIČKA (SPODNÍ TENKÁ MĚDĚNÁ ČÁRA + STICKY FOOTER)
   ========================================================================== */
.site-footer {
    background: #1d1a15 !important;
    color: #8c837e !important;
    text-align: center !important;
    padding: 45px 0 !important;
    border-top: 2px solid #c26d43 !important; /* SPODNÍ TENKÁ MĚDĚNÁ ČÁRA */
    width: 100%;
    margin-top: auto;
}

.site-footer p {
    margin: 0 !important;
    font-size: 13px !important;
}

.site-footer a {
    color: #c26d43 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: 1px dashed rgba(194, 109, 67, 0.4);
}

.site-footer a:hover {
    color: #e28758 !important;
    border-bottom-color: #e28758;
}

/* ==========================================================================
   6. RESPONSIVITA
   ========================================================================== */
@media (max-width: 768px) {
    .lang-grid { grid-template-columns: 1fr; gap: 20px; }
    .container-narrow { padding: 40px 20px; }
    .cta-block { padding: 30px 20px; }
    h1 { font-size: 24px; }
    .logo-text { font-size: 18px; }
}