* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #9fbdff;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    display: flex;
    padding: 10px 20px;
    background-color: #65b5ff;
    border-bottom: 1px solid #eaeaea;
}

.top-bar div{
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.callback:hover {
    color: #004499;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.main-menu {
    display: flex;
    list-style: none;
}

.main-menu li {
    margin-right: 25px;
    padding: 5px 10px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.main-menu li.active {
    font-weight: bold;
    border-bottom: 2px solid #0066cc;
    text-decoration: none;
    color: #333;
}

.quick-search {
    background-color: #0066cc;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.quick-search:hover {
    background-color: #004499;
}

/* Основной контент */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.search-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.search-section h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.form-group select, 
.form-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.people-selector {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.people-count {
    margin: 0 5px;
    font-weight: bold;
}

.search-button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 27px;
}

.search-button:hover {
    background-color: #e65c00;
}

.extended-search {
    background-color: transparent;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    color: #666;
}

.extended-search:hover {
    background-color: #f5f5f5;
}

.promo-section {
    margin-bottom: 30px;
    position: relative;
}

.promo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.promo-banner {
    color: rgb(255, 255, 255);
    position: relative;
    padding: 25px;
    border-radius: 8px;
}

.promo-banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
    padding: 2px;
    display: block; 
    background-color: rgba(0, 0, 0, 0.7);
    width: fit-content;
}

.promo-banner p {
    font-size: 16px;
    padding: 3px;
    display: block; 
    background-color: rgba(0, 0, 0, 0.7);
    width: fit-content;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.7s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.categories-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.categories-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.category-item {
    background-color: #e2e2e2;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: #0066cc;
    color: white;
    transform: translateY(-3px);
}

/* Подвал */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .main-menu {
        flex-wrap: wrap;
    }
    
    .main-menu li {
        margin-bottom: 10px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}