﻿
:root {
    --emerald: #087f5b;
    --emerald-dark: #065f46;
    --emerald-light: #d1fae5;
    --page-bg: #ffffff;
    --text-color: #1f2937;
    --muted-color: #64748b;
    --border-color: #e5e7eb;
}


/* =========================================================
   ZÁKLAD STRÁNKY
   ========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--page-bg);
    color: var(--text-color);
    line-height: 1.6;
}


/* =========================================================
   HORNÁ LIŠTA
   ========================================================= */

.top-bar {
    width: 100%;
    background: #00392C;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    padding: 12px 5%;
    min-height: 70px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);

    position: relative;
    top: 0;
    margin: 0 !important;

    z-index: 1000;
}


/* Logo text */

.top-bar .logo {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
}


/* Ikonové odkazy */

.top-bar .icon-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar .icon-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    color: #fff;
    text-decoration: none;

    font-size: 21px;

    transition:
        background 0.2s,
        transform 0.2s;
}

.top-bar .icon-links a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}


/* =========================================================
   SPODNÁ NAVIGÁCIA
   ========================================================= */

.bottom-nav {
    width: 100%;

    background: var(--emerald-dark);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;
    gap: 6px;

    padding: 5px 4%;

    position: relative;
    z-index: 999;
}

.bottom-nav a {
    color: #fff;
    text-decoration: none;

    padding: 12px 18px;

    font-size: 15px;
    font-weight: 600;

    border-radius: 8px;

    transition:
        background 0.2s,
        color 0.2s;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--emerald-light);
}


/* =========================================================
   BIELE TELO STRÁNKY
   ========================================================= */

.page-body {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;
    padding: 28px 5%;

    background: #fff;

    min-height: 70vh;
}


/* =========================================================
   NADPISY
   ========================================================= */

.page-body h1,
.page-body h2,
.page-body h3 {
    color: var(--emerald-dark);
    line-height: 1.3;
}

.page-body h1 {
    font-size: clamp(26px, 3vw, 38px);
}


/* =========================================================
   ODKAZY V OBSAHU
   ========================================================= */

.page-body a {
    color: var(--emerald);
    text-decoration: none;
}

.page-body a:hover {
    text-decoration: underline;
}


/* =========================================================
   KARTY A PANELY
   ========================================================= */

.content-card {
    background: #fff;

    border: 1px solid var(--border-color);
    border-radius: 14px;

    padding: 20px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);

    transition:
        box-shadow 0.2s,
        transform 0.2s;
}

.content-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: inline-block;

    color: #d4af37;
    text-decoration: none;

    font-family: "Dancing Script", cursive;

    font-size: 45px;
    font-weight: 600;

    letter-spacing: 0;
    line-height: 1;

    white-space: nowrap;

    transition: 0.25s ease;
}

.logo:hover {
    color: #f1d36b;
    transform: scale(1.02);
}


/* =========================================================
   LOGO BOX
   ========================================================= */

.logo-box {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 25px;

    width: 100%;

    margin: 0 auto;
}

.logo-box a {
    display: block;
}


/* =========================================================
   OBRÁZKY LOGA
   ========================================================= */

.foto_ikon {
    display: block;

    width: 400px;
    height: auto;

    border-radius: 12px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.foto_ikon:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   MALÁ IKONA LOGA
   ========================================================= */

.logo_ikon {
    width: 80px;
    height: 80px;

    object-fit: contain;

    display: block;

    margin: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;

    background: #00503D;
    color: #ffffff;

    margin-top: 45px;

    padding: 40px 5% 20px;
}


/* Zlatá deliaca lišta */

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #d4af37;
}


/* Obsah footeru */

.footer-container {
    max-width: 1440px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 40px;
}


/* Nadpisy */

.site-footer h3 {
    color: #ffffff;

    font-size: 18px;

    margin: 0 0 15px;

    font-weight: 700;
}


/* Text */

.site-footer p {
    margin: 6px 0;

    color: #e6fff6;

    font-size: 14px;
}


/* Odkazy */

.site-footer a {
    display: block;

    width: fit-content;

    color: #e6fff6;

    text-decoration: none;

    font-size: 14px;

    padding: 4px 0;

    transition:
        color 0.2s,
        padding-left 0.2s;
}

.site-footer a:hover {
    color: #ffffff;
    padding-left: 5px;
}


/* Spodná časť footeru */

