/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

/* Header small logo */
.header-logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

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

@media (max-width: 768px) {
    .header-logo {
        display: none; /* hide on small screens to save space */
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #ff6b35;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    font-weight: bold;
    color: #ff6b35;
    font-size: 18px;
}

.callback-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.callback-btn:hover {
    background: #e55a2b;
}

/* Hero Section with Large Logo */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b35 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Large Hero Logo */
.hero-logo {
    margin-bottom: 40px;
    position: relative;
}

.hero-logo-img {
    width: 400px;
    max-width: 80vw;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: heroLogoEntrance 2s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-logo:hover .hero-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(255, 107, 53, 0.4));
}

@keyframes heroLogoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    50% {
        transform: translateY(10px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b35;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.1s both;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

/* Enhanced Button Styles */
.btn {
    position: relative;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.2);
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

/* Swiper для продукции */
.products-swiper {
    padding: 0 40px 60px 40px;
    margin-bottom: 60px;
}

.products-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.products-swiper .swiper-button-next,
.products-swiper .swiper-button-prev {
    color: #ff6b35;
    font-weight: 900;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.products-swiper .swiper-button-next:hover,
.products-swiper .swiper-button-prev:hover {
    background: #ff6b35;
    color: white;
    transform: scale(1.1);
}

.products-swiper .swiper-pagination {
    bottom: 20px;
}

.products-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.products-swiper .swiper-pagination-bullet-active {
    background: #ff6b35;
    transform: scale(1.2);
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.product-image {
    height: auto;
    min-height: 350px;
    overflow: visible;
}

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

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.product-info p {
    margin-bottom: 20px;
    color: #666;
}

.product-info ul {
    list-style: none;
}

.product-info li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.product-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

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

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #666;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.advantage {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.advantage h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ff6b35;
}

.advantage p {
    color: #666;
    margin: 0;
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.contact-info-block h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-item strong {
    color: #ff6b35;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Gallery styles */
.view-gallery-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

.view-gallery-btn:hover {
    background: #e55a2b;
}

.photo-gallery {
    margin-top: 60px;
    text-align: center;
}

.photo-gallery h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
    aspect-ratio: 1;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery Swiper */
.gallery-swiper {
    padding: 0 40px 40px 40px;
}

.gallery-swiper .swiper-slide {
    width: auto;
    height: 250px;
}

.gallery-swiper .gallery-item {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-swiper .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-swiper .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: #ff6b35;
    font-weight: 900;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: #ff6b35;
    color: white;
    transform: scale(1.1);
}

.gallery-swiper .swiper-scrollbar {
    background: rgba(255, 107, 53, 0.1);
    height: 4px;
    border-radius: 2px;
}

.gallery-swiper .swiper-scrollbar-drag {
    background: #ff6b35;
    border-radius: 2px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: #ff6b35;
}

.modal-nav {
    margin-top: 20px;
}

.modal-nav button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.modal-nav button:hover {
    background: #e55a2b;
}

/* Price List Section */
.price-section {
    padding: 80px 0;
    background: white;
}

.price-content {
    max-width: 1000px;
    margin: 0 auto;
}

.price-category {
    margin-bottom: 50px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.price-category:hover {
    transform: translateY(-5px);
}

.category-title {
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

.price-table {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.price-item:hover {
    border-left-color: #ff6b35;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.item-name {
    font-weight: 500;
    color: #333;
    flex: 1;
}

.item-price {
    font-weight: 600;
    color: #ff6b35;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.delivery-info {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.delivery-item h4 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.delivery-item p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.delivery-item strong {
    color: #333;
}

.price-note {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.price-note p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.price-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-phone {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 12px 25px;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.price-phone:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
}

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

/* Footer logo styles */
.footer-logo {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Mobile menu styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 1;
        margin-right: auto;
    }
    
    .nav {
        order: 4;
        width: 100%;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
        z-index: 1001;
    }
    
    .nav.mobile-open {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    
    .nav-list li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        transition: background-color 0.3s;
    }
    
    .nav-list a:hover {
        background-color: rgba(255, 107, 53, 0.1);
        color: #ff6b35;
    }
    
    .contact-info {
        order: 2;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-left: auto;
    }
    
    .phone {
        font-size: 16px;
    }
    
    .callback-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Ensure hero content is not hidden behind fixed header */
    .hero {
        padding-top: 140px; /* increased padding for mobile */
    }
    
    /* Swiper Mobile Adjustments */
    .products-swiper {
        padding: 0 20px 40px 20px;
    }
    
    .products-swiper .swiper-button-next,
    .products-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .gallery-swiper {
        padding: 0 20px 40px 20px;
    }
    
    .gallery-swiper .swiper-slide {
        height: 200px;
    }
    
    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    /* Mobile Hero Adjustments */
    .hero-logo-img {
        width: 300px;
        max-width: 90vw;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    
    .hero-stats {
        gap: 30px;
        margin: 40px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }
    
    .btn {
        padding: 15px 35px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .btn-icon {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .product-info p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .product-info ul {
        margin-bottom: 15px;
    }
    
    .product-info li {
        font-size: 0.9rem;
        padding: 3px 0;
    }
    
    .view-gallery-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        margin-top: 10px;
    }
    
    .advantages {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-block {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact-form textarea {
        min-height: 100px;
    }
    
    .contact-item {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Gallery responsive styles */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item {
        aspect-ratio: 1;
        border-radius: 8px;
    }
    
    .photo-gallery h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .modal-content {
        width: 95%;
        padding: 10px;
        margin: 20px auto;
    }
    
    .modal-content img {
        max-height: 60vh;
    }
    
    .modal-nav button {
        padding: 8px 15px;
        font-size: 16px;
        margin: 0 5px;
    }
    
    .close {
        top: 5px;
        right: 15px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-logo-img {
        width: 250px;
        max-width: 85vw;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 13px;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .product-info p {
        font-size: 0.9rem;
    }
    
    .product-info li {
        font-size: 0.85rem;
    }
    
    .advantages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage {
        padding: 20px;
    }
    
    .advantage h4 {
        font-size: 1.1rem;
    }
    
    .advantage p {
        font-size: 0.9rem;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 16px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    /* Price section mobile styles */
    .price-category {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    
    .item-name {
        font-size: 0.9rem;
    }
    
    .item-price {
        font-size: 1rem;
        align-self: flex-end;
    }
    
    .price-contacts {
        flex-direction: column;
        gap: 15px;
    }
    
    .price-phone {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    /* Header improvements for very small screens */
    .header-content {
        padding: 10px 0;
    }
    
    .contact-info {
        gap: 8px;
    }
    
    .phone {
        font-size: 14px;
    }
    
    .callback-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .mobile-menu-btn {
        font-size: 20px;
        padding: 6px;
    }
}

/* Scroll animations */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

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

/* Enhanced 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(0, 0, 0, 0.15);
}

.advantage {
    transition: all 0.3s ease;
}

.advantage:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

/* Loading states for images */
.product-image img,
.gallery-item img {
    transition: opacity 0.3s ease;
}

.product-image img[loading="lazy"],
.gallery-item img[loading="lazy"] {
    opacity: 0;
}

.product-image img[loading="lazy"].loaded,
.gallery-item img[loading="lazy"].loaded {
    opacity: 1;
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
}

.slideshow-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-image.active {
    opacity: 1;
}

/* Ensure slideshow container has proper height */
.product-image .slideshow-container {
    height: 350px;
}

/* Mobile responsive slideshow */
@media (max-width: 768px) {
    .slideshow-container {
        height: 250px;
        overflow: hidden;
    }
    
    .product-image .slideshow-container {
        height: 250px;
    }
    
    .slideshow-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .slideshow-container {
        height: 200px;
        overflow: hidden;
    }
    
    .product-image .slideshow-container {
        height: 200px;
    }
    
    .slideshow-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Touch improvements for mobile devices */
@media (max-width: 768px) {
    /* Increase touch targets */
    .nav-list a,
    .btn,
    .callback-btn,
    .view-gallery-btn,
    .mobile-menu-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve button feedback */
    .btn:active,
    .callback-btn:active,
    .view-gallery-btn:active {
        transform: scale(0.95);
    }
    
    /* Improve gallery touch */
    .gallery-item {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .gallery-item:active {
        transform: scale(0.98);
    }
    
    /* Improve modal touch */
    .modal-nav button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent text selection on buttons */
    .btn,
    .callback-btn,
    .view-gallery-btn,
    .mobile-menu-btn {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}