/* Основные стили макета */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-brown);
}

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

.text-center { text-align: center; }
.page-padding { padding-top: 40px; padding-bottom: 60px; }

/* Шапка сайта */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-brown);
    text-decoration: none;
}

.logo i { color: var(--caramel); font-size: 1.6rem; }

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--caramel);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--btn-gap-md);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-brown);
    cursor: pointer;
    padding: 6px;
}

/* Заголовок отдельных страниц */
.page-header {
    background-color: var(--bg-beige);
    padding: 48px 0;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Главный блок Hero */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: var(--btn-gap-md);
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.section-header {
    text-align: center;
    margin: 40px 0 28px;
}

.section-header h2 { font-size: 2.2rem; }
.section-header p { color: var(--text-muted); }

/* Подвал сайта */
.site-footer {
    background: var(--primary-brown);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo { color: #fff; }
.footer-links-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-group a {
    color: var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-group a:hover { color: #fff; }

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover { background: var(--caramel); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--border-color);
}

/* Мобильная адаптивность */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-cream);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .main-nav.show { display: block; }
    .main-nav ul { flex-direction: column; gap: 16px; align-items: center; }
    .hero-text h1 { font-size: 2.2rem; }
}
