/* ====================================
   IMPORT GOOGLE FONTS
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600&display=swap');

/* ====================================
   CSS PROMĚNNÉ (ROOT)
   ==================================== */

:root {
    /* BARVY */
    --Title-color: #846B11;
    --Body-text-color: #272727;
    --Background-color: #FFFFFF;
    --Accent-color: #D946A6;
    --Border-color: #E0E0E0;
    --Primary-green: #2A5B36;
    --Secondary-text-color: #6B7280;
    
    /* FONTY */
    --font-heading: "Special Elite", serif;
    --font-body: "Josefin Sans", sans-serif;
}

/* ====================================
   RESET & ZÁKLADNÍ STYLY
   ==================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--Body-text-color);
    background-color: var(--Background-color);
}

/* ====================================
   CONTAINER & GRID (M3)
   ==================================== */

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* DESKTOP GRID - 12 sloupců, gutter 24px */
@media (min-width: 768px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }

    .col-1 { grid-column: span 1; }
    .col-2 { grid-column: span 2; }
    .col-3 { grid-column: span 3; }
    .col-4 { grid-column: span 4; }
    .col-5 { grid-column: span 5; }
    .col-6 { grid-column: span 6; }
    .col-7 { grid-column: span 7; }
    .col-8 { grid-column: span 8; }
    .col-9 { grid-column: span 9; }
    .col-10 { grid-column: span 10; }
    .col-11 { grid-column: span 11; }
    .col-12 { grid-column: span 12; }
}

/* MOBILE GRID - 4 sloupce, gutter 16px */
@media (max-width: 767px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .col-1 { grid-column: span 1; }
    .col-2 { grid-column: span 2; }
    .col-3 { grid-column: span 3; }
    .col-4 { grid-column: span 4; }
    .col-5 { grid-column: span 4; }
    .col-6 { grid-column: span 4; }
    .col-7 { grid-column: span 4; }
    .col-8 { grid-column: span 4; }
    .col-9 { grid-column: span 4; }
    .col-10 { grid-column: span 4; }
    .col-11 { grid-column: span 4; }
    .col-12 { grid-column: span 4; }
}

/* ====================================
   NAVBAR (STICKY)
   ==================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.90);
    background-image: url(../assets/images/Backgrou_navbar_Vincaffé.png);
    background-size: cover;
    background-position: 50% center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 0.5rem 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    gap: 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--Title-color);
    white-space: nowrap;
}

.logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links li {
    display: flex;
}

/* MOBILE NAVBAR */
@media (max-width: 767px) {

    .nav-container {
        position: relative;
    }


    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        width: 180px;
        max-width: calc(100vw - 2rem);

        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        align-items: stretch;

        /* připravené pozadí */
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.88),
                rgba(255, 255, 255, 0.88)),
            url("../assets/images/Backgrou_navbar_Vincaffé.png");

        background-size: cover;
        background-position: center;
        border-radius: 1rem;
        box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform:
            translateY(-10px) scale(.98);
        transform-origin: top right;
        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;
        z-index: 1001;
        overflow: hidden;
    }


    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform:
            translateY(0) scale(1);
    }

.nav-links li {
    width: 100%;
    display: flex;
}

.nav-links a,
.nav-links button {
    width: 100%;
    margin: 0;
    box-sizing: border-box;

    text-align: left;
    justify-content: flex-start;

    border-radius: 0;
}

}

/* ====================================
   TLAČÍTKA (M3 Design System)
   ==================================== */

/* BASE BUTTON */
.btn {
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    text-transform: uppercase;
    line-height: 1;

    transition: box-shadow 0.2s ease;
}

/* BUTTON LABEL */
.button-label {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0.04375rem;
}

.button-label-filled {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.03rem;
}


/* ====================================
   FILLED BUTTON
   ==================================== */

.btn-filled {
    display: inline-flex;
    padding: 0.9375rem 1rem 0.625rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    border-radius: 0.5rem;
    background: var(--Primary-green);
    color: #FFFFFF;
}

.btn-filled:hover {
    background:
        linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
        var(--Primary-green);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-filled:focus-visible {
    background:
        linear-gradient(rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.10)),
        var(--Primary-green);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    outline: none;
}

