/* Сброс базовых стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
	overflow-y: auto; /* Восстанавливаем вертикальную прокрутку */
}

html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}
a{
    color: green;
}

/* Основной фон и текст */
body 
{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh; /* Устанавливаем минимальную высоту */
    height: 100%;
    position: relative; /* Убираем возможные сдвиги */
    overflow-x: hidden; /* Убираем горизонтальную прокрутку */

}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* Фон */
#content-background
{
	display: block;
	position: relative;
	width: 100%;
	min-height: 350px;
	margin: 100px auto 0 auto;
	overflow: hidden;
}
#content-background img
{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -100;
	width: 100%;
	margin: -300px 0 0 0;
}
@media (max-width: 1400px) {
	#content-background img
	{
		min-width: 1200px;
		margin: -200px 0 0 0;
	}
}
@media (max-width: 768px) {
	#content-background img 
	{
		min-width: 250px;
		position: absolute;
		margin: -100px auto 0 auto;
		height: 150%;
		width: auto;
	}
}
@media (max-width: 600px) {
	#content-background img 
	{
		margin: -100px auto 0 -250px;
	}
}
/* Заголовок */
#header {
	position: fixed; /* Make it stick/fixed */
	right: 0;
	top: 0; /* Stay on top */
	z-index: 100;
	width: 100%;
	height: 100px;
	background: #fff;
	box-shadow: 0 0 15px -2px #001021;
	text-align: center:
}

#mainlogo
{
	display: block;
	position: relative;
	height: 60px;
	margin: 20px auto;
}
.gwologo{
	display: block;
	position: relative;
	margin: 0 auto 25px auto;
	width: 300px;
    border-radius: 10px;
}
#navigation-container
{
	display: block;
	position: absolute;
	margin: 0 100px;
	width: 80%;
	bottom: 0;
}
.navigation-tab
{
	display: block;
	position: relative;
	float: left;
	text-decoration: none;
	background-color: #002A47;
	display: table-cell;
	padding: 10px 30px;
	margin: 0 5px;
	position: relative;
	font-size: 12pt;
	font-weight: 400;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	vertical-align: middle;
	border-radius: 3px 3px 0 0;
}
.navigation-tab:hover
{
	background-color: #fff;
	color: #002A47;
}
/* Сетка карточек */
.grid {
	position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 50px 25px;
    width: 100%;
    margin: 0 auto 0 auto;
    box-sizing: border-box; /* Убираем возможный выход за пределы */
}

.card {
	position: relative;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
	overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.rating {
    font-weight: bold;
    margin-bottom: 10px;
}

.book-now {
    padding: 10px 15px;
    background-color: #002A47;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.book-now:hover {
    background-color: #fff;
	color: #002A47;
}
.card-background
{
	position: absolute;
	top: 0;
	left: 0;
	z-index: -100;
	width: 100%;
	height: 100%;
	background-color: #fff;
	opacity: 0.05;
}
.normal-opacity
{
	background-color: #018bb9;
	opacity: 1;
}
.white-color
{
	color: #fff;
}
/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Затемнённый фон */
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.modal-dialog {
    background: white;
    color: black;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Тень для диалога */
    overflow: hidden;
    animation: fadeIn 0.3s ease; /* Анимация появления */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f5f5;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modal-header .close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #555;
    transition: color 0.3s ease;
}

.modal-header .close:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
}

