body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f8f9fa;
}

/* Фон верхнего меню */
nav {
    background-image: url('images/menu-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100px; /* Высота меню */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Логотип + текст */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Отступ между картинкой и текстом */
}

.logo img {
    height: 50px; /* Высота логотипа */
    width: auto;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
    color: white; /* Цвет текста */
}
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    padding: 10px;
}

.language-switcher a img {
    width: 30px; /* Размер значков */
    height: 30px;
    border-radius: 50%; /* Делаем значки круглыми */
    transition: transform 0.3s ease-in-out;
}

.language-switcher a img:hover {
    transform: scale(1.2); /* Увеличение при наведении */
}
/* Фон главного заголовка */
.hero {
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px; /* Высота секции */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}
/* Контейнер для раздела "Sobre nosotros" */
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

/* Левая колонка (услуги) */
.about-left {
    background-color: #d0ccb3; /* Серый фон для контраста */
    width: 50%;
    padding-right: 20px;
    pdding: 20px;a
    border-radius: 8px;
}

/* Правая колонка (почему мы) */
.about-right {
    width: 50%;
    padding-left: 20px;
    background-color: #d0ccb3; /* Серый фон для контраста */
    pdding: 20px;a
    border-radius: 8px;
}

/* Заголовки */
.about-left h2, .about-right h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Текст */
.about-right p {
    font-size: 16px;
    line-height: 1.5;
}
/* Галерея */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.gallery img {
    width: 250px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.1);
}.nav-links a {
    display: inline-block;  /* Делаем ссылки блочными, чтобы применялся padding */
    padding: 10px 20px;  /* Отступы внутри кнопки */
    background-color: rgb(238, 233, 233);  /* Белый фон */
    color: rgb(241, 238, 238);  /* Черный текст */
    font-weight: bold;  /* Жирный шрифт */
    text-decoration: none;  /* Убираем подчеркивание */
    border-radius: 50px;  /* Делаем круглые края */
    border: 2px solid rgb(228, 227, 227);  /* Черная рамка */
    transition: all 0.3s ease;  /* Плавная анимация */
}
a {
    color: rgb(196, 98, 59) !important; /* Белый цвет текста */
    text-decoration: none; /* Убираем подчеркивание */
}
/* Стили для всплывающего окна */
.popup {
    display: none; /* По умолчанию скрыто */
    position: fixed; /* Фиксированное положение на экране */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Затемненный фон */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Поверх всех элементов */
}

/* Стили для белого блока с формой */
.popup-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 350px;
    position: relative;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3); /* Тень вокруг окна */
}

/* Заголовок окна */
.popup-content h2 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

/* Поля ввода */
.popup-content input {
    width: 90%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Кнопка отправки */
.popup-content button {
    background-color: #28a745;
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 10px;
}

.popup-content button:hover {
    background-color: #218838;
}

/* Кнопка закрытия */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

.close:hover {
    color: red;
}
popup-content {
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
    opacity: 1;
}