/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок */
.header {
    background: #2c3e50;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    opacity: 0.8;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #3498db;
}

.admin-link {
    background: #e74c3c;
    padding: 8px 15px;
    border-radius: 4px;
}

/* Главный баннер */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hotel-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 60px;
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
}

.btn:hover {
    background: #2980b9;
}

.promo-banners {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.promo {
    background: rgba(52, 152, 219, 0.9);
    padding: 20px;
    border-radius: 8px;
    width: 300px;
}

/* Секции */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2.5em;
}

/* Номера */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.room-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.room-image.no-photo {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-image.no-photo i {
    font-size: 3em;
    color: #ccc;
}

.room-info {
    padding: 20px;
}

.room-details {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    color: #7f8c8d;
    font-size: 0.9em;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.room-footer .price {
    font-size: 1.2em;
    color: #e74c3c;
    font-weight: bold;
}

.no-rooms {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 40px;
}

/* Формы */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 5px;
}

.form-group label {
    font-weight: 500;
}

.form-group textarea {
    resize: vertical;
}

.booking, .review-form {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* Отзывы */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.review-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-rating {
    color: #f39c12;
}

.review-text {
    margin-bottom: 15px;
}

.review-date {
    color: #95a5a6;
    font-size: 0.9em;
}

.no-reviews {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 40px;
}

/* Рейтинг */
.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.stars i {
    color: #f39c12;
    cursor: pointer;
    font-size: 1.2em;
}

/* Подвал */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-section i {
    margin-right: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 14px;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage {
    text-align: center;
    padding: 30px;
}

.advantage i {
    font-size: 3em;
    color: #3498db;
    margin-bottom: 20px;
}

.advantage h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav a {
        margin: 5px 10px;
    }
    
    .hero-content h2 {
        font-size: 2em;
    }
    
    section {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 2em;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .promo-banners {
        flex-direction: column;
        align-items: center;
    }
    
    .promo {
        width: 90%;
    }
}