/* CSS переменные для легкой смены темы */
:root {
    --primary-color: #2c3e50; /* Темно-синий */
    --accent-color: #e74c3c;  /* Красный/оранжевый */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #fff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Герой секция */
.hero {
    height: 100vh;
    background: url('assets/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.1rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Секция преимуществ */
.advantages {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.advantages h2 {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

/* Галерея */
.gallery {
    padding: 80px 0;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* Лайтбокс */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    margin-top: 5%;
}

.close-btn, .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* Хедер и навигация */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-color);
    z-index: 1000;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Гамбургер меню (для мобилок) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Адаптивность для меню */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
}

/* Страница услуг */
.services-page {
    padding: 120px 0 80px;
}

.page-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #666;
}

/* Фильтр услуг */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Контейнер услуг */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    border-left: 4px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-5px);
}


.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 15px 0;
}

.service-time {
    color: #666;
    font-size: 0.9rem;
}

/* Страница контактов */
.contacts-page {
    padding: 120px 0 80px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

@media (max-width: 968px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

/* Контактная информация */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-icon {
    font-size: 2rem;
    min-width: 60px;
}

.contact-item h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Соцсети */
.social-links {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.social-icon {
    padding: 10px 20px;
    background: var(--light-bg);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Форма обратной связи */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Карта */
.map-section {
    margin-top: 50px;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-placeholder {
    background: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

/* Стили для модального окна записи */
.booking-modal {
    max-width: 800px;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
}

.booking-header {
    background: linear-gradient(135deg, var(--primary-color), #1a2530);
    color: white;
    padding: 30px;
    text-align: center;
}

.booking-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
}

.booking-header p {
    margin: 0;
    opacity: 0.9;
}

.booking-steps {
    padding: 30px;
}

/* Индикатор шагов */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.step.active .step-circle {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.step span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.step.active span {
    color: var(--primary-color);
    font-weight: bold;
}

/* Контент шагов */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Сетка услуг */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.service-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fff, #f8f9fa);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.service-card h4 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.service-card p {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-color);
}

.service-badge {
    font-size: 0.7rem;
    color: #666;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

/* Выбор даты и времени */
.datetime-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .datetime-selector {
        grid-template-columns: 1fr;
    }
}

.date-section, .time-section {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
}

.date-section h4, .time-section h4 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.date-option {
    padding: 10px;
    text-align: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.date-option:hover {
    border-color: var(--primary-color);
}

.date-option.selected {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.time-slot:hover {
    border-color: var(--primary-color);
}

.time-slot.selected {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Форма контактов */
.contact-form {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

/* Кнопки навигации */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-prev {
    background: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid #e0e0e0;
}

.btn-prev:hover {
    background: #e9ecef;
}

.btn-next,
.btn-submit {
    background: var(--primary-color);
    color: white;
}

.btn-next:hover,
.btn-submit:hover {
    background: #1a2530;
    transform: translateY(-2px);
}

.btn-submit {
    background: var(--accent-color);
}

.btn-submit:hover {
    background: #c0392b;
}

/* Модальное окно успеха */
.success-modal .modal-content {
    text-align: center;
    max-width: 500px;
    padding: 40px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.booking-summary {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: left;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.btn-success {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Хлебные крошки */
.breadcrumbs {
    background: #f8f9fa;
    padding: 15px 0;
    font-size: 0.9rem;
    margin-top: 70px;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs span {
    color: #666;
    margin: 0 10px;
}

/* Секция о компании */
.about {
    padding: 80px 0;
    background: var(--light-bg);
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat span {
    font-size: 0.9rem;
    color: #666;
}

/* Полезные ресурсы */
.resources {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid #eee;
}

.resources h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.resources-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.resources-links a {
    display: block;
    padding: 15px;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.resources-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .resources-links {
        grid-template-columns: 1fr;
    }
}

/* Герой секция */
.hero {
    height: 100vh;
    background: url('assets/hero-background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Затемнение для контраста текста */
}