/* ==============================
   Reset a základní styl
============================== */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    text-align: center;
    overflow-x: hidden;
    background: #000;
}

/* ==============================
   Video sekce
============================== */
.video-section {
    position: relative;
    height: 110vh; /* vyšší než viewport */
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* mírně přes obrazovku pro lepší pokrytí */
    object-fit: cover;
    z-index: -1;
}

/* ==============================
   Navigační lišta
============================== */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    backdrop-filter: blur(5px);
    height: 80px;
    position: relative;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: rgb(9, 239, 9);
    font-weight: bold;
    padding: 0 15px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

nav ul li a::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 25px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Kenya.svg');
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

nav ul li a:hover::after {
    opacity: 1;
}

/* ==============================
   Hlavní obsah přes video
============================== */
main {
    position: relative;
    margin-top: 180px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    display: inline-block;
    padding: 50px 80px;
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(50px);
    animation: showMain 1.5s ease forwards;
    animation-delay: 5s;
}

@keyframes showMain {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

p {
    font-size: 1.4em;
}

/* ==============================
   Sekce pod videem
============================== */
.intro-section {
    background-image: url('fotky/Mombasa1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    flex-wrap: wrap;
    min-height: 650px;
}

.intro-text {
    background: rgba(255, 255, 255, 0.15);
    padding: 50px 40px;
    border-radius: 15px;
    backdrop-filter: blur(6px);
    color: white;
    text-align: center;
    max-width: 90%;
    width: 100%;
    box-sizing: border-box;
}

.intro-text h2 {
    font-size: 2.4em;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.3em;
}

/* ==============================
   Sekce průvodce
============================== */
.guide-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.guide-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.guide-img {
    display: block;
    max-width: 100%;
    max-height: 700px; /* vyšší fotka */
    height: auto;
    margin: 0 auto;
}

/* Text vedle osoby */
.guide-box {
    position: absolute;
    right: 5%;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: orange;
    padding: 30px 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    pointer-events: auto;
    max-width: 90%;
    box-sizing: border-box;
}

.guide-box h3 {
    margin: 0;
    font-size: 1.8em;
    text-align: center;
}

/* Menu půlkruh kolem hlavy */
.semi-circle-menu {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 125px;
}

.semi-circle-menu ul {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.semi-circle-menu ul li {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform-origin: bottom center;
}

.semi-circle-menu ul li:nth-child(1) { transform: rotate(-60deg) translateY(-160px) rotate(60deg); }
.semi-circle-menu ul li:nth-child(2) { transform: rotate(-30deg) translateY(-150px) rotate(30deg); }
.semi-circle-menu ul li:nth-child(3) { transform: rotate(0deg)   translateY(-140px) rotate(0deg); }
.semi-circle-menu ul li:nth-child(4) { transform: rotate(30deg)  translateY(-150px) rotate(-30deg); }
.semi-circle-menu ul li:nth-child(5) { transform: rotate(60deg)  translateY(-160px) rotate(-60deg); }

.semi-circle-menu ul li a {
    color: red;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.semi-circle-menu ul li a:hover {
    color: orange;
}

/* ==============================
   Footer
============================== */
footer {
    width: 100%;
    text-align: center;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    padding: 25px 0;
    background: rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
    margin-top: 0;
}

/* ==============================
   Responzivní pravidla
============================== */
@media (max-width: 1024px) {
    .intro-text, .guide-box {
        max-width: 90%;
        padding: 30px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .semi-circle-menu {
        width: 200px;
        height: 100px;
    }
    .semi-circle-menu ul li:nth-child(1) { transform: rotate(-60deg) translateY(-120px) rotate(60deg); }
    .semi-circle-menu ul li:nth-child(2) { transform: rotate(-30deg) translateY(-110px) rotate(30deg); }
    .semi-circle-menu ul li:nth-child(3) { transform: rotate(0deg)   translateY(-100px) rotate(0deg); }
    .semi-circle-menu ul li:nth-child(4) { transform: rotate(30deg)  translateY(-110px) rotate(-30deg); }
    .semi-circle-menu ul li:nth-child(5) { transform: rotate(60deg)  translateY(-120px) rotate(-60deg); }
}

@media (max-width: 768px) {
    .intro-section, .guide-section {
        padding: 20px 10px;
    }
    main {
        margin-top: 120px;
        padding: 25px 15px;
    }
    h1 {
        font-size: 2em;
    }
    p {
        font-size: 1em;
    }
    nav ul {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    nav ul li {
        margin: 10px 0;
    }
    .guide-box {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 20px;
    }
    .semi-circle-menu {
        display: none;
    }
    nav ul li a::after {
        width: 50px;
        height: 15px;
    }
    .guide-img {
        max-height: 500px; /* menší pro mobil */
    }
}
/* CULTURE */
/* ==============================
   Základní reset a styl
============================== */
body.page-nature {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    background-color: black; /* celé pozadí stránky černé */
    text-align: center;
    overflow-x: hidden;


}


/* ==============================
   Sekce nadpisu
============================== */
.page-nature .headline-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    overflow: hidden;
    position: relative;
}

/* Nadpis + posun zleva + fade-in */
.page-nature .animated-headline {
    font-size: 3em;
    padding: 20px 50px;
    text-align: center;
    color: white;
    position: relative;
    border-radius: 15px;
    background: transparent;

    transform: translateX(-100%);
    opacity: 0;
    animation: slideIn 5s forwards;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pseudo-element pro rámeček s blikajícími barvami */
.page-nature .animated-headline::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 5px;
    z-index: -1;

    border: 5px solid #BB0000; /* počáteční barva */
    animation: blinkColors 1.5s linear infinite; /* blikání */
}

/* Animace barev – střídání vlajky Keni */
@keyframes blinkColors {
    0%   { border-color: #000000; } /* černá */
    25%  { border-color: #BB0000; } /* červená */
    50%  { border-color: #FFFFFF; } /* bílá */
    75%  { border-color: #006600; } /* zelená */
    100% { border-color: #000000; } /* černá zpět */
}
/* Sekce Mount Kenya – kvůli centrování prvků */
.mount-kenya-section {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}
.mount-kenya-title {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 20px 40px;
    width: fit-content;
    border: 4px solid gold;
    border-radius: 15px;
    background: rgba(255, 215, 0, 0.4);
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInMount 1.5s ease forwards;
    animation-delay: 2s;
}

@keyframes fadeInMount {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* ===== CAROUSEL SEKCE ===== */
body{
    background:black;
    margin:0;
}

/* ===== CAROUSEL CONTAINER ===== */
.carousel-section{
    width:600px;
    height:350px;
    margin:100px auto;
    perspective:1200px; /* silná perspektiva na PC */
    position:relative;
    overflow:visible;
    margin-bottom:120px;
    z-index:1;
}

/* ===== 3D CAROUSEL ===== */
.carousel{
    width:100%;
    height:100%;
    position:relative;
    transform-style:preserve-3d;
    transition:transform 1s ease;
}

/* ===== CAROUSEL ITEM ===== */
.carousel-item{
    position:absolute;
    top:50%;
    left:50%;
    width:420px;
    height:240px;
    transform-origin:center center;
}

.carousel-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:15px;
    display:block;
}

/* ===== ARROWS ===== */
.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:40px;
    background:none;
    border:none;
    color:white;
    cursor:pointer;
    z-index:10;
}

.prev{left:-70px;}
.next{right:-70px;}

/* ===== FULLSCREEN ===== */
.fullscreen-view{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.95);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.fullscreen-view img{
    width:85%;
    max-height:90%;
    border-radius:15px;
    box-shadow:0 0 30px white;
}

.fs-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:60px;
    color:white;
    cursor:pointer;
    padding:15px;
}

.fs-prev{left:30px;}
.fs-next{right:30px;}

/* ===== TABLET ===== */
@media (max-width:1024px){
    .carousel-section{
        width:90%;
        height:300px;
    }

    .carousel-item{
        width:320px;
        height:180px;
    }

    .prev{left:-40px;}
    .next{right:-40px;}
}

/* ===== PHONE ===== */
@media (max-width:768px){
    .carousel-section{
        width:100%;
        height:240px;
        perspective:900px; /* silnější perspektiva pro 3D efekt na telefonu */
    }

    .carousel-item{
        width:220px;
        height:130px;
    }

    /* šipky zůstávají */
    .prev{left:5px;}
    .next{right:5px;}
}

/* ===== SMALL PHONE ===== */
@media (max-width:480px){
    .carousel-section{
        height:220px;
        perspective:1000px; /* ještě výraznější 3D efekt */
    }

    .carousel-item{
        width:180px;
        height:110px;
    }

    .prev,
    .next{
        font-size:30px;
    }
}

/* ===== MOUNT KENYA BOX ===== */
.mount-kenya-section {
    display: flex;
    justify-content: center;
    padding: 60px 20px 60px 20px; /* horní odsazení 60px, dolní 60px */
    position: relative;
    z-index: 2;
}

.mount-kenya-box {
    background: rgba(255, 215, 0, 0.1); /* zlatý průhledný rámeček */
    border: 4px solid gold;
    border-radius: 15px;
    padding: 40px 60px;
    max-width: 800px;
    width: 90%; /* přizpůsobí se mobilu */
    color: white;
    text-align: justify;
    margin-top: 30px; /* mezera pod carousel */
    box-sizing: border-box;
}

.mount-kenya-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

.mount-kenya-box p {
    margin-bottom: 25px;
    line-height: 1.6em;
}

/* Menší fotografie vlevo a vpravo */
.mount-kenya-box .left-img,
.mount-kenya-box .right-img {
    width: 250px;
    height: auto;
    border-radius: 12px;
    margin: 20px;
}

.mount-kenya-box .left-img {
    float: left;
    margin-right: 20px;
}

.mount-kenya-box .right-img {
    float: right;
    margin-left: 20px;
}

/* Pro vymazání floatu na konci boxu */
.mount-kenya-box::after {
    content: "";
    display: block;
    clear: both;
}
/* Responsivní úprava Mount Kenya boxu */
@media (max-width: 768px) {  /* tablet */
    .mount-kenya-box {
        padding: 30px 20px;   /* menší odsazení uvnitř boxu */
        max-width: 90%;       /* aby se vešel */
    }

    .mount-kenya-title {
        font-size: 1.7em;     /* menší nadpis */
    }

    .mount-kenya-box .left-img,
    .mount-kenya-box .right-img {
        width: 100%;          /* obrázky přes celou šířku */
        float: none;          /* odstraníme float */
        margin: 10px 0;       /* mezera mezi obrázky */
    }
}

@media (max-width: 480px) {  /* mobil */
    .mount-kenya-box {
        padding: 20px 15px;   /* ještě menší odsazení */
        max-width: 95%;       /* prakticky celá šířka obrazovky */
    }

    .mount-kenya-title {
        font-size: 1.5em;     /* menší nadpis pro mobil */
    }

    .mount-kenya-box p {
        font-size: 0.9em;     /* text menší, aby se vešel */
    }
}

/* ===== VIDEO POD SEKCÍ ===== */
.video-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 400px;
}

.background-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: fit-content;
}

.overlay-title {
    font-size: 3em;
    color: white;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 20px 40px;
    border-radius: 15px;
    opacity: 0;
    animation: fadeInOut 20s forwards;
    animation-delay: 4s;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    65% { opacity: 1; }
    100% { opacity: 0; }
}

/* ===== BÍLÉ SEKCE ===== */
.white-section.no-padding {
    background-color: white;
    margin: 0;
    padding: 0;
}

.white-section .white-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

/* ===== ELEKTRICKÝ NADPIS ===== */
.electric-title {
    font-size: 2.5em;
    color: black;
    display: inline-block;
    padding: 20px 40px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    animation: electric-flicker 0.15s infinite alternate;
}

@keyframes electric-flicker {
    0% {
        box-shadow:
            0 0 5px gold,
            0 0 10px gold,
            0 0 20px gold;
    }
    25% {
        box-shadow:
            0 0 10px gold,
            0 0 20px gold,
            0 0 25px gold;
    }
    50% {
        box-shadow:
            0 0 5px gold,
            0 0 15px gold,
            0 0 30px gold;
    }
    75% {
        box-shadow:
            0 0 15px gold,
            0 0 25px gold,
            0 0 35px gold;
    }
    100% {
        box-shadow:
            0 0 5px gold,
            0 0 10px gold,
            0 0 20px gold;
    }
}

/* ===== RESPONSIVITA MOUNT KENYA BOX ===== */
@media (max-width: 768px) {
    .mount-kenya-box {
        padding: 25px 20px;
    }
    .mount-kenya-title {
        font-size: 1.5em;
    }
    .mount-kenya-box p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .mount-kenya-title {
        font-size: 1.3em;
    }
    .mount-kenya-box p {
        font-size: 0.85em;
    }
}

/* Menší fotografie vlevo a vpravo */
.mount-kenya-box .left-img,
.mount-kenya-box .right-img {
    width: 250px;
    height: auto;
    border-radius: 12px;
    margin: 20px;
}

.mount-kenya-box .left-img {
    float: left;
    margin-right: 20px;
}

.mount-kenya-box .right-img {
    float: right;
    margin-left: 20px;
}

/* Pro vymazání floatu na konci boxu */
.mount-kenya-box::after {
    content: "";
    display: block;
    clear: both;
}
/* video pod sekcí */
.video-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 400px;
}

.background-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Overlay div pro nadpis */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: fit-content;
}

/* Nadpis v průhledném boxu */
.overlay-title {
    font-size: 3em;
    color: white;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 20px 40px;
    border-radius: 15px;
    opacity: 0;
    animation: fadeInOut 20s forwards; /* celkem 20s animace */
    animation-delay: 4s; /* začne se zobrazovat po 4s */
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }    /* rychlý fade-in */
    65% { opacity: 1; }    /* nadpis zůstává viditelný delší dobu */
    100% { opacity: 0; }   /* postupný fade-out */
}
/* nová stránka */ 
.white-section.no-padding {
    background-color: white;
    margin: 0;
    padding: 0;
}

.white-section .white-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

/* Nadpis s agresivní elektrickou animací */
.electric-title {
    font-size: 2.5em;
    color: black;
    display: inline-block;
    padding: 20px 40px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    animation: electric-flicker 0.15s infinite alternate;
}

/* Animace „blesků“ pomocí box-shadow */
@keyframes electric-flicker {
    0% {
        box-shadow:
            0 0 5px gold,
            0 0 10px gold,
            0 0 20px gold;
    }
    25% {
        box-shadow:
            0 0 10px gold,
            0 0 20px gold,
            0 0 25px gold;
    }
    50% {
        box-shadow:
            0 0 5px gold,
            0 0 15px gold,
            0 0 30px gold;
    }
    75% {
        box-shadow:
            0 0 15px gold,
            0 0 25px gold,
            0 0 35px gold;
    }
    100% {
        box-shadow:
            0 0 5px gold,
            0 0 10px gold,
            0 0 20px gold;
    }
}
/* obrázky zvířat */
/* Tabulka v barvách Kenské vlajky */
.flag-table {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255,255,255,0.15);
    border: 6px solid;
    border-image: linear-gradient(to right, black, red, white, green, black) 1;
}

/* Nadpis uvnitř tabulky */
.flag-table h2 {
    text-align: center;
    color: black;
    margin-bottom: 30px;
    font-size: 2em;
}

/* Karty se zvířaty */
/* Karty se zvířaty */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Flip karty */
.flip-card {
    background-color: transparent;
    width: 250px;
    height: 400px; /* výška na PC */
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Obrázky bez scrollu */
.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zadní strana s textem a scroll (PC) */
.flip-card-back {
    background-color: gold;
    color: black;
    transform: rotateY(180deg);
    padding: 14px;
    font-size: 0.7em;
    line-height: 1.3em;
    text-align: left;
    overflow-y: auto; /* scroll jen na PC pokud text delší */
}

/* ===== RESPONSIVITA ===== */
@media (max-width: 480px) {
    .flip-card {
        width: 90%;       /* karta zabírá většinu obrazovky */
        height: auto;     /* výška se přizpůsobí textu */
    }

    .flip-card-inner {
        height: auto;     /* přizpůsobení výšky */
    }

    .flip-card-front img {
        width: 100%;
        height: auto;     /* obrázek se zmenší podle šířky */
    }

    .flip-card-back {
        height: auto;     /* text zabírá kartu celý */
        overflow-y: visible; /* žádný scroll */
        font-size: 0.9em;
        line-height: 1.4em;
        padding: 15px 10px;
    }
}
 /* nakuru */ 
 .nakuru-info-white {
    background-color: white; /* bílé pozadí celé sekce */
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.info-box-white {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.85); /* lehce průhledný box */
    border: 3px solid gold; /* zlatý rámeček */
    border-radius: 15px;
    padding: 30px 40px;
    color: black;
    font-size: 1em;
    line-height: 1.6em;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}

.info-box-white h2 {
    text-align: center;
    font-size: 1em;
    margin-bottom: 25px;
    margin-left: -25px;
}

.info-box-white a {
    color: #BB0000; /* červená kenské vlajky */
    text-decoration: none;
}

.info-box-white a:hover {
    text-decoration: underline;
}
.nakuru-fun-facts {
    background-color: white; /* bílé pozadí */
    padding: 60px 20px;
    text-align: center;
}

.nakuru-fun-facts h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: black;
}

.facts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.fact-box {
    background: rgba(255, 215, 0, 0.1); /* lehce průhledný zlatý box */
    border: 3px solid gold;
    border-radius: 15px;
    padding: 20px;
    width: 280px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.fact-box h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #BB0000; /* červená kenské vlajky */
}

.fact-box p {
    font-size: 0.9em;
    line-height: 1.4em;
    color: black;
}
/* crocodile mombasa */ 
.mombasa-croc-farm {
    background-color: #ffffff; /* bílé pozadí celé sekce */
    color: black;
    padding: 60px 20px;
    text-align: center;
}

.croc-title-box {
    display: inline-block;
    background: rgba(0, 128, 0, 0.1); /* lehce průhledný zelený box */
    border: 3px solid #006600; /* tmavě zelený rámeček */
    border-radius: 15px 0 15px 0; /* zaoblený jen z jedné strany */
    padding: 15px 30px;
    margin-bottom: 40px;
}

.croc-title-box h2 {
    color: #006600; /* tmavě zelený text */
    font-size: 2.2em;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}





.mombasa-croc-info {
    background-color: #ffffff;
    padding: 20px 20px 60px 20px; /* horní padding snížený na 20px */
    display: flex;
    justify-content: center;
    margin-top: 0; /* odstraníme prázdný prostor nahoře */
}

/* --- Výchozí styl pro PC (hover) --- */
.info-table {
    display: flex;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 0 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: width 0.5s ease;
}

.info-table:hover {
    width: 720px;       /* rozšíření na PC při hoveru */
}

.info-img img {
    width: 300px;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px 0 20px 0;
}

.info-details {
    background: rgba(0,128,0,0.85);
    color: white;
    padding: 20px;
    opacity: 0;
    width: 0;
    overflow-y: auto;
    box-sizing: border-box;
    transition: width 0.5s ease, opacity 0.5s ease;
}

.info-table:hover .info-details {
    width: 400px;
    opacity: 1;
}

/* --- Styl jen pro mobil (max-width: 768px) --- */
@media (max-width: 768px) {
    .info-table {
        flex-direction: column;  /* obrázek nahoře, text dole */
        width: 100%;            /* roztáhne se na šířku mobilu */
        height: auto;           /* výška podle obsahu */
    }

    .info-img img {
        width: 100%;            /* obrázek zabírá celou šířku */
        height: auto;           /* zachová proporce */
        border-radius: 20px 20px 0 0;
    }

    .info-details {
        position: static;       /* odstraní overlay */
        width: 100% !important; 
        opacity: 1 !important;  /* trvale viditelný */
        overflow: visible;
        margin-top: 10px;
        padding: 15px;
        border-radius: 0 0 20px 20px;
        transition: none;       /* vypneme animace na mobilu */
    }

    /* na mobilu hover nechceme */
    .info-table:hover .info-details {
        width: 100%;
        opacity: 1;
    }
}
/* farma krokodyl a hadi */ 
/* --- Sekce se zvířaty --- */
.mombasa-animals {
    background-color: #ffffff;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #006600;
}

/* Grid karet */
.animal-grid {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Jednotlivá karta */
.animal-card {
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    @media (min-width: 769px) {
    .animal-card {
        height: 250px !important;
        width: 250px !important;
        display: flex;
        flex-direction: row !important;
    }
}
}

/* Hover efekt na PC */
/* --- PC verze (desktop) --- */
@media (min-width: 769px) {
    .animal-card:hover {
        transform: scale(0.8);
        z-index: 10;
    }

    .animal-info {
        position: absolute;
        top: 0;
        left: 0;
        width: 90%;
        height: 100%;
        background: rgba(0,128,0,0.85);
        color: white;
        padding: 10px;
        opacity: 0;
        overflow-y: auto;
        font-size: 0.8em;  /* zmenšeno z 0.9em na 0.75em */
        line-height: 1.2em;  /* menší mezery mezi řádky */
        transition: opacity 0.4s ease;
        text-align: center;
        position: absolute;
    }

    .animal-card:hover .animal-info {
        opacity: 1;
    }
}

/* --- Mobilní verze --- */
@media (max-width: 768px) {
    .animal-card {
        height: auto;
        flex-direction: column;
    }

    .animal-card img {
        width: 100%;
        height: auto;
        border-radius: 15px 15px 0 0;
    }

    .animal-info {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        background: rgba(0,128,0,0.85);
        padding: 25px;
        opacity: 1;
        font-size: 0.5em;  /* text zůstává čitelný */
        line-height: 1.1em;
        margin-top: 5px;
        border-radius: 0 0 15px 15px;
    }

    .animal-card:hover .animal-info {
        opacity: 1;
    }
}
/* video */ 
.video-section {
    position: relative;
    width: 100%;
    height: 400px; /* můžeš změnit podle potřeby */
    overflow: hidden;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* video vyplní celou sekci */
    display: block;
}
.culture-hero {
    min-height: 90vh;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url("fotky/Maasai-Tribe.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.culture-hero h1 {
    font-size: 4rem;
    letter-spacing: 2px;
}

.culture-hero p {
    font-size: 1.3rem;
    margin-top: 20px;
}


/* ===== TRIBES SECTION ===== */
.tribes-section {
    padding: 100px 8%;
    background: #f8f5f0;
    text-align: center;
}

.tribes-section h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    color: #2e5f4f;
}

.tribes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

/* ===== CARD ===== */
.tribe-card {
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 380px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* HOVER pouze pro zařízení s myší */
@media (hover: hover) {
    .tribe-card:hover .card-inner {
        transform: rotateY(180deg);
    }
}

/* CLICK pro mobil */
.tribe-card.active .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* FRONT */
.card-front {
    background: #000;
    color: white;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.card-front h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.6rem;
}

/* BACK */
.card-back {
    background: white;
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    line-height: 1.6;
}

/* ===== MOBILE IMPROVEMENT ===== */
@media (max-width: 768px) {
    .card-inner {
        height: 420px;
    }
}



.language-tradition {
    padding: 40px 8%;
    text-align: center;
    opacity: 0; /* začíná skryté */
    transition: opacity 1s ease-in-out;
    background: rgba(255, 255, 255, 0.1); /* lehce průhledné */
    border-left: 10px solid #FF0000;   /* červená ken. vlajky */
    border-right: 10px solid #008000;  /* zelená ken. vlajky */
    border-top: 5px solid #000000;     /* černá ken. vlajky */
    border-bottom: 5px solid #000000;  /* černá ken. vlajky */
    border-radius: 15px;
    margin-top: 50px;
}

.language-tradition h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000000; /* černé písmo */
}

.language-tradition table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 70%;
    font-size: 1.1rem;
    color: #000000; /* černé písmo */
}

.language-tradition th,
.language-tradition td {
    border: 2px solid #FF0000; /* červené linky */
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.6); /* lehce průhledný */
}

.language-tradition th {
    background: rgba(0, 128, 0, 0.6); /* zelený header */
    color: #000000;
}

/* po přidání třídy show se objeví */
.language-tradition.show {
    opacity: 1;
}





.food-section {
  padding: 80px 8%;
  text-align: center;
  background: #f8f5f0;
}

.food-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #2e5f4f;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Karta */
.food-card {
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 380px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Hover pro desktop */
@media (hover: hover) {
  .food-card:hover .card-inner {
    transform: rotateY(180deg);
  }
}

/* Click pro mobil */
.food-card.active .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Front */
.card-front {
  color: white;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.card-front h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 1.5rem;
}

/* Back */
.card-back {
  background: white;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  line-height: 1.6;
}






.music-dance-section {
    padding: 60px 8%;
    background: #f8f5f0;
    text-align: center;
}

.music-dance-section h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: #2e5f4f;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* Otočné karty */
.music-card {
    perspective: 1000px;
    cursor: pointer;
}

.music-card .card-inner {
    position: relative;
    width: 100%;
    height: 380px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

@media (hover: hover) {
    .music-card:hover .card-inner {
        transform: rotateY(180deg);
    }
}

.music-card.active .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    color: white;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.card-front h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.6rem;
}

/* Back */
.card-back {
    background: rgba(0,0,0,0.8);
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}

/* Tabulka */
.music-table-container {
    margin: 50px auto;
    max-width: 800px;
    overflow-x: auto;
}

.music-table-container table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 215, 0, 0.3); /* mírně tmavší průhledné pozadí */
    color: white;
    text-align: left;
    font-size: 1rem;
    border: 3px solid gold;
    border-radius: 10px;
}

