/************************************/
/*** 	KOntaktní formulář CSS	  ***/
/************************************/

.kontakt-info-box{
	padding: 100px 0 20px;
}

.kontakt-info-item{
	position: relative;
	background-color: var(--secondary-color-2);
	border-radius: 20px;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	padding: 30px;
	overflow: hidden;
}

.kontakt-info-item::before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--theme-green-ekor-2);
	border-radius: 500px 500px 0 0;
    height: 0;
    width: 100%;
    transition: all 0.4s ease-in-out;
    z-index: 0;
}

.kontakt-info-item:hover::before{
	height: 100%;
	border-radius: 0;
}

.kontakt-info-item .icon-box,
.kontakt-info-content{
	position: relative;
	z-index: 1;
}

.kontakt-info-item .icon-box{
	height: 50px;
	width: 50px;
	background-color: var(--theme-green-ekor-2);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 30px;
    transition: all 0.5s ease-in-out;
}

.kontakt-info-item:hover .icon-box{
	background: var(--white-color);
}

.kontakt-info-item .icon-box img{
	width: 100%;
	max-width: 28px;
	transition: all 0.5s ease-in-out;
}

.kontakt-info-item:hover .icon-box img{
	filter: brightness(0) invert(0);
}

.kontakt-info-content h3{
	font-size: 22px;
	margin-bottom: 10px;
	transition: all 0.4s ease-in-out;
    text-shadow: var(--text-shadow);
}

.kontakt-info-content p{
	margin: 0;
	transition: all 0.4s ease-in-out;
}

.kontakt-info-content p a{
	color: inherit;
}

.kontakt-info-item:hover .kontakt-info-content h3,
.kontakt-info-item:hover .kontakt-info-content p{
	color: var(--white-color);
}

.page-kontakt-us{
  position: relative;
  padding: 50px 0 50px;
}

.kontakt-us-box{
	display: flex;
	flex-wrap: wrap;
	border-radius: 20px;
	overflow: hidden;
    box-shadow: 0 20px 30px rgba(0,0,0,0.45);
}

.kontakt-us-image,
.kontakt-us-box .kontakt-form{
	width: 50%;
}

.kontakt-us-image figure{
	display: block;
	height: 100%;
}

.kontakt-us-image img{
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1.11;
	object-fit: cover;
}

.kontakt-us-box .kontakt-form{
	align-content: center;
}

.kontakt-form{
	background-color: var(--secondary-color);
	padding: 60px;
}

.kontakt-form .form-control{
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5em;
	color: var(--text-color);
	background: var(--white-color);
	border: 1px solid var(--divider-color);
	border-radius: 10px;
	padding: 17px 20px;
	box-shadow: none;
	outline: none;
}

.kontakt-form .form-control::placeholder{
	color: var(--text-color);
}

.google-map .container-fluid{
	padding: 0;
}

.google-map-iframe,
.google-map-iframe iframe{
	height: 600px;
	width: 100%;
}

.google-map-iframe iframe{
	filter: grayscale(1);
	transition: all 0.4s ease-in-out;
}

.google-map-iframe iframe:hover{
	filter: grayscale(0);
}

.kontakt-section-title{
	margin-bottom: 40px;
}

.kontakt-section-title h3{
	display: inline-block;
	position: relative;
	font-size: 16px;
    font-weight: 600;
	line-height: 1.5em;
	letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--span);
	background: url('../images/kontaktni-formular/icon-sub-heading.svg') no-repeat;
	background-position: left center;
	background-size: 24px auto;
	padding-left: 34px;
    margin-bottom: 15px;
    text-shadow: var(--text-shadow);
}


.kontakt-section-title h2{
	font-size: 26px;
	font-weight: 600;
	margin-bottom: 0;
	cursor: none;
    color: var(--theme-color-3);
    text-shadow: var(--text-shadow);
}

/************************************/
/*** 	Responsive css      	  ***/
/************************************/

