:root {
    --blue: #205071;
	--red: #882217;
     				
        }


.language {
	position: fixed;
	width: 40px;
	height: 38px;
	padding-left: 5px;
	border-bottom-left-radius: 20px;
	border-top-left-radius: 20px;
	background-color: white;
	box-shadow: rgba(0, 0, 0, 0.292) 0px 0px 5px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	top: 80px;
	right: 0;
	z-index: 10000;
}
.language a {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 3px solid var(--blue);
	box-shadow: var(--blue) 0px 0px 5px;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.language a img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: white;
	background-size: cover;
	background-position: center;
}
.section1 {
	width: 100vw;
	background-image: url("IMG/BG1.jpg");
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
	aspect-ratio: 16/9;
}
.div_section1 {
	position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: black;
}

.navbar {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-top: 20px;
	font-family: "Roboto", sans-serif;
	border-radius: 100px;
	z-index: 1000;
	position: absolute; /* Úprava: Umístění navigace nahoře stránky */
    top: 0; /* Úprava: Nastavení pozice navigace */
	
}
.logo img{
    font-size: 1.5rem;
    font-weight: bold;
	width: auto;
	height: 70px;
}
.menu {
    display: flex;
    gap: 50px;
	margin-right: .2vw;
	display: flex;
	align-items: center;
}
.menu a {
    color: var(--blue);
    text-decoration: none;
	padding: 10px 0px;
	position: relative;
	overflow: hidden;
	transition: all 300ms;
}
.menu a.active {
	background-color: #882217;
	color: white;
}
.menu a.kz {
	background-color: black;
	color: white;
}
.menu a::after {
	content: '';
	width: 100%;
	height: 0;
	bottom: 0;
	left: 0;
	border-radius: 1000px;
	background: var(--red);
	transition: all 300ms;
	position: absolute;
	z-index: -1;
}
.menu a:hover {
	z-index: 0;
	color: var(--red);
}
.menu a:hover::after {
	height: 3px;
}
.menu a.kz:hover::after {
	height: 3px;
}
.menu .lang {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 3px solid var(--blue);
	box-shadow: var(--blue) 0px 0px 5px;
	cursor: pointer;
	display: grid;
	place-items: center;
	background-image: url("IMG/united-kingdom_8363562.svg");
	background-size: cover;
	background-position: center;
}


.content-animation {
	display: flex;
	flex-direction: column;
    text-align: left;
	width: 80%;
	padding: 20px 0 20px 0;	
	z-index: 1;
}
.content-animation h1 {
    font-size: clamp(1.5rem, 3vw, 5rem);
    margin-bottom: 20px;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	color: var(--red);
}

.content-animation h1, .content-animation .buttons {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}