.music-table-container th,
.music-table-container td {
    padding: 12px 15px;
    background: rgba(0,0,0,0.2); /* přidá tmavý overlay, aby byl text čitelný */
}
.music-table-container th {
    background: rgba(255, 215, 0, 0.5);
}



.dance-videos {
    padding: 60px 8%;
    background: #f8f5f0;
    text-align: center;
}

.dance-videos h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #2e5f4f;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.video-card {
    width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-card iframe {
    width: 100%;
    height: 215px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.video-card p {
    text-align: center;
    font-size: 1rem;
    color: #333;
    background: rgba(255, 215, 0, 0.1); /* lehce zlatý průhledný podklad */
    padding: 10px;
    border-radius: 10px;
}

/* Responsivní úprava pro mobil */
@media (max-width: 768px) {
    .video-grid {
        flex-direction: column;
        gap: 20px;
    }

    .video-card {
        width: 90%;
    }

    .video-card iframe {
        height: auto;
        aspect-ratio: 16/9;
    }
}




.kenya-holidays {
    padding: 60px 8%;
    background: #f8f5f0;
    text-align: center;
}

.kenya-holidays h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #2e5f4f;
}

/* Tabulka */
.kenya-holidays table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;
    background: rgba(255, 215, 0, 0.1); /* lehce zlaté průhledné pozadí */
    border: 3px solid gold;
    border-radius: 10px;
    overflow: hidden;
}

