/* ========================================================================== */
/* VINOLI — HLAVNÍ STYLY                                                     */
/* ========================================================================== */
/*
    SOUBOR: style.css

    Kde se používá:
    - index.html                → homepage / hero
    - blog.html                 → blog
    - cesta-vinem.html          → rozcestník Cesty vínem
    - vinice.html až sklenka.html → detailní kapitoly Cesty vínem
    - kontakt.html              → kontakt / O mně
    - vinari.html               → přehled vinařství
    - degustace.html            → degustace
    - components/header.html    → header + navigace
    - components/footer.html    → footer

    Barevnost:
    - hlavní vínová: #4d0e0e
    - světlejší vínová: #7b2f2f
    - jemný text: #6b4747
    - světlé pozadí: #f6f2ee
    - tmavý footer: #1f2427
*/

/* ========================================================================== */
/* 01 — ZÁKLAD WEBU                                                          */
/* Používá: všechny HTML stránky                                             */
/* ========================================================================== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    color: #4d0e0e;
    background: #fff;
}

/* Jemný opakující se VINOLI pattern na pozadí celé stránky */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("/images/vzorek_vino.png");
    background-repeat: repeat;
    background-size: 900px;
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
}

/* ========================================================================== */
/* 02 — HEADER + HLAVNÍ LOGO                                                 */
/* Používá: components/header.html → všechny stránky                         */
/* ========================================================================== */

#header {
    display: contents;
}

/*
    Tři sloupce:
    vlevo = budoucí lupa
    střed = logo
    vpravo = budoucí účet

    Díky gridu zůstane logo přesně uprostřed i při prázdných bočních blocích.
*/
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 40px;
    background: #f6f2ee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
}

header.shrink {
    padding: 10px 40px;
}

.top-icon {
    justify-self: start;
}

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

.right {
    justify-self: end;
}

.vinoli-logo-img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.subtitle {
    margin: 8px 0 0;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #7b2f2f;
    transition: 0.3s ease;
}

/* Připraveno pro budoucí lupu */
.top-icon img {
    width: 35px;
    height: auto;
    cursor: pointer;
}

