/* ===== ОСНОВНЫЕ СТИЛИ ===== */
:root {
    --primary: #B89B7B;
    --primary-dark: #8B7355;
    --accent: #4A3F35;
    --background: #FFFFFF;
    --background-alt: #F9F7F5;
    --text-primary: #2C2824;
    --text-secondary: #6B6259;
    --border: #E8E2DA;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ===== ХЕДЕР ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo span {
    color: var(--primary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 300;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    font-size: 1.3rem;
    font-weight: 200;
    letter-spacing: 2px;
}

.mobile-logo span {
    color: var(--primary);
    font-weight: 400;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.mobile-menu-body {
    padding: 30px 20px;
    background: white;
}

.mobile-nav {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--background-alt);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-contact:hover {
    background: var(--primary);
    color: white;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #2C2824 0%, #4A3F35 100%);
    color: white;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 200;
}

.hero-title strong {
    display: block;
    font-weight: 400;
    color: var(--primary);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--text-primary);
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    background: var(--background-alt);
    transform: translateY(-2px);
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-suptitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 200;
}

.section-title span {
    color: var(--primary);
    font-weight: 400;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--primary);
    margin: 15px auto 0;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.features {
    background: var(--background-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== ПАЛИТРА ЦВЕТОВ (интерактивная) ===== */
.palette-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.selector-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.color-item {
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.color-circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.color-item:hover .color-circle {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.color-item.active .color-circle {
    border-color: var(--primary);
    transform: scale(1.05);
}

.color-name {
    font-size: 0.8rem;
    margin-bottom: 3px;
    font-weight: 500;
}

.color-price {
    font-size: 0.75rem;
    color: var(--primary);
}

.premium-badge {
    font-size: 0.7rem;
    color: var(--primary);
    margin-top: 3px;
}

.premium-badge i {
    margin-right: 3px;
    font-size: 0.6rem;
}

/* Детали выбранного цвета */
.color-details {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.selected-color-preview {
    margin-bottom: 25px;
    text-align: center;
}

.selected-color-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 3px solid white;
    outline: 1px solid var(--border);
}

.selected-color-name {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.selected-color-price {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 400;
}

.selected-color-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.color-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.spec-item i {
    width: 25px;
    color: var(--primary);
    font-size: 1.1rem;
}

.spec-item strong {
    color: var(--text-primary);
    font-weight: 500;
}

.collection-badge {
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.order-btn {
    width: 100%;
    margin-top: 10px;
}

/* ===== КОЛЛЕКЦИИ ===== */
.collections {
    background: var(--accent);
    color: white;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 500px;
}

.collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card:hover .collection-image {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: white;
    z-index: 2;
}

.collection-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 300;
}

.collection-description {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 80%;
}

.collection-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collection-price {
    font-size: 1.5rem;
    color: var(--primary);
}

.collection-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    font-size: 1rem;
}

.collection-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* ===== ТАБЛИЦА РАЗМЕРОВ ===== */
.size-guide {
    background: var(--background-alt);
}

.size-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.size-table th {
    background: var(--primary);
    color: white;
    font-weight: 400;
    padding: 15px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.size-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.size-table tr:last-child td {
    border-bottom: none;
}

.size-note {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-left: 3px solid var(--primary);
    border-radius: 5px;
}

.size-note i {
    color: var(--primary);
    font-size: 1.3rem;
}

/* ===== КОНТАКТЫ ===== */
.contact-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-whatsapp {
    background: var(--primary);
    color: white;
    padding: 50px 40px;
    border-radius: 10px;
    text-align: center;
}

.contact-whatsapp i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.contact-whatsapp h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 300;
}

.contact-whatsapp p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-address {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.contact-address h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 400;
}

.contact-address p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-address i {
    width: 20px;
    color: var(--primary);
}

.delivery-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--primary) !important;
}

/* ===== ФУТЕР ===== */
.footer {
    background: var(--accent);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary);
    font-weight: 400;
}

.footer-description {
    opacity: 0.7;
    margin-bottom: 30px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 5px;
    font-size: 0.8rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 99;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}


/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .palette-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .color-details {
        position: static;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .contact-simple {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .colors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .collection-card {
        height: 400px;
    }

    .collection-content {
        padding: 25px;
    }

    .collection-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .colors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .selected-color-circle {
        width: 120px;
        height: 120px;
    }

    .selected-color-name {
        font-size: 1.5rem;
    }

    .contact-whatsapp {
        padding: 30px 20px;
    }

    .contact-address {
        padding: 25px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Темный полупрозрачный фон */
    backdrop-filter: blur(3px); /* Эффект размытия */
    z-index: 200;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
}