

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: rgba(185, 132, 82);
    --primary-light: rgba(148, 96, 82);
    --secondary-color: #D4A76A;
    --accent-color: #C19A6B;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #F9F5F0;
    --bg-white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типографика */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Навигация */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}


.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Герой-секции */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #F9F5F0 0%, #FFFFFF 100%);
    background-image: url(images/back.png);
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: 'Riracha', sans-serif;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 100px;
    width: 50%;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #F9F5F0 0%, #FFFFFF 100%);
}

.page-title {
    color: #D4A76A;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Особенности */
.features {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    margin-top: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* СЕТКА АССОРТИМЕНТА С ИЗОБРАЖЕНИЯМИ НА ВЕСЬ КОНТЕЙНЕР */
.assortment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.assortment-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.assortment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.assortment-card:hover .card-image img {
    transform: scale(1.1);
}

/* Кнопка Wildberries в левом верхнем углу изображения */
.wb-corner-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(90deg, #e039c0 0%, #781bed 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(120, 27, 237, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wb-corner-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(120, 27, 237, 0.6);
    background: linear-gradient(90deg, #781bed 0%, #e039c0 100%);
}

.wb-corner-btn:active {
    transform: translateY(0) scale(1);
}

/* Стрелка в кнопке */
.wb-corner-btn::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.wb-corner-btn:hover::after {
    transform: translateX(4px);
}

/* Наложение на изображение */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 25px;
    color: white;
}

.image-overlay h3 {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.image-overlay p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Эффект затемнения при наведении */
.assortment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.assortment-card:hover::before {
    opacity: 1;
}

/* Старые карточки ассортимента (оставляем для других страниц) */
.assortment-preview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.assortment-card-old {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 400px;
}

.assortment-card-old:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.assortment-card-old:hover .card-hover {
    opacity: 1;
    transform: translateY(0);
}

.card-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.marketplace-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.marketplace-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.marketplace-btn.wb {
    background: linear-gradient(90deg, #e039c0 0, #781bed 100%);
    color: white;
}

.marketplace-btn.wb:hover {
    background: linear-gradient(90deg, #e039c0 0, #781bed 100%);
    color: white;
}

.marketplace-btn.avito {
    background-color: #008CF0;
    color: white;
}

.marketplace-btn.avito:hover {
    background-color: transparent;
    border-color: #008CF0;
    color: #008CF0;
}

/* Большие карточки ассортимента */
.assortment-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.card-large-image {
    height: 100%;
    min-height: 500px;
}

.card-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-large-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.feature i {
    color: var(--primary-color);
}

.marketplace-links-large {
    margin-top: 2rem;
}

.marketplace-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.marketplace-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.marketplace-btn-large {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.marketplace-btn-large.wb {
    background: linear-gradient(90deg, #e039c0 0, #781bed 100%);
    color: white;
}

.marketplace-btn-large.wb:hover {
    background: linear-gradient(90deg, #e039c0 0, #781bed 100%);
    color: white;
}

.marketplace-btn-large.avito {
    background-color: rgba(0, 140, 240, 0.1);
    color: #008CF0;
}

.marketplace-btn-large.avito:hover {
    background-color: #008CF0;
    color: white;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Информационные шаги */
.info-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* О странице */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

.about-images {
    display: grid;
    gap: 20px;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.values-list {
    list-style: none;
    margin-top: 1rem;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
}

.values-list li i {
    color: var(--primary-color);
}

/* Команда */
.team {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--bg-light);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Контакты */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 30px;
}

.contact-details h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.contact-note-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 30px;
}

.contact-note-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Социальные карточки */
.social-cards {
    display: grid;
    gap: 20px;
    margin-top: 2rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-card:hover {
    transform: translateX(5px);
}

.social-card.vk {
    background: linear-gradient(135deg, #4C75A3, #2A5885);
    color: white;
}

.social-card.telegram {
    background: linear-gradient(135deg, #0088CC, #2AABEE);
    color: white;
}

.social-card-icon {
    font-size: 2rem;
}

.marketplace-mini {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.marketplace-mini-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.marketplace-mini-btn img {
    width: 20px;
    height: 20px;
}

.marketplace-mini-btn.wb {
    background: linear-gradient(90deg, #e039c0 0, #781bed 100%);
    color: white;
}

.marketplace-mini-btn.wb:hover {
    background: linear-gradient(90deg, #e039c0 0, #781bed 100%);
    color: white;
}

.marketplace-mini-btn.avito {
    background-color: rgba(0, 140, 240, 0.1);
    color: #008CF0;
}

.marketplace-mini-btn.avito:hover {
    background-color: #008CF0;
    color: white;
}

/* Карта */
.contact-map {
    padding: 60px 0;
}

.map-placeholder {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    margin-top: 2rem;
}

.map-info {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.map-info i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.map-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Подвал */
.footer {
    background-color: #2C2C2C;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-section p {
    color: #CCCCCC;
    margin-bottom: 15px;
}

.footer-section i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.social-link.vk:hover {
    background: #4C75A3;
}

.social-link.telegram:hover {
    background: #0088CC;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
    font-size: 0.9rem;
}

/* Социальные иконки */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.vk {
    background: #4C75A3;
    text-align: center;
}

.social-icon.vk:hover {
    background: #3a5a7a;
    box-shadow: 0 5px 15px rgba(76, 117, 163, 0.4);
}

.social-icon.telegram {
    background: #0088cc;
}

.social-icon.telegram:hover {
    background: #006699;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

/* Портфолио */
.portfolio-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 350px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.portfolio-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.portfolio-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-title {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.overlay-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.overlay-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-right: 10px;
}

.detail-item i {
    color: var(--secondary-color);
}

.price-tag {
    background: white;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin: 0 auto;
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Адаптивность для сетки ассортимента */
@media (max-width: 992px) {
    .assortment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .assortment-card {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .about-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-buttons {
        flex-direction: column;
    }

    .assortment-card {
        height: 300px;
    }

    .wb-corner-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        top: 15px;
        left: 15px;
    }

    .image-overlay {
        padding: 20px;
    }

    .image-overlay h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .feature-card,
    .team-member {
        padding: 20px;
    }

    .card-content {
        padding: 20px;
    }

    .assortment-card {
        height: 280px;
    }

    .wb-corner-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .image-overlay h3 {
        font-size: 1.2rem;
    }

    .image-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-image {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-top: 40px;
    }

    .assortment-card-large {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .card-large-image {
        min-height: 300px;
    }
}

/* Стили для шапки */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    z-index: 2;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Riracha', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

.nav-left,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
    margin-right: 40px;
}

.nav-right {
    justify-content: flex-end;
    margin-left: 40px;
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(185, 132, 82, 0.05);
}


/* Кнопка Купить */
.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    /* Увеличил расстояние до кнопки "Контакты" */
}

.buy-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 12px 28px;
    /* Увеличил отступы для большей кнопки */
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    /* Увеличил размер шрифта */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Увеличил расстояние между текстом и иконкой */
    min-width: 130px;
    /* Увеличил минимальную ширину */
    justify-content: center;
}

.buy-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.buy-btn i {
    font-size: 0.9rem;
}

/* Выпадающее меню - ПОЯВЛЯЕТСЯ ТОЛЬКО ПРИ КЛИКЕ */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    /* Увеличил ширину */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none;
    /* По умолчанию скрыто */
    z-index: 1000;
    margin-top: 12px;
    /* Увеличил отступ сверху */
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Класс для отображения меню при клике */
.dropdown.active .dropdown-menu {
    display: block;
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown.active .dropdown-menu {
    animation: fadeIn 0.2s ease forwards;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px;
    /* Увеличил отступы */
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(185, 132, 82, 0.08);
}

.dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.wb-link {
    color: #781bed;
}

.wb-link:hover {
    color: #781bed;
    background: rgba(120, 27, 237, 0.1);
}

.phone-link {
    color: #27ae60;
}

.phone-link:hover {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

/* Кнопка Контакты такая же как и другие ссылки меню */
.contacts-link {
    padding: 10px 15px;
    /* Сделал такие же отступы как у других ссылок */
    background: transparent;
    color: var(--text-dark);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
    /* Такой же размер шрифта */
}

.contacts-link:hover {
    color: var(--primary-color);
    background: rgba(185, 132, 82, 0.05);
}

.contacts-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: scaleX(0);
}

.contacts-link:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    /* Увеличил расстояние между полосками */
    padding: 10px;
    /* Увеличил отступы */
    margin-left: 20px;
    /* Увеличил отступ от других элементов */
}

.nav-toggle span {
    display: block;
    width: 28px;
    /* Увеличил ширину */
    height: 3px;
    /* Увеличил высоту */
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Portfolio CTA */
.portfolio-cta {
    padding: 60px 0;
    background: #C19A6B;
    color: white;
    text-align: center;
}

.btn-secondary {
    background: white;
    color: #8b4513;
    border: 2px solid white;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-visual {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(185, 132, 82, 0.9), transparent);
    padding: 30px;
    color: white;
}

.overlay-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.overlay-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.image-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    z-index: -1;
}

/* Assortment Preview */
.assortment-preview {
    padding: 60px 0;
    background: url(images/back.png) no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.assortment-preview .container {
    width: 80%;
    max-width: 1400px;
    background-color: #f2c288;
    border-radius: 25px;
    padding: 0 40px 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: white;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.assortment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.assortment-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assortment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.assortment-card:hover .card-image img {
    transform: scale(1.05);
}

.wb-corner-btn {
    position: absolute;
    left: 25px;
    bottom: 25px;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.wb-corner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 69, 19, 0.4);
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
}

/* Стрелка в кнопке */
.wb-corner-btn::after {
    content: '→';
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.wb-corner-btn:hover::after {
    transform: translateX(3px);
}


.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
}

/* Простая рамка при наведении */
.assortment-card:hover {
    outline: 2px solid rgba(139, 69, 19, 0.3);
    outline-offset: -2px;
}

/* Адаптивность для всех секций */
@media (max-width: 1200px) {
    .assortment-preview .container {
        width: 90%;
    }

    .assortment-card,
    .image-container img {
        height: 450px;
    }

    /* Корректировка расстояний на больших планшетах */
    .nav-left {
        padding-right: 30px;
    }

    .nav-right {
        padding-left: 30px;
    }

    .nav-list {
        gap: 25px;
    }

    .dropdown {
        margin-right: 25px;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .assortment-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .assortment-card {
        height: 500px;
        max-width: 600px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2.4rem;
    }

    /* Шапка на планшетах */
    .header-inner {
        flex-direction: column;
        gap: 20px;
        /* Увеличил расстояние между элементами */
        padding: 15px 0;
    }

    .logo {
        position: static;
        transform: none;
        order: 1;
        margin-bottom: 20px;
        /* Увеличил отступ снизу */
        gap: 10px;
    }

    .logo-img {
        height: 45px;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .nav-left,
    .nav-right {
        flex: none;
        width: 100%;
        justify-content: center;
        padding: 0;
    }

    .nav-left {
        order: 2;
        padding-right: 0;
    }

    .nav-right {
        order: 3;
        flex-direction: row;
        justify-content: center;
        padding-left: 0;
        gap: 25px;
        /* Увеличил расстояние между элементами */
        margin-top: 15px;
        /* Увеличил отступ сверху */
    }

    .dropdown {
        margin: 0;
        order: 1;
    }

    .contacts-link {
        order: 2;
    }

    .nav-toggle {
        display: none;
    }

    .nav-list {
        justify-content: center;
        gap: 25px;
        /* Увеличил расстояние между пунктами */
    }

    .nav-link {
        font-size: 1.05rem;
    }

    .dropdown-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .assortment-preview .container {
        width: 95%;
        padding: 0 20px 30px;
    }

    .assortment-card,
    .image-container img {
        height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .wb-corner-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        left: 20px;
        bottom: 20px;
    }

    /* Шапка на мобильных */
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 0;
        /* Увеличил отступы */
    }

    .logo {
        position: static;
        transform: none;
        order: 1;
        margin-bottom: 0;
        gap: 8px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .nav-left {
        display: none;
    }

    .nav-right {
        flex-direction: row;
        justify-content: flex-end;
        width: auto;
        gap: 15px;
        /* Увеличил расстояние между элементами */
        margin-top: 0;
    }

    .dropdown {
        margin: 0;
        order: 1;
    }

    .contacts-link {
        order: 2;
        display: none;
        /* Скрываем на мобильных, будет в меню */
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .buy-btn {
        padding: 10px 20px;
        font-size: 1rem;
        min-width: 120px;
    }

    /* Мобильное меню */
    .nav-right .dropdown-menu {
        position: fixed;
        top: 80px;
        /* Увеличил отступ сверху */
        left: 20px;
        right: 20px;
        display: none;
    }

    .nav-right .dropdown.active .dropdown-menu {
        display: block;
    }
}

@media (max-width: 480px) {

    .assortment-card,
    .image-container img {
        height: 350px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .wb-corner-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        left: 15px;
        bottom: 15px;
    }

    /* Шапка на маленьких экранах */
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .logo-img {
        height: 36px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .buy-btn {
        padding: 10px 18px;
        font-size: 0.95rem;
        min-width: 110px;
    }

    .dropdown-menu {
        min-width: 220px;
    }

    .nav-toggle {
        padding: 8px;
    }

    .nav-toggle span {
        width: 25px;
        height: 3px;
    }
}