/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Lucida Sans Unicode', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    text-align: center;
}

/* Obecné styly pro odkazy */
a {
    color: #228B22;
    text-decoration: underline;
}

a:hover {
    color: #006400;
    text-decoration: underline;
}

/* Skip link pro přístupnost */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Kontejner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0 40px;
    text-align: center;
    background: #ffffff;
}

.welcome-text p {
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 17px;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
}

.logo {
    margin: 30px 0;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.subtitle h1 {
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 19px;
    font-weight: bold;
    color: #000;
    margin-top: 20px;
}

/* Navigace */
.navigation {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 50%, #228B22 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    z-index: 100;
    border-top: 1px solid #90EE90;
    border-bottom: 2px solid #006400;
    border-radius: 0;
}

/* Navigation separators between sections */
.navigation-separator {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 50%, #228B22 100%);
    border-top: 1px solid #90EE90;
    border-bottom: 2px solid #006400;
    margin: 40px 0 10px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
    border-radius: 8px;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #FFFF00;
    font-family: Tahoma, sans-serif;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #006400;
    border-top: 1px solid #90EE90;
    margin: 3px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.nav-menu a:hover,
.nav-menu a:focus {
    background: linear-gradient(135deg, #32CD32 0%, #228B22 50%, #006400 100%);
    color: #FFFFFF;
    border-color: #006400;
    border-top-color: #90EE90;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.nav-menu a[aria-current="page"] {
    background: linear-gradient(135deg, #32CD32 0%, #228B22 50%, #006400 100%);
    color: #FFFFFF;
    border-color: #006400;
    border-top-color: #90EE90;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Hlavní obsah */
main {
    background: #fff;
}

/* Hero sekce se slideshow */
.hero {
    padding: 40px 0 80px 0;  /* Zvětšený dolní padding pro přečnívající pečeť */
    background: #ffffff;
}

.hero .container {
    padding-right: 50px;  /* Extra místo vpravo pro přečnívající pečeť */
    padding-left: 50px;
}

.slideshow-container {
    position: relative;
    width: 549px;
    height: 309px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    overflow: visible;  /* Umožní přečnívání pečeti */
    box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 8px 20px rgba(0,0,0,0.2), 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
}

/* Quality Badge */
.quality-badge {
    position: absolute;
    bottom: -15px;  /* Přečnívá dolů o cca 30% */
    right: -20px;   /* Přečnívá doprava o cca 30% */
    z-index: 10;
    opacity: 0.95;
    transition: opacity 0.3s ease;
    animation: pulseBadge 2s ease-in-out infinite;  /* Automatické pulzování každé 2 sekundy */
}

.quality-badge:hover {
    opacity: 1;
    animation: none;  /* Zastaví automatické pulzování při hover */
    transform: scale(1.05);
}

.quality-badge img {
    width: 120px;   /* Zvětšeno o 50% z původních 80px */
    height: auto;
    display: block;
}

/* Animace pulzování pečeti */
@keyframes pulseBadge {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);  /* Zvětší se o 8% */
    }
    100% {
        transform: scale(1);
    }
}

/* Review logos inline */
.reviews-inline {
    display: flex;
    align-items: center;
    justify-content: center;  /* Vycentrování celého řádku */
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;  /* Umožní zalamování na menších obrazovkách */
}

.reviews-inline h3,
.reviews-inline strong {
    margin: 0;  /* Odstraní výchozí margin */
    font-weight: bold;
    white-space: nowrap;  /* Zabráni zalamování textu */
}

.reviews-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-logo {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 4px;
}

.review-logo:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Responzivní velikosti */
@media (max-width: 600px) {
    .reviews-inline {
        gap: 12px;
        flex-direction: column;  /* Na menších obrazovkách pod sebe */
    }
    
    .reviews-logos {
        gap: 12px;
    }
    
    .review-logo {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .reviews-inline {
        gap: 10px;
    }
    
    .reviews-logos {
        gap: 10px;
    }
    
    .review-logo {
        height: 24px;
    }
}

/* Quality Badge v sekci ohlasů */
.reviews-section {
    position: relative;
}

.quality-badge-reviews {
    display: flex;
    justify-content: center;  /* Vycentrování na střed */
    margin-top: 8px;          /* Zmenšená mezera pod odkazy */
    animation: pulseBadge 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.quality-badge-reviews:hover {
    animation: none;
    transform: scale(1.05);
}

.quality-badge-reviews img {
    width: 144px;  /* Zvětšeno o 80% z původních 80px (80 × 1.8 = 144px) */
    height: auto;
    display: block;
}

.slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    overflow: hidden;  /* Ořeže jen obrázky slideshow */
    border-radius: 15px;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 309px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sekce */
.section {
    padding: 10px 0 60px 0;
    border-bottom: none;
    background: #ffffff;
}

.section:last-of-type {
    border-bottom: none;
}

.section h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 5px;
    color: #006400;
}

.section h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #006400;
}

.section h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 10px;
    color: #006400;
}

/* Centralized layout - text and images centered below each other */
.content-grid {
    display: block;
    margin-bottom: 40px;
    text-align: center;
}

.content-grid.reverse {
    /* No special reverse styling needed for center layout */
}

.text-content {
    font-family: Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.text-content p {
    margin-bottom: 15px;
}

.text-content strong {
    font-weight: bold;
}

/* Obrázky */
.image-gallery,
.image-gallery-double,
.image-centered {
    text-align: center;
    margin: 20px auto;
    max-width: 100%;
}

.image-gallery img,
.image-centered img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.image-gallery img:hover,
.image-centered img:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2), 0 6px 18px rgba(0,0,0,0.15), 0 3px 10px rgba(0,0,0,0.1);
}

.image-gallery-double {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 800px;
}

.image-gallery-double img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.image-gallery-double img:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2), 0 6px 18px rgba(0,0,0,0.15), 0 3px 10px rgba(0,0,0,0.1);
}

