
/* Custom styles for Этажи Маркет */
@font-face {
    font-family: 'Circe';
    src: url('../font/Circe-Bold.woff2') format('truetype');
    font-weight: 700; /* Для bold лучше использовать 700 */
    font-style: normal;
    font-display: swap; /* Для лучшей производительности */
}
/* Theme Configuration */
:root {
    /* Colors */
    --primary-50: #fef2f2;
    --primary-100: #fee2e2;
    --primary-200: #fecaca;
    --primary-300: #fca5a5;
    --primary-400: #f87171;
    --primary-500: #ef4444;
    --primary-600: #dc2626;
    --primary-700: #b91c1c;
    --primary-800: #991b1b;
    --primary-900: #7f1d1d;
    /* Typography */
    --font-family: 'Circe', sans-serif;
    /* Layout */
    --border-radius: 5px;
    --section-spacing: 5rem;
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    /* Breakpoints */
    --mobile-breakpoint: 768px;
}

body {
    font-family: var(--font-family);
    scroll-behavior: smooth;
    border-radius: var(--border-radius);
}

/*Merch*/

.text-primary-600 {
    color: #FC403A;
}

.bg-primary-500 {
    background-color: #FC403A;
}

.bg-primary-600 {
    background-color: #e43b35;
}

.fade {
    transition: opacity 0.3s ease;
}



/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-500);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #b91c1c;
    }

/* Smooth animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Product card hover effects */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
    }

/* Rounded corners for buttons and products */
.btn-primary,
button[class*="rounded"],
.bg-white.rounded-2xl {
    border-radius: 5px !important;
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    transition: var(--transition);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-xl);
    }
/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading animation */
.loading-dots {
    display: inline-block;
}

    .loading-dots::after {
        content: '';
        animation: dots 1.5s steps(5, end) infinite;
    }

@keyframes dots {
    0%, 20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60% {
        content: '...';
    }

    80%, 100% {
        content: '';
    }
}

/* Responsive adjustments */
@media (max-width: var(--mobile-breakpoint)) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.125rem;
    }
}
/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    }
/* Section spacing */
section {
    scroll-margin-top: 80px;
}

.padding-t {
    padding-top: 8rem;
}


.hero-animated-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #7f1d1d, #b91c1c, #dc2626, #fc403a);
    background-size: 400% 400%;
    animation: gradientMove 14s ease infinite;
    opacity: 0.35;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}