.content-animation .visible {
	opacity: 1;
	transform: translateY(0);
}
.buttons {
    display: flex;
    gap: 20px;
	margin-top: 5%;
}
.btn {
	border-radius: 100px;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
	position: relative;
	background: linear-gradient(to bottom right, var(--red), #64190A);
	
	border: none;
	overflow: hidden;
}
.btn2 {
	position: absolute;
	left: 0;
	top: 300px;
	border-radius: 100px;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
	background-color: transparent;
	border: 2PX solid white;
	overflow: hidden;
}

.btn::after{
	content: '';
	position: absolute;
	width: 0;
	height: 100%;
	top: 0;
	left: 0;
	background: linear-gradient(to bottom right, #64190A, black);
	border-radius: 10px;
	z-index: -1;	
	transition: all 400ms;
}
.btn2::after{
	content: '';
	position: absolute;
	width: 0;
	height: 100%;
	top: 0;
	left: 0;
	background: white;
	border-radius: 10px;
	z-index: -1;	
	transition: all 400ms;
}
.btn:hover {
	z-index: 0;
}
.btn:hover::after {
	width: 100%;
}
.btn a {
	color: white;
	font-family: "Roboto", sans-serif;
	font-weight: 800;
    text-decoration: none;
}
.btn:hover a {
	color: white;
}
.btn2:hover {
	z-index: 0;
}
.btn2:hover::after {
	width: 100%;
}
.btn2 a {
	color: white;
	font-family: "Roboto", sans-serif;
	font-weight: 800;
    text-decoration: none;
}
.btn2:hover a {
	color: var(--blue);
}
.section3 {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: auto;
}
.divs3 {
	margin: 60px 0;
	width: 80%;
	height: auto;
}
.divs3 h1 {
	color: var(--red);
	font-size: 2rem;
}
.divs3 p {
	margin-top: 20px;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	text-align: left;
}
.bodi {
	width: 100%;
	margin-top: 50px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);	
	gap: 20px;
	grid-template-rows: auto;
}
.bod1 {
	padding: 30px;
	border-radius: 20px;
	background-color: white;
	position: relative;
	&:nth-child(2) {
		padding: 0;
		& img {
			width: 100%;
			height: 100%;
			border-radius: 20px;
			object-fit: cover;
		}
	}
	& p {
		margin-top: 30px;
	}
}

.bod1 h1 {
	font-size: 1.5rem !important;
}


.section2 {
	width: 100vw;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}
.divs2 {
	margin: 50px 0;
	width: 90%;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.card {
	cursor: pointer;
	position: relative;
	padding: 50px;
	background-color: var(--blue);
	max-height: 650px;
	height: auto;
	width: 10%;
	border-radius: 20px;
	color: white;
	overflow: hidden;
	transform: scale(1);
	transition: transform 0.5s ease, width 1s ease;
	
}
.card.active {
	width: 80%;
}
.card.active h1 {
	opacity: 1;
	transition: opacity 0.8s ease;
	transition-delay: 0.5s;
}
.card.active p {
	opacity: 1;
	transition: opacity 0.8s ease;
	transition-delay: 0.5s;
}

.card:not(.active):hover {
	transform: scale(1.05);
}
.card:not(.active) h1 {
	opacity: 0;
	transition: opacity 0.8s ease;
	transition-delay: 0.2s;
}
.card:not(.active) p {
	opacity: 0;
	transition: opacity 0.8s ease;
	transition-delay: 0.2s;
}
.card:not(.active) .card_1_img, .card:not(.active) .card_2_img, .card:not(.active) .card_3_img {
	height: 100%;
	right: 50%;
	transform: translateX(50%);
	bottom: 0;
	transition: right 0.5s ease, transform 0.5s ease;
}

.card p {
	margin: 30px 0;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	text-align: justify;
	max-width: 60%;
	opacity: 1;
	transition: opacity 0.8s ease;
	
}
.card h1 {
	font-size: 2rem;
	opacity: 1;
	transition: opacity 0.8s ease;
	
}
.card_1_img {
	position: absolute;
	height: 100%;
	aspect-ratio: 2 / 4; 
	background-color: red;
	right: 0;
	bottom: 0;
	background-image: url("IMG/IMG1.png");
	background-position: center;
	background-size: cover;
	transition: right 0.5s ease;
	
}
.card_2_img {
	position: absolute;
	height: 100%;
	aspect-ratio: 2 / 3; 
	right: -50px;
	bottom: 0;
	border-radius: 30px;
	background-image: url("IMG/IMG2.png");
	background-position: center;
	background-size: cover;
	transition: right 0.5s ease;
	
}
.card_3_img {
	position: absolute;
	height: 100%;
	aspect-ratio: 2 / 3; 
	right: 0;
	bottom: 0;
	border-radius: 30px;
	background-image: url("IMG/IMG3.png");
	background-position: center;
	background-size: contain;
	transition: right 0.5s ease;
}
.section5 {
	width: 100vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.section5 h1 {
	text-align: center;
	font-size: 2rem;
	color: var(--red);
	margin: 100px 0 20px;
}
.divs5 {
	width: 80%;
	border-radius: 20px;
	margin: 20px 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
	gap: 20px;
}
.kontakty {
	background-color: white;
	border-radius: 20px;
	padding: 30px;
	display: flex;
	flex-direction: column;
}
.map {
	width: 80%;
	height: auto;
	background-color: white;
	border-radius: 20px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	margin-bottom: 50px;
}
.map h2 {
	margin: 20px 0 0 20px;
}
.map p {
	margin: 0 0 0 20px;
}
.map iframe {
	border: none;
	width: 100%;
	
	border-radius: 10px;
}
.kontakty p {
	font-size: 1rem;
}
.kontakty a {
	text-decoration: none;
	color: black;
}
.red {
	color: var(--red);
	font-size: 2rem;
}
.kontakty:hover {
	background-color: var(--red);
	color: white;
	
}
.kontakty:hover .red {
	color: white;
}
.kontakty:hover a {
	color: white;
}




.section2-mobile {
	width: 100vw;
	height: auto;
	display: none;
	justify-content: center;
	align-items: center;
}
.divs2-mobile {
	margin: 50px 0;
	width: 90%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}
.card-mobile {
	position: relative;
	background-color: var(--blue);
	color: white;
	padding: 30px;
	border-radius: 20px;
	overflow: hidden;
}
.card-mobile h1 {
	font-size: 1.5rem;
}
.card-mobile.open h1 {
	margin-bottom: 20px;
}
.card-mobile p {
	width: 50%;
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	display: none;
	text-align: justify;
	transition: all 0.5s ease;
}

.card_mobile_1_img, .card_mobile_2_img, .card_mobile_3_img {
	position: absolute;
	height: 100%;
	aspect-ratio: 1 / 1; 
	right: 0;
	top: 0;
	transition: right 0.5s ease;
}
.card_mobile_1_img {
	background-image: url("IMG/IMG1.png");
	background-position: center;
	background-size: cover;
}
.card_mobile_2_img {
	background-image: url("IMG/IMG2.png");
	background-position: top;
	background-size: cover;
}
.card_mobile_3_img {
	background-image: url("IMG/IMG3.png");
	background-position: top;
	background-size: cover;
}
/* --- ZÁKLAD: zavřený stav --- */
.card-mobile p {
  width: 50%;
  display: none;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  text-align: justify;
  transition: all 0.5s ease;
}

.card_mobile_2_img,
.card_mobile_3_img {
  position: absolute;
  height: 100%;
  aspect-ratio: 1 / 1;
  right: 0;
  top: 0;
  transition: all 0.5s ease; /* přidáno pro plynulou změnu */
  background-position: top; /* výchozí střed */
  background-size: cover;
}
.card_mobile_1_img {
  position: absolute;
  height: 100%;
  aspect-ratio: 1 / 1;
  right: 0;
  top: 0;
  transition: all 0.5s ease; /* přidáno pro plynulou změnu */
  background-position: center; /* výchozí střed */
  background-size: cover;
}


/* --- Stav .open: rozbaleno / změna obrázku --- */
.card-mobile.open h1 {
  margin-bottom: 20px; /* drobná vizuální úprava titulku při otevření */
}
.card-mobile.open p {
  display: flex; /* zobrazí odstavec */
}

.card-mobile.open .card_mobile_1_img {
  aspect-ratio: 1.5 / 3; /* roztažení obrázku */
  /* right zůstává 0, nebo můžete přidat posun dle potřeby */
}

.card-mobile.open .card_mobile_2_img {
  aspect-ratio: 2 / 3;
  right: -80px;
}

.card-mobile.open .card_mobile_3_img {
  aspect-ratio: 2 / 3;
  right: -20px;
}


.section4_mobile {
	display: none;
}
.dots, .dots2 {
	display: none;
}





.fa-caret-down {
	margin-left: 20px;
}
.fa-square-envelope, .fa-square-phone {
	margin-right: 10px;
	color: var(--red);
}
.kontakty:hover .fa-square-envelope, .kontakty:hover .fa-square-phone {
	color: white;
}


@media (min-width: 1500px) {
	.card h1 {
		font-size: 3.5rem;
	}
	.divs3 h1 {
		font-size: 3.5rem;
	}
	.bod1 h1 {
		font-size: 2rem;
	}
	.section5 h1 {
		font-size: 3.5rem;
	}
}

