/* ══════════════════════════════════════════════════════════════
   LIBELA KUCHYNĚ
   Struktura: fogcam.org  |  Písmo: webarchiv.cz
   Barevné schéma: tmavá lesní zeleň + teplý krém + zlatá

   PALETA TEXTU (4 barvy):
   #EDE8DC  – hlavní text (krém)
   #D4A843  – zlatá (nadpisy, akcenty)
   #8AB0E8  – modrá (odkazy)
   #A4B89E  – šedosivá šalvěj (sekundární text, popisky, patička)
   ══════════════════════════════════════════════════════════════ */

/* ── ZÁKLAD ── */
html {
    background-color: #0d1a10;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.55;
    color: #EDE8DC;
    background-color: #1A3020;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

/* ── ODKAZY ── */
a         { color: #8AB0E8; text-decoration: none; transition: opacity 0.15s; }
a:hover   { color: #8AB0E8; text-decoration: none; opacity: 0.7; }
a:visited { color: #7090C0; }

/* ── SCROLL OFFSET – kvůli fixní nav liště ── */
[id] { scroll-margin-top: 70px; }

/* ── NADPISY ── */
h1 {
    font-family: 'Raleway', 'Cormorant Garamond', "Times New Roman", Times, serif;
    font-size: 50px;
    font-weight: bold;
    color: #1E4A8A;
    text-align: center;
    display: table;
    margin: 28px auto 4px;
    text-decoration: none;
    letter-spacing: 6px;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(190, 190, 190, 0.8);
    position: relative;
    padding-bottom: 0;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1E4A8A;
    box-shadow: 0 0 0 1px rgba(190, 190, 190, 0.65);
}

h1 a             { color: #1E4A8A; text-decoration: none; }
h1 a:visited     { color: #1E4A8A; }
h1 a:hover       { text-decoration: underline; }

h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 300;
    color: #7AAAE0;
    margin: 36px 0 8px;
    border-bottom: 1px solid rgba(212, 168, 67, 0.3);
    padding-bottom: 6px;
    -webkit-text-stroke: 1px rgba(180, 180, 180, 0.45);
}


h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 300;
    color: #7AAAE0;
    margin: 20px 0 6px;
    -webkit-text-stroke: 1px rgba(180, 180, 180, 0.45);
}

/* ── HORIZONTÁLNÍ ČÁRA – zlatá katalogová linka ── */
hr {
    height: 1px;
    background-color: #D4A843;
    opacity: 0.35;
    border: 0;
    margin: 28px 0;
}

p { margin: 0 0 14px; }


/* ── HLAVNÍ WRAPPER ── */
.main-wrap { margin: 0 auto; width: 820px; border-collapse: collapse; }

/* ── HLAVNÍ OBSAHOVÁ BUŇKA – odsazení od okrajů ── */
.main-cell {
    padding: 0 32px;
}

/* ── SUBTITLE POD H1 ── */
.subtitle {
    font-family: 'Cormorant Garamond', "Times New Roman", Times, serif;
    font-size: 19px;
    font-variant: small-caps;
    letter-spacing: 2px;
    text-align: center;
    color: #A4B89E;
    margin: 4px 0 6px;
}



/* ── FOTO TABULKA – hlavní vizuál (fogcam styl) ── */
.banner-wrap {
    margin: 42px auto 16px;
    border-radius: 6px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.2),
        0 4px 6px rgba(0,0,0,0.3),
        0 10px 20px -6px rgba(0,0,0,0.5),
        inset 0 2px 6px rgba(255,255,255,0.1),
        inset 0 -3px 8px rgba(0,0,0,0.35);
}

.banner-img-frame {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    line-height: 0;
}

.banner-img {
    width: 100%;
    display: block;
    animation: kenburns 18s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform;
}

.banner2-img {
    width: 100%;
    display: block;
    filter: sepia(12%) contrast(1.05);
    transform-origin: bottom center;
    transition: filter 0.3s, transform 0.3s;
    cursor: zoom-in;
}

.banner2-img:hover {
    transform: scale(1.05);
    filter: sepia(0%) contrast(1.0);
}


@keyframes kenburns {
    0%   { transform: scale(1.0)  translate(0px,    0px); }
    100% { transform: scale(1.08) translate(-18px, -8px); }
}


.foto-caption {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-align: center;
    padding: 5px 8px;
    color: #A4B89E;
    background: #1A3020;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.foto-caption a { color: #8AB0E8; font-size: 12px; }

/* ══════════════════════════════════════════════════
   GALERIE – dobové skenované fotky 1996
   ══════════════════════════════════════════════════ */

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 16px 0;
}

.galerie-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.galerie-foto-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.galerie-foto {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border: 2px solid #D4A843;
    border-radius: 10px;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.7);
    filter: sepia(12%) contrast(1.05);
    transition: filter 0.3s, box-shadow 0.3s, transform 0.3s;
    transform-origin: bottom center;
}

.galerie-foto:hover {
    filter: sepia(0%) contrast(1.0);
    box-shadow: 4px 4px 18px rgba(212,168,67,0.3);
    transform: scale(1.05);
}

/* Placeholder – zobrazí se dokud nejsou nahrané fotky */
.galerie-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #243C2A;
    border: 3px solid #4A6A52;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #A4B89E;
    font-family: "Courier New", monospace;
    font-size: 13px;
    text-align: center;
    gap: 6px;
}

.galerie-placeholder--visible { display: flex; }

.galerie-placeholder .ph-num {
    font-size: 28px;
    color: #A4B89E;
    opacity: 0.5;
}

.galerie-caption {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #A4B89E;
    text-align: center;
    margin-top: 6px;
    font-style: italic;
    line-height: 1.3;
}

/* ── DROBNÝ TEXT (kontakty v seznamu) ── */
.txt-sm { font-size: 90%; }


/* ── BLURB TEXT ── */
.blurb {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
    max-width: 680px;
}

.section-tagline {
    font-size: 15px;
    color: #A4B89E;
    margin: -6px 0 14px;
}

/* ── SEZNAM S FAJFKAMI ── */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 10px;
}

