@font-face {
    font-family: 'Etna';
    src: url('/fonts/Etna-Light.woff2') format('woff2'),
         url('/fonts/Etna-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/fonts/Geist-Regular.woff2') format('woff2'),
         url('/fonts/Geist-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/fonts/Geist-SemiBold.woff2') format('woff2'),
         url('/fonts/Geist-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ---- Tokens ---- */
:root {
    --primary: #2B0000;
    --secondary: #FFF4AA;
    --text-dark: #603D2B;
    --text-light: #FFFCE9;
    font-family: "Geist", sans-serif;
    font-weight: 400;
}

/* ---- Reset / base ---- */
* {
    margin: 0;
    padding: 0;
    font-family: "Geist", sans-serif;
    font-weight: 400;
    scrollbar-width: none;
    box-sizing: border-box;
}

body {
    background-color: var(--primary);
    overflow-x: hidden;
}

/* ---- Headings ---- */
h1 {
    font-family: "Etna", sans-serif;
    font-size: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
    line-height: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
}

h2 {
    font-family: "Etna", sans-serif;
    font-size: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
    line-height: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
}

h3 {
    font-family: "Etna", sans-serif;
    font-size: clamp(1.5rem, 1.2359rem + 0.8451vw, 2.25rem);
    line-height: clamp(1.5rem, 1.2359rem + 0.8451vw, 2.25rem);
}

/* ---- Buttons ---- */
.primary-btn {
    background: var(--secondary);
    color: var(--primary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--secondary);
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
}

.primary-btn:hover {
    background: var(--primary);
    color: var(--secondary);
}

.secondary-btn {
    background: none;
    color: var(--secondary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--secondary);
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
}

.secondary-btn:hover {
    background: var(--primary);
}

.tertiary-btn {
    background: var(--primary);
    color: var(--secondary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    transition: all 0.3s;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.tertiary-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* ============================================================
   NAVIGÁCIA
   ============================================================ */
header {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    background: linear-gradient(0deg, rgba(43, 0, 0, 0) 0%, rgba(43, 0, 0, 0.44) 25%, rgba(43, 0, 0, 1) 100%);
    position: fixed;
    z-index: 9999;
}

.nav_container_desktop {
    max-width: 1440px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 32px;
    overflow-y: hidden;
}

nav ul.desktop {
    list-style: none;
    text-decoration: none;
    display: flex;
    gap: 24px;
}

nav ul.desktop li a {
    color: var(--secondary);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
}

nav ul.desktop li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul.desktop li.active a {
    font-weight: 600;
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

nav ul.desktop a {
    text-decoration: none;
}

.logo_container img {
    height: 60px;
}

.nav_hamburger {
    height: 40px;
    width: 40px;
    display: none;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    padding: 8px 8px;
    border-radius: 12px;
    flex-direction: column;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
    gap: 4px;
}

.nav_hamburger__line {
    height: 2px;
    width: 100%;
    background-color: var(--secondary);
}

.nav_hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

nav div.nav_container_mobile {
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--secondary);
    height: 100vh;
    width: 100%;
    flex-direction: column;
    visibility: hidden;
    right: -100%;
    transition: right 0.3s ease, visibility 0.3s;
    overflow-y: auto;
}

nav ul.mobile {
    list-style: none;
    text-decoration: none;
}

nav ul.mobile li {
    border-bottom: solid 1px rgba(43, 0, 0, 0.25);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    padding: 12px 0;
}

nav ul.mobile li.active {
    background-color: var(--primary);
}

nav ul.mobile li.active a {
    color: var(--secondary);
}

nav ul.mobile a {
    color: var(--primary);
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 32px;
    transition: all 0.3s;
    font-size: 28px;
}

nav ul.mobile li:hover {
    background-color: var(--primary);
}

nav ul.mobile li:hover a {
    color: var(--secondary);
}

.nav_mobile_exit {
    min-height: 90px;
    display: flex;
    align-items: center;
    margin: 0 32px;
    justify-content: space-between;
}

.nav_exit_btn {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    padding: 8px 8px;
    border-radius: 12px;
}

.nav_exit_btn:hover {
    background-color: rgba(43, 0, 0, 0.1);
}

.nav_exit_btn__line {
    height: 2px;
    width: 32px;
    background-color: var(--primary);
    position: absolute;
}

.nav_exit_btn__line:nth-child(1) {
    transform: rotateZ(45deg);
}

.nav_exit_btn__line:nth-child(2) {
    transform: rotateZ(-45deg);
}

@media (max-width: 950px) {
    nav ul.desktop {
        display: none;
    }

    .nav_hamburger {
        display: flex;
    }

    nav div.nav_container_mobile.active {
        right: 0;
        visibility: visible;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
    background: var(--primary);
    display: flex;
    justify-content: center;
    padding: 80px 0 0;
}

footer.site-footer .footer__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 32px;
}

footer.site-footer .footer__cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 64px;
}

footer.site-footer .footer__logo img {
    height: 60px;
}

footer.site-footer .footer__col-title {
    color: var(--secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

footer.site-footer .footer__nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: -12px;
}

footer.site-footer .footer__nav li a {
    color: var(--secondary);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
    text-decoration: none;
    display: inline-block;
    width: max-content;
}

footer.site-footer .footer__nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

footer.site-footer .footer__nav li.active a {
    font-weight: 600;
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

footer.site-footer .footer__hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    max-width: 240px;
}

footer.site-footer .footer__hours-row span:first-child {
    color: var(--text-light);
}

footer.site-footer .footer__hours-row span:last-child {
    color: var(--secondary);
}

footer.site-footer .footer__map {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 244, 170, 0.3);
}

footer.site-footer .footer__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.3);
}

footer.site-footer .footer__address {
    color: var(--text-light);
    line-height: 24px;
    margin-top: 16px;
}

footer.site-footer .footer__address a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

footer.site-footer .footer__address a:hover {
    text-decoration: underline;
}

footer.site-footer .footer__bottom {
    border-top: 1px solid rgba(255, 244, 170, 0.25);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

footer.site-footer .footer__bottom p {
    color: rgba(255, 252, 233, 0.6);
    font-size: 14px;
}

@media (max-width: 950px) {
    footer.site-footer {
        padding-top: 56px;
    }

    footer.site-footer .footer__cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer.site-footer .footer__logo img {
        height: 48px;
    }

    footer.site-footer .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*Kontakt*/

section.kontakt {
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

/* Fotka interiéru — len nad 1200px */
section.kontakt .kontakt__photo {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(0deg, rgba(43, 0, 0, 1), rgba(43, 0, 0, 0)),
        url("/images/kontakt-hero.webp");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

section.kontakt .container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 140px 32px;
}

/* Nad 1200px: celý ľavý obsah je obmedzený na 520px, aby nezasahoval do fotky */
section.kontakt .kontakt__inner {
    max-width: 520px;
}

section.kontakt h1 {
    color: var(--primary);
}

section.kontakt h2 {
    color: var(--primary);
}

section.kontakt .kontakt__fields {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 24px;
}

section.kontakt .kontakt__field {
    display: flex;
    flex-direction: column;
}

section.kontakt .field__label {
    color: var(--text-dark);
    font-size: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(43, 0, 0, 0.35);
}

section.kontakt .field__value {
    color: var(--primary);
    font-size: 24px;
    line-height: 30px;
    margin-top: 12px;
    text-decoration: none;
    transition: opacity 0.2s;
}

section.kontakt a.field__value:hover {
    opacity: 0.7;
}

section.kontakt .hours__block {
    margin-top: 56px;
}

section.kontakt .hours__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

section.kontakt .hours__day {
    padding: 16px 0;
    border-bottom: 1px solid rgba(43, 0, 0, 0.3);
}

section.kontakt .hours__name {
    color: var(--text-dark);
    font-size: 15px;
}

section.kontakt .hours__time {
    color: var(--primary);
    font-size: 22px;
    line-height: 28px;
    margin-top: 4px;
}

section.kontakt .hours__prep {
    color: var(--text-dark);
    font-size: 13px;
    line-height: 18px;
    margin-top: 8px;
}

/* Mapa — plávajúca nad rozhraním (nad 1200px) */
section.kontakt .kontakt__map {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 460px;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(43, 0, 0, 0.4);
    border: 1px solid rgba(255, 244, 170, 0.4);
}

section.kontakt .kontakt__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---------- ≤1200px: dva stĺpce + mapa na celú šírku, prirodzené zalomenie ---------- */
@media (max-width: 1200px) {
    section.kontakt .kontakt__photo {
        display: none;
    }

    section.kontakt .container {
        padding: 120px 24px;
    }

    /* uvoľni obmedzenie šírky a zapni flex layout */
    section.kontakt .kontakt__inner {
        max-width: none;
        display: flex;
        flex-wrap: wrap;
        gap: 48px;
        align-items: flex-start;
    }

    section.kontakt .kontakt__col-contact,
    section.kontakt .kontakt__col-hours {
        flex: 1 1 320px;
        min-width: 0;
    }

    section.kontakt .kontakt__map {
        position: static;
        transform: none;
        flex: 1 1 100%;
        width: 100%;
        aspect-ratio: 16 / 9;
        max-height: 420px;
    }

    section.kontakt .hours__block {
        margin-top: 0;
    }

    section.kontakt .kontakt__col-contact {
        order: 1;
    }

    section.kontakt .kontakt__col-hours {
        order: 2;
    }

    section.kontakt .kontakt__map {
        order: 3;
    }
}

@media (max-width: 700px) {
    section.kontakt .hours__grid {
        gap: 0 24px;
    }
}

/* odkaz na zásady v pätičke */
.footer__bottom a { color: var(--text-light, #FFFCE9); text-decoration: underline; }
.footer__bottom a:hover { opacity: .8; }

/* logo ako odkaz na domov */
.logo-link{display:inline-flex;align-items:center;line-height:0}
