* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --white: #FFFAF3;
    --grey: #4A4A4A;
    --beige: #B8AFA6;
    --black: #111111;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--grey);
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

main {
    max-width: 1000px;
    margin: 0 auto;
}

h2{
    font-weight: 700;
    font-size:32px;
}

.site-header{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3em 8em;
}

.header-mobile{
    display: none;
}

.header-mobile-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 2rem;
}

.logo {
    height: 60px;
    width: auto;
}

.logo-desktop{
    position: relative;
    top: -10px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 400;
}

.nav-link{
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.nav-link::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px; /* Tloušťka podtržení */
    bottom: -2px; /* Odsazení pod textem */
    left: 0;
    background-color: currentColor; /* Převezme aktuální barvu textu */
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after{
    width: 100%; /* Při najetí se linka roztáhne na 100% šířky */
}


.nav-link.nav-important {
    font-weight: 700;
}

.nav-link:hover {
    color: var(--white);
}

.header-mobile .nav-list {
    display:none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}
.header-mobile.opened .nav-list {
    display: flex;
}
.header-mobile .nav-list li{
    margin: 0 auto;
}

.header-mobile .nav-link {
    font-size: 26px;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-carousel {
    height: 90vh;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 1;
}

/* PŘEPISOVÁNÍ BOOTSTRAPU PRO VERTIKÁLNÍ ČÁRKY NALEVO */
.vertical-indicators {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    bottom: auto !important;
    right: auto !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column !important;
    gap: 15px;
    z-index: 2;
}

.vertical-indicators button {
    width: 3px !important;
    height: 40px !important;
    margin: 0 !important;
    background-color: var(--white) !important;
    border: none !important;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.vertical-indicators button.active {
    opacity: 1;
}

.info-card-wrapper {
    margin: -170px auto 3rem auto;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
    background-color: var(--white);
}

.info-card {
    border-radius: 4px;
    display: flex;
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.05); */
    height: 100%;
}

.info-description {
    flex: 2;
    padding: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    display: flex;
    align-items: center;
}

.info-description p {
    max-width: 350px;
}

.info-hours {
    flex: 1;
    padding: 2.5rem;
}

.info-hours .days { font-size: 1.6rem; }
.info-hours .hours { font-size: 1.75rem; font-weight: bold; margin: .2em 0 .2em 0; }
.info-hours .kitchen-hours { font-size: 0.9rem; color: #777; margin-top: -0.5em; }

/* --- TLAČÍTKA MENU --- */
.pdf-actions {
    height: 100%;
    text-align: center;
    padding: .5rem 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
}

.custom-btn {
    color: var(--grey);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 0.75rem 2rem;
}

.custom-btn:hover {
    opacity: 0.6;
    text-decoration: underline;
}

.line-vertical {
    position: relative;
    width: 1px;
    background-color: var(--grey);
    align-self: stretch; /* Forces it to fill the parent's height */
    margin: 5% 0;
}

.line-horizontal {
    width: 100%;
    height: 1px;
    background-color: var(--grey);
}

/* --- ABOUT CAROUSEL (Text + Obrázek) --- */
.about-section {
    margin: 0 auto 5rem auto;
    padding: 0 1rem;
    position: relative;
}

.about-slide-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-bottom: 3rem; /* Místo pro indikátory dole */
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    max-width: 400px;
    /* border-radius: 4px; */
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-top: 0;
    font-weight: 700;
}

.about-indicators {
    bottom: -10px !important;
}

.about-indicators button {
    background-color: var(--grey) !important;
    width: 40px !important;
    height: 3px !important;
    opacity: 0.3;
}

.about-indicators button.active {
    opacity: 1;
}

/* --- GALERIE --- */
.gallery-section {
    margin: 0 auto 5rem auto;
    padding: 0 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.gallery-item {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    /* border-radius: 4px;  */
}

.gallery-item:nth-child(1) {
    grid-column: span 7;
    object-position: 50% 90%;
}
.gallery-item:nth-child(2) {
    grid-column: span 5;
    object-position: 50% 90%;
}
.gallery-item:nth-child(3) {
    grid-column: span 5;
    object-position: 50% 60%;
}
.gallery-item:nth-child(4) {
    grid-column: span 7;
    object-position: 50% 70%;
}

/* --- OSTATNÍ HIGHLIGHT BOXY --- */
/* .voucher-section, .reservation-section {
    margin: 0 auto 5rem auto;
    padding: 0 1rem;
    background-color: var(--beige);
} */

.highlight-box {
    background-color: var(--beige);
    padding: 4rem 3rem;
    border-radius: 4px;
    margin-inline: 1em;
}

.phone-link-wrapper {
    display: grid;
    grid-template-columns: .6fr 1fr;
    margin-top: 1rem;
}

.phone-link {
    display: block;
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--grey);
    text-decoration: none;
    transition: opacity 0.3s;
    text-align: center;
    /* width: fit-content;
    margin: 0 auto; */
    /* padding: 0.5rem 1rem; */
}

.phone-link-small {
    color: var(--grey);
    text-decoration: none;
}
.phone-link:hover, .phone-link-small:hover {
    text-decoration: underline;
}

.location-section {
    background-color: var(--white);
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
}

/* DESKTOP LAYOUT (CSS Grid) */
.location-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    /* Divide the container into 12 equal columns */
    grid-template-columns: repeat(12, 1fr);
    align-items: center; /* Vertically centers the overlapping items */
}

.location-image {
    /* Image spans from column line 4 to the very end (-1) */
    grid-column: 4 / -1;
    grid-row: 1; /* Force it into the first row */
}

.location-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.location-content {
    /* Text box spans from column line 1 to 6 (overlapping the image) */
    grid-column: 1 / 6;
    grid-row: 1;
    background-color: var(--white);
    padding: 3rem 4rem 3em 0;
    z-index: 2;
}

/* Basic typography styling */
.location-content h2 { margin-top: 0; color: var(--grey); }
.location-content p { line-height: 1.8; color: var(--grey); }
.location-content .phone { font-weight: bold; margin-top: 1.5rem; }


.mobileShow { display: none; }

/* --- MOBILE LAYOUT --- */
@media (max-width: 768px) {
    .location-container {
        display: flex;
        flex-direction: column;
    }

    /* Reset grid properties */
    .location-image,
    .location-content {
        grid-column: auto;
        grid-row: auto;
    }

    .location-image {
        width: 100%;
    }

    .location-content {
        width: 85%; /* Make it slightly narrower than the screen */
        align-self: flex-start; /* Align it to the left */
        margin-top: -15%; /* Negative margin pulls it UP over the image */
        margin-left: 1rem; /* Add some left margin for spacing */
        padding: 2rem;
        /* Optional: Add a subtle shadow so it pops against the image */
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
}

.reservation-section {
    text-align: center;
}

/* --- PATIČKA --- */
.site-footer {
    margin-bottom: 3rem;
}

.footer-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.footer-logo img {
    max-width: 200px;
}

.footer-address {
    font-style: normal;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-socials a {
    text-decoration: underline;
    color: var(--grey);
}

@media (max-width: 768px) {
    .header-desktop { display: none; }
    .header-mobile { display: block; }

    .info-description { padding: 1em; }
    .info-hours { padding: 1em; }

    .about-image img {
        width: 100%;
        height: 300px; /* Zde upravte výšku podle potřeby, aby měly všechny stejnou */
        object-fit: cover; /* Zajistí, že se obrázek neořízne a nedeformuje */
        border-radius: 8px; /* Volitelné zakulacení */
    }

    .about-slide-wrapper {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    /* .about-slide-wrapper { flex-direction: column; gap: 1.5rem;}
    .about-image img { max-height: 300px; } */
    .gallery-grid {
        grid-template-columns: 1fr;
        place-items: center;
        column-gap: 0;
    }
    .location-wrapper { flex-direction: column; }
    .phone-link-wrapper { grid-template-columns: 1fr; gap: .5rem; margin-top: 1rem; }
    .footer-wrapper { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-wrapper img {
        margin-bottom: 3em;
    }
}

@media (max-width: 400px) {
    .info-card{
        flex-direction: column;
    }
    .info-description { padding: 1em .2em; }
    .info-hours { padding: .2em; }
    .info-hours .days { margin-top: .2em; }
    .mobileDelete { display: none; }
    .mobileShow { display: block; }
    .custom-btn { padding: 0.75rem 1rem; }
    .footer-info { flex-direction: column; gap: 1rem; }
}

.hamburgerTop {
    --y-dist: 7px;
    --rot: 45deg;
    --op: 1;
}

.hamburgerCenter {
    --y-dist: 0px;
    --rot: 0deg;
    --op: 0;
}

.hamburgerBottom {
    --y-dist: -7px;
    --rot: -45deg;
    --op: 1;
}

.hamburgerLine {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 4px 0;
    display: block;
    border-radius: 2px;
}

.header-mobile.closing .hamburgerLine {
    animation: hamburger-close 0.3s forwards;
}

.header-mobile.opened .hamburgerLine {
    animation: hamburger-open 0.3s forwards;
}

@keyframes hamburger-open {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(var(--y-dist)) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(var(--y-dist)) rotate(var(--rot));
        opacity: var(--op);
    }
}

@keyframes hamburger-close {
    0% {
        transform: translateY(var(--y-dist)) rotate(var(--rot));
        opacity: var(--op);
    }
    50% {
        transform: translateY(var(--y-dist)) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}