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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Шапка с логотипом */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.logo h2 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.logo a {
	color: white;
	text-decoration: none;
	
}

/* Меню */
.menu {
    background-color: #34495e;
}

.menu ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

.menu li {
    margin: 0;
}

.menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 4rem;
    transition: background-color 0.3s ease;
}

.menu a:hover {
    background-color: #1abc9c;
}

/* Основное содержимое */
.main-content {
    flex: 1;
    padding: 2rem;
}

.border-block {
	border-top: 1px solid #2c3e50;
	border-left: 1px solid #2c3e50;
	border-right: 3px solid #2c3e50;
	border-bottom: 3px solid #2c3e50;
	border-radius: 0.3rem;
	padding: 0.7rem;
}

.border-block a {
	display: inline-block;
    text-decoration: none;
    background-color: #1abc9c;
    color: white;
    border: none;
    padding: 1rem 1rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.border-block a:hover {
    background-color: #16a085;
}

.main-content section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.main-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.main-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.main-content p {
    line-height: 1.4;
    color: #555;
    margin-bottom: 1.1rem;
}

	/* Подвал */
	.footer {
		background-color: #2c3e50;
		color: white;
		text-align: center;
		padding: 1rem;
		margin-top: auto;
	}
	
	.footer a{
		color: white;

	}

/* Стили формы */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}


label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

input[type="text"],
input[type="tel"]{
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus{
    outline: none;
    border-color: #1abc9c;
}

.form-groupp  {
    display: none;
}

/* Стили для чекбокса */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    transform: scale(1.2);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.4;
}

/* Кнопка отправки */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    background-color: #1abc9c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #16a085;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    .menu ul {
        flex-direction: row;
    }
    
    .menu a {
		font-size: 1.5rem;
        padding: 0.8rem 1rem;
        text-align: center;
        border-bottom: 1px solid #46627f;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .main-content h2 {
        font-size: 1.3rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .booking-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .menu a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .main-content {
        padding: 0.8rem;
    }
    
    .main-content h2 {
        font-size: 1.1rem;
    }
    
    input[type="text"],
    input[type="tel"]{
        padding: 0.6rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 0.8rem;
    }
	
}