/* Основные цвета в прованском стиле */
:root {
    --color-bg: #F9F3EC;
    --color-accent: #6E2F8E;
    --color-button: #FFAE00;
    --color-heading: #333333;
    --color-text: #555555;
    --color-white: #ffffff;
    --color-light-gray: #f4f4f4;
    --color-border: #e0e0e0;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Хедер */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-accent);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-accent);
}

/* Основной контент */
main {
    padding-top: 80px;
}

/* Герой секция */
.hero {
    background: linear-gradient(135deg, rgba(110, 47, 142, 0.8), rgba(139, 74, 173, 0.8)), url('./img/CFB9Bc.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 8rem 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Удаляем старый блок hero-image */

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-button);
    color: var(--color-heading);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #e69b00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,174,0,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-accent);
}

/* Секции */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Сетка */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Карточки */
.card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
}

/* Услуги */
.services {
    background-color: var(--color-light-gray);
}

.service-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-accent);
    margin: 1rem 0;
}

/* Отзывы */
.testimonials {
    background-color: var(--color-accent);
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: var(--color-white);
}

.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--color-button);
}

/* Форма */
.form-section {
    background-color: var(--color-white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-border);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

/* Футер */
.footer {
    background-color: var(--color-heading);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--color-button);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-popup-text {
    flex: 1;
}

.cookie-popup-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-popup .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Смещение для якорей */
.section {
    scroll-margin-top: 100px;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    main {
        padding-top: 100px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--color-white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 6rem 0;
        background-attachment: scroll;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 8rem 0;
        background-attachment: scroll;
    }
    
    .card,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Специальные стили для микроразметки */
.microdata-hidden {
    display: none;
} 