﻿body {
    margin: 0;
    min-height: 100vh;
  /*  background: linear-gradient(
        110deg,
        #ffffff 53%,
        var(--accent-color) 3%,
        var(--accent-color) 100%
    ); */
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: system-ui, sans-serif;
    color: var(--text-color);

    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* 🔹 base text */
p, span, div, li {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.page-content {
    padding-top: 110px; /* výška topbaru */
}

/* 🔹 links */
a {
    color: var(--heading-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 🔹 main grid */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "full full"
        "left right";
    width: 100%;
    min-height: calc(100vh - 150px);
}

/* first row full width */
.grid-row-full {
    grid-area: full;
    padding: 2rem;
}

/* second row left and right */
.grid-left {
    grid-area: left;
    padding: 2rem;
}

.grid-right {
    grid-area: right;
    padding: 2rem;
}

/* headers inside grid */
.main-grid h2,
.main-grid h3 {
    margin-bottom: 1rem;
}

/* 📱 Responsive – mobile */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "full"
            "left"
            "right";
    }
}

/* ===========================
   TOP BAR – SIGNUM
   =========================== */

.topbar {
    min-height: 80px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: #005C84;
    color: #fff;
    padding: 14px 24px;

    z-index: 1000; /* nad vším ostatním */
}

/* vynucení bílé barvy */
.topbar,
.topbar * {
    color: #fff;
    box-sizing: border-box;
}

/* vnitřní zarovnání */
.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.topbar-web,
.topbar-web:link,
.topbar-web:visited,
.topbar-web:hover,
.topbar-web:active,
.topbar-web:focus {
    color: #fff !important;
    text-decoration: none;
}

/* ===========================
   LEVÁ ČÁST – LOGO
   =========================== */

.topbar-left {
    display: flex;
    align-items: baseline;
    gap: 12px;
    white-space: nowrap;
}

.topbar-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.topbar-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===========================
   PRAVÁ ČÁST TOPBARU – GRID
   =========================== */

.topbar-right {
    display: flex;
    align-items: center;
}

/* 2 sloupce: web | akce */
.topbar-right-grid {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 24px;
    align-items: center;
}

/* web – vertikálně vycentrovaný */
.topbar-web {
    font-size: 0.9rem;
    opacity: 0.9;
    white-space: nowrap;
}

/* pravý sloupec */
.topbar-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

/* jazyky */
.topbar .lang-switch {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
}

.topbar .lang-switch a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.topbar .lang-switch a:hover {
    color: #fff;
}

/* tlačítko */
.topbar .order-input-open-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
}

.topbar .order-input-open-btn:hover {
    background: #fff;
    color: #005C84;
}

.api-box {
    display: none !important;

}


/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 600px) {
    .topbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    
    .topbar-left {
      /*  align-items: center; */
      padding-top: 10px;
    }
    

    .topbar-right {
        align-items: center;
    }

    .topbar-top,
    .topbar-bottom {
        justify-content: center;
    }
    /*
    .topbar-right-grid {
        grid-template-columns: 75% 25%;
        row-gap: 8px;
        text-align: right;
    }
    */ 

    .topbar-actions {
        align-items: center;
    }

    
    .page-content {
        padding-top: 110px;
    }

    .order-status-tag {
        display: none !important;

    }

    .api-box {
        display: none !important;

    }


 }

