:root {
    --primary-bg: #413731;
    --nav-bg: #48342b;
    --text-primary: #F7DAD9;
    --accent-color: #9480EF;
    --card-bg: rgba(20, 20, 20, 0.1);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lora', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: var(--nav-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.links-container {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.link {
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    transition: opacity 0.3s ease;
}

.link:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* Главная секция */
.home {
    margin-top: 60px;
    padding: 4rem 5%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-heading {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.image {
    flex: 1;
    max-width: 600px;
    height: auto;
    border-radius: 1rem;
    opacity: 0.8;
}

/* Секция услуг */
.services {
    padding: 4rem 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Секция "О нас" */
.about-content {
    padding: 4rem 5%;
    text-align: center;
}

/* Контакты */
.contacts {
    padding: 4rem 5%;
    background: var(--nav-bg);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.map-container {
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
}

/* Адаптивность */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .links-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .links-container.active {
        display: flex;
    }

    .home {
        flex-direction: column;
        text-align: center;
    }

    .image {
        max-width: 100%;
        margin: 2rem 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}