/* ===== VARIABLES ===== */
:root {
    --black: #1a1a1a;
    --red: #C41E2A;
    --red-dark: #a01822;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--black);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
}

.top-bar-info {
    color: var(--gray-400);
    letter-spacing: 0.5px;
}

.top-bar-phone a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-phone a:hover {
    color: var(--red);
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-700);
}

.nav-links a:hover {
    color: var(--black);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-right a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-700);
}

.nav-right a:hover {
    color: var(--black);
}

.nav-order-btn {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 12px !important;
    letter-spacing: 2px !important;
}

.nav-order-btn:hover {
    background: var(--red-dark) !important;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 2px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--red);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-dark:hover {
    background: var(--gray-800);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 2;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scrollLine 2s ease-in-out infinite;
}

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

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    margin-bottom: 16px;
}

.section-header h2 em {
    font-style: italic;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== CATEGORIES ===== */
.categories {
    padding: 100px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.category-info {
    padding: 20px 24px;
}

.category-info h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--black);
    line-height: 1.3;
}

.category-info p {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.catalog-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== FEATURES ===== */
.features {
    background: var(--gray-900);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    color: var(--white);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-item h3,
.feature-item h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-1 {
    width: 65%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-img-2 {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 24px;
}

.about-text h2 em {
    font-style: italic;
}

.about-text p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--red);
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== DELIVERY ===== */
.delivery {
    padding: 100px 0;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.delivery-card {
    padding: 40px 30px;
    background: var(--gray-50);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.delivery-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.delivery-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.delivery-card h3,
.delivery-card h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.delivery-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== INSTAGRAM ===== */
.instagram-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.instagram-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.instagram-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.insta-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.insta-img:hover {
    transform: scale(1.03);
}

.instagram-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    margin-bottom: 16px;
}

.instagram-text h2 em {
    font-style: italic;
}

.instagram-text p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
}

.instagram-link:hover {
    color: var(--red);
}

/* ===== CONTACTS ===== */
.contacts {
    padding: 100px 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
}

.contact-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 16px;
    color: var(--black);
}

.contact-item a:hover {
    color: var(--red);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
    background: transparent;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-nav h4,
.footer-contacts h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-nav a,
.footer-contacts a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.footer-nav a:hover,
.footer-contacts a:hover {
    color: var(--white);
}

.footer-contacts p {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-image {
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Top bar */
    .top-bar-info {
        display: none;
    }
    
    /* Navbar */
    .nav-links {
        display: none;
    }
    
    .logo {
        position: relative;
        left: auto;
        transform: none;
    }
    
    .nav-right a:not(.nav-order-btn) {
        display: none;
    }
    
    /* Hero */
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* Categories */
    .categories {
        padding: 60px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .category-image {
        height: 160px;
    }
    
    .category-info {
        padding: 14px 16px;
    }
    
    .category-info h3 {
        font-size: 16px;
    }
    
    .category-info p {
        font-size: 11px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* About */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        min-height: auto;
    }
    
    .about-img-1 {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
    
    .about-img-2 {
        position: static;
        width: 100%;
        height: 220px;
        object-fit: cover;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    /* Delivery */
    .delivery {
        padding: 60px 0;
    }
    
    .delivery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Instagram */
    .instagram-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .instagram-images {
        order: 2;
    }
    
    .instagram-text {
        order: 1;
    }
    
    .insta-img {
        aspect-ratio: 3 / 4;
    }
    
    /* Contacts */
    .contacts {
        padding: 60px 0;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 16px;
    }
}