.btn-filled:active {
    background:
        linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
        var(--Primary-green);

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-filled:disabled {
    background: rgba(28, 27, 31, 0.12);
    color: rgba(28, 27, 31, 0.38);
    cursor: not-allowed;
    box-shadow: none;
}


/* ====================================
   TONAL BUTTON
   ==================================== */

.btn-tonal {
    display: inline-flex;
    padding: 0.9375rem 1rem 0.625rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    border-radius: 0.5rem;
    background: rgba(42, 91, 54, 0.10);
    color: var(--Primary-green);
}

.btn-tonal:hover {
    background:
        linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
        rgba(42, 91, 54, 0.10);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-tonal:focus-visible {
    background:
        linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.10)),
        rgba(42, 91, 54, 0.10);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    outline: none;
}

.btn-tonal:active {
    background:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        rgba(42, 91, 54, 0.10);

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-tonal:disabled {
    background: rgba(28, 27, 31, 0.12);
    color: rgba(28, 27, 31, 0.38);
    cursor: not-allowed;
    box-shadow: none;
}


/* ====================================
   OUTLINED BUTTON
   ==================================== */

.btn-outlined {
    display: inline-flex;
    padding: 0.9375rem 1rem 0.625rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    border-radius: 0.5rem;
    background: transparent;
    color: var(--Primary-green);
    border: 1px solid var(--Primary-green);
}

.btn-outlined:hover {
    background:
        linear-gradient(rgba(42, 91, 54, 0.08), rgba(42, 91, 54, 0.08)),
        transparent;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outlined:focus-visible {
    background:
        linear-gradient(rgba(42, 91, 54, 0.10), rgba(42, 91, 54, 0.10)),
        transparent;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    outline: none;
}

.btn-outlined:active {
    background:
        linear-gradient(rgba(42, 91, 54, 0.12), rgba(42, 91, 54, 0.12)),
        transparent;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-outlined:disabled {
    background: transparent;
    color: rgba(28, 27, 31, 0.38);
    border-color: rgba(28, 27, 31, 0.12);
    cursor: not-allowed;
    box-shadow: none;
}

/* ====================================
   TEXT BUTTON
   ==================================== */

.btn-text {
    display: inline-flex;
    padding: 0.9375rem 1rem 0.625rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    border: none;
    border-radius: 0.5rem;

    background: transparent;
    color: var(--Primary-green);
}

.btn-text:hover {
    background:
        linear-gradient(rgba(42, 91, 54, 0.08), rgba(42, 91, 54, 0.08)),
        transparent;
}

.btn-text:focus-visible {
    background:
        linear-gradient(rgba(42, 91, 54, 0.10), rgba(42, 91, 54, 0.10)),
        transparent;

    outline: none;
}

.btn-text:active {
    background:
        linear-gradient(rgba(42, 91, 54, 0.12), rgba(42, 91, 54, 0.12)),
        transparent;
}

.btn-text:disabled {
    background: transparent;
    color: rgba(28, 27, 31, 0.38);
    cursor: not-allowed;
}

/* BURGER MENU (Mobile) */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    width: 2.875rem;
    height: 2.875rem;
    padding: 0;

    background: transparent;
    border: none;
    border-radius: 0;

    cursor: pointer;
}


.burger-menu span {
    width: 1.5rem;
    height: 0.125rem;
    background: var(--Primary-green);
    border-radius: 0.125rem;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
}

/* ====================================
   TYPOGRAFIE - DESKTOP
   ==================================== */

h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.15rem;
    color: var(--Title-color);
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.375rem;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.11875rem;
    color: var(--Title-color);
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 120%;
    color: var(--Title-color);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.1125rem;
    color: var(--Title-color);
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
    color: var(--Body-text-color);
}

/* ====================================
   TYPOGRAFIE - MOBILE (< 768px)
   ==================================== */

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        letter-spacing: 0.1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
        letter-spacing: 0.075rem;
    }

    h3 {
        font-size: 1.25rem;
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }

    h4 {
        font-size: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.375rem;
        letter-spacing: 0.0875rem;
    }

    p {
        font-size: 0.875rem;
        line-height: 150%;
    }
}

