/*
 * Závěrečná práce PRO pro MMK 3. ročník
 * Webová stránka muzea: PRAGUE EGYPT MUZEUM
 * Autor: Vojtěch Taclík
 * Rok: 2026
 */

/* =========================================
   1. GLOBÁLNÍ PROMĚNNÉ A RESET
   ========================================= */

:root {
    --primary: #111111;
    --promo-bg: #3c3c3c;
    --accent: #c5a059;
    --white: #ffffff;
    --surface-light: #f4f4f4;
    --font-heading: 'Georgia', serif;
}

/* Reset všech okrajů na stránce */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { max-width: 100%; scroll-behavior: smooth; }

/* scroll-margin-top: Zabraňuje tomu, aby fixní (sticky) navigace při plynulém scrollu zakryla nadpisy sekcí. */
#exhibitions, #museum, #highlights, #price-list, #reviews, #faq, #booking, #contact {
    scroll-margin-top: 110px; 
}

body { 
    font-family: Arial, sans-serif; 
    color: #222; 
    background: #fff; 
    line-height: 1.4; 
    max-width: 100%;
    overflow-x: clip; /* overflow-x: clip ořízne vše, co by nechtěně přesahovalo na šířku (zabrání vzniku horizontálního posuvníku) */
    position: relative;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }


/* =========================================
   2. STICKY NAVIGACE (HLAVIČKA)
   ========================================= */

header { 
    position: -webkit-sticky; /* Podpora pro Safari */
    position: sticky; 
    top: 0; 
    background: #fff; 
    z-index: 9999; /* Musí být vždy nad ostatními elementy */
    border-bottom: 1px solid #eee; 
    padding: 15px 0; 
}

.nav-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; padding: 0 40px; }