.close-btn {
    padding: 10px 20px;
	background: #002A47;
	color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    border: 1px solid #005494;
	color: #005494;
	background: #fff;
}
/* Contact section message form */
  #registration_content_form
	{
		display: block;
		margin: auto;
		position: relative;
		max-width: 600px;
		width: 90%
	}
	.registration_form_row
	{
		display: block;
		width: 100%;
		position: relative;
		margin-bottom: 20px;
	}
	.registration_form_row input
	{
		-webkit-appearance: none;
		display: block;
		outline: none;
		width: 100%;
		color: #86889b;
		background: #ece8e9;
		border: 0;
		border-radius: 10px;
		padding: 15px 15px;
		font-size: 12pt;
		line-height: 1.5;	
	}
	.registration_form_row input.invalid::placeholder
	{
		color: #ff0000;
	}
	.registration_form_row input.invalid::-webkit-input-placeholder
	{
		color: #ff0000;
	}

	.registration_form_row input::placeholder
	{
		font-size: 10pt;

	}
	.registration_form_row input::-webkit-input-placeholder
	{
		font-size: 10pt;

	}

	.registration_form_row textarea
	{
		-webkit-appearance: none;
		display: block;
		outline: none;
		width: 100%;
		color: #86889b;
		background: #ece8e9;
		border: 0;
		border-radius: 10px;
		border-bottom: 1px solid #f2f2f2;
		padding: 15px 15px;
		font-size: 12pt;
		line-height: 1.5;
		font-family: 'Archivo', sans-serif;
	}
	.registration_form_row textarea.invalid::placeholder
	{
		color: #ff0000;
	}
	.registration_form_row textarea.invalid::-webkit-input-placeholder
	{
		color: #ff0000;
	}
	.registration_form_row textarea.invalid:-ms-input-placeholder 
	{
		color: #ff0000;
	}
	.registration_form_row textarea::placeholder
	{
		font-size: 10pt;

	}
	.registration_form_row textarea::-webkit-input-placeholder
	{
		font-size: 10pt;

	}
	.registration_form_row textarea:-ms-input-placeholder 
	{
		font-size: 10pt;

	}
	#registration_form_submit
	{
		-webkit-appearance: none;
		border: none;
		position: relative;
		display: block;
		padding: 20px 30px;
		width: 100%;
		margin: 40px auto 0 auto;
		background: #002A47;
		color: #fff;
		border: 1px solid #fff;
		cursor: pointer;
		font-size: 12pt;
		border-radius: 10px;
	}
	#registration_form_submit:hover
	{
		border: 1px solid #005494;
		color: #005494;
		background: #fff;
	}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Футер */