/* ====================================
   HERO SEKCE
   ==================================== */

.hero {
    min-height: 520px;
    max-height: 800px;
    padding: 3rem 2rem;

    background-image: url("../assets/images/hero-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1440px;
    margin: 0 auto;
    align-items: center;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    margin-bottom: 1rem;
    text-align: center;
}

.hero-text p {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.11875rem;
    color: var(--Title-color);
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}


/* ====================================
   HERO - TABLET
   ==================================== */

@media (min-width: 768px) and (max-width: 1000px) {

    .hero {
        min-height: auto;
        max-height: none;
        padding: 4rem 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-text p {
        font-size: 1.75rem;
    }

    .hero-image {
        max-width: 700px;
        margin: 0 auto;
    }
}


/* ====================================
   HERO - MOBILE
   ==================================== */

@media (max-width: 767px) {

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
        max-height: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-text h1 {
        text-align: center;
    }

    .hero-text p {
        font-size: 1.5rem;
    }
}
/* ====================================
   MENU SEKCE
   ==================================== */

.menu-section {
    padding: 2rem 2rem;
    background-color: var(--Background-color);
    width: 100%;
    text-align: center;
}

#menu-carousel-section {
    background-image: url("../assets/images/backgrond-Stale_menu.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-container {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
}

.menu-subtitle {
    color: var(--Accent-color);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.menu-day {
    padding: 1rem 1.5rem 2rem 1.5rem;
    border-right: 1px solid var(--Border-color);
    text-align: left;
}

.menu-day:last-child {
    border-right: none;
}

.menu-day h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.menu-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.menu-item p {
    font-size: 0.9375rem;
    line-height: 1.4;
}

.hidden-menu {
    display: none;
}

.visible-menu {
    display: block;
}

.weekend-menu-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.menu-weekend {
    width: 100%;
    max-width: 24rem;
    text-align: center;
}

.menu-weekend h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.menu-items-weekend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

/* ====================================
   TABLET / MENŠÍ DESKTOP
   2 + 2 + 1
   ==================================== */

@media (min-width: 600px) and (max-width: 1199px) {

    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    /* 1. a 3. den = levý sloupec, čára zůstává */
    .menu-day:nth-child(1),
    .menu-day:nth-child(3) {
        border-right: 1px solid var(--Border-color);
    }

    /* 2., 4. a 5. den = bez pravé čáry */
    .menu-day:nth-child(2),
    .menu-day:nth-child(4),
    .menu-day:nth-child(5) {
        border-right: none;
    }

    .menu-day:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 1rem);
        justify-self: center;
    }

}

@media (max-width: 599px) {
    .menu-section {
        padding: 2rem 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .menu-day {
        padding: 0.75rem 1rem 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid var(--Border-color);
    }

    .menu-day:last-child {
        border-bottom: none;
    }

    .menu-day h3 {
        font-size: 1.25rem;
    }

    .menu-item {
        gap: 0.5rem;
    }

    .menu-icon {
        width: 20px;
        height: 20px;
    }

    .menu-item p {
        font-size: 0.875rem;
    }
}

/* ====================================
   O NÁS SEKCE
   ==================================== */

.about-section {
    padding: 2rem 2rem;
    background-color: #FAFAFA;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-section>p {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-intro {
    text-align: center;
}

.about-intro p {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* ====================================
   TEAM PODSEKCE
   ==================================== */

.team-section {
    width: 100%;
    background-color: #FAFAFA;
}

.team-section>h3 {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.team-section>p {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* ====================================
TEAM GRID - DESKTOP
==================================== */

.team-grid {
    display: flex;
    gap: 2rem;

    margin-top: 2rem;

    width: 100%;

    justify-content: center;

    padding: 1rem 0;
}


/* KARTA */

.team-card {
    display: flex;

    width: 26.25rem;
    height: 17.75rem;

    flex: 0 0 auto;

    padding: 1.5rem;
    gap: .625rem;

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

    background: #FFFFFF;
    border-radius: 1.25rem;

    overflow: hidden;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, .12),
        0 4px 8px rgba(0, 0, 0, .08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


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

    box-shadow:
        0 4px 8px rgba(0, 0, 0, .16),
        0 8px 16px rgba(0, 0, 0, .12);
}


/* obrázek */

.team-card-image {

    width: 40%;
    height: auto;
    max-height: 100%;

    border-radius: .75rem;

    object-fit: contain;

    flex-shrink: 0;
}


/* text */

.team-card-text {

    width: 60%;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


.team-card-text p {

    overflow: hidden;

    display: -webkit-box;
    -webkit-box-orient: vertical;

    -webkit-line-clamp: 8;
    line-clamp: 8;

    font-size: .9375rem;
    line-height: 150%;
}



@media (max-width:1199px) {

    .about-section {
            padding: 2rem 1rem;
        }
        
    .team-grid {

        justify-content: flex-start;

        overflow-x: auto;
        overflow-y: visible;

        scroll-behavior: smooth;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;

        padding: 1.25rem;
    }

}



/* ====================================
   MOBILE - STACK
   ==================================== */

@media (max-width: 767px) {

    .team-grid {

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 1rem;

        overflow: visible;

        padding-left: 0;
        padding-right: 0;
    }


    .team-card {

        width: 100%;
        max-width: 26.25rem;

        height: auto;

        flex-direction: column;

        padding: 1.25rem;
        gap: 1rem;

        text-align: center;
    }


    .team-card-image {

        width: 100%;
        max-height: 200px;
    }


    .team-card-text {

        width: 100%;

        align-items: center;
    }


    .team-card-text p {

        font-size: .875rem;

        -webkit-line-clamp: 8;
        line-clamp: 8;
    }
}

/* ====================================
   GARDEN SEKCE
   ==================================== */

.garden-section {
    width: 100%;
}

.garden-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.garden-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.garden-text h2 {
    text-align: center;
}

.garden-text p {
    max-width: 36rem;
}

.garden-image {
    display: flex;
    justify-content: center;
}

.garden-image img {
    width: 100%;
    max-width: 36rem;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}

@media (max-width: 767px) {

    .garden-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .garden-text h2 {
        text-align: center;
    }

    .garden-text {
        width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
}

/* ====================================
   INTERIOR SEKCE
   ==================================== */

.interior-section {
    background-color: #FAFAFA;
    width: 100%;
}

.interior-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.interior-image {
    display: flex;
    justify-content: center;
}

.interior-image img {
    width: 100%;
    max-width: 36rem;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}

.interior-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.interior-text h2 {
    text-align: center;
}

.interior-text p {
    max-width: 36rem;
    align-self: center;
}

@media (max-width: 767px) {

    .interior-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .interior-image {
        order: 2;
    }
    
    .interior-text {
        order: 1;
        text-align: center;
          }

    .interior-text h2 {
        text-align: center;
    }
}

/* ====================================
   AKCE SEKCE
   ==================================== */

.events-section {
    width: 100%;
    padding: 2rem 2rem;
    background-color: #FAFAFA;
}


/* OBSAH */

.events-container {
    max-width: 36rem;
    margin: 0 auto;
}

#eventsList {
    width: 100%;
}


/* HLAVNÍ NADPIS */

.events-container>h2 {
    text-align: center;
}


/* NADPISY JEDNOTLIVÝCH AKCÍ */

.events-container h3 {
    text-align: left;
}


/* TEXT BĚŽNÝCH AKCÍ */

.events-container p {
    padding-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}


/* FALLBACK TEXT */

.events-container .events-empty {
    width: 100%;
    margin: 0;
    padding-bottom: 0;
    text-align: center;
    color: var(--Secondary-text-color);
}

/* ====================================
   TABLET
   ==================================== */

@media (max-width: 1199px) {

    .events-section {
        padding: 2rem 1rem;
    }

}


/* ====================================
   MOBILE
   ==================================== */

@media (max-width: 767px) {

    .events-section {
        padding: 2rem 1rem;
    }

}

/* ====================================
   MENU LOADING
   ==================================== */

.menu-loading {
    width: 100%;
    min-height: 300px;

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

    gap: 1rem;

    color: var(--Primary-green);

    font-size: 0.9375rem;
}


/* moderní spinner */

.menu-loading {
    width: 100%;
    min-height: 300px;

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

    gap: 1rem;

    color: var(--Primary-green);
    font-size: 0.9375rem;
}


/* SPINNER */

.menu-spinner {
    width: 2.5rem;
    height: 2.5rem;

    border-radius: 50%;

    border: 3px solid rgba(42, 91, 54, 0.15);
    border-top-color: var(--Primary-green);

    animation: menuSpinner 0.8s linear infinite;
}


@keyframes menuSpinner {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* ERROR */

.menu-error {
    display: none;

    flex-direction: column;
    align-items: center;

    gap: 1rem;

    text-align: center;
}


/* ERROR BUTTON */

.menu-error .btn-tonal {
    text-transform: none;
}

/* ====================================
MENU CAROUSEL
==================================== */



.menu-carousel-wrapper {
    position: relative;

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

    width: 100%;
    max-width: 900px;

    margin: 2rem auto 0;
}


/* okno carouselu */

.menu-carousel {
    width: 100%;
    max-width: 900px;

    display: flex;

    overflow: hidden;

    scroll-behavior: smooth;

    border-radius: 1.25rem;
}


/* jednotlivé stránky menu */

.menu-slide {
    min-width: 100%;

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

}


/* obrázek menu */

.menu-slide img {
    display: block;

    width: auto;
    height: auto;

    margin: 0.5rem;

    max-width: 100%;
    max-height: 90vh;

    object-fit: contain;

    border-radius: 1.25rem;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, .12),
        0 4px 12px rgba(0, 0, 0, .10);
}

/* ====================================
ŠIPKY CAROUSELU
==================================== */

.carousel-button {

    width: 3rem;
    height: 3rem;

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

    border: none;
    border-radius: 0.5rem;

    background: rgba(42, 91, 54, 0.10);
    color: var(--Primary-green);

    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;

    position: absolute;

    transition:
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;

}


/* hover stejný jako tonal */

.carousel-button:hover {

    background:
        linear-gradient(rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.08)),
        rgba(42, 91, 54, 0.10);

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2);

}


/* focus */

.carousel-button:focus-visible {

    background:
        linear-gradient(rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.10)),
        rgba(42, 91, 54, 0.10);

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2);

    outline: none;

}


/* klik */

.carousel-button:active {

    background:
        linear-gradient(rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.12)),
        rgba(42, 91, 54, 0.10);

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12);

}


