/* Основные стили */
:root {
    --primary-color: #c62828;
    --primary-dark: #8e0000;
    --primary-light: #ff5f52;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #222;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Шапка */
.header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.logo-main {
    color: var(--light-text);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-sub {
    color: var(--light-text);
    font-size: 14px;
    margin-top: 5px;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.main-menu li {
    margin: 0 20px;
}

.main-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

.main-menu a:hover {
    color: #ffccbc;
}

/* Герой секция */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/sochi.jpg') no-repeat center center;
    background-size: cover;
    color: var(--light-text);
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 120px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-small {
    padding: 10px 25px;
    font-size: 14px;
    display: inline-block;
    width: auto;
}

.btn-container {
    text-align: center;
    margin-top: 20px;
}

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

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--primary-color);
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-header {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.service-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.service-header h3 {
    position: relative;
    z-index: 1;
    color: var(--light-text);
    margin: 0;
    font-size: 24px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.service-content {
    padding: 25px;
}

.price {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-dark);
    margin: 20px 0;
    text-align: center;
}

.service-features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 2px;
}

/* О нас */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.review-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.review-card:before {
    content: """;
    font-size: 80px;
    color: var(--primary-light);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    opacity: 0.3;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Контакты */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.contact-info {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

/* Футер */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo .logo-main {
    font-size: 28px;
    margin-bottom: 5px;
}

.footer-logo .logo-sub {
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-social img:hover {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        padding: 150px 0 80px;
        margin-top: 100px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .main-menu ul {
        flex-wrap: wrap;
    }
    
    .main-menu li {
        margin: 5px 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-main {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .section h2 {
        font-size: 28px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo-main {
        font-size: 24px;
    }
    
    .logo-sub {
        font-size: 12px;
    }
    
    .main-menu a {
        font-size: 14px;
    }
}
/* Стили для страниц политик */
.policy {
    padding: 100px 0 80px;
}

.policy h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
}

.policy-date {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 24px;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .policy {
        padding: 80px 0 60px;
    }
    
    .policy h1 {
        font-size: 30px;
    }
    
    .policy-content h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .policy h1 {
        font-size: 26px;
    }
    
    .policy-content h2 {
        font-size: 20px;
    }
}
