:root {
    --color-primary: #1a1a1a;
    --color-secondary: #ffffff;
    --color-accent: #6366f1;
    --color-accent-hover: #4f46e5;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-background: #fafafa;
    --color-surface: #ffffff;
    --color-border: #e5e7eb;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --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 -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header__logo {
    color: var(--color-primary);
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.header__logo:hover {
    transform: scale(1.05);
}

.header__nav {
    display: flex;
    gap: 2rem;
}

.header__nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.header__nav-link:hover {
    color: var(--color-accent);
    background-color: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1556906781-9a412961c28c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero__subtitle {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

/* Catalog Section */
.catalog {
    padding: 6rem 0;
    background: var(--color-background);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--color-text);
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: var(--shadow-md);
    height: 420px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card__image {
    height: 240px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

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

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

.product-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.product-card__title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--color-text);
}

.product-card__price {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--color-accent);
}

.product-card__btn {
    margin-top: auto;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: white;
    text-align: center;
    width: 100%;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.product-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.5;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn--primary::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--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent));
}

/* USP Section */
.usp {
    background-color: #f5f5f5;
    color: var(--color-text);
    padding: 5rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1556906781-9a412961c28c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.usp__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.usp__text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: white;
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background-color: var(--color-background);
}

.reviews__slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    background-color: #f5f5f5;
}

.review-card__stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-card__name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.review-card__text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.5;
    font-family: var(--font-primary);
}

/* Delivery Section */
.delivery {
    padding: 5rem 0;
    background-color: var(--color-secondary);
}

.delivery__services {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.delivery__service {
    width: 160px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.delivery__service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.delivery__logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
    padding: 0;
    margin: 0;
    display: block;
}

.delivery__info {
    text-align: center;
    margin-top: 2rem;
}

.delivery__text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.delivery__text a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.delivery__text a:hover {
    color: var(--color-primary);
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 5rem 0 2rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer__info p {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-secondary);
}

.footer__info a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer__info a:hover {
    color: #666;
    text-decoration: underline;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    color: var(--color-secondary);
    font-size: 6rem;
    transition: color 0.3s ease;
}

.footer__social-link:hover {
    color: var(--color-accent);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header {
        padding: 0.75rem 0;
    }

    .header__nav {
        display: none;
    }

    .header__logo {
        font-size: 1.5rem;
    }

    .hero {
        height: 80vh;
        padding: 2rem 0;
    }

    .hero__title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }

    .catalog {
        padding: 4rem 0;
    }

    .catalog__grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .product-card {
        height: 400px;
    }

    .product-card__image {
        height: 220px;
    }

    .product-card__content {
        padding: 1.25rem;
    }

    .btn--primary {
        padding: 1rem 2rem;
        font-size: 0.875rem;
    }

    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer__social {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .catalog__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        height: 380px;
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stories Section */
.stories {
    padding: 5rem 0;
    background-color: var(--color-background);
    background-image: url('https://images.unsplash.com/photo-1556906781-9a412961c28c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stories__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: var(--color-secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-card__content {
    padding: 1.5rem;
}

.story-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.story-card__text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

#loadMore {
    display: block;
    margin: 2rem auto;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    background-color: #34495e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#loadMore:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: #2c3e50;
    font-size: 6rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #34495e;
}

.contacts__info p {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text);
}

.contacts__info a {
    color: #34495e;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    font-weight: 700;
}

.contacts__info a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

.contacts {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.contacts__content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contacts__content p {
    margin: 15px 0;
    font-size: 18px;
    line-height: 1.5;
}

.contacts__content a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts__content a:hover {
    color: #666;
} 