/* pozice */

.carousel-prev {
    left: -4rem;
}


.carousel-next {
    right: -4rem;
}



/* ====================================
   DOTS
   ==================================== */

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 0.625rem;

    margin-top: 1.5rem;
}


/* NEAKTIVNÍ */

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #BDBDBD;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* HOVER */

.carousel-dot:hover {
    background: #94ac81;

    transform: scale(1.2);
}


/* FOCUS – klávesnice */

.carousel-dot:focus-visible {
    background: var(--Primary-green);

    transform: scale(1.4);

    outline: none;

    box-shadow:
        0 0 0 3px rgba(90, 68, 53, 0.2);
}


/* AKTIVNÍ */

.carousel-dot.active {
    background: var(--Primary-green);

    transform: scale(1.4);
}



/* ====================================
   TABLET
   ==================================== */


@media (max-width: 1199px) {

    .menu-carousel-wrapper {
        max-width: 700px;
    }

    .carousel-prev {
        left: -1rem;
    }

    .carousel-next {
        right: -1rem;
    }

    /* skrytí scrollbar */
    .menu-carousel {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .menu-carousel::-webkit-scrollbar {
        display: none;
    }

}



/* ====================================
   MOBILE
   ==================================== */


@media (max-width: 767px) {

    .menu-carousel-wrapper {
        width: 100%;
    }

    .menu-carousel {

        max-width: 100%;

        border-radius: 1rem;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        /* skrytí scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .menu-carousel::-webkit-scrollbar {
        display: none;
    }

    .menu-slide img {
        border-radius: 1rem;
    }

    /* šipky na mobilu pryč */

    .carousel-button {
        display: none;
    }

    .menu-slide {
        scroll-snap-align: center;
    }

}

.menu-download {
    display: flex;
    justify-content: center;
    gap: 1rem;

    margin-top: 2rem;
}

.menu-download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {

    .menu-download {
        flex-direction: column;
        align-items: center;
    }

}


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

.footer {
    background: url("../assets/images/footer-background.jpg");
    padding: 2rem 1rem;
    color: var(--Body-text-color);
    width: 100%;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--Border-color);
    padding-bottom: 2rem;
}

.footer-column {
    text-align: center;
}

.footer-column h3 {
    margin-bottom: -0.5rem;
    color: var(--Title-color);
    text-align: center;
}

.footer-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 0.5rem 0;
}

