/* Основные переменные цветов */
:root {
    --primary-color-grey: rgba(0, 0, 0, 0.7);    /* Новый темно-серый полупрозрачный */
    --secondary-color-lavender: #faa2c1; /* Теперь тоже розовый */
    --accent-color-pink: #faa2c1;     /* Новый розовый */
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #f9f9f9;
    --shadow-color: rgba(0, 0, 0, 0.1);

    /* Добавляем переменные для анимаций */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color-lavender);
    transition: width var(--transition-normal);
}

.section-header:hover h2::after {
    width: 150px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Стили для логотипа сайта */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Стили для шапки сайта */
.header-custom {
    background-color: var(--primary-color-grey);
    padding: 15px 0;
    box-shadow: 0 2px 4px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-custom .navbar-brand-custom,
.header-custom .nav-link-custom,
.header-custom .phone-link,
.header-custom .navbar-toggler-custom i {
    color: var(--text-light) !important;
}

.header-custom.scrolled {
    padding: 10px 0;
    background-color: var(--primary-color-grey);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.header-custom.scrolled .navbar-brand-custom,
.header-custom.scrolled .nav-link-custom,
.header-custom.scrolled .phone-link,
.header-custom.scrolled .navbar-toggler-custom i {
    color: var(--text-light) !important;
}

.navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-brand-custom {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.navbar-brand-custom:hover {
    color: var(--secondary-color-lavender);
    transform: scale(1.05);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.navbar-nav-custom {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-custom {
    margin-right: 20px;
}

.nav-link-custom {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-pink);
    transition: width var(--transition-normal);
}

.nav-link-custom:hover {
    color: var(--secondary-color-lavender);
}

.nav-link-custom:hover::after {
    width: 100%;
}

.nav-item-custom.active .nav-link-custom {
    color: var(--secondary-color-lavender);
}

.nav-item-custom.active .nav-link-custom::after {
    width: 100%;
}

.navbar-toggler-custom {
    display: none;
    background: none;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 1.2em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.navbar-toggler-custom:hover {
    background-color: var(--secondary-color-lavender);
    color: var(--text-light);
    border-color: var(--secondary-color-lavender);
}

.btn-custom {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-color-lavender);
    color: var(--text-light);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.btn-custom:hover {
    background-color: var(--accent-color-pink);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px var(--shadow-color);
}

.btn-custom:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px var(--shadow-color);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.dropdown-toggle:hover i {
    transform: rotate(180deg);
}

.dropdown-btn-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background-color: var(--background-light);
    box-shadow: 0 4px 6px var(--shadow-color);
    border-radius: 4px;
    padding: 8px 0;
    z-index: 1001;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.1);
}

.dropdown-menu-custom.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item-custom {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color var(--transition-fast);
}

.dropdown-item-custom:hover {
    background-color: var(--primary-color-grey);
    color: var(--text-dark);
    transform: translateX(5px);
}

.header-phone {
    display: flex;
    align-items: center;
}

.phone-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.phone-link:hover {
    color: var(--secondary-color-lavender);
    transform: scale(1.05);
}

.phone-link i {
    margin-right: 5px;
    color: var(--secondary-color-lavender);
    transition: transform var(--transition-fast);
}

.phone-link:hover i {
    transform: rotate(15deg);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-container {
    position: relative;
    z-index: 1;
}

.hero-section {
    padding: 100px 0;
    position: relative;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.hero-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.btn-hero {
    font-size: 1.2rem;
    padding: 12px 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 6px var(--shadow-color);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 15px var(--shadow-color);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 6px var(--shadow-color);
    }
}

/* Стили для секции LED-наращивания и секции цен */
.led-section,
.prices-section {
    background-color: var(--primary-color-grey);
    color: var(--text-light);
    padding: 80px 0;
}

.led-section h1, .led-section h2, .led-section h3, .led-section h4, .led-section h5, .led-section h6,
.prices-section h1, .prices-section h2, .prices-section h3, .prices-section h4, .prices-section h5, .prices-section h6 {
    color: var(--text-light);
}

.led-section p,
.led-section ul li {
    color: var(--text-light);
}

.led-section a {
    color: var(--accent-color-pink);
}
.led-section a:hover {
    color: var(--text-light);
}

.led-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.led-text {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.led-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.led-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.led-text ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.led-text li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    position: relative;
    padding-left: 5px;
    transition: transform var(--transition-fast);
}

.led-text li:hover {
    transform: translateX(5px);
}

.led-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.led-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.led-image img {
    border-radius: 8px;
    box-shadow: 0 6px 12px var(--shadow-color);
    max-width: 100%;
    transition: transform var(--transition-normal);
}

.led-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Секция Услуги и цены */
.prices-section .section-header h2 {
    /* Можно задать цвет заголовка при необходимости */
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    color: var(--text-dark);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color-lavender);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.service-card h3,
.service-card .price,
.service-card .service-description {
    color: var(--text-dark) !important;
}

.price {
    font-size: 1.8rem;
    color: var(--secondary-color-lavender) !important;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    margin-bottom: 20px;
}

.btn-details,
.service-card .btn-details {
    padding: 8px 15px;
    background-color: var(--accent-color-pink);
    color: var(--text-light);
    border: 2px solid var(--secondary-color-lavender);
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-details:hover,
.service-card .btn-details:hover {
    background-color: var(--secondary-color-lavender);
    color: var(--text-light);
    transform: translateY(-3px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Стили для секций с темным фоном */
.some-section-with-dark-bg {
    background-color: var(--primary-color-grey);
}
.some-section-with-dark-bg h1,
.some-section-with-dark-bg h2,
.some-section-with-dark-bg h3,
.some-section-with-dark-bg h4,
.some-section-with-dark-bg h5,
.some-section-with-dark-bg h6,
.some-section-with-dark-bg p,
.some-section-with-dark-bg .some-text-element {
    color: var(--text-light);
}

/* Стили для портфолио */
.portfolio-section {
    padding: 80px 0;
    background-color: var(--background-light);
    overflow: hidden;
}

.swiper-container {
    padding: 20px 0 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.swiper-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide {
    transition: transform var(--transition-normal);
}

.swiper-slide:hover {
    transform: scale(1.02);
}

.swiper-slide img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: all var(--transition-normal);
}

.swiper-slide:hover img {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color-lavender);
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-color-pink);
    opacity: 1;
    transform: scale(1.2);
}

/* Стили для секции отзывов */
.reviews-section {
    padding: 80px 0;
    background-color: var(--accent-color-pink);
}

/* ДВУХКОЛОНОЧНЫЙ макет отзывов и формы на ПК */
.reviews-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
}

.reviews-list-wrapper {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.reviews-list {
    /* Стили для карточек остаются прежними */
    /* Можно добавить flex-grow: 1; если нужно */
}

.reviews-pagination {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    /* margin-bottom: 0; */
}

.review-form-container {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    color: var(--text-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    align-self: flex-start;
}

/* Обновленные стили для карточки отзыва */
.review-card {
    background-color: #fff;
    color: var(--text-dark);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.review-card .review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.review-card .review-item-header strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.review-card .review-date {
    font-size: 0.85rem;
    color: #777;
    margin-left: 10px;
}

.review-card .review-rating {
    margin-bottom: 10px;
    color: #f0ad4e;
}

.review-card .review-rating .fa-star {
    /* Можно добавить стили для звезд, если нужно */
}

.review-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Стили для старой структуры карточки отзыва (если используется) */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: transform var(--transition-fast);
}

.review-card:hover .review-avatar {
    transform: rotate(10deg);
}

.review-avatar i {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.review-author h4 {
    margin: 0;
    font-size: 1.2rem;
}

.review-rating {
    margin-top: 5px;
    display: flex;
}

.review-rating i {
    color: gold;
    margin-right: 2px;
    transition: transform var(--transition-fast);
}

.review-card:hover .review-rating i:nth-child(1) { transform: rotate(-5deg) scale(1.1); transition-delay: 0s; }
.review-card:hover .review-rating i:nth-child(2) { transform: rotate(5deg) scale(1.2); transition-delay: 0.05s; }
.review-card:hover .review-rating i:nth-child(3) { transform: rotate(-5deg) scale(1.1); transition-delay: 0.1s; }
.review-card:hover .review-rating i:nth-child(4) { transform: rotate(5deg) scale(1.2); transition-delay: 0.15s; }
.review-card:hover .review-rating i:nth-child(5) { transform: rotate(-5deg) scale(1.1); transition-delay: 0.2s; }

.review-date {
    font-size: 0.9rem;
    color: #777;
    /* УБРАН position: absolute; чтобы дата была в потоке справа от имени */
    /* margin-left: 10px;  -- не добавляем тут, т.к. в .review-card .review-date уже есть */
}

.review-content p {
    line-height: 1.6;
}

/* Стили для формы отзывов */
.review-form-container h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.review-form .form-group {
    margin-bottom: 20px;
    transition: transform var(--transition-fast);
}

.review-form .form-group:hover {
    transform: translateY(-3px);
}

.review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.review-form .form-group:hover label {
    color: var(--secondary-color-lavender);
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Jost', sans-serif;
    transition: all var(--transition-fast);
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color-lavender);
    box-shadow: 0 0 0 3px rgba(200, 162, 200, 0.2);
}

.review-form textarea {
    resize: vertical;
    min-height: 120px;
}

.rating-select {
    margin-top: 10px;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-stars i {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.rating-stars i:hover {
    transform: scale(1.2);
}

.rating-stars i:hover,
.rating-stars i.fas {
    color: gold;
}

/* Стили для статуса отправки отзыва */
.review-submit-status p {
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
}

.review-submit-status .success-message {
    background-color: #d4edda; /* Светло-зеленый */
    color: #155724; /* Темно-зеленый текст */
    border: 1px solid #c3e6cb;
}

.review-submit-status .error-message {
    background-color: #f8d7da; /* Светло-красный */
    color: #721c24; /* Темно-красный текст */
    border: 1px solid #f5c6cb;
}

/* Стили для пагинации отзывов */
.btn-custom-pagination {
    background-color: var(--accent-color-pink);
    color: white;
    border: 1px solid var(--accent-color-pink);
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.btn-custom-pagination:hover:not(:disabled) {
    background-color: var(--secondary-color-lavender); /* Или другой оттенок розового */
    border-color: var(--secondary-color-lavender);
    color: white;
    transform: translateY(-2px);
}

.btn-custom-pagination:disabled {
    background-color: #ccc;
    border-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.pagination-info {
    margin: 0 15px;
    font-size: 0.95rem;
    color: var(--text-dark); /* Или var(--text-light) если фон секции темный */
    /* Если фон .reviews-section темный, то цвет текста здесь должен быть светлым */
    /* color: var(--text-light); */
}

/* Адаптация для мобильных, если кнопки пагинации не влезают в ряд */
@media (max-width: 480px) {
    .btn-custom-pagination {
        padding: 6px 10px;
        font-size: 0.8rem;
        margin: 0 3px;
    }
    .pagination-info {
        margin: 0 8px;
        font-size: 0.85rem;
    }
    .reviews-pagination {
        margin-top: 20px;
    }
}

/* Адаптивность: на мобильных все в одну колонку */
@media (max-width: 991px) {
    .navbar-toggler-custom {
        display: block;
    }
    .navbar-nav-custom {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: var(--primary-color-grey);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity var(--transition-normal), transform var(--transition-normal);
    }
    .navbar-nav-custom.open {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
    }
    .navbar-nav-custom .nav-item-custom {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    .navbar-nav-custom .nav-link-custom {
        padding: 10px 15px;
        display: block;
    }
    .navbar-nav-custom .dropdown-btn-wrapper {
        width: auto;
        margin-top: 10px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .led-content {
        flex-direction: column;
    }

    .reviews-container {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .reviews-list-wrapper {
        width: 100%;
        margin-bottom: 30px;
    }
    .review-form-container {
        width: 100%;
        margin-top: 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav h4::after,
    .footer-contact h4::after,
    .footer-hours h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .dropdown-menu-custom {
        background-color: #fff;
    }
}

@media (max-width: 767px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .service-card {
        padding: 20px;
    }

    .review-date {
        position: static;
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .navbar-brand-custom {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .review-form-container {
        padding: 20px;
    }
}

/* Стили для футера */
.footer-section {
    background-color: var(--primary-color-grey);
    padding: 60px 0 20px;
    color: var(--text-light);
}

.footer-section a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}
.footer-section a:hover {
    color: var(--secondary-color-lavender);
}

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

.footer-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-logo a:hover {
    color: var(--secondary-color-lavender);
}

.footer-logo p {
    margin-top: 10px;
}

.footer-nav h4,
.footer-contact h4,
.footer-hours h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    color: var(--text-light);
}

.footer-nav h4::after,
.footer-contact h4::after,
.footer-hours h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color-lavender);
    transition: width var(--transition-normal);
}

.footer-nav h4:hover::after,
.footer-contact h4:hover::after,
.footer-hours h4:hover::after {
    width: 60px;
}

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

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-light);
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.footer-nav a:hover {
    color: var(--secondary-color-lavender);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color-lavender);
    transition: transform var(--transition-fast);
}

.footer-contact p:hover i {
    transform: scale(1.2);
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--secondary-color-lavender);
}

.footer-hours p {
    margin-bottom: 8px;
    transition: transform var(--transition-fast);
    color: var(--text-light);
}

.footer-hours p:hover {
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Анимации для появления элементов */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn var(--transition-normal) forwards;
}

.animate-slide-up {
    animation: slideUp var(--transition-normal) forwards;
}

.animate-slide-left {
    animation: slideInLeft var(--transition-normal) forwards;
}

.animate-slide-right {
    animation: slideInRight var(--transition-normal) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Стили для модального окна деталей услуги */
.service-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 37, 41, 0.8);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-detail-modal.active {
    display: flex;
    opacity: 1;
}

.service-detail-modal-content {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.service-detail-modal.active .service-detail-modal-content {
    transform: scale(1);
    opacity: 1;
}

.service-detail-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color-grey);
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.service-detail-modal-close:hover {
    color: var(--secondary-color-accent);
    transform: rotate(90deg);
}

.service-detail-modal-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color-accent);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-modal-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

#serviceDetailExtraInfo p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .service-detail-modal-content {
        padding: 20px;
    }
    .service-detail-modal-content h3 {
        font-size: 1.5rem;
    }
    .service-modal-description {
        font-size: 1rem;
    }
}

/* Для админ-панели, если фон body темный */
body.admin-body-bg {
    background-color: var(--primary-color-grey);
    color: var(--text-light);
}
body.admin-body-bg h1,
body.admin-body-bg h2,
body.admin-body-bg h3,
body.admin-body-bg h4,
body.admin-body-bg h5,
body.admin-body-bg h6,
body.admin-body-bg p,
body.admin-body-bg .admin-panel-text {
    color: var(--text-light);
}
