﻿
: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 */
* {
    box-sizing: border-box;
}

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

/* HORNÁ LIŠTA – ikonové odkazy */
.top-bar {
    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;
    z-index: 100;
}

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

.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);
}


/* DOLNÁ NAVIGÁCIA – textové odkazy */
.bottom-nav {
    background: var(--emerald-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 5px 4%;
    position: relative;
    z-index: 99;
}

.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);
}

/* Mobilné zariadenia */
@media (max-width: 650px) {
    .top-bar {
        padding: 10px 4%;
        gap: 8px;
        min-height: 60px;
    }

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

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

    .top-bar .icon-links a {
        width: 36px;
        height: 40px;
        font-size: 18px;
    }

    .bottom-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding: 5px 3%;
        scrollbar-width: thin;
    }

    .bottom-nav a {
        padding: 10px 12px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .page-body {
        padding: 20px 4%;
    }
}


/* =========================
   MOBILNÁ VERZIA
   ========================= */

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    /* Horná lišta */
    .top-bar {
        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;
    }

    /* 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;
    }

    /* Skrytie scrollbaru */
    .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 stránky */
    .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;
    }
}


/* =========================
   MALÝ MOBIL
   ========================= */

@media (max-width: 430px) {

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

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

    .top-bar .icon-links a {
        width: 35px;
        height: 40px;
        font-size: 18px;
    }

    .bottom-nav {
        height: 46px;
        padding-left: 6px;
    }

    .bottom-nav a {
        padding: 8px 11px;
        font-size: 13px;
    }

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


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

@media (max-width: 360px) {

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

    .top-bar .icon-links a {
        width: 32px;
        font-size: 17px;
    }

    .bottom-nav a {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* ========================= FOOTER ========================= */
.site-footer { position: relative; background: #00503D; color: #ffffff; margin-top: 45px; padding: 40px 5% 20px; }

/* Zlatá deliaca lišta nad footerom */ .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; }
/* Zlatá linka medzi obsahom a copyrightom */ .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; }
/* ========================= MOBIL ========================= */ @media (max-width: 768px) { .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; } }


/* Nadpisy */

.logo {
    display: inline-block;

    color: #d4af37;
    text-decoration: none;

    font-family: "Dancing Script", cursive;
    font-size: 40px;
    font-weight: 600;

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

    white-space: nowrap;

    transition: 0.25s ease;
}

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


/* Mobil */
@media (max-width: 768px) {
    .logo {
        font-size: 30px;
    }
}



.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

    width: 100%;
    margin: 20px auto;
}

.logo-box a {
    display: block;
}

.foto_ikon {
    display: block;

    width: 450px;
    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);
}


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

@media (max-width: 600px) {

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

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