.checklist li {
    font-size: 15px;
    padding: 5px 0;
    border-bottom: 1px dotted rgba(255,255,255,0.1);
    line-height: 1.45;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

/* ── POSTUP ── */
.process {
    margin: 0 0 16px 20px;
    padding: 0 0 0 10px;
}

.process li {
    font-size: 15px;
    padding: 6px 0;
    line-height: 1.45;
}

/* ── FEATURES ── */
.features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 10px;
}

.features li {
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 1px dotted rgba(255,255,255,0.1);
}

/* ── CTA BOX ── */
.cta-table {
    display: block;
    margin: 16px 0;
    padding: 12px;
    background: linear-gradient(135deg, #253E2C, #162218);
    border-radius: 999px;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.2),
        0 4px 6px rgba(0,0,0,0.3),
        0 10px 20px -6px rgba(0,0,0,0.5),
        inset 0 2px 6px rgba(255,255,255,0.15),
        inset 0 -3px 8px rgba(0,0,0,0.4);
    transition: background 0.4s, box-shadow 0.4s;
    cursor: pointer;
    perspective: 400px;
    transform-style: preserve-3d;
}

.cta-table:hover {
    background: linear-gradient(135deg, rgba(90,115,90,0.92), rgba(55,80,55,0.92));
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.3),
        0 6px 8px rgba(0,0,0,0.35),
        0 14px 28px -6px rgba(0,0,0,0.6),
        inset 0 2px 6px rgba(255,255,255,0.2),
        inset 0 -4px 10px rgba(0,0,0,0.5);
}

.cta-text,
.cta-link { transition: color 0.15s, transform 0.4s ease; display: block; }

.cta-table:hover .cta-text { color: #EDE8DC; transform: scale(1.04) translateZ(12px); }
.cta-table:hover .cta-link { color: #D4A843; transform: scale(1.04) translateZ(12px); }


.cta-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    margin: 0 0 8px;
    color: #EDE8DC;
}

.cta-link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #D4A843;
    text-decoration: none;
}
.cta-link:visited { color: #D4A843; }

/* ── INFO BOX ── */
.info-table {
    display: block;
    margin: 16px 0;
    padding: 12px;
    font-size: 15px;
    color: #EDE8DC;
    background: linear-gradient(135deg, #253E2C, #162218);
    border-radius: 999px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.2),
        0 4px 6px rgba(0,0,0,0.3),
        0 10px 20px -6px rgba(0,0,0,0.5),
        inset 0 2px 6px rgba(255,255,255,0.15),
        inset 0 -3px 8px rgba(0,0,0,0.4);
    transition: background 0.4s, box-shadow 0.4s;
    cursor: pointer;
    perspective: 400px;
    transform-style: preserve-3d;
}

.info-table:hover {
    background: linear-gradient(135deg, rgba(90,115,90,0.92), rgba(55,80,55,0.92));
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.3),
        0 6px 8px rgba(0,0,0,0.35),
        0 14px 28px -6px rgba(0,0,0,0.6),
        inset 0 2px 6px rgba(255,255,255,0.2),
        inset 0 -4px 10px rgba(0,0,0,0.5);
}

.info-table p,
.info-table .main-link { transition: color 0.15s, transform 0.4s ease; }