.kenya-holidays th,
.kenya-holidays td {
    padding: 15px;
    text-align: left;
    color: black;
    line-height: 1.5;
}

.kenya-holidays th {
    background: rgba(255, 215, 0, 0.2);
    font-size: 1.2rem;
}

.kenya-holidays tr:nth-child(even) td {
    background: rgba(255, 215, 0, 0.05);
}

/* Responsivní úprava */
@media (max-width: 768px) {
    .kenya-holidays table,
    .kenya-holidays th,
    .kenya-holidays td {
        display: block;
        width: 100%;
    }
    .kenya-holidays th {
        text-align: center;
    }
    .kenya-holidays td {
        text-align: center;
        padding: 10px 0;
    }
}




.kenya-sports {
  padding: 60px 8%;
  background: #f0f8ff;
  text-align: center;
}

.kenya-sports h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: #2e5f4f;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Karta */
.sport-card {
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 380px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Hover pouze pro myš */
@media (hover: hover) {
  .sport-card:hover .card-inner {
    transform: rotateY(180deg);
  }
}

/* Kliknutí pro mobily */
.sport-card.active .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* FRONT */
.card-front {
  background: #000;
  color: white;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.card-front h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 1.6rem;
}

/* BACK */
.card-back {
  background: white;
  transform: rotateY(180deg);
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  line-height: 1.5;
}

/* Mobilní úprava */
@media (max-width: 768px) {
  .card-inner {
    height: 420px;
  }
}




.kenya-wedding {
  padding: 80px 8%;
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

.kenya-wedding h2 {
  font-size: 3rem;
  margin-bottom: 50px;
  color: gold;
  letter-spacing: 2px;
}

/* TABULKA */
.wedding-table {
  width: 95%;
  margin: 0 auto 60px auto;
  border-collapse: collapse;
  background: #222;
  border: 2px solid gold;
  border-radius: 12px;
  overflow: hidden;
}

.wedding-table th {
  background: gold;
  color: black;
  padding: 18px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.wedding-table td {
  padding: 20px;
  line-height: 1.8;
  text-align: center;
  border-bottom: 1px solid #333;
  font-size: 1rem;
  color: #f0f0f0;
}

.wedding-table tr:hover {
  background: #2a2a2a;
  transition: 0.3s ease;
}

/* GALERIE */
.wedding-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.wedding-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid gold;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wedding-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

/* MOBIL */
@media (max-width: 768px) {
  .wedding-table,
  .wedding-table th,
  .wedding-table td {
    display: block;
    width: 90%;
    text-align: center;
  }

  .wedding-table th {
    font-size: 1.1rem;
  }

  .wedding-table td {
    padding: 15px;
  }
}




body {
  background-color: #000; /* černé pozadí pro cinema efekt */
  color: #fff;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
}

.gallery {
  margin: 80px 0;
  text-align: center;
}

.gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffd700; /* zlatá barva nadpisů */
}

/* Slider container */
.slider {
  overflow: hidden;
  width: 90%;
  max-width: 1200px;
  height: 400px;
  margin: 0 auto;
  border-radius: 15px;
  position: relative;
}

/* Track */
.track {
  display: flex;
  width: calc(8 * 25%); /* 8 obrázků pro smyčku */
  animation: scroll 25s linear infinite;
}

/* Obrázky */
.track img {
  width: 25%; /* 4 na obrazovku */
  height: 400px;
  object-fit: cover;
  transition: transform 1.5s ease, filter 1.5s ease;
}

/* Cinema efekt při hover */
.track img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Animace posunu */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsivní */
@media screen and (max-width: 768px) {
  .track img {
    width: 50%; /* 2 na mobil */
  }
}

@media screen and (max-width: 480px) {
  .track img {
    width: 100%; /* 1 na malý mobil */
  }
}






.transport-info {
    padding: 50px 5%;
    background: #000;
    color: #fff;
    text-align: center;
}

.transport-info h2 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 30px;
}

.transport-info table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 215, 0, 0.1); /* průhledné zlaté pozadí */
    border: 2px solid #FFD700; /* zlatý rámeček */
    border-radius: 12px;
    overflow: hidden;
    table-layout: fixed;
}