/* Připraveno pro budoucí položku Účet */
.menuItem {
    font-size: 1.1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.menuItem:hover {
    border-bottom-color: #7b2f2f;
}


/* ========================================================================== */
/* 03 — HLAVNÍ NAVIGACE                                                      */
/* Používá: components/header.html → všechny stránky                         */
/* JS: /js/components.js přidává nav.hide při scrollování                    */
/* ========================================================================== */

nav {
    background: #f6f2ee;
    border-bottom: 1px solid #ddd;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}

nav.hide {
    transform: translateY(-100%);
    opacity: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 7px 0;
    margin: 0;
}

nav a {
    color: #4d0e0e;
    text-decoration: none;
    font-size: 1.1rem;
}

nav a:hover {
    color: #7b2f2f;
}


/* ========================================================================== */
/* 04 — HOMEPAGE                                                             */
/* Používá: index.html                                                       */
/* ========================================================================== */

.hero {
    height: 80.7vh;
    background-image: url("/images/palava.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 70%;
    position: relative;
}

/*Popis - Víno má svůj příběh*/
.hero .overlay {
    position: absolute;
    left: 30px;
    bottom: 30px;
    padding: 15px 18px;
    background: rgba(246, 242, 238, 0.85);
    border-radius: 18px;
    text-align: center;
}

.hero h2 {
    margin: 0;
    font-size: 1.7rem;
}

.hero p {
    margin: 5px 0 0;
    font-size: 0.9rem;
}

/*
    Připraveno pro budoucí obsah homepage.
    Už zde není umělá height: 1500px ani z-index: -1.
*/
.content {
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.home-intro {
    max-width: 760px;
    margin: 0 auto;
    padding: 90px 30px 70px;
    text-align: center;
}

.home-intro h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.6rem;
    font-weight: 400;
    color: #4d0e0e;
}

.home-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6b4747;
}

.home-news,
.home-links {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 30px 80px;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.home-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-news-card,
.home-link-card {
    padding: 30px;
    background: #f6f2ee;
    border: 1px solid rgba(77, 14, 14, 0.12);
    border-radius: 16px;
    text-decoration: none;
    color: #4d0e0e;
}

.home-link-card {
    transition: 0.3s ease;
}

.home-link-card:hover {
    transform: translateY(-4px);
}

.home-news-link {
    display: inline-block;
    margin-top: 15px;

    color: #4d0e0e;
    text-decoration: none;
    font-weight: 500;

    border-bottom: 1px solid transparent;
    transition: 0.2s ease;
}

.home-news-link:hover {
    color: #8b3030;
    border-bottom-color: #8b3030;
}

/* ========================================================================== */
/* 05 — BLOG                                                                 */
/* Používá: blog.html                                                        */
/* ========================================================================== */

.blog {
    max-width: 1100px;
    margin: 120px auto 80px;
    padding: 0 20px;
    text-align: center;
}

.blog h2 {
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: #4d0e0e;
}

.blog > h3 {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 400;
    color: #6b4747;
}

.blog-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.blog-card {
    overflow: hidden;
    background: #f6f2ee;
    border-radius: 14px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin: 0 0 18px;
    color: #4d0e0e;
}

.blog-content p {
    margin: 0 0 18px;
    color: #5d3b3b;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background: #7b2f2f;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #4d0e0e;
}

/* ========================================================================== */
/* 06 — CESTA VÍNEM: ÚVOD                                                   */
/* Používá: cesta-vinem.html                                                 */
/* ========================================================================== */
/*první mezera*/
.journey-intro {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 30px;
    text-align: center;
}
/*OD VINICE AŽ PO SKLENKU*/
.journey-label {
    margin: 0 0 18px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 400;
    color: #8b5e65;
}
/*Cesta vínem*/
.journey-intro h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    font-weight: 400;
    color: #4d0e0e;
}

.journey-description {
    max-width: 650px;
    margin: 25px auto 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6b4747;
}


/* ========================================================================== */
/* 07 — CESTA VÍNEM: TIMELINE                                               */
/* Používá: cesta-vinem.html                                                 */
/* ========================================================================== */

.journey-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 140px;
}

/* Hlavní čerchovaná svislá cesta */
.journey-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 2px dashed #c5a2a6;
}

.journey-step {
    position: relative;
    display: block;
    width: calc(50% - 85px);
    margin-bottom: 55px;
    padding: 30px 35px;
    background: #f6f2ee;
    border: 1px solid rgba(77, 14, 14, 0.12);
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
    color: #4d0e0e;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.journey-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background: #fbf8f5;
}

.journey-step.left {
    margin-right: auto;
}

.journey-step.right {
    margin-left: auto;
}

/* Spojovací čáry z karty ke středu */
.journey-step.left::before,
.journey-step.right::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    border-top: 2px dashed #c5a2a6;
}

.journey-step.left::before {
    right: -65px;
}

.journey-step.right::before {
    left: -65px;
}

/* Kolečko se šipkou */
.journey-step.left::after,
.journey-step.right::after {
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7b2f2f;
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    text-indent: -2px;
    z-index: 2;
}
  /* šipka */
.journey-step.left::after {
    content: "➜";
    right: -79px;
    transform: translateY(-50%);
}
  /* šipka */
.journey-step.right::after {
    content: "➜";
    left: -79px;
    transform: translateY(-50%) scaleX(-1);
}

.journey-number {
    display: block;
    margin-bottom: 20px;
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: #a17c81;
}

.journey-step h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #4d0e0e;
}

.journey-step p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #6b4747;
}

.journey-step:last-of-type {
    margin-bottom: 0;
}