.info-table:hover p:first-child { color: #EDE8DC; transform: scale(1.04) translateZ(12px); }
.info-table:hover .main-link { color: #D4A843; transform: scale(1.04) translateZ(12px); }

.main-link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #D4A843;
}
.main-link:visited { color: #D4A843; }
.main-link:hover   { color: #D4A843; text-decoration: none; }
.main-link--lg     { font-size: 21px; margin: 8px 0; }
.info-table--center { text-align: center; }

/* ── HISTORICKÁ TABULKA ── */
.history-table {
    margin: 10px 0 16px;
    font-size: 15px;
    width: 100%;
    border-collapse: collapse;
    color: #EDE8DC;
}

.history-table td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    vertical-align: top;
}

.hist-year {
    color: #D4A843;
    font-style: italic;
    font-weight: bold;
    width: 110px;
    white-space: nowrap;
}

.hist-row-alt { background-color: #1E3826; }

/* ── CITÁTY ── */
.quote {
    font-size: 15px;
    font-style: italic;
    border-left: 3px solid #D4A843;
    margin: 10px 0 16px 10px;
    padding: 10px 16px 10px 20px;
    color: #EDE8DC;
    background: rgba(255,255,255,0.04);
    position: relative;
    max-width: 640px;
    border-radius: 7px;
}


.cite {
    font-size: 14px;
    font-style: normal;
    color: #A4B89E;
    display: block;
    margin-top: 6px;
    letter-spacing: 0.5px;
}



/* ── PATIČKA ── */
.footer-row { padding: 6px 0; }

.footer-info {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #A4B89E;
    margin: 2px 0 6px;
}

.footer-info a { font-size: 13px; color: #8AB0E8; }


.footer-copy {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #A4B89E;
    text-align: center;
    margin: 10px 0 4px;
}

.footer-copy a { color: #8AB0E8; font-size: 13px; }

.footer-badge {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 13px;
    color: #A4B89E;
    opacity: 0.5;
    text-align: center;
    margin: 0 0 16px;
}

/* ══════════════════════════════════════════════════
   MOBILNÍ RESPONSIVITA
   ══════════════════════════════════════════════════ */
@media (max-width: 860px) {
    table.main-wrap { width: 100%; }
    .banner-wrap    { width: 100%; }
    .main-cell      { padding: 0 18px; }
    h1 { font-size: 36px; }
    h2 { font-size: 25px; }
    body { font-size: 16px; }
    .galerie-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cta-table,
    .info-table  { border-radius: 24px; }
}

@media (max-width: 520px) {
    h1 { font-size: 28px; }
    .blurb, .checklist li, .process li, .features li { font-size: 15px; }
    .galerie-grid { grid-template-columns: 1fr; }
    .main-cell { padding: 0 12px; }
    .cta-table,
    .info-table  { border-radius: 16px; }
    .cta-text    { font-size: 17px; }
}

/* ── LIGHTBOX ── */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#lightbox.lb-open {
    display: flex;
}
#lb-img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}
#lb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(60, 60, 60, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    font-size: 28px;
    line-height: 1;
    width: 52px;
    height: 52px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#lb-close:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* ── GLASS NAV PULS ── */

@keyframes nav-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.02); }
}

/* ── GLASS NAV ── */
.glass-nav {
    position: fixed;
    top: 10px;
    left: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0 24px;
    height: 48px;
    background: rgba(200, 205, 210, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-80px) scaleX(0.3);
    transform-origin: center top;
    transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.34, 1.22, 0.58, 1), visibility 0s linear 0.65s;
    pointer-events: none;
    visibility: hidden;
}

.glass-nav.visible {
    opacity: 1;
    transform: translateY(0) scaleX(1);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.34, 1.22, 0.58, 1), visibility 0s linear 0s;
}

.glass-nav-brand {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #355C96;
    text-decoration: none;
    text-shadow: none;
    background: rgba(255,255,255,0.88);
    border-radius: 20px;
    padding: 1px 8px;
    animation: nav-pulse 3.5s ease-in-out infinite;
    display: inline-block;
    flex-shrink: 0;
    transition: color 0.35s, background 0.35s;
    will-change: transform;
}

.glass-nav-brand:hover {
    color: #243E6E;
    background: rgba(200, 200, 200, 0.88);
    text-decoration: none;
}

.glass-nav-right {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: nowrap;
    margin-left: auto;
}

.glass-nav-item {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1A1A1A;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-shadow: none;
    background: rgba(255,255,255,0.88);
    border-radius: 20px;
    padding: 1px 8px;
    white-space: nowrap;
    animation: nav-pulse 3.5s ease-in-out infinite;
    display: inline-block;
    transition: color 0.15s, background 0.15s;
}

.glass-nav-item:hover {
    color: #666666;
    background: rgba(200, 200, 200, 0.88);
    text-decoration: none;
}

/* Nav – nikdy nezalamovat */
.glass-nav-brand,
.glass-nav-item { white-space: nowrap; }

/* ≤ 780px – zmizí Renovace */
@media (max-width: 780px) {
    .gn-renovace { display: none; }
}

/* ≤ 620px – zmizí Nové kuchyně */
@media (max-width: 620px) {
    .gn-nove { display: none; }
}

/* ≤ 560px – zmizí LIBELA KUCHYNĚ */
@media (max-width: 560px) {
    .glass-nav-brand { display: none; }
}

/* ── PRIVACY PAGE ── */
.privacy-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(60, 60, 60, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    font-size: 28px;
    line-height: 1;
    width: 52px;
    height: 52px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 1000;
    text-decoration: none;
}
.privacy-close:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

.privacy-back {
    display: block;
    margin: 16px 0 0;
    font-size: 14px;
    color: #A4B89E;
}
.privacy-date {
    font-size: 13px;
    color: #A4B89E;
    margin: -4px 0 24px;
    font-style: italic;
}