.transport-info th, 
.transport-info td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,215,0,0.3);
}

.transport-info th {
    background: rgba(255, 215, 0, 0.2);
    font-weight: bold;
}

.transport-info td {
    color: #fff;
}

.transport-info tr:last-child td {
    border-bottom: none;
}







.travel-hotels {
  padding: 60px 5%;
  background: #000; /* černé pozadí */
  text-align: center;
}

.travel-hotels h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #FFD700; /* zlatá */
}

/* Karusel */
.hotels-section {
  padding: 40px 5%;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.hotels-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #FFD700;
}

.hotel-name h3 {
  font-size: 1.8rem;
  color: #FFD700;
  margin-bottom: 20px;
}

/* Grid pro 4 fotky vedle sebe */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.hotel-card {
  background-color: #111;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.hotel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hotel-card p {
  padding: 10px 5px;
  font-size: 0.9rem;
  color: #fff;
}

.hotel-card:hover {
  transform: translateY(-5px);
}

/* Responzivní */
@media (max-width: 1024px) {
  .hotel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hotel-grid {
    grid-template-columns: 1fr;
  }
}



/* Wrapper pro horizontální scroll */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* plynulý scroll pro iOS */
}

/* Hotelová tabulka */
.hotel-table {
    width: 100%;           /* plná šířka kontejneru */
    border-collapse: collapse;
    background-color: #1a1a1a;
    color: white;
    table-layout: auto;    /* flexibilní rozložení buněk */
    word-wrap: break-word; /* zalamování textu */
}