/* ========================================================================== */
/* 08 — CESTA VÍNEM: KONEC CESTY - sklenka na konci cesty                     */
/* Používá: cesta-vinem.html                                                 */
/* ========================================================================== */

.journey-end {
    position: relative;
    width: 100%;
    height: 50px;
    margin-top: 15px;
}
/* poslední čerchovaná linka */
.journey-final-line {
    position: absolute;
    left: 50%;
    top: 0;
    height: 0px;
    border-left: 2px dashed #c5a2a6;
    transform: translateX(-50%);
}
/* kolečko se šipkou dolů */
.journey-final-arrow {
    position: absolute;
    left: 50%;
    top: 45px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7b2f2f;
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    transform: translateX(-50%) rotate(90deg);
    z-index: 2;
}
/* sklenička */
.journey-end img {
    position: absolute;
    left: 50%;
    top: 85px;
    width: 90px;
    height: auto;
    transform: translateX(-50%);
}


/* ========================================================================== */
/* 09 — DETAIL KAPITOL CESTY VÍNEM                                          */
/* Používá: vinice.html, reva_vinna.html, hrozen.html, sklizen.html,          */
/*           zpracovani.html, kvaseni.html, zrani.html, lahvovani.html,       */
/*           servis_vina.html, sklenka.html                                  */
/* Částečně používá také kontakt.html                                        */
/* ========================================================================== */

.chapter {
    max-width: 850px;
    margin: 0 auto;
    padding: 70px 30px 120px;
}

.chapter-header {
    text-align: center;
    margin-bottom: 80px;
}

.chapter-number {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: #a17c81;
}

/* h2 je zde kvůli kontakt.html, kde je nadpis KDO STOJÍ ZA VINOLI */
.chapter-header h1,
.chapter-header > h2 {
    margin: 15px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #4d0e0e;
}

.chapter-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #6b4747;
}

.chapter-section {
    margin-bottom: 60px;
}

.chapter-section h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
    color: #4d0e0e;
}

.chapter-section h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: #4d0e0e;
}

.chapter-section p {
    line-height: 1.9;
    font-size: 1.05rem;
    color: #6b4747;
}

.chapter-content-list {
    padding-left: 25px;
    line-height: 2;
    font-size: 1.05rem;
    color: #6b4747;
}

.chapter-section ul,
.chapter-section li {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #6b4747;
}


/* ========================================================================== */
/* 10 — DALŠÍ KROK MEZI KAPITOLAMI                                          */
/* Používá: všechny detailní kapitoly Cesty vínem                            */
/* ========================================================================== */

.chapter-next {
    margin-top: 100px;
    padding-top: 30px;
    border-top: 1px solid #d8c8c8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.chapter-next span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #a17c81;
}

.chapter-next a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    color: #4d0e0e;
    text-decoration: none;
}

.chapter-next a:hover {
    color: #8b3030;
}


/* ========================================================================== */
/* 11 — OBRÁZKY V KAPITOLÁCH                                                */
/* Používá: detailní kapitoly Cesty vínem                                    */
/* ========================================================================== */

/* Širší fotografie */
.chapter-image {
    width: 75%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-top: 30px;
}

/* Užší / portrétní fotografie */
.chapter-image2 {
    width: 50%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-top: 30px;
}

/* Schémata a ilustrace */
.chapter-image3 {
    width: 70%;
    max-width: 600px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    margin-top: 30px;
}

/* Menší ilustrace — např. karafa */
.chapter-image4 {
    width: 20%;
    max-width: 600px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    margin-top: 30px;
}

figcaption {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #a17c81;
}


/* ========================================================================== */
/* 12 — CITÁTY / ZÁVĚREČNÉ BOXY                                             */
/* Používá: detailní kapitoly Cesty vínem                                    */
/* ========================================================================== */

.wine-quote {
    margin: 45px 0;
    padding: 28px 35px;
    background: #f6f2ee;
    border-left: 4px solid #6b4747;
    border-radius: 0 14px 14px 0;
}

.wine-quote p {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    color: #4d0e0e;
}

.wine-quote cite {
    font-size: 0.9rem;
    font-style: normal;
    color: #8a6a6a;
}


/* ========================================================================== */
/* 13 — KONTAKT / O MNĚ                                                     */
/* Používá: kontakt.html                                                     */
/* ========================================================================== */

.contact-bottom {
    max-width: 900px;
    margin: 45px auto 80px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.contact-info {
    text-align: left;
}

.contact-label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #a17c81;
}

.contact-info h2 {
    margin: 12px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: #4d0e0e;
}

.contact-info p {
    line-height: 1.8;
    color: #6b4747;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}

.contact-links a {
    color: #4d0e0e;
    text-decoration: none;
    font-size: 1rem;
}

.contact-links a:hover {
    color: #a17c81;
}

.contact-photo img {
    width: 100%;
    max-width: 360px;
    height: 420px;
    display: block;
    margin-left: auto;
    object-fit: cover;
    border-radius: 16px;
}


/* ========================================================================== */
/* 14 — VINAŘI                                                              */
/* Používá: vinari.html                                                      */
/* ========================================================================== */

.winemakers {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 30px 120px;
}

.winemakers-header {
    max-width: 720px;
    margin: 0 auto 70px;
    text-align: center;
}

.winemakers-header h1 {
    margin: 10px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    font-weight: 400;
    color: #4d0e0e;
}

.winemakers-header p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6b4747;
}

.winemakers-intro-highlight {
    font-weight: 500;
    color: #4d0e0e;
}

.winemakers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.winemaker-card {
    overflow: hidden;
    background: #f6f2ee;
    border: 1px solid rgba(77, 14, 14, 0.12);
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.winemaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/*
    object-fit: contain je záměrně:
    karta může obsahovat logo i klasickou fotografii.
*/
.winemaker-card img {
    width: 100%;
    height: 260px;
    display: block;
    object-fit: contain;
    background: #fff;
    padding: 25px;
}

.winemaker-content {
    padding: 28px 30px 32px;
}

.winemaker-content span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: #a17c81;
}

.winemaker-content h2 {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #4d0e0e;
}

.winemaker-content p {
    margin: 0 0 22px;
    line-height: 1.7;
    color: #6b4747;
}

.winemaker-content a {
    color: #4d0e0e;
    text-decoration: none;
    font-weight: 500;
}

.winemaker-content a:hover {
    color: #8b3030;
}


/* ========================================================================== */
/* 15 — DEGUSTACE: CELÁ STRÁNKA                                             */
/* Používá: degustace.html                                                   */
/* ========================================================================== */

.tastings {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 30px 120px;
}

.tastings-header {
    max-width: 720px;
    margin: 0 auto 70px;
    text-align: center;
}

.tastings-header h1 {
    margin: 10px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    font-weight: 400;
    color: #4d0e0e;
}

.tastings-header p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6b4747;
}


/* ========================================================================== */
/* 16 — DEGUSTACE: HLAVNÍ / NEJBLIŽŠÍ AKCE                                  */
/* Používá: degustace.html → .tasting-featured                              */
/* ========================================================================== */

.tasting-featured {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    margin-bottom: 100px;
    background: #f6f2ee;
    border: 1px solid rgba(77, 14, 14, 0.12);
    border-radius: 18px;
    overflow: hidden;
}

.tasting-featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px;
}

.tasting-featured-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 18px;
}