@media only screen and (max-width: 991px){
	.kontakt-section-title{
		margin-bottom: 30px;
	}
	.kontakt-section-title h3{
		font-size: 14px;
		background-size: 22px auto;
		padding-left: 30px;
		margin-bottom: 10px;
	}
	.kontakt-section-title h2{
		font-size: 36px;
	}
	.kontakt-info-box{
		padding: 50px 0 0;
	}
	.kontakt-info-item{
		padding: 20px;
	}
	.kontakt-info-item .icon-box{
		margin-bottom: 20px;
	}
	.kontakt-info-content h3{
		font-size: 20px;
	}

	.page-kontakt-us{
		padding: 20px 0 50px;
	}
	.kontakt-us-image,
	.kontakt-us-box .kontakt-form{
		width: 100%;
	}
	.kontakt-form{
		padding: 40px;
	}
	.kontakt-us-image figure,
	.kontakt-us-image img{
		height: auto;
	}
	.kontakt-us-image img{
		aspect-ratio: 1 / 0.8;
	}
	.kontakt-form .form-control{
		padding: 12px 16px;
	}
	.google-map-iframe, .google-map-iframe iframe{
		height: 450px;
	}
}

@media only screen and (max-width: 767px){
	.kontakt-section-title h2{
		font-size: 18px;
	}
	.kontakt-form{
        padding: 20px;
    }
	.google-map-iframe,
	.google-map-iframe iframe{
		height: 350px;
	}
}


.form-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  min-width: 340px;
  border-radius: 22px;
  background: #ffffff;
  border:
    1px solid rgba(0,69,64,0.08);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.14);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    all 0.35s ease;
}


/* active */

.form-toast.show {
  opacity: 1;
  visibility: visible;
  transform:
    translateY(0);
}

/* icon */

.form-toast-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    rgba(0,69,64,0.08);
}

.form-toast-icon i {
  font-size: 24px;
  color: #004540;
}

/* text */

.form-toast-content h5 {
  font-size: 18px;
  font-weight: 700;
  color: #004540;
  margin-bottom: 4px;
}

.form-toast-content p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 0;
}

/* mobile */

@media (max-width: 767px) {

  .form-toast {
    right: 14px;
    left: 14px;
    bottom: 14px;
    min-width: auto;
    padding: 18px;
  }
}


/*** btn odeslat ***/
.kontakt-form .theme-btn {
  transition: .5s;  
}

.kontakt-form .theme-btn .default-btn {
  border: 1px solid var(--theme-orange-hover);
  margin: 0;
}


/* =========================================
   DARK MODE — Kontaktní Formulář
========================================= */

.theme-dark .kontakt-info-item {
  background: #0f1d1b;
  border: 1px solid rgba(255,255,255,0.06);
}

.theme-dark .kontakt-info-content h3 {
  color: #ffffff;
}

.theme-dark .kontakt-info-content p,
.theme-dark .kontakt-info-content p a {
  color: rgba(255,255,255,0.72);
}

.theme-dark .kontakt-info-content p a:hover {
  color: #7dd3c0;
}

/* =========================================
   CONTACT BOX
========================================= */

.theme-dark .kontakt-us-box {
  background: #0f1d1b;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 25px 70px rgba(0,0,0,0.45);
}

/* =========================================
   SECTION TITLE
========================================= */

.theme-dark .kontakt-section-title h3 {
  color: #7dd3c0;
}
.theme-dark .kontakt-section-title h2 {
  color: #ffffff !important;
}

/* =========================================
   FORM INPUTS
========================================= */

.theme-dark .kontakt-form .form-control {
  background: #10201d;
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
}
.theme-dark .kontakt-form .form-control:focus {
  border-color: #7dd3c0;
  box-shadow:
    0 0 0 4px rgba(125,211,192,0.12);
}
.theme-dark .kontakt-form .form-control::placeholder {
  color: rgba(255,255,255,0.42);
}

/* =========================================
   FORM TOAST
========================================= */

.theme-dark .form-toast {
  background: #102320;
  border: 1px solid rgba(125,211,192,0.15);
  box-shadow: 0 25px 70px rgba(0,0,0,0.45);
}
.theme-dark .form-toast-icon {
  background: rgba(125,211,192,0.12);
  color: #7dd3c0;
}
.theme-dark .form-toast-content h5 {
  color: #ffffff;
}
.theme-dark .form-toast-content p {
  color: rgba(255,255,255,0.72);
}

/* =========================================
   IMAGE
========================================= */

.theme-dark .kontakt-us-image img {
  filter: brightness(0.70) contrast(1.05);
}
.theme-dark .page-kontakt-us {
  background: linear-gradient(180deg, #081311 0%, #0d1d1a 100%);
}

/* =========================================
   CONTACT FORM PANEL
========================================= */

.theme-dark .kontakt-form {
  background: #0f1d1b;
}
.theme-dark .kontakt-us-image {
  background: #0f1d1b;
}
.theme-dark .google-map iframe {
  filter: brightness(70%) contrast(1.1);
}