/* Hlavička */
.hotel-table th {
    background-color: gold;
    color: black;
    padding: 12px;
    text-align: left;
}

/* Buňky */
.hotel-table td {
    padding: 12px;
    border: 1px solid #444;
    vertical-align: top;
}

/* Hover efekt */
.hotel-table tr:hover {
    background-color: #222;
}

/* Sekce */
.hotel-table-section {
    padding: 50px 5%;       /* menší padding, aby se vešlo na mobil */
    background-color: #111;
    color: white;
}

.hotel-table-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: gold;
}

/* Informace pro cestovatele */
.info-table-section {
    padding: 50px 5%;
    background-color: #0f0f0f;
}

.info-table-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: gold;
}

/* Media Queries pro mobil */
@media screen and (max-width: 768px) {
    .hotel-table th, .hotel-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
    .hotel-table-section h2,
    .info-table-section h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hotel-table th, .hotel-table td {
        padding: 6px;
        font-size: 0.8rem;
    }
}








/* ==============================
   Responzivní úpravy - MOBIL
============================== */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 10px 0;
    }

    nav ul li {
        margin: 8px 0;
    }

    main, .intro-text, .guide-box, .mount-kenya-box, .info-box-white, .nakuru-fun-facts, .mombasa-croc-info, .animal-card, .tribe-card, .food-card, .music-card, .sport-card {
        padding: 15px 20px;
        max-width: 95%;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    .guide-img {
        width: 100%;
        height: auto;
    }

    .semi-circle-menu {
        width: 150px;
        height: 75px;
        left: 30%;
    }

    .carousel-section {
        width: 100%;
        height: auto;
    }

    .flip-card, .card-inner {
        height: 280px;
    }

    .video-section, .background-video {
        height: 220px;
    }

    .video-card iframe {
        height: 150px;
    }

    .food-grid, .music-grid, .tribes-grid, .sports-grid, .animal-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mount-kenya-box p, .info-box-white p, .animal-info, .card-back {
        font-size: 0.9em;
        line-height: 1.4em;
    }

    .mount-kenya-box .left-img,
    .mount-kenya-box .right-img {
        float: none;
        display: block;
        margin: 15px auto;
        width: 80%;
        height: auto;
    }

    .info-table, .info-details {
        flex-direction: column;
        width: 100% !important;
    }

    .info-details {
        width: 100% !important;
        opacity: 1;
        margin-top: 10px;
    }

    footer {
        font-size: 0.8em;
        padding: 15px 0;
    }
}



