:root {
    --primary-color: #F5E6E8;
    --secondary-color: #D5B9B2;
    --accent-color: #A26769;
    --text-color: #2C1810;
    --background-color: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero секция */
.hero {
    background-color: var(--primary-color);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background-color: var(--accent-color);
    color: white;
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: translateX(0);
}

/* О бренде */
.about {
    padding: 80px 0;
    background-color: var(--background-color);
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
}

.about p {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.highlight {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* Преимущества */
.features {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Коллекции */
.collections {
    padding: 80px 0;
}

.collections h2 {
    text-align: center;
    margin-bottom: 40px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.collection-item {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Контакты */
.contacts {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.contacts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--text-color);
}

/* Футер */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 40px 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        padding: 20px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Анимации */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Анимации для карточек */
.feature, .collection-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover, .collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Медиазапросы для адаптивного дизайна */

/* Мобильные устройства (до 768px) */
@media (max-width: 767px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .btn {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .features .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature {
        padding: 20px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .collection-item {
        padding: 30px;
    }

    .social-links {
        padding: 0 15px;
    }

    .social-links a {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Планшеты (768px — 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-wrap: wrap;
    }

    .btn {
        min-width: 200px;
    }
}

/* Десктопы (1024px и выше) */
@media (min-width: 1024px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features .container {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-buttons {
        justify-content: center;
    }

    .btn {
        min-width: 220px;
    }
}

/* Общие адаптивные стили */
@media (max-width: 1023px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Оптимизация для мобильных устройств */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }

    .about p {
        font-size: 1.1rem;
    }

    .highlight {
        font-size: 1.1rem;
        padding: 15px;
    }
}

/* Улучшение читаемости на всех устройствах */
@media (hover: hover) {
    .feature:hover,
    .collection-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
}

@media (hover: none) {
    .feature:active,
    .collection-item:active {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
} 