/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f2ede4;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #f2c94c;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f2c94c;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #f2c94c;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f2c94c;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn:hover,
.lang-btn.active {
    background: #f2c94c;
    color: #2e7d32;
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
.main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(46, 125, 50, 0.1), rgba(46, 125, 50, 0.1));
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-text h2 {
    font-size: 1.8rem;
    color: #4caf50;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    animation: fadeInRight 1s ease 0.6s both;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #f2c94c, #f39c12);
    color: #2e7d32;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 201, 76, 0.3);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2e7d32;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #f2c94c;
    border-radius: 2px;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    color: #2e7d32;
    margin: 3rem 0;
}

/* Featured Categories */
.featured-categories {
    padding: 4rem 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-image {
    height: 250px;
    overflow: hidden;
}

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

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

.category-card h3 {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: #2e7d32;
    text-align: center;
}

.category-card .btn {
    margin: 0 1.5rem 1.5rem;
    width: calc(100% - 3rem);
}

/* Features */
.features {
    padding: 4rem 0;
    background: #f5f5f5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f2c94c;
}

.feature-icon i {
    font-size: 3rem;
    color: #f2c94c;
}

.contact-item h3 i {
    color: #2e7d32;
    margin-right: 0.5rem;
}

.about-features .feature-item h3 i {
    color: #f2c94c;
    margin-right: 0.5rem;
}

.map-placeholder p i {
    color: #2e7d32;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.feature-item h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

/* Catalog */
.catalog {
    padding: 2rem 0 4rem;
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #2e7d32;
    color: #2e7d32;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2e7d32;
    color: white;
    transform: translateY(-2px);
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f2c94c;
    margin-bottom: 1rem;
}

.order-btn {
    width: 100%;
}

/* About */
.about {
    padding: 2rem 0 4rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-intro {
    margin-bottom: 2rem;
}

.about-intro h2 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-features .feature-item {
    text-align: left;
    margin-bottom: 2rem;
}

.about-features .feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.stats-section {
    text-align: center;
    margin: 4rem 0;
}

.stats-section h2 {
    color: #2e7d32;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f2c94c;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #2e7d32;
}

.team-section {
    text-align: center;
}

.team-section h2 {
    color: #2e7d32;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

/* Contacts */
.contacts {
    padding: 2rem 0 4rem;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    color: #2e7d32;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2e7d32;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2e7d32;
}

.success-message {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4caf50;
}

.map-section {
    margin: 4rem 0;
    text-align: center;
}

.map-section h2 {
    color: #2e7d32;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-placeholder {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.store-gallery h2 {
    color: #2e7d32;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #2e7d32;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #f2c94c;
    margin-bottom: 1rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.8rem 0;
    }
    
    .header-content {
        position: relative;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #2e7d32, #4caf50);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 1rem;
        z-index: 1000;
    }
    
    .nav.mobile-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(0);
    }
    
    .language-switcher {
        order: -1;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .main {
        margin-top: 70px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .categories-grid,
    .catalog-grid,
    .about-content,
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .catalog-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        width: 80%;
        max-width: 200px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-card,
    .category-card,
    .team-member {
        margin: 0 auto;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0.6rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .language-switcher {
        gap: 0.3rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .main {
        margin-top: 60px;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .section-title,
    .page-title {
        font-size: 2rem;
        margin: 2rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        width: 90%;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .product-card,
    .category-card {
        max-width: 100%;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
}
/* ============================================================
   NAVRUZ — слой 3D/современных эффектов (append-only, 2026-07-15)
   Работает поверх существующих классов. Уважает reduced-motion.
   ============================================================ */

/* --- Плавное появление секций при скролле --- */
.reveal{opacity:0;transform:translateY(38px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);}
.reveal.is-in{opacity:1;transform:none;}
.reveal.d1{transition-delay:.08s;} .reveal.d2{transition-delay:.16s;} .reveal.d3{transition-delay:.24s;} .reveal.d4{transition-delay:.32s;}

/* --- HERO: живые градиентные блобы + 3D параллакс --- */
.hero{position:relative;overflow:hidden;perspective:1200px;}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;filter:blur(60px);z-index:0;pointer-events:none;
  background:radial-gradient(circle at 30% 30%,rgba(76,175,80,.55),transparent 70%);animation:blob 14s ease-in-out infinite;}
.hero::before{width:420px;height:420px;top:-120px;left:-90px;}
.hero::after{width:360px;height:360px;bottom:-120px;right:-70px;
  background:radial-gradient(circle at 30% 30%,rgba(242,201,76,.5),transparent 70%);animation-delay:-6s;}
@keyframes blob{0%,100%{transform:translate(0,0) scale(1);}33%{transform:translate(28px,-22px) scale(1.08);}66%{transform:translate(-22px,18px) scale(.94);}}
.hero-content{position:relative;z-index:2;transform-style:preserve-3d;}
.hero-title{background:linear-gradient(100deg,#1b5e20,#4caf50 45%,#f2c94c);-webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;letter-spacing:.5px;}
.hero-image{transform-style:preserve-3d;will-change:transform;}
.hero-image img{border-radius:22px;box-shadow:0 30px 60px rgba(27,94,32,.28),0 8px 20px rgba(0,0,0,.12);
  transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s;transform:translateZ(40px);}
.hero-image::after{content:"✦ NAVRUZ";position:absolute;right:14px;bottom:14px;background:linear-gradient(135deg,#f2c94c,#ffd76a);
  color:#1b5e20;font-weight:700;font-size:.8rem;padding:8px 14px;border-radius:999px;box-shadow:0 10px 24px rgba(210,160,20,.4);
  transform:translateZ(70px);animation:tag-float 4s ease-in-out infinite;}
@keyframes tag-float{0%,100%{transform:translateZ(70px) translateY(0);}50%{transform:translateZ(70px) translateY(-9px);}}

/* --- Кнопки: объёмный градиент и 3D-нажатие --- */
.btn-primary{background:linear-gradient(135deg,#2e7d32,#4caf50);border:none;box-shadow:0 12px 26px rgba(46,125,50,.4);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s;}
.btn-primary:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 18px 36px rgba(46,125,50,.5);filter:brightness(1.05);}
.btn-primary:active{transform:translateY(0) scale(.99);}

/* --- Карточки категорий: 3D tilt + блик --- */
.category-card{transform-style:preserve-3d;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s;will-change:transform;position:relative;}
.category-card:hover{box-shadow:0 26px 50px rgba(27,94,32,.22);}
.category-card .category-image img{transition:transform .5s cubic-bezier(.2,.7,.2,1);}
.category-card:hover .category-image img{transform:scale(1.08);}
.category-card h3,.category-card .btn{transform:translateZ(28px);}

/* --- Иконки преимуществ: 3D-подъём и пульс --- */
.feature-item{transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s;transform-style:preserve-3d;}
.feature-item:hover{transform:translateY(-8px);box-shadow:0 22px 44px rgba(27,94,32,.16);}
.feature-icon{transition:transform .4s cubic-bezier(.3,1.4,.5,1);display:inline-flex;}
.feature-item:hover .feature-icon{transform:translateZ(30px) rotateY(360deg) scale(1.1);}

/* --- Подчёркивание заголовков секций --- */
.section-title{position:relative;}
.section-title::after{content:"";display:block;width:64px;height:4px;margin:14px auto 0;border-radius:99px;
  background:linear-gradient(90deg,#2e7d32,#f2c94c);}

/* --- Кнопка "наверх" --- */
#toTop{position:fixed;right:20px;bottom:22px;width:48px;height:48px;border:none;border-radius:50%;z-index:1200;cursor:pointer;
  color:#fff;font-size:18px;background:linear-gradient(135deg,#2e7d32,#4caf50);box-shadow:0 10px 24px rgba(46,125,50,.45);
  opacity:0;visibility:hidden;transform:translateY(14px) scale(.8);transition:.28s;}
#toTop.show{opacity:1;visibility:visible;transform:none;}
#toTop:hover{filter:brightness(1.08);transform:translateY(-3px);}

@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1!important;transform:none!important;transition:none!important;}
  .hero::before,.hero::after,.hero-image::after,.feature-item:hover .feature-icon{animation:none!important;}
}