/* Aktivity a atrakce */
.activities-section {
    margin-top: 40px;
}

.activities-list,
.attractions-list {
    margin: 15px auto;
    font-family: Verdana, sans-serif;
    font-size: 15px;
    text-align: left;
    display: inline-block;
    max-width: 400px;
}

.activities-list li,
.attractions-list li {
    margin-bottom: 5px;
}

.attractions-list a {
    color: #228B22;
    text-decoration: none;
}

.attractions-list a:hover {
    text-decoration: underline;
}

/* Uzavírací zpráva */
.closing-message {
    text-align: center;
    margin: 40px auto;
    font-family: Verdana, sans-serif;
    font-size: 17px;
    max-width: 600px;
}

/* Fotogalerie sekce */
.gallery-instruction {
    text-align: center;
    color: #006400;
    font-family: Verdana, sans-serif;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 30px;
}

.gallery-preview {
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-preview a {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.gallery-preview a:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2), 0 6px 18px rgba(0,0,0,0.15), 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-preview a:hover .gallery-overlay {
    opacity: 1;
}

/* Ceny */
.prices-image {
    text-align: center;
}

.prices-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25), 0 6px 20px rgba(0,0,0,0.15), 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.prices-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 10px 25px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.15);
}

/* Zmenšení ceníku pouze na PC (ne na mobilu) */
@media (min-width: 769px) {
    .prices-image img {
        max-width: 80%;
    }
}

/* Kontakty */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.contact-item h3 {
    color: #006400;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #228B22;
    padding-bottom: 5px;
}

.contact-item {
    max-width: 400px;
    width: 100%;
}

.contact-item p,
.contact-item address {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    font-style: normal;
    text-align: center;
}

.contact-item a {
    color: #228B22;
    text-decoration: none;
}

.contact-item a:hover {
    color: #006400;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #006400;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

/* Responzivní design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 15px 0 30px;
    }
    
    .welcome-text p {
        font-size: 16px;
    }
    
    .subtitle h1 {
        font-size: 18px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        text-align: center;
    }
    
    .content-grid {
        margin-bottom: 30px;
    }
    
    .image-gallery-double {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .slideshow-container {
        width: 100%;
        height: 200px;
        max-width: 100%;
        overflow: visible;  /* Zachovat přečnívání i na mobilu */
    }
    
    .hero {
        padding: 20px 0 60px 0;  /* Menší padding pro mobil */
    }
    
    .hero .container {
        padding-right: 30px;  /* Menší extra místo na mobilu */
        padding-left: 30px;
    }
    
    .slide img {
        height: 200px;
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .quality-badge {
        bottom: -8px;   /* Přečnívá dolů */
        right: -12px;   /* Přečnívá doprava */
    }
    
    .quality-badge img {
        width: 90px;    /* Zvětšeno o 50% z původních 60px */
    }
    
    .quality-badge-reviews img {
        width: 108px;   /* Zvětšeno o 80% z původních 60px (60 × 1.8 = 108px) */
    }
    
    .contact-info {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .welcome-text p {
        font-size: 15px;
    }
    
    .subtitle h1 {
        font-size: 16px;
    }
    
    .section h2 {
        font-size: 22px;
    }
    
    .text-content {
        font-size: 14px;
    }
    
    .nav-menu a {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .slideshow-container {
        height: 180px;
    }
    
    .slide img {
        height: 180px;
        width: 100%;
        object-fit: cover;
    }
    
    .quality-badge img {
        width: 75px;    /* Zvětšeno o 50% z původních 50px */
    }
    
    .quality-badge-reviews img {
        width: 90px;    /* Zvětšeno o 80% z původních 50px (50 × 1.8 = 90px) */
    }
}

/* Print styly */
@media print {
    .navigation,
    .slideshow-container,
    .gallery-overlay {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
}

/* Vylepšení přístupnosti */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .slide,
    .gallery-preview a,
    .nav-menu a {
        transition: none;
    }
    
    @keyframes fadeIn {
        from { opacity: 1; }
        to { opacity: 1; }
    }
}

/* Vysoký kontrast */
@media (prefers-contrast: high) {
    .navigation {
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
    .nav-menu a {
        border: 1px solid transparent;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        border-color: #228B22;
    }
}