.footer-bottom {
    max-width: 1440px;

    margin: 30px auto 0;

    padding-top: 18px;

    border-top:
        1px solid rgba(212, 175, 55, 0.55);

    text-align: center;

    font-size: 13px;

    color: #e6fff6;
}


/* =========================================================
   NOTEBOOKY
   ========================================================= */

@media (max-width: 1200px) {

    .top-bar {
        padding: 10px 4%;
    }

    .top-bar .logo {
        font-size: 30px;
    }

    .logo {
        font-size: 30px;
    }

    .logo_ikon {
        width: 60px;
        height: 60px;
    }

    .logo-box {
        flex-direction: column;
        gap: 15px;
    }

    .foto_ikon {
        width: 350px;
        max-width: 90vw;
    }

}


/* =========================================================
   TABLETY
   ========================================================= */

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }


    /* Horná lišta */

    .top-bar {
        width: 100%;

        min-height: 60px;
        height: 60px;

        padding: 8px 12px;

        gap: 8px;
    }


    .top-bar .logo {
        font-size: 17px;

        font-weight: 700;

        letter-spacing: 0;
    }


    /* Ikony */

    .top-bar .icon-links {
        display: flex;

        gap: 2px;

        margin-left: auto;
    }

    .top-bar .icon-links a {
        width: 38px;
        height: 42px;

        font-size: 19px;

        border-radius: 9px;
    }


    /* Hlavné logo */

    .logo {
        font-size: 25px;
    }


    /* Ikona */

    .logo_ikon {
        width: 50px;
        height: 50px;
    }


    /* Spodné menu */

    .bottom-nav {
        width: 100%;

        height: 48px;

        display: flex;

        justify-content: flex-start;
        align-items: center;

        flex-wrap: nowrap;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 4px 8px;

        gap: 3px;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .bottom-nav::-webkit-scrollbar {
        display: none;
    }


    .bottom-nav a {
        flex: 0 0 auto;

        padding: 8px 13px;

        font-size: 14px;

        line-height: 1;

        border-radius: 7px;

        white-space: nowrap;
    }


    /* Obsah */

    .page-body {
        width: 100%;

        padding: 20px 14px;

        min-height: calc(100vh - 108px);
    }


    .page-body h1 {
        font-size: 26px;

        margin-top: 5px;
    }

    .page-body h2 {
        font-size: 22px;
    }

    .page-body h3 {
        font-size: 19px;
    }


    /* Karty */

    .content-card {
        padding: 15px;

        border-radius: 12px;
    }


    /* Logo box */

    .logo-box {
        flex-direction: column;

        gap: 15px;

        margin: 0 auto;
    }

    .foto_ikon {
        width: 280px;

        max-width: 90vw;
    }


    /* Footer */

    .site-footer {
        margin-top: 30px;

        padding: 32px 18px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .site-footer h3 {
        font-size: 17px;

        margin-bottom: 10px;
    }

    .site-footer p,
    .site-footer a {
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 20px;

        padding-top: 15px;

        font-size: 12px;
    }

}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 600px) {

    /* Horná lišta */

    .top-bar {
        min-height: 55px;
        height: 55px;

        padding: 6px 9px;

        gap: 5px;
    }


    .top-bar .logo {
        font-size: 15px;
    }


    .top-bar .icon-links {
        gap: 2px;
    }


    .top-bar .icon-links a {
        width: 35px;
        height: 40px;

        font-size: 18px;

        border-radius: 8px;
    }


    /* Logo ikonka */

    .logo_ikon {
        width: 40px;
        height: 40px;

        margin: 0;
    }


    /* Logo box */

    .logo-box {
        flex-direction: column;

        gap: 15px;

        margin: 0 auto;
    }


    .foto_ikon {
        width: 220px;

        max-width: 90vw;
    }


    /* Navigácia */

    .bottom-nav {
        height: 46px;

        padding-left: 6px;
    }


    .bottom-nav a {
        padding: 8px 11px;

        font-size: 13px;
    }


    /* Obsah */

    .page-body {
        padding: 16px 10px;
    }

}


/* =========================================================
   VEĽMI MALÝ MOBIL
   ========================================================= */

@media (max-width: 360px) {

    .top-bar {
        padding: 5px 7px;
    }


    .top-bar .logo {
        font-size: 14px;
    }


    .top-bar .icon-links a {
        width: 32px;

        height: 38px;

        font-size: 17px;
    }


    .logo_ikon {
        width: 36px;
        height: 36px;
    }


    .bottom-nav a {
        padding: 8px 10px;

        font-size: 12px;
    }

}