/* ===== FACTS PAGE INTRO ===== */

.facts-intro{
    background:#000;
    padding:60px 20px;
    text-align:center;
}

.facts-intro h2{
    color:gold;
    font-size:2.5em;
    margin-bottom:40px;
}

/* průsvitná tabulka */

.facts-table{
    max-width:900px;
    margin:auto;
    padding:40px;

    background:rgba(255,255,255,0.08);

    border-top:6px solid black;
    border-bottom:6px solid green;
    border-left:6px solid red;
    border-right:6px solid white;

    border-radius:12px;

    color:white;
    line-height:1.7;
    font-size:1.05em;

    backdrop-filter:blur(5px);
}

/* ===== MOBIL ===== */

@media (max-width:768px){

.facts-table{

padding:20px;

font-size:0.95em;

margin:0 10px;

}

.facts-intro h2{
font-size:1.8em;
}

}



/* Coffee & Tea section */

.kenya-coffee-tea{
background:#111;
padding:60px 5%;
text-align:center;
}

.kenya-coffee-tea h2{
color:gold;
font-size:2.5rem;
margin-bottom:40px;
}

.coffee-tea-container{
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
}

.coffee-tea-card{
background:rgba(255,255,255,0.05);
border:3px solid gold;
border-radius:15px;
max-width:500px;
padding:20px;
color:white;
transition:transform 0.4s, box-shadow 0.4s;
}