.tasting-featured-content {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tasting-label {
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: #a17c81;
}

.tasting-featured-content h2 {
    margin: 15px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #4d0e0e;
}

.tasting-featured-content p {
    line-height: 1.8;
    color: #6b4747;
}

.tasting-date {
    font-weight: 500;
    color: #4d0e0e !important;
}

.tasting-button {
    margin-top: 20px;
    color: #4d0e0e;
    text-decoration: none;
    font-weight: 500;
}

.tasting-button:hover {
    color: #8b3030;
}


/* ========================================================================== */
/* 17 — DEGUSTACE: NADCHÁZEJÍCÍ + ARCHIV                                    */
/* Používá: degustace.html                                                   */
/* ========================================================================== */

.tastings-section {
    margin-top: 80px;
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h2 {
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
    color: #4d0e0e;
}

.tastings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tasting-card {
    padding: 35px;
    background: #f6f2ee;
    border: 1px solid rgba(77, 14, 14, 0.12);
    border-radius: 16px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tasting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.tasting-card-date {
    display: block;
    margin-bottom: 15px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #a17c81;
}

.tasting-card h3 {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #4d0e0e;
}

.tasting-card p {
    line-height: 1.7;
    color: #6b4747;
}

.tasting-card-meta {
    display: flex;
    gap: 20px;

    margin: 20px 0;

    font-size: 0.9rem;
    color: #8a6a6a;
}

.tasting-card a {
    color: #4d0e0e;
    text-decoration: none;
    font-weight: 500;
}

.tasting-card a:hover {
    color: #8b3030;
}

/* Archiv je jemnější než budoucí akce */
.tasting-card-archive {
    background: #fbf9f7;
}


/* ========================================================================== */
/* 18 — FOOTER                                                               */
/* Používá: components/footer.html → všechny stránky                         */
/* ========================================================================== */

.site-footer {
    padding: 60px 40px 20px;
    background: #1f2427;
    color: #f6f2ee;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    width: 170px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    width: 210px;
    margin: 10px 0 0;
    color: #c9c1bc;
    line-height: 1.6;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer a {
    color: #d8d0cb;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 30px auto 0;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 14px;
}


/* ========================================================================== */
/* 19 — MOBIL: CESTA VÍNEM                                                  */
/* Používá: cesta-vinem.html                                                 */
/* Ostatní mobilní části webu budeme řešit později samostatně.               */
/* ========================================================================== */

@media (max-width: 768px) {

    .journey-intro {
        padding: 65px 25px 60px;
    }

    .journey-intro h1 {
        font-size: 2.3rem;
    }

    .journey-timeline {
        padding: 20px 20px 80px 55px;
    }

    /* Hlavní cesta se přesune doleva */
    .journey-timeline::before {
        left: 27px;
        transform: none;
    }

    .journey-step {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 35px;
    }

    /* Spojovací čára */
    .journey-step.left::before,
    .journey-step.right::before {
        left: -28px;
        right: auto;
        width: 28px;
    }

    /* Šipka */
    .journey-step.left::after,
    .journey-step.right::after {
        content: "→";
        left: -42px;
        right: auto;
        transform: translateY(-50%);
    }
}

/* ========================================================================== */
/* MOBIL — HEADER + NAVIGACE                                                 */
/* ========================================================================== */

.menu-toggle {
    display: none;
    border: none;
    background: none;
    color: #4d0e0e;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {

    header {
        grid-template-columns: 1fr auto 1fr;
        padding: 10px 18px;
    }

    header.shrink {
        padding: 10px 18px;
    }

    .vinoli-logo-img {
        width: 150px;
    }

    .subtitle {
        margin-top: 5px;
        font-size: 0.68rem;
        letter-spacing: 1.5px;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    nav {
        display: none;
        position: static;
        transform: none;
        opacity: 1;
    }

    nav.mobile-open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    nav li {
        text-align: center;
    }

    nav a {
        display: block;
        padding: 13px 20px;
        font-size: 1rem;
    }

    nav a:hover {
        background: rgba(77, 14, 14, 0.05);
    }

}

/* ========================================================================== */
/* MOBIL — HOMEPAGE                                                          */
/* Používá: index.html                                                        */
/* ========================================================================== */

@media (max-width: 768px) {

    /* HERO */
    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .hero img {
        max-width: 100%;
    }

    .hero .overlay {
        left: 18px;
        right: 18px;
        bottom: 22px;

        padding: 14px 16px;
        border-radius: 14px;
    }

    .hero h2 {
        font-size: 1.45rem;
    }

    .hero p {
        font-size: 0.85rem;
        line-height: 1.5;
    }


    /* HLAVNÍ OBSAH */
    .content {
        padding: 0;
    }


    /* ÚVOD VINOLI */
    .home-intro {
        padding: 65px 24px 50px;
    }

    .home-intro h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .home-intro p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* NOVINKY */
    .home-news {
        padding: 35px 20px 60px;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-news-card {
        padding: 26px 24px;
    }

    /* ROZCESTNÍKY */
    .home-links {
        padding: 35px 20px 70px;
    }

    .home-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-link-card {
        padding: 26px 24px;
    }

    /* NADPISY SEKCE */
    .section-heading h2 {
        font-size: 1.8rem;
    }

}

/* ========================================================================== */
/* MOBIL — FOOTER                                                            */
/* Používá: components/footer.html                                           */
/* ========================================================================== */

@media (max-width: 768px) {

    .site-footer {
        padding: 45px 24px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand,
    .footer-links a,
    .footer-contact a {
        font-size: 1rem;
        padding: 3px 0;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-brand p {
        width: auto;
        max-width: 280px;
        margin-top: 12px;
        padding: 0;
    }

    .footer-links,
    .footer-contact {
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;

        margin-top: 35px;
        padding-top: 20px;
    }
}

/* ========================================================================== */
/* MOBIL — CESTA VÍNEM                                                      */
/* Používá: cesta-vinem.html                                                */
/* ========================================================================== */

@media (max-width: 768px) {

    .journey-intro {
        padding: 60px 22px 45px;
    }

    .journey-label {
        font-size: 0.68rem;
        letter-spacing: 1.8px;
    }

    .journey-intro h1 {
        font-size: 2.3rem;
        line-height: 1.15;
    }

    .journey-description {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .journey-timeline {
        padding: 10px 18px 100px 100px;
    }

    /* hlavní čerchovaná cesta vlevo */
    .journey-timeline::before {
        left: 48.5px;
        top: 105px;
        bottom: 230px;
        transform: none;
    }

    /* všechny karty pod sebe */
    .journey-step {
        width: 80%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 28px;
        padding: 24px 24px;
        border-radius: 14px;
    }

    .journey-step h2 {
        font-size: 1.55rem;
    }

    .journey-step p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .journey-number {
        margin-bottom: 14px;
        font-size: 0.68rem;
    }

    /* spojovací čára z timeline do karty */
    .journey-step.left::before,
    .journey-step.right::before {
        left: -40px;
        right: auto;
        width: 40px;
    }

    /* šipka */
    .journey-step.left::after,
    .journey-step.right::after {
        content: "→";
        left: -48px;
        right: auto;
        width: 28px;
        height: 28px;
        transform: translateY(-50%) scaleX(-1);
    }

    /* konec cesty */
        .journey-end {
        position: relative;
        width: 80%;
        height: 180px;
        margin-top: 0;
    }

    .journey-final-line {
        position: absolute;
        left: -30px;
        top: 0;
        height: 0px;
        border-left: 2px dashed #c5a2a6;
        transform: none;
    }

    .journey-final-arrow {
        position: absolute;
        left: -50px;
        top: 45px;
        width: 28px;
        height: 28px;
        transform: translateX(-50%) rotate(90deg);
    }

    .journey-end img {
        position: absolute;
        left: -50px;
        top: 90px;
        width: 70px;
        height: auto;
        transform: translateX(-50%);
    }
}

/* ========================================================================== */
/* MOBIL — KAPITOLY VÍNA                                                      */
/* Používá: cesta-vinem.html                                                  */
/* ========================================================================== */

@media (max-width: 768px) {

    .chapter-image {
        width: 100%;
        max-width: 450px;
        height: 300px;

        display: block;
        margin: 30px auto;

        border-radius: 16px;
    }

    .chapter-image2 {
        width: 100%;
        max-width: 350px;
        height: 300px;

        display: block;
        margin: 30px auto;

        border-radius: 16px;
    }

    .chapter-image3 {
        width: 80%;
        max-width: 550px;
        height: 180px;
        display: block;
        margin: 30px auto;
        border-radius: 16px;
    }

    .wine-quote {
        margin: 35px 0;
        padding: 22px 24px;
        border-radius: 0 12px 12px 0;
    }

    .wine-quote p {
        font-size: 1.55rem;
        line-height: 1.35;
    }

    .wine-quote cite {
        font-size: 0.82rem;
    }
}

/* ========================================================================== */
/* MOBIL — VINAŘI                                                            */
/* Používá: vinari.html                                                      */
/* ========================================================================== */

@media (max-width: 768px) {

    .winemakers {
        padding: 60px 20px 80px;
    }

    .winemakers-header {
        margin-bottom: 45px;
    }

    .winemakers-header h1 {
        font-size: 2.3rem;
    }

    .winemakers-header p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .winemakers-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .winemaker-card img {
        height: 220px;
        padding: 20px;
    }

    .winemaker-content {
        padding: 24px 24px 28px;
    }

    .winemaker-content h2 {
        font-size: 1.55rem;
    }

    .winemaker-content p {
        line-height: 1.65;
    }
}

/* ========================================================================== */
/* MOBIL — DEGUSTACE                                                         */
/* Používá: degustace.html                                                   */
/* ========================================================================== */

@media (max-width: 768px) {

    .tastings {
        padding: 60px 20px 80px;
    }

    .tastings-header {
        margin-bottom: 45px;
    }

    .tastings-header h1 {
        font-size: 2.3rem;
    }

    .tastings-header p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* HLAVNÍ DEGUSTACE */
    .tasting-featured {
        grid-template-columns: 1fr;
        margin-bottom: 70px;
    }

    .tasting-featured-image {
        padding: 24px 24px 0;
    }

    .tasting-featured-image img {
        max-width: 150px;
        margin: 0 auto;
    }

    .tasting-featured-content {
        padding: 30px 24px 32px;
        text-align: center;
    }

    .tasting-featured-content h2 {
        font-size: 1.8rem;
    }

    .tasting-button {
        margin-top: 16px;
    }

    /* DALŠÍ DEGUSTACE + ARCHIV */
    .tastings-section {
        margin-top: 60px;
    }

    .tastings-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tasting-card {
        padding: 26px 24px;
    }

    .tasting-card h3 {
        font-size: 1.45rem;
    }

    .tasting-card-meta {
        flex-direction: column;
        gap: 8px;
        margin: 18px 0;
    }
}

/* ========================================================================== */
/* MOBIL — KONTAKT                                                           */
/* Používá: kontakt.html                                                     */
/* ========================================================================== */

@media (max-width: 768px) {

    .contact-bottom {
        grid-template-columns: 1fr;
        gap: 35px;

        margin: 35px auto 60px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-links {
        align-items: center;
    }

    .contact-photo img {
        width: 100%;
        max-width: 320px;
        height: auto;

        margin: 0 auto;
    }

    .chapter-header > h2 {
        font-size: 2.2rem;
    }

    .chapter-lead {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* ========================================================================== */
/* MOBIL — BLOG                                                              */
/* Používá: blog.html                                                        */
/* ========================================================================== */

@media (max-width: 768px) {

    .blog {
        margin: 70px auto 60px;
        padding: 0 20px;
    }

    .blog h2 {
        font-size: 1.9rem;
        margin-bottom: 24px;
    }

    .blog > h3 {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Až budou aktivní články */
    .blog-list {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .blog-card img {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }
}