.footer {

	
    text-align: center;
    padding: 50px;
    background-color: #000;
	color: #fff;
    font-size: 0.9rem;
    margin-top: auto; /* Футер прижат вниз */
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Убираем белую полосу */
body {
    overflow-x: hidden;
}


/* Адаптивность */
@media (max-width: 768px) {
	#navigation-container
	{
		margin: 0 auto;
		width: 100%;
	}
	.navigation-tab
	{
		padding: 10px 15px;
	}
  
    .grid {
        grid-template-columns: 1fr;
    }
}
/* ==================== */
/* About & Contact Sections */
/* ==================== */

/* Общие стили для обеих секций */
.info-section {
    padding: 0;
    width: 80%;
    margin: 50px auto;
    text-align: center;
  }
    .info-section h2 {
    font-size: 3rem;
    letter-spacing: 0.5px;
  }
  @media (max-width: 830px) {
	  
	.info-section
	{
		text-align: center;
		height: 500px;
	}
	.info-section h2
	{
		font-size: 2.8rem
	}
    .contact-section{
		padding: 50px 0 0 0;
		margin: 0 auto;
		text-align: center;
    }
	.map-section{
		width: 100%;
		padding: 0;
	}
}
 
  .contact-first-header
	{
		color: #002A47;
		margin: 0;
		padding: 0;
	}
	.contact-second-header
	{
		margin: 0 0 25px 0;
		padding: 0;
		color: #0181b2;
	}
 
  /* Секция About Us */
  .about-section {
    background: rgba(255, 255, 255, 0.1);
	display: block;
	position: relative;
	width: 80%;
	margin: 25px auto;
  }
  
  .about-section h2 {
    color: #002A47;
  }
  
  .about-section .content {
    display: block;
	position: relative;
    margin: 0 auto;
    line-height: 1.7;
    color: #002A47;
  }
  
  .about-section p {
    margin: 1.5rem 0;
    font-size: 1.1rem;
  }
  
  /* Секция Contact Us */ 
  .contact-section
  {
	  text-align: left;
  }

  
  .contact-section .content {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contact-section .subtitle {
	  display: block;
	  position: relative;
	  float: left;
    color: #ccc;
    margin: 1rem 0;
    font-size: 1.1rem;
  }
  .contact-section-logo
  {
	display: block;
	position: relative;
	float: left;
	width: 270px;
  }
  .contact-address {
	  display: block;
	  position: relative;
	  float: left;
    font-style: normal;
    line-height: 1.7;
    margin: 1.5rem 0;
    color: #002A47;
    font-size: 1rem;
  }
  
  .contact-info {
	  display: block;
	  position: relative;
	  float: left;
	  width: 100%;
	  text-align: left;
	  padding: 5px 0;
  }
  
  .contact-info p {
    margin: 0.8rem 0;
    font-size: 1.05rem;
  }
  
  .contact-info a {
    color: #0181b2;
    text-decoration: none;
    border-bottom: 1px dashed rgba(76, 175, 80, 0.3);
    transition: all 0.3s;
  }
  
  .contact-info a:hover {
    color: #002A47;
    border-bottom-style: solid;
  }
  
  .director-title {
    color: #4CAF50;
    margin: 2.5rem 0 1rem;
    font-size: 1.4rem;
  }
  
  .director-name {
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
  }
  /* Contact section message form */
  #contact_content_form
	{
		display: block;
		margin: auto;
		position: relative;
		max-width: 600px;
		width: 90%
	}
	.contact_form_row
	{
		display: block;
		width: 100%;
		position: relative;
		margin-bottom: 20px;
	}
	.contact_form_row input
	{
		-webkit-appearance: none;
		display: block;
		outline: none;
		width: 100%;
		color: #86889b;
		background: #ece8e9;
		border: 0;
		border-radius: 10px;
		padding: 15px 15px;
		font-size: 12pt;
		line-height: 1.5;	
	}
	.contact_form_row input.invalid::placeholder
	{
		color: #ff0000;
	}
	.contact_form_row input.invalid::-webkit-input-placeholder
	{
		color: #ff0000;
	}

	.contact_form_row input::placeholder
	{
		font-size: 10pt;

	}
	.contact_form_row input::-webkit-input-placeholder
	{
		font-size: 10pt;

	}

	.contact_form_row textarea
	{
		-webkit-appearance: none;
		display: block;
		outline: none;
		width: 100%;
		color: #86889b;
		background: #ece8e9;
		border: 0;
		border-radius: 10px;
		border-bottom: 1px solid #f2f2f2;
		padding: 15px 15px;
		font-size: 12pt;
		line-height: 1.5;
		font-family: 'Archivo', sans-serif;
	}
	.contact_form_row textarea.invalid::placeholder
	{
		color: #ff0000;
	}
	.contact_form_row textarea.invalid::-webkit-input-placeholder
	{
		color: #ff0000;
	}
	.contact_form_row textarea.invalid:-ms-input-placeholder 
	{
		color: #ff0000;
	}
	.contact_form_row textarea::placeholder
	{
		font-size: 10pt;

	}
	.contact_form_row textarea::-webkit-input-placeholder
	{
		font-size: 10pt;

	}
	.contact_form_row textarea:-ms-input-placeholder 
	{
		font-size: 10pt;

	}
	#contact_form_submit
	{
		-webkit-appearance: none;
		border: none;
		position: relative;
		display: block;
		padding: 20px 30px;
		width: 100%;
		margin: 40px auto;
		background: #002A47;
		color: #fff;
		border: 1px solid #fff;
		cursor: pointer;
		font-size: 12pt;
		border-radius: 10px;
	}
	#contact_form_submit:hover
	{
		border: 1px solid #005494;
		color: #005494;
		background: #fff;
	}
	
  /* Адаптивность */
  
  #map {
       display: block;
		width: 100%;
		min-height: 500px;
		height: 100%;
		position: relative;
		float: left;
		background: #fff;
		overflow: hidden;
      }
  
  @media (max-width: 480px) {
    .contact-address {
      line-height: 1.6;
      font-size: 0.9rem;
    }
    
    .director-name {
      font-size: 1rem;
    }
  }
  /* Контейнер для двух секций */
.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    gap: 0;
    width: 80%;
	min-height: 500px;
    margin: 30px auto;
	border-radius: 10px;
	overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr; /* Вертикально на мобильных */
        gap: 1rem;
		min-height: 1000px;
    }
}
.about-container
{
	display: block;
	position: relative;
	float: left;
	width: 80%;
	min-height: 500px;
    margin: 30px auto;
	border-radius: 10px;
	overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

}