.coffee-tea-card:hover{
transform:scale(1.05);
box-shadow:0 0 25px rgba(255,215,0,0.5);
}

.coffee-tea-card img{
width:100%;
height:250px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

.coffee-tea-card h3{
color:gold;
margin-bottom:10px;
font-size:1.6rem;
}

.coffee-tea-card p{
font-size:0.95rem;
line-height:1.6;
}




/* Kenya beaches section */

.kenya-beaches{
background:#000;
padding:60px 5%;
text-align:center;
}

.kenya-beaches h2{
font-size:2.5rem;
color:gold;
margin-bottom:20px;
}

.beach-intro{
max-width:900px;
margin:0 auto 40px auto;
color:white;
line-height:1.6;
}

/* grid */
.beach-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
max-width:1200px;
margin:0 auto;
}

/* karta */
.beach-card{
background:rgba(255,255,255,0.05);
border:3px solid gold;
border-radius:15px;
overflow:hidden;
transition:transform 0.3s;
}

.beach-card:hover{
transform:scale(1.05);
}

.beach-card img{
width:100%;
height:220px;
object-fit:cover;
}

.beach-card h3{
color:gold;
margin:15px 0 10px 0;
}

.beach-card p{
padding:0 15px 20px 15px;
color:white;
font-size:0.9rem;
line-height:1.4;
}
@media (max-width:768px){

.beach-grid{
grid-template-columns:1fr;
}

.beach-card img{
height:200px;
}

}


/* ===============================
   Sekce: Zajímavá fakta o Keni
=============================== */
.kenya-facts {
  padding: 50px 5%;
  background-color: #0f0f0f; /* tmavé pozadí */
  color: #fff;
  text-align: center;
}

.kenya-facts h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: gold;
}

/* Karty */
.facts-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.fact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #FFD700; /* zlaté okraje karet */
  padding: 20px;
  flex: 1 1 calc(25% - 20px);
  min-width: 200px;
  border-radius: 15px;
  text-align: left;
}

.fact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #FFD700;
}

.fact-card p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Tabulka */
.kenya-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
}

.kenya-table th, .kenya-table td {
  padding: 12px;
  border: 2px solid;
}

.kenya-table th {
  border-color: red;       /* horní okraj - červená */
  background-color: rgba(255, 255, 255, 0.1);
}

.kenya-table td {
  border-color: black;     /* boční okraje - černá */
}

.kenya-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.table-container {
  overflow-x: auto; /* horizontální scroll na mobil */
  margin-top: 20px;
  border-radius: 15px;
}

/* Responsivní */
@media screen and (max-width: 1024px) {
  .facts-cards {
    flex-wrap: wrap;
  }
  .fact-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .facts-cards {
    flex-direction: column;
    gap: 15px;
  }
  .fact-card {
    flex: 1 1 100%;
  }
  .kenya-facts h2 {
    font-size: 2rem;
  }
}
