:root {
    --primary-color: #ff69b4;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --accent-color: #ff1493;
    --spacing: 2rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Высота навигационной панели */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.fs-20 {
    font-size: 1.5rem !important
}

.fixedcallicon {
    background-color: #ff69b4;
    color: rgba(255,255,255,0.7);
    position: fixed;
    top: 43%;
    right: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    display: inline-block;
    z-index: 99;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    transition: all 1s ease;
}
.fixedcallicon i {
    width:40px;
    height:40px;
    text-align:center;
}
.fixedcallicon:hover {
    width:220px;
    color: #ff69b4;
    background:rgba(255, 255, 255, 1);
}

.tel-link {
    color: #ff69b4; /* Розовый цвет текста */
    font-size: 1.2rem; /* Крупный размер шрифта */
    font-weight: bold;
    text-decoration: none; /* Убираем подчеркивание */
    cursor: pointer; /* Курсор в виде указателя */
}

.tel-link:hover,
.tel-link:active,
.tel-link:focus {
    color: #ff69b4; /* Цвет остается неизменным при наведении, нажатии и фокусе */
    text-decoration: none; /* Подчеркивание не появляется */
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover:after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Главный экран */
.hero {
    height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Секции */
.section {
    padding: var(--spacing) 0;
    margin: 1rem auto;
    width: 95%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Контейнер для секций */
.section .container {
    padding: 1rem;
    width: 95%;
    margin: 0 auto;
}

.section h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-family: 'Playfair Display', serif;
    font-size: 2rem !important;
}

.section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Контейнер для заголовка */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2 {
    font-size: 2rem !important;
}

.online-service {
    margin-top: 2rem;
    background-color: transparent;
    color: #ff69b4; /* Розовый текст */
    font-size: 1.2rem; /* Крупный размер шрифта */
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.online-service:hover {
    margin-top: 2rem;
    background-color: #ff69b4; /* Розовый цвет */
    color: #ffffff; /* Белый текст */
}

/* О мастере */
.master-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing);
    align-items: center;
}

.master-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: var(--spacing);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

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

.review-card {
    background: var(--secondary-color);
    padding: var(--spacing);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-rating {
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.review-source {
    color: #666;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto; /* Перемещаем источник вправо */
}

.review-source::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    
}

.review-footer {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.review-author {
    font-weight: 500;
    color: #333;
    margin: 0;
}

.review-date {
    color: #666;
    font-size: 0.9em;    
    margin-left: auto; /* Перемещаем источник вправо */
}

/* Карта */
#yandex-map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* Контакты */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing);
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background: var(--accent-color);
}

.view-all {
    text-align: center;
    margin-top: var(--spacing);
}

/* Футер */
.footer {
    background: var(--secondary-color);
    padding: var(--spacing) 0;
    text-align: center;
}

/* Медиа запросы */
@media (max-width: 1100px) {
    .section {
        width: 90%;
        margin: 2rem auto;
    }
    
    .hero {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .section {
        width: 90%;
        margin: 2rem auto;
    }
    
    .hero {
        width: 100%;
        margin: 0;
    }
    
    .hero h1 {
        font-size: 4rem;
    }

    .master-info {
        grid-template-columns: 1fr;
    }
}

/* Стили для карусели */
.carousel, .reviews-carousel {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-container, .reviews-carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 33.333%;
    width: 33.333%;
    padding: 0 10px;
    flex: 0 0 auto;
}

.carousel-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: var(--accent-color);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: transparent;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .carousel-slide {
        min-width: 50%;
        width: 50%;
    }
    
    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .carousel-dots {
        bottom: -5px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        min-width: 100%;
        width: 100%;
    }
}

/* Кнопка прокрутки вверх */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.menu-btn {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-btn span:first-child {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-btn span:last-child {
    bottom: 0;
}

/* Анимация кнопки */
.menu-btn.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }
}

.main-content {
    padding-top: 60px; /* Высота навигационной панели */
}

/* Отзывы */
.reviews-carousel {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.review-slide {
    min-width: 25%;
    width: 25%;
    padding: 0 10px;
    flex: 0 0 auto;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.review-slide.active {
    opacity: 1;
}

.review-slide .review-card {
    height: 100%;
    margin: 0;
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.review-slide .review-text {
    flex-grow: 1;
    margin: 1rem 0;
}

.review-slide .review-rating {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.review-slide .review-author {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.review-slide .review-footer {
    margin-top: auto;
}

@media (max-width: 992px) {
    .review-slide {
        min-width: 50%;
        width: 50%;
    }
}

@media (max-width: 768px) {
    .review-slide {
        min-width: 100%;
        width: 100%;
    }
    
    .review-slide .review-card {
        padding: 1rem;
    }
} 