style.css body { font-family: Arial, sans-serif; line-height: 1.6; margin: 0; padding: 0; color: #333; } header { background: #2c3e50; color: white; padding: 1rem; text-align: center; } nav ul { list-style: none; padding: 0; display: flex; justify-content: center; } nav li { margin: 0 1rem; } nav a { color: white; text-decoration: none; } main { padding: 2rem; } .destination { margin-bottom: 2rem; border: 1px solid #ddd; padding: 1rem; border-radius: 5px; } .destination img { max-width: 100%; height: auto; } table { width: 100%; border-collapse: collapse; margin: 1rem 0; } table, th, td { border: 1px solid #ddd; } th, td { padding: 0.5rem; text-align: left; } footer { background: #2c3e50; color: white; text-align: center; padding: 1rem; margin-top: 2rem; } /* Стили для галереи */ .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; } .gallery img { width: 100%; height: 200px; object-fit: cover; cursor: pointer; transition: transform 0.3s; } .gallery img:hover { transform: scale(1.05); } /* Модальное окно */ .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); } .modal-content { margin: auto; display: block; width: 80%; max-width: 700px; } .close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; } /* Форма контактов */ form { max-width: 600px; margin: 0 auto; } label { display: block; margin: 0.5rem 0; } input, textarea { width: 100%; padding: 0.5rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 4px; } button { background: #2c3e50; color: white; padding: 0.7rem 1.5rem; border: none; border-radius: 4px; cursor: pointer; } button:hover { background: #1a252f; }