.footer-column p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.social-links a {
    text-decoration: none;
    color: var(--Title-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--Accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--Body-text-color);
}

.footer-bottom a {
    color: var(--Title-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--Accent-color);
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 2rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .footer-column h3 {
        font-size: 1.125rem;
    }

    .footer-column p {
        font-size: 0.875rem;
    }
}


/* ====================================
   BOOKING MODAL
   ==================================== */

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

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

    padding: 1rem;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.booking-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.booking-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .45);
}

.booking-modal-dialog {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 64rem;
    max-height: calc(100vh - 2rem);

    background: var(--Background-color);

    border-radius: 1.25rem;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, .18);

    overflow: hidden;
}


/* ====================================
   HEADER
   ==================================== */

.booking-modal-header {
    position: relative;

    padding: 1.5rem 2rem 1.25rem;

    background-image:
        url("../assets/images/modal-header-background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.booking-modal-header h3 {
    margin: 0;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;

    width: 2.5rem;
    height: 2.5rem;

    padding: 0;

    font-size: 1.5rem;
    line-height: 1;

    z-index: 2;
}


/* ====================================
   FORM
   ==================================== */

#booking-form {
    padding: 2rem;

    max-height: calc(100vh - 8.5rem);
    overflow-y: auto;

    margin-bottom: .25rem;

    background-image:
        url("../assets/images/booking-content-background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 3rem;
}

.booking-column {
    display: flex;
    flex-direction: column;

    gap: 1.25rem;
}

.booking-column h3 {
    color: var(--Title-color);
}


/* ====================================
   FORM FIELDS
   ==================================== */

#booking-form input::placeholder,
#booking-form textarea::placeholder {
    color: rgba(18, 18, 18, .45);
    opacity: 1;
}


