*{
    margin: 0;
    padding: 0;
        box-sizing: border-box;

}

header {
    width: 100%;
    height: 70px;
    display: flex;
    position: fixed;
    background-color: #fff;
}

nav {
    width: 50%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.logo {
    width: 50%;
    height: 70px;
}

.logo img {
    height: 80%;
    object-fit: contain;
}


a {
    text-decoration: none;
    color: #383838;
}

a:hover {
    color: #3e8622;
}

    a {
      text-decoration: none;
      color: #383838;
      
    }
    a:hover{
        color: #3e8622;
    }

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#booking {
    padding: 2rem;
    text-align: center;
}

#booking h1 {
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    margin-top: 1rem;
    font-weight: bold;
}

form input, form select, form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background-color: #3e8622;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1rem;
}

footer{
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
/* Стили для мобильных устройств (только когда экран меньше 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    nav.mobile-visible {
        display: flex;
    }
    
    nav a {
        padding: 15px;
        width: 100%;
        text-align: center;
    }
    
    .logo {
        width: 100%;
        justify-content: center;
    }
    
    .block1 {
        height: auto;
        padding: 100px 20px 40px;
    }
    
    .txt {
        font-size: 28px;
        text-align: center;
    }
    
    .txt2 {
        font-size: 18px;
        text-align: center;
    }
    
    .cnop {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .photo {
        height: auto;
        max-height: 300px;
    }
    
    .block2 {
        height: auto;
        padding: 40px 20px;
    }
    
    .contact {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .grafic, .map-container {
        width: 100%;
    }
    
    .map-container iframe {
        width: 100%;
        height: 300px;
    }
    
    footer {
        height: auto;
        flex-direction: column;
        gap: 15px;
        padding: 30px 20px;
    }
}

/* Оптимизация для очень маленьких экранов */
@media (max-width: 480px) {
    .txt {
        font-size: 24px;
    }
    
    .txt2 {
        font-size: 16px;
    }
    
    .txt3 {
        font-size: 16px;
    }
    
    .cnop1, .cnop2 {
        width: 180px;
        height: 45px;
    }
}