@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap');

@font-face {
  font-family: 'Nastup';
  src: url('../fonts/Nastup-Basic.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
	--kai-color: #267CEB;
	--white-color: #fff;
	--black-color: #383838;
}

* {
	padding: 0;
	margin: 0;
}

/*  
* MAIN STYLE
*/
.wrapper {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.geologica-font {
	font-family: 'Geologica', sans-serif;
}

.nastup-font {
	font-family: 'Nastup', sans-serif;
}

.flex-direction {
	flex-direction: row;
}

.btn {
	display: flex;
	width: 220px;
	height: 56px;
	padding: 14px 48px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	border: none;
	box-sizing: border-box;
	font-family: Geologica;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	cursor: pointer;
	text-decoration: none;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.btn:hover {
	border: 1px solid #FFF;
	background: #267CEB;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.btn-white {
	color: var(--kai-color);
	background: var(--white-color);
}

.btn-white:hover {
	color: var(--white-color);
}

.btn-kai {
	border: 1px solid var(--white-color);
	background: var(--kai-color);
	color: var(--white-color);
}

/*  
* HEADER
*/
header {
	background: var(--kai-color);
	width: 100%;
	padding: 31px 0;
}

.header-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.header-logo {
	width: 183px;
	height: 58px;
}

.header-right {
	display: flex;
	flex-direction: row;
	gap: 30px;
	align-items: center;
}

.language-selector {
  position: relative;
  display: inline-block;
}

.selected-language {
	padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.selected-language:hover {
	background: rgba(255, 255, 255, 0.20);
}

.selected-language img {
  width: 36px;
  height: 20px;
}

.language-dropdown {
	width: 100%;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white-color);
  border-top: 1px solid var(--white-color);
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.language-dropdown a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  text-decoration: none;
  color: black;
}

.language-dropdown a:hover {
  background: linear-gradient(0deg, #267CEB 0%, #267CEB 100%), rgba(255, 255, 255, 0.20);
}

.language-selector:hover .language-dropdown {
  display: block;
}

/*  
* MAIN CONTENT
*/
section {
	margin: 56.5px 0 100px;
}

.content {
	display: flex;
	flex-direction: column;
	gap: 100px;
}

.hero-text {
	max-width: 1098px;
	color: var(--black-color);
	font-family: 'Geologica', sans-serif;
	font-size: 82.365px;
	font-style: italic;
	font-weight: 800;
	line-height: normal;
	text-transform: uppercase;
	margin-bottom: 56.5px;

	span {
		display: block;
		width: 100%;
	}
}

.hero-text > :first-child {
	line-height: 1;
}

.hero-text > :last-child {
	display: block;
	text-align: right;
	line-height: 2;
}

.kai-color0-text {
	color: var(--kai-color);
	font-family: 'Nastup', sans-serif;
	font-size: 149.624px;
	font-style: normal;
	font-weight: 400;
	line-height: .6;
	text-transform: uppercase;
}
.hero-about {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.hero-img {
	width: 100%;
	height: 665px;
	flex-shrink: 0;
	aspect-ratio: 240/133;
	object-fit: cover;
}

.hero-about-text {
	display: flex;
	gap: 24px;
	justify-content: space-between;

	span {
		max-width: 713px;
		width: 100%;
		color: #000;
		font-family: Geologica;
		font-size: 24px;
		font-style: normal;
		font-weight: 500;
		line-height: normal;
	}
}

html[lang="en"] {
	.hero-text > :first-child {
	  font-size: 99.441px;
	}
	.kai-color0-text {
		font-size: 180.644px;
	}
	.hero-text > :last-child {
		font-size: 62.15px;
	}
} 

.damage {
	display: flex;
	gap: 40px;

	img {
		max-width: 488px;
		width: 100%;
		height: 676px;
	}
}

.damage-info {
	max-width: 530px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 32px;

	h1 {
		color: #000;
		font-family: Geologica;
		font-size: 48px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	.kai-big,
	.kai-small {
		display: flex;
		align-items: baseline;
		color: var(--kai-color);
		font-family: Geologica;
		font-size: 120px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	.kai-small {
		align-items: end;
		font-size: 64px;
	}
}

.damage-first-block span {
	display: flex;
	align-items: end;
	gap: 12px;
	height: 120px;
	color: #000;
	font-family: Geologica;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.damage-second-block {
	display: flex;
	flex-direction: column;
	gap: 14px;

	span {
		display: flex;
		align-items: center;
		gap: 12px;
		color: #000;
		font-family: Geologica;
		font-size: 20px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
	}
}
.damage-lift {
	color: #000;
	font-family: Geologica;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.video video {
	width: 100%;
}
/*  
* FOOTER
*/
footer {
	padding: 112px 0;
	background: var(--kai-color);

	img {
		width: 488px;
		height: 374px;
		object-fit: cover;
	}
}

.footer-info {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;

	h1 {
		color: var(--white-color);
		font-family: Geologica;
		font-size: 40px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
	}

	span {
		color: #FFF;
		font-family: Geologica;
		font-size: 20px;
		font-style: normal;
		font-weight: 500;
		line-height: normal;
	}
}

.footer-bank-info {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
#slider-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  cursor: pointer;
}

.slider-image {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.slider-image.active {
  display: block;
  opacity: 1;
  position: relative;
}
.payment-slider { 
	max-width: 800px;
	display: flex;
	flex-direction: column;
	gap: 40px; 
	margin: auto; 
	color: var(--white-color);
}
.slides { 
	position: relative; 
	overflow: hidden; 
}
.slide { 
	display: none; 
	color: #FFF;
	font-family: Geologica;
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: normal; 

	h3,
	h4 {
		font-weight: 300;
		text-transform: uppercase;
	}
}
.slide.active { 
	display: flex;
	flex-direction: column;
	gap: 40px; 
}
.dot { 
	height: 24px; 
	width: 24px; 
	margin: 0 6px; 
	background: var(--white-color); 
	border-radius: 50%; 
	display: inline-block; 
	cursor: pointer; 
}
.dot.active { 
	background: #0056C6; 
}
/*  
*	MODAL
*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.modal-content img {
  max-width: 100%;
  width: 600px;
  max-height: 100%;
  height: 800px;
  object-fit: contain;
}

.modal .modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  color: white;
  font-size: 42px;
  border: none;
  cursor: pointer;
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.modal-prev {
  left: 10px;
}

.modal-next {
  right: 10px;
}

/*  
* MEDIA
*/
@media (min-width: 320px) and (max-width: 767px) {
	.wrapper {
		max-width: 343px;
	}
	section {
		margin: 40px 0;
	}
	.content {
		gap: 40px;
	}
	.btn {
		width: 100%;
	}
	.flex-direction {
		flex-direction: column;
	}
	.mob-hide {
		display: none;
	}
	.hero-text {
		margin-bottom: 13px;
	}
	.hero-text > :first-child {
	  font-size: 25.739px;
	}
	.kai-color0-text {
		font-size: 46.758px;
	}
	.hero-text > :last-child {
		font-size: 29.278px;
	}

	html[lang="en"] {
		.hero-text > :first-child {
		  font-size: 28.88px;
		}
		.kai-color0-text {
			font-size: 52.464px;
		}
		.hero-text > :last-child {
			font-size: 18.05px;
		}
	} 
	.hero-img {
		height: 190px;
	}
	.hero-about-text span {
		font-size: 16px;
	}
	.damage-info,
	.slide.active {
		gap: 24px;
	}
	.damage {
		gap: 24px;

		img {
			max-width: 343px;
			height: 468px;
		}

		h1 {
			font-size: 28px;
		}
		.kai-big {
			font-size: 80px;
			line-height: 1;
		} 
		.kai-small {
			font-size: 48px;
		}
	}
	.damage-first-block span {
		font-size: 18px;
		height: auto;
	}
	.damage-second-block span {
		font-size: 14px;
	}
	.damage-lift {
		font-size: 14px;
	}
	footer {
		padding: 27px 0 98px;
	}
	.footer-info {
		gap: 40px;

		.footer-bank-info {
			gap: 14px;
		}

		h1 {
			font-size: 24px;
		}
		span {
			font-size: 14px;
		}
	}
}

@media (min-width: 768px) and (max-width: 1100px) {
	.wrapper {
		max-width: 960px;
		width: 95%;
	}
}