﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #732d43;
    --primary-dark: #4a253e;
    --primary-light: #7d4268;
    --secondary: black;
    --accent: #d946ef;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: white;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    min-height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    padding: 0rem 0;
    margin-top: -2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid var(--primary);
    align-self: flex-start;
    transition: all 0.3s ease;
}

    .hero-badge:hover {
        background: var(--primary);
        color: white;
    }

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--gray-600);
    max-width: 480px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-primary-modern {
    position: relative;
    background: transparent;
    color: var(--primary);
    padding: 0.65rem 1.3rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    z-index: 1;
}

    .btn-primary-modern::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: var(--border-radius);
        background: var(--primary);
        z-index: -1;
    }

    .btn-primary-modern::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: calc(var(--border-radius) - 2px);
        background: white;
        z-index: -1;
        transition: opacity 0.3s ease;
    }

    .btn-primary-modern:hover {
        color: white;
        transform: translateY(-2px);
        text-decoration: none;
    }

        .btn-primary-modern:hover::after {
            opacity: 0;
        }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.5rem;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-top: 0.25rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-700);
    font-weight: 500;
}

    .trust-item i {
        color: var(--primary);
        font-size: 1rem;
    }

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease;
}

    .hero-image:hover {
        transform: scale(1.02);
    }

.image-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.1;
}

.decoration-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -30px;
}

.decoration-2 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: -20px;
}

.decoration-square {
    position: absolute;
    width: 100px;
    height: 100px;
    bottom: 50%;
    right: -40px;
    background: var(--primary);
    opacity: 0.08;
    border-radius: 12px;
    transform: rotate(45deg);
}

/* ===================== SECTIONS ===================== */
.featured-section,
.categories-section,
.features-section {
    padding: 4rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1.5px solid var(--primary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================== PRODUCTS ===================== */
.product-card-luxury {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

    .product-card-luxury:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.product-image-container {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    padding: 0;
}

.product-card-luxury:hover .product-image {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
    background: var(--danger);
    color: white;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-luxury:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid var(--primary);
}

    .btn-view:hover {
        background: var(--primary);
        color: white;
        transform: scale(1.05);
        text-decoration: none;
    }

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.price-current,
.price-new {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-old {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-decoration: line-through;
    font-weight: 500;
}

.btn-cart-mini {
    width: 36px;
    height: 36px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

    .btn-cart-mini:hover {
        background: var(--primary);
        color: white;
        transform: scale(1.05);
    }

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

    .btn-explore::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: var(--border-radius);
        background: var(--primary);
        z-index: -1;
    }

    .btn-explore::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: calc(var(--border-radius) - 2px);
        background: white;
        z-index: -1;
        transition: opacity 0.3s ease;
    }

    .btn-explore:hover {
        color: white;
        transform: translateY(-2px);
        text-decoration: none;
    }

        .btn-explore:hover::after {
            opacity: 0;
        }

    .btn-explore i {
        transition: transform 0.3s ease;
    }

    .btn-explore:hover i {
        transform: translateX(3px);
    }

/* ===================== CATEGORIES ===================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card-modern {
    background: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    height: 320px;
    border: 1px solid var(--gray-200);
}

    .category-card-modern:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
        text-decoration: none;
    }

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card-modern:hover .category-image {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: white;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-description {
    color: var(--gray-600);
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.category-card-modern:hover .category-arrow {
    background: var(--primary);
    transform: translateX(3px);
}

/* ===================== FEATURES ===================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===================== FEATURED PRODUCTS HORIZONTAL SCROLL ===================== */
.scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 1;
    transition: opacity 0.5s ease;
    animation: pulse 2s infinite;
}

    .scroll-hint i {
        font-size: 1.2rem;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.products-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    padding: 1rem 0 2rem 0;
    margin-bottom: 3rem;
}

    .products-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .products-scroll-container.active {
        cursor: grabbing;
        scroll-behavior: auto;
    }

.products-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 2rem;
    width: fit-content;
}

    .products-track .product-card-luxury {
        flex: 0 0 300px;
        display: flex;
        flex-direction: column;
    }

    .products-track .product-image-container {
        height: 300px;
        flex-shrink: 0;
    }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        gap: 1rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-badge {
        align-self: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        gap: 1rem;
        padding: 1rem 0;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-trust {
        justify-content: center;
        font-size: 0.75rem;
    }

    .hero-image-container {
        max-width: 500px;
        margin-top: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-content {
        gap: 0.85rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 1.9rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .featured-section,
    .categories-section,
    .features-section {
        padding: 2rem 0;
    }

    .hero-stats {
        gap: 0.75rem;
        padding: 0.85rem 0;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .trust-item {
        font-size: 0.75rem;
    }

        .trust-item i {
            font-size: 0.9rem;
        }

    .hero-image-container {
        max-width: 100%;
    }

    .product-image-container {
        height: 240px;
    }

    .product-image {
        padding: 0;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 0.95rem;
    }

    /* ✅ КАТЕГОРИИТЕ ОСТАВАТ 2 НА РЕД */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card-modern {
        height: 280px;
    }

    .category-image {
        height: 70%;
    }

    .category-content {
        height: 30%;
        padding: 0.85rem 1rem;
    }

    .category-name {
        font-size: 1rem;
    }

    .category-description {
        font-size: 0.75rem;
    }

    .feature-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .products-track {
        gap: 1rem;
        padding: 0 1rem;
    }

        .products-track .product-card-luxury {
            flex: 0 0 260px;
        }

        .products-track .product-image-container {
            height: 260px;
        }

    .scroll-hint {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-primary-modern {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .product-image-container {
        height: 280px;
    }

    .product-image {
        padding: 0;
    }

    /* ✅ КАТЕГОРИИТЕ ОСТАВАТ 2 НА РЕД ЗА МНОГО МАЛКИ ЕКРАНИ */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .category-card-modern {
        height: 240px; /* ✅ Намалена височина за малки екрани */
    }

    .category-image {
        height: 68%;
    }

    .category-content {
        height: 32%;
        padding: 0.75rem 0.85rem; /* ✅ Намален padding */
    }

    .category-name {
        font-size: 0.9rem; /* ✅ По-малък текст */
    }

    .category-description {
        font-size: 0.7rem; /* ✅ По-малък текст */
    }

    .category-arrow {
        width: 32px; /* ✅ По-малка стрелка */
        height: 32px;
        font-size: 1rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .products-track .product-card-luxury {
        flex: 0 0 220px;
    }

    .products-track .product-image-container {
        height: 220px;
    }

    .products-track .product-image {
        padding: 0;
    }
}
/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================== ACCESSIBILITY ===================== */
.btn-primary-modern:focus,
.btn-view:focus,
.btn-explore:focus,
.btn-cart-mini:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