/* === PŘEPÍNAČ JAZYKŮ === */
/* Tlačítko se stylem podobným iOS přepínačům (kolečko v dráze) */
.lang-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.lang-label { font-size: 0.85rem; font-weight: bold; color: #aaa; transition: color 0.3s ease; }
.lang-switch[data-lang="en"] .lang-label.en { color: var(--primary); }
.lang-switch[data-lang="cz"] .lang-label.cz { color: var(--primary); }
.switch-track { width: 54px; height: 28px; background-color: var(--primary); border-radius: 30px; position: relative; transition: background-color 0.3s ease; }
.lang-switch[data-lang="cz"] .switch-track { background-color: var(--accent); }
/* cubic-bezier je speciální křivka animace, díky které se kulička nepřesune nudně lineárně, ale s mírným "zhoupnutím". */
.switch-thumb { width: 22px; height: 22px; background-color: #fff; border-radius: 50%; position: absolute; top: 3px; left: 3px; transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.lang-switch[data-lang="cz"] .switch-thumb { transform: translateX(26px); }

.logo-link { display: block; transition: transform 0.3s ease; }
.logo-link:hover { transform: scale(1.05); }
.main-logo { height: 60px; width: auto; display: block; object-fit: contain; }

.nav-center { display: flex; flex-direction: column; align-items: center; }
.sub-nav { margin-top: 15px; } 
.sub-nav .nav-links { display: flex; list-style: none; gap: 30px; }

/* Animovaná linka pod odkazy. Pomocí pseudoelementu ::after vytvoříme čáru, které se po hoveru zvětší šířka na 100%. */
.hover-underline { position: relative; text-decoration: none; color: #000; font-weight: bold; font-size: 0.85rem; letter-spacing: 1px; padding-bottom: 5px; }
.hover-underline::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: var(--accent); transition: all 0.3s ease-in-out; transform: translateX(-50%); }
.hover-underline:hover::after { width: 100%; }

.nav-right { display: flex; justify-content: flex-end; gap: 10px; }
.btn-contact, .btn-tickets { text-decoration: none; padding: 10px 20px; border-radius: 50px; font-weight: bold; font-size: 0.75rem; transition: 0.3s; }
.btn-contact { border: 1px solid #000; color: #000; }
.btn-contact:hover { background: #000; color: #fff; }
.btn-tickets { background: #1a1a1a; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.btn-tickets:hover { background: var(--accent); color: #fff; }

/* Odstranění mobilního burger-menu na PC */
.hamburger { display: none; }
.mobile-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: #fff; display: flex; justify-content: center; align-items: center; transition: 0.5s; z-index: 9998; }
.mobile-nav.active { right: 0; }
.mobile-links { list-style: none; text-align: center; }
.mobile-links li { margin: 25px 0; }
.mobile-links a { text-decoration: none; color: #000; font-size: 1.5rem; font-weight: bold; }
.mobile-btn-tickets { background: #1a1a1a; color: #fff !important; padding: 10px 30px; border-radius: 50px; }


/* =========================================
   3. HERO SEKCÍ (HLAVNÍ BANNER S CAROUSELEM)
   ========================================= */
/* Tyto obrázky se přes sebe skládají absolutním pozicováním a JavaScript je přepíná měněním hodnoty opacity z 0 na 1 (fade efekt). */
#hero-carousel { position: relative; width: 100%; height: 60vh; }
.carousel-container { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.carousel-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease-in-out; }
.carousel-image.active { opacity: 1; z-index: 1; }

.promo-card { position: absolute; bottom: 0; right: 0; left: auto; transform: translateY(50%); background: var(--promo-bg); color: #fff; padding: 20px 40px; border-radius: 40px 0 0 40px; width: 550px; box-shadow: -10px 10px 30px rgba(0,0,0,0.4); z-index: 1000; }
.promo-content { display: flex; justify-content: space-between; align-items: center; }
.promo-text-side h3 { display: flex; align-items: center; font-size: 1.5rem; font-weight: bold; margin-bottom: 5px; letter-spacing: 1px; }
.promo-text-side p { font-size: 0.95rem; opacity: 0.9; }

/* Status dot ovlivňuje JS na základě času (zelená = otevřeno, červená = zavřeno) */
.status-dot { display: inline-block; width: 12px; height: 12px; background-color: #4CAF50; border-radius: 50%; margin-left: 10px; box-shadow: 0 0 8px rgba(76, 175, 80, 0.8); transition: background-color 0.3s, box-shadow 0.3s; }
.status-dot.closed { background-color: #F44336; box-shadow: 0 0 8px rgba(244, 67, 54, 0.8); }

.promo-buttons-side { display: flex; flex-direction: column; gap: 8px; }
.btn-promo-pill { display: flex; justify-content: center; align-items: center; text-decoration: none; padding: 10px 30px; border-radius: 25px; font-size: 0.8rem; font-weight: bold; text-align: center; transition: 0.3s; border: 1px solid transparent; }
.btn-promo-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-promo-primary:hover { background: #a88544; border-color: #a88544; }
.btn-promo-secondary { background: var(--white); color: #000; border-color: #ccc; }
.btn-promo-secondary:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }


/* =========================================
   4. EXPOZICE A ODPOČET
   ========================================= */
.combined-exhibitions-section { background: #f8f9fa; color: var(--primary); padding: 0 0 100px 0; position: relative; z-index: 10; }

.full-width-event { width: 100%; background: #ffffff; padding: 80px 0; box-shadow: 0 20px 50px rgba(0,0,0,0.05), 0 0 40px rgba(197, 160, 89, 0.12); border-bottom: 1px solid rgba(197, 160, 89, 0.2); margin-bottom: 100px; }
.event-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.event-image-wrapper { width: 100%; min-height: 300px; max-height: 450px; border-radius: 16px; overflow: hidden; background: #eee; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.event-image { width: 100%; height: 100%; object-fit: cover; }
.event-text .subtitle { font-size: 0.9rem; color: var(--accent); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; display: inline-block; background: rgba(197, 160, 89, 0.1); padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(197, 160, 89, 0.3); }
.exhibition-title { font-family: var(--font-heading); font-size: 2.8rem; color: var(--primary); margin-bottom: 30px; letter-spacing: 1px; text-transform: uppercase; }

/* Odpočet (Countdown) boxy */
.timer-wrapper { display: flex; gap: 20px; margin-bottom: 30px; }
.time-box { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #111; padding: 20px 25px; border-radius: 10px; min-width: 120px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.time-box span:first-child { font-size: 3.5rem; font-weight: bold; font-family: monospace; color: var(--accent); line-height: 1; }
.time-label { font-size: 0.8rem; letter-spacing: 1px; margin-top: 5px; color: #fff; opacity: 0.8; }
.event-desc { font-size: 1.15rem; color: #555; line-height: 1.8; text-align: justify; }

.combined-exhibitions-section .section-heading { font-size: 3.5rem; text-transform: uppercase; margin-bottom: 40px; text-align: left; line-height: 1.1; font-family: var(--font-heading); color: var(--primary); }

/* --- EXPO CAROUSEL Z CSV --- */
.expo-carousel-wrapper {
    position: relative;
    padding: 0; 
}

/* Nastavení posuvníku (Carouselu). scroll-snap zajišťuje, že se karta při scrollování sama přesně usadí ("zacvakne") ke kraji, aby neukazovala jen polovinu obsahu. */
.expo-carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 10px; 
    margin: 0 70px; 
    /* Odstranění scrollbaru */
    scrollbar-width: none; /* pro Firefox */
    -ms-overflow-style: none; /* pro IE a starší Edge */
}
/* Odstranění pro Chrome/Safari */
.expo-carousel-track::-webkit-scrollbar {
    display: none; 
}

.expo-card {
    flex: 0 0 calc(33.333% - 20px); /* uvidime pouze 3 karty vedle sebe */
    scroll-snap-align: start; /* Kam se karta zacvakne */
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 12px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    transition: 0.3s; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    color: #111; 
}

.expo-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
    border-color: #ddd;
}
.expo-img-wrapper { height: 250px; overflow: hidden; }
.expo-img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.4s ease, filter 0.4s ease; }
.expo-img:hover { transform: scale(1.05); filter: brightness(1.1); }
.expo-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.expo-category { color: var(--accent); font-size: 0.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.expo-title { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 15px; color: var(--primary); }
.expo-desc { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }

/* Navigační šipky Carouselu s (cubic-bezier) pro vzhled animace na hover. */
.expo-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px; 
    height: 60px; 
    background: #111; 
    color: #fff; 
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    font-size: 1.8rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.expo-btn:hover {
    background: #fff; 
    color: var(--accent); 
    transform: translateY(-50%) scale(1.1); 
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.4); 
}

.expo-prev { left: 0; }
.expo-next { right: 0; }


/* =========================================
   5. NADPISY A OSTATNÍ SEKCE
   ========================================= */
.highlights-section h2, .museum-section h2, .booking-section h2, .price-section h2, .reviews-section h2, .faq-section h2 { 
    font-size: 3.5rem; text-transform: uppercase; margin-bottom: 80px; text-align: left; line-height: 1.1; padding-top: 40px; font-family: var(--font-heading); 
}
.museum-section, .booking-section, .price-section, .reviews-section, .faq-section, .highlights-section { padding: 100px 20px 20px 20px; }


/* =========================================
   6. LIGHTBOX (CELOOBRAZOVKOVÁ FOTOGALERIE)
   ========================================= */
/* Skrytý overlay. Po kliknutí přes JS dostane třídu "active", díky které se přepne display na "flex" a objeví se jako stmavovací vrstva nad zbytkem stránek. */
.lightbox { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90%; max-height: 90vh; box-shadow: 0 0 30px rgba(0,0,0,0.5); border-radius: 5px; animation: zoomIn 0.3s ease; }

/* ANIMACE ZOOMIN */
@keyframes zoomIn { from {transform:scale(0.9); opacity:0;} to {transform:scale(1); opacity:1;} }

.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.lightbox-close:hover { color: var(--accent); }
.lightbox-prev, .lightbox-next { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); padding: 15px 20px; color: white; font-weight: bold; font-size: 30px; transition: 0.3s; background: rgba(0,0,0,0.5); border: none; outline: none; border-radius: 5px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }

/* =========================================
   7. O MUZEU A HIGHLIGHTS
   ========================================= */
.museum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.museum-text .intro-text { font-size: 1.15rem; color: #555; line-height: 1.8; max-width: none; text-align: justify; }
.museum-image-wrapper { width: 100%; height: 100%; min-height: 450px; border-radius: 20px; overflow: hidden; background: #eee; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.museum-image { width: 100%; height: 100%; object-fit: cover; }

/* Tetris rozestavění */
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 20px; grid-auto-flow: dense; }
.highlights-grid img { width: 100%; height: 100%; object-fit: cover; background: #eee; cursor: pointer; transition: transform 0.3s ease, filter 0.3s ease; border-radius: 8px; }
.highlights-grid img:hover { transform: scale(1.02); filter: brightness(1.1); z-index: 2; position: relative; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* Roztažení daného obrázku v gridu přes 2 sloupce nebo 2 řádky. */
.hl-tall { grid-column: span 1; grid-row: span 2; } 
.hl-wide { grid-column: span 2; grid-row: span 1; } 

.highlights-action { display: flex; justify-content: flex-end; margin-top: 30px; }
.btn-interested { background: #000; color: #fff; text-decoration: none; padding: 18px 50px; border-radius: 4px; font-size: 1rem; font-weight: bold; transition: 0.3s; text-transform: uppercase; }
.btn-interested:hover { background: var(--accent); }


/* =========================================
   8. CENÍK A RECENZE
   ========================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.price-card { background: var(--surface-light); padding: 50px 30px; text-align: center; border-radius: 12px; border-top: 5px solid #ccc; transition: 0.3s; display: flex; flex-direction: column; min-height: 600px; }
.price-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.price-card h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 10px; letter-spacing: 1px; }
.price-desc { color: #666; font-size: 0.95rem; margin-bottom: 30px; font-weight: bold; text-transform: uppercase; }
.price-amount { font-size: 3.5rem; font-weight: bold; color: var(--primary); margin-bottom: 20px; }
.price-details { color: #777; font-size: 0.95rem; line-height: 1.6; margin-top: auto; margin-bottom: auto; padding: 20px 0; }
.btn-price { display: inline-block; padding: 15px 30px; background: #111; color: #fff; text-decoration: none; border-radius: 30px; font-weight: bold; transition: 0.3s; margin-top: auto; }
.btn-price:hover { background: var(--accent); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: #fff; padding: 40px; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); display: flex; flex-direction: column; min-height: 450px; }
.stars { color: var(--accent); font-size: 1.5rem; margin-bottom: 20px; letter-spacing: 2px; }
.review-text { font-size: 1.1rem; color: #444; font-style: italic; margin-bottom: 20px; line-height: 1.6; }
.review-author { font-weight: bold; color: var(--primary); text-transform: uppercase; font-size: 0.9rem; margin-top: auto; }


/* =========================================
   9. FAQ A FORMULÁŘ
   ========================================= */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface-light); margin-bottom: 15px; border-radius: 8px; overflow: hidden; }

/* Styly pro html tag <details> a <summary>. Ty umí v HTML vytvořit samy rozbalovací funkci bez nutnosti JavaSciptu. pseudo class ::-webkit-details-marker skryje nativní šipku prohlížeče */
.faq-item summary { padding: 25px; font-weight: bold; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 25px 25px 25px; color: #555; line-height: 1.6; }

.booking-box { background: #f4f4f4; padding: 60px; margin-top: 0; border-radius: 12px; } 
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-group h3 { margin-bottom: 20px; font-size: 1.2rem; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 5px; }
input, select { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; font-size: 1rem; border-radius: 4px; }
.btn-submit { background: #111; color: #fff; width: 100%; padding: 20px; border: none; font-weight: bold; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px; border-radius: 4px; }
.btn-submit:hover { background: var(--accent); }
.datetime-row { display: flex; gap: 15px; }
.datetime-row input { flex: 1; }


/* =========================================
   10. PATIČKA (KONTAKTY, MAPA, SOCIALS)
   ========================================= */
footer { 
    margin-top: 120px; 
    background: #111; 
    color: #fff; 
}

.footer-contacts { 
    background: #1a1a1a; 
    padding: 60px 0 80px 0; 
}
.footer-logo-wrapper {
    text-align: center;
    margin-bottom: 50px;
}
.footer-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.contact-col {
    text-align: center;
    padding: 0 30px;
}
/* Linka oddělující sloupce zleva doprava */
.contact-col:not(:last-child) {
    border-right: 1px solid rgba(197, 160, 89, 0.3); 
}
.contact-col h4 { 
    color: var(--accent); 
    font-size: 1.1rem; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    margin-bottom: 15px; 
}
.contact-col p { 
    color: #fff; 
    line-height: 1.8; 
    font-size: 1.05rem; 
}
.contact-col strong { 
    color: #fff; 
    font-size: 1.2rem; 
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.hours-list {
    line-height: 1.6;
}

/* filter: grayscale a invert zajistí, že nativní světlá Google mapa bude působit temně */
.footer-map-full { width: 100%; height: 500px; }
.footer-map-full iframe { width: 100%; height: 100%; display: block; filter: grayscale(40%) invert(10%); }

.footer-social { display: flex; flex-direction: column; align-items: center; padding: 50px 20px; text-align: center;}
.footer-social h3 { 
    color: #fff; 
    margin-bottom: 25px; 
    font-size: 1.2rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
}
.social-links { display: flex; gap: 15px; justify-content: center; }
.social-icon { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 45px; 
    height: 45px; 
    background: #222; 
    color: #fff; 
    text-decoration: none; 
    border-radius: 50%; 
    font-size: 1.2rem; 
    transition: 0.3s; 
    border: 1px solid #444; 
}
.social-icon:hover { background: var(--accent); color: #111; border-color: var(--accent); transform: translateY(-3px); }

.copy-bar { 
    text-align: center; 
    padding: 15px; 
    background: #0a0a0a; 
    color: #666; 
    font-size: 0.7rem; 
    letter-spacing: 1px; 
}


/* =========================================
   11. MEDIA QUERIES (RESPONZIVITA)
   ========================================= */
/* Pravidla v této sekci se aplikují pouze tehdy, když je displej menší než specifikovaná šířka. Zde předěláváme vzhled pro tablety a mobily. */

/* Tablet (Zobrazujeme dvě karty v carouselu) */
@media (max-width: 992px) {
    .expo-card { flex: 0 0 calc(50% - 15px); }
}

/* Menší tablet / Mobilní zobrazení */
@media (max-width: 768px) {
    /* Měníme CSS grid z 3 sloupců na 2 sloupce a skrýváme desktopovou navigaci (nav-left, sub-nav, nav-right) */
    .nav-grid { grid-template-columns: 1fr auto; padding: 0 20px; height: 70px; }
    .nav-left, .sub-nav, .nav-right { display: none; } 
    .nav-center { align-items: flex-start; justify-content: flex-start; flex-direction: row; }
    
    .main-logo { height: 50px; }
    
    .hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 10000; }
    .hamburger span { display: block; width: 30px; height: 3px; background: #333; transition: 0.3s; }

    .mobile-links .lang-switch { justify-content: center; }

    #hero-carousel { height: auto; display: flex; flex-direction: column; }
    .carousel-container { height: 50vh; }

    /* Na mobilu musíme odlepit promo kartu od pravého rohu a nechat ji roztáhnout na 100% šířky */
    .promo-card { position: relative; width: 100%; border-radius: 0; transform: none; padding: 25px 20px; }
    .promo-content { justify-content: center; text-align: center; }
    .promo-buttons-side { display: none; } 
    .promo-text-side h3 { justify-content: center; } 

    .combined-exhibitions-section { padding: 0 0 60px 0; }
    .full-width-event { padding: 50px 0; margin-bottom: 60px; }
    
    /* Přerovnání gridů - sloupce jdou pod sebe (1fr) */
    .event-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    /* "order: -1" vyneseme obrázek nad text, aby na mobilu byl jako první prvek nahoře */
    .event-image-wrapper { order: -1; min-height: 200px; } 
    
    .combined-exhibitions-section .section-heading, .highlights-section h2, .museum-section h2, .booking-section h2, .price-section h2, .reviews-section h2, .faq-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 40px; padding-top: 20px; }
    
    .exhibition-title { font-size: 2rem; }
    .timer-wrapper { justify-content: center; flex-wrap: wrap; gap: 15px; }
    .time-box { min-width: 100px; padding: 15px; }
    .time-box span:first-child { font-size: 2.5rem; }
    .event-desc { text-align: justify; }

    /* Na mobilu chceme v carouselu jen 1 kartu na obrazovku (šířka 100%) */
    .expo-card { flex: 0 0 100%; }
    .expo-carousel-track { margin: 0 45px; gap: 15px;}
    
    .highlights-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
    .hl-tall { grid-column: span 1; grid-row: span 2; } 
    .hl-wide { grid-column: span 2; grid-row: span 1; }
    .highlights-action { justify-content: center; }

    .museum-grid { grid-template-columns: 1fr; gap: 40px; }
    .museum-text .intro-text { text-align: justify; } 
    .museum-image-wrapper { min-height: 300px; }

    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .price-card { min-height: auto; }
    .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
    .review-card { min-height: auto; }
    
    .booking-box { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 30px; }
    .datetime-row { flex-direction: column; gap: 15px; }

    /* Úprava Footer Gridu pro Mobil - vše jde pod sebe */
    footer { margin-top: 80px; }
    .footer-logo { max-height: 60px; margin-bottom: 20px; }
    .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-col { padding: 0; }
    /* Vertikální linky se musí zrušit a nahradit horizontálními pod každým blokem */
    .contact-col:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(197, 160, 89, 0.2); padding-bottom: 30px; }
    
    .lightbox-prev, .lightbox-next { font-size: 20px; padding: 10px 15px; }
}