.booking-field {
    display: flex;
    flex-direction: column;
    gap: .375rem;
    text-align: left;
}


.booking-field label {
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--Body-text-color);
}


#booking-form input,
#booking-form textarea {
    width: 100%;
    box-sizing: border-box;

    padding: .75rem;

    border: 1px solid var(--Border-color);
    border-radius: .5rem;

    background: var(--Background-color);

    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--Body-text-color);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


/* VŠECHNY INPUTY STEJNÁ VÝŠKA */

#booking-form input {
    height: 3rem;
}


/* NATIVNÍ DATE / TIME / NUMBER */

#booking-form input[type="date"],
#booking-form input[type="time"],
#booking-form input[type="number"] {
    appearance: auto;
    -webkit-appearance: auto;
}

#booking-form input[type="date"]::-webkit-calendar-picker-indicator,
#booking-form input[type="time"]::-webkit-calendar-picker-indicator {
    filter:
        brightness(0) saturate(100%) invert(31%) sepia(24%) saturate(950%) hue-rotate(86deg) brightness(87%) contrast(90%);
}


/* TEXTAREA */

#booking-form textarea {
    min-height: 6rem;
    resize: vertical;
}


/* FOCUS */

#booking-form input:focus,
#booking-form textarea:focus {
    outline: none;

    border-color: var(--Title-color);

    box-shadow:
        0 0 0 3px rgba(132, 107, 17, .10);
}

/* ====================================
   FORM VALIDATION
   ==================================== */

