@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Manrope', sans-serif;
    color: #666565;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Color Variables */
:root {
    --skin: #796f51;
    --dark: #09090a;
    --light: #f6f6f3;
    --body: #666565;
    --purple: #8B5CF6;
    --teal: #14B8A6;
    --pink: #EC4899;
    --orange: #F97316;
    --green: #10B981;
}

/* Enhanced Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}/* Animation Classes */
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease-out; }
.animate-slideInRight { animation: slideInRight 0.6s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* Enhanced Product Cards - Woodiz Style */
.product-card {
    background: white;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}

/* Add to Cart Button - Woodiz Style Animation */
.add-to-cart-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border: none;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.product-card:hover .add-to-cart-btn {
    transform: translateY(0);
    opacity: 1;
}

.add-to-cart-btn:hover {
    background: rgba(0, 0, 0, 1);
}

/* Rating Badge - Woodiz Style */
.rating-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rating-badge .star {
    color: #fbbf24;
    font-size: 12px;
}

/* Product Info - Woodiz Style */
.product-info {
    padding: 20px 0;
    text-align: left;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0 0;
}

.product-price .current-price {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.product-price .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* New Badge - Woodiz Style */
.new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Product Grid - Woodiz Style */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px 30px;
    margin-top: 40px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

/* Product Card Image Container */
.product-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

/* Star Rating Badge - Top Left */
.rating-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rating-badge .star-icon {
    color: #FCD34D;
    font-size: 14px;
}

.rating-badge .rating-text {
    color: #374151;
    white-space: nowrap;
}

/* Product Card Content */
.product-card-content {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .star {
    color: #FCD34D;
    font-size: 14px;
}

.product-rating .review-count {
    color: #6B7280;
    font-size: 12px;
    margin-left: 4px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
}

.price-old {
    font-size: 16px;
    color: #9CA3AF;
    text-decoration: line-through;
}

/* Add to Cart Button - Woodiz Style */
.add-to-cart-btn {
    width: 100%;
    background: #8B7355;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: #6B5B47;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* Circular Discount Badge */
.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), #FB923C);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    z-index: 2;
}

.discount-badge .percentage {
    font-size: 14px;
    line-height: 1;
}

.discount-badge .text {
    font-size: 8px;
    line-height: 1;
}

/* Enhanced Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.service-icon.support {
    background: linear-gradient(135deg, var(--purple), #A78BFA);
    color: white;
}

.service-icon.shipping {
    background: linear-gradient(135deg, var(--green), #34D399);
    color: white;
}

.service-icon.warranty {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced Buttons */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 2px;
    align-items: center;
}

.star {
    color: #FCD34D;
    transition: all 0.2s ease;
}

.star:hover {
    transform: scale(1.2);
}

/* Price Display */
.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-current {
    font-weight: bold;
    color: var(--skin);
    font-size: 18px;
}

.price-old {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 14px;
}

/* Cart drawer transition */
.cart-drawer {
    transition: transform 0.3s ease-in-out;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer.closed {
    transform: translateX(100%);
}

/* Mobile menu transition */
.mobile-menu {
    transition: all 0.3s ease-in-out;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu.closed {
    opacity: 0;
    visibility: hidden;
}

/* Tab underline animation */
.tab-underline {
    position: relative;
}

.tab-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--skin);
    transition: width 0.3s ease;
}

.tab-underline.active::after {
    width: 100%;
}

/* Loading Animation for Images */
.image-loading {
    position: relative;
    overflow: hidden;
}

.image-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Enhancements */
.hero-badge {
    background: linear-gradient(135deg, rgba(121, 111, 81, 0.1), rgba(121, 111, 81, 0.05));
    border: 1px solid rgba(121, 111, 81, 0.2);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

/* Advanced Layered Parallax Scrolling */
.parallax-container {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    margin: 0;
    padding: 0 !important;
}

.parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 130%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.1s ease-out;
    margin: 0;
    padding: 0;
    /* Background moves slower - creates depth */
    transform: translateY(0);
}

.parallax-content {
    position: relative;
    z-index: 2;
    height: 110%; /* Увеличиваем высоту для полного покрытия */
    min-height: 110vh; /* Минимальная высота больше экрана */
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 0;
    /* Content moves faster - creates layered effect */
    will-change: transform;
    transition: transform 0.1s ease-out;
    transform: translateY(0);
    /* Убираем полоски сверху и снизу */
    top: -5%; /* Немного выше */
    bottom: -5%; /* Немного ниже */
}

.parallax-text {
    will-change: transform;
    transition: transform 0.1s ease-out;
    transform: translateY(0);
}

.hero-section {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0 !important;
    /* Убираем любые отступы */
    border: none;
    outline: none;
}

/* Category Icons */
.category-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.category-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-icon svg,
.category-icon i {
    transition: all 0.3s ease;
}

.category-icon:hover svg,
.category-icon:hover i {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .service-card:hover {
        transform: translateY(-3px);
    }
    
    .discount-badge {
        width: 50px;
        height: 50px;
        font-size: 9px;
    }
    
    .discount-badge .percentage {
        font-size: 12px;
    }
}


/* Premium Quality Designs Section */
.premium-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.premium-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Fixed Background */
.premium-bg-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url('../assets/premium_furniture_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

/* Scrollable Content */
.premium-content {
    position: relative;
    z-index: 2;
    grid-column: 2;
    background: white;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.premium-content-inner {
    max-width: 500px;
    width: 100%;
}

.premium-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #09090a;
    margin-bottom: 24px;
    font-family: 'Manrope', sans-serif;
}

.premium-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666565;
    margin-bottom: 40px;
}

.premium-btn {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 60px;
    border-bottom: 2px solid #09090a;
}

.premium-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Category Icons Grid */
.premium-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-purple {
    background: #f9f9f9;
    border-color: #d1d5db;
}

.category-teal {
    background: #f9f9f9;
    border-color: #d1d5db;
}

.category-pink {
    background: #f9f9f9;
    border-color: #d1d5db;
}

.category-blue {
    background: #f9f9f9;
    border-color: #d1d5db;
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-purple .category-icon {
    color: #796f51;
}

.category-teal .category-icon {
    color: #796f51;
}

.category-pink .category-icon {
    color: #796f51;
}

.category-blue .category-icon {
    color: #796f51;
}

.category-item span {
    font-weight: 600;
    color: #09090a;
    font-size: 1rem;
}

/* Scrolling Ticker */
.ticker-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #09090a;
    color: white;
    padding: 16px 0;
    overflow: hidden;
    z-index: 3;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll-ticker 30s linear infinite;
    font-size: 0.95rem;
    font-weight: 500;
}

.ticker-item {
    margin-right: 60px;
}

.ticker-separator {
    margin-right: 60px;
    color: #f59e0b;
    font-size: 1.2rem;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .premium-container {
        grid-template-columns: 1fr;
    }
    
    .premium-bg-fixed {
        position: absolute;
        width: 100%;
        height: 50vh;
        background-attachment: scroll;
    }
    
    .premium-content {
        grid-column: 1;
        margin-top: 50vh;
        padding: 60px 40px;
    }
    
    .premium-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .premium-content {
        padding: 40px 20px;
    }
    
    .premium-title {
        font-size: 2rem;
    }
    
    .premium-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-item {
        padding: 16px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .ticker-content {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .premium-bg-fixed {
        height: 40vh;
    }
    
    .premium-content {
        margin-top: 40vh;
        padding: 30px 16px;
    }
    
    .premium-title {
        font-size: 1.75rem;
    }
    
    .premium-categories {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

