::root {
    --beige: #F5F3EF;
    --gray-blue: #4A5568;
    --dark-gray: #333333;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-gray);
    background-color: var(--beige);
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    background: var(--beige);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    z-index: 1000;
    border-right: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-align: center;
    padding: 0 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

.nav-links li {
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #999;
}

.login-link, .admin-link {
    font-weight: bold;
    color: var(--gray-blue) !important;
}

.login-link:hover, .admin-link:hover {
    color: var(--dark-gray) !important;
}

main {
    padding-top: 0;
    margin-left: 250px;
}

section {
    padding: 100px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.container {
    text-align: center;
}

h1, h2 {
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    color: var(--gray-blue);
}

#hero {
    height: 100vh;
    background: url('/images/ELTERNZIMMER_0010000.png') center 60% / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    max-width: 100%;
    padding: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: white;
    color: black;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-images {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.about-images img {
    width: calc(50% - 0.5rem);
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.price-content {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.price-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: left;
    transition: transform 0.3s;
}

.price-item:hover {
    transform: translateY(-5px);
}

.price-item h3 {
    color: var(--gray-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1rem;
}

.price-item ul {
    list-style: none;
    padding: 0;
}

.price-item ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.price-item ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gray-blue);
}

.price-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    font-style: italic;
    color: #888;
}

.contact-info {
    font-size: 1.1rem;
    margin-top: 2rem;
}

.contact-info a {
    color: inherit;
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--beige);
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 250px;
}

@media (max-width: 992px) {
    header {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        background: var(--beige);
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 5%;
    }

    .logo {
        margin-bottom: 0;
    }

    .nav-links {
        display: none; /* Можно добавить бургер-меню, но пока просто скроем для простоты как было */
    }

    main {
        margin-left: 0;
    }

    footer {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-images {
        flex-direction: column;
    }

    .about-images img {
        width: 100%;
    }
}