.field-error {
    display: none;

    font-family: var(--font-body);
    font-size: .75rem;
    color: #B3261E;
}

#booking-form .booking-field.has-error input,
#booking-form .booking-field.has-error textarea {
    border-color: #B3261E;
}

#booking-form .booking-field.has-error input:focus,
#booking-form .booking-field.has-error textarea:focus {
    border-color: #B3261E;

    box-shadow:
        0 0 0 3px rgba(179, 38, 30, .10);
}

#booking-form .booking-field.has-error .field-error {
    display: block;
}


/* ====================================
   TIME + GUESTS
   ==================================== */

.booking-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 1rem;
}


/* ====================================
   CALENDAR
   ==================================== */

.booking-calendar {
    width: 100%;
}

.booking-calendar-header {
    display: grid;
    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1rem;
}

.booking-calendar-header h4 {
    margin: 0;
    text-align: center;
}

.booking-calendar-nav {
    width: 2.5rem;
    height: 2.5rem;

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

    border: none;
    border-radius: .5rem;

    background: rgba(42, 91, 54, .10);
    color: var(--Primary-green);

    font-size: 1.5rem;

    cursor: pointer;
}

.booking-calendar-weekdays,
.booking-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);

    gap: .375rem;
}

.booking-calendar-weekdays {
    margin-bottom: .5rem;

    text-align: center;
    font-size: .75rem;
}

.booking-calendar-days button {
    aspect-ratio: 1;

    border: 1px solid var(--Border-color);
    border-radius: .375rem;

    background: var(--Background-color);
    color: var(--Body-text-color);

    font-family: var(--font-body);

    cursor: pointer;
}

.booking-calendar-days button:hover {
    background: rgba(42, 91, 54, .10);
}

.booking-calendar-days button.active {
    background: var(--Primary-green);
    color: #FFFFFF;

    border-color: var(--Primary-green);
}


/* ====================================
   ACTIONS
   ==================================== */

.booking-actions {
    display: flex;
    justify-content: flex-end;

    gap: 1rem;

    margin-top: 2rem;
}


/* ====================================
   BOOKING SUCCESS
   ==================================== */

.booking-success {
    display: none;

    min-height: 34rem;
    padding: 3rem 2rem 2rem;

    background-image:
        url("../assets/images/pic-5.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.booking-success.active {
    display: flex;
    flex-direction: column;
}

.booking-success-content {
    flex: 1;

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

    text-align: center;
}

.booking-success-content h3 {
    max-width: 24rem;

    color: var(--Title-color);
}

.booking-success-content p {
    max-width: 20rem;

    margin-top: 1rem;

    text-align: center;
}

.booking-success-image {
    display: block;

    width: 100%;
    max-width: 10rem;
    height: auto;

    margin-top: 2rem;
}

.booking-success-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 2rem;
}


/* ====================================
   TABLET + MOBILE MODAL REZERVACE
   ==================================== */

@media (max-width: 1199px) {

    .booking-modal {
        align-items: center;
        padding: 1rem;
    }

    .booking-modal-dialog {
        width: calc(100vw - 2rem);
        max-width: none;
        max-height: calc(100vh - 2rem);

        border-radius: 1.25rem;
    }

    .booking-form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #booking-form {
        padding: 1.5rem;
    }

    .booking-success {
        min-height: auto;
        height: auto;

        padding: 2rem 1.5rem;
    }

    .booking-success-content {
        flex: 0 1 auto;
    }

    .booking-success-actions {
        justify-content: center;
    }
}


/* ====================================
   MOBILE MODAL REZERVACE
   ==================================== */

@media (max-width: 767px) {

    .booking-modal-dialog {
        border-radius: 1rem;
    }

    .booking-modal-header {
        padding: 1.5rem 2rem 1.25rem;
    }

    #booking-form {
        padding: 1.5rem 1rem;
    }

    .booking-meta {
        grid-template-columns: 1fr 1fr;
    }

    .booking-actions {
        flex-direction: column-reverse;
    }

    .booking-actions .btn {
        width: 100%;
    }

    .booking-success {
        padding: 2rem 1rem;
    }
}