﻿
body {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.top-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

    .top-bar a:hover {
        opacity: 0.8;
    }

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #666;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

    .nav-menu a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
        padding: 0.5rem 0;
    }

        .nav-menu a:hover {
            color: #FFB800;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 3px;
            background-color: #FFB800;
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .header-icon:hover {
        background-color: #FFB800;
        color: #ffffff;
        transform: translateY(-2px);
    }

.cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: #ff4444;
    color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
}

/* Hero Slider */
.hero-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    gap: 1.5rem;
}

.side-banner {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

    .side-banner:hover {
        transform: translateY(-5px);
    }

.side-banner-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.side-banner h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.side-banner p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.side-banner-btn {
    background-color: #ffffff;
    color: #333;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .side-banner-btn:hover {
        background-color: #FFB800;
        color: #ffffff;
    }

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #e9e9e9;
    border-radius: 15px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slide.active {
        opacity: 1;
    }

.slide-content {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.slide p {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cta-button {
    background-color: #FFB800;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

    .cta-button:hover {
        background-color: #FFA000;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
    }

.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-dot.active {
        background-color: #ffffff;
        width: 35px;
        border-radius: 6px;
    }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-arrow:hover {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .slider-arrow.prev {
        right: 30px;
    }

    .slider-arrow.next {
        left: 30px;
    }

/* Services Section */
.services-section {
    background-color: #ffffff;
    padding: 4rem 2rem;
    margin: 3rem 0;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .service-card:hover {
        border-color: #FFB800;
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Categories Section */
.categories-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .category-card:hover::before {
        transform: translateX(0);
    }

    .category-card:hover {
        transform: scale(1.05);
    }

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Products Section */
.products-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1.1rem;
        color: #666;
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

    .product-info h3 {
        font-size: 1.3rem;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .product-info p {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 1rem;
    }

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    color: #FFB800;
    font-weight: bold;
}

.add-to-cart {
    background-color: #333;
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .add-to-cart:hover {
        background-color: #FFB800;
    }

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #FFB800;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-column a:hover {
        color: #FFB800;
    }

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background-color: #FFB800;
        transform: translateY(-3px);
    }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 968px) {
    .top-bar {
        display: none;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 85px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

        .nav-menu.active {
            right: 0;
        }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .hero-section {
        grid-template-columns: 1fr;
        margin: 1rem auto;
    }

    .side-banner {
        display: none;
    }

    .slide h1 {
        font-size: 2.2rem;
    }

    .slide p {
        font-size: 1.1rem;
    }

 /*   .hero-slider {
        height: 450px;
    }*/

    .services-container {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .logo-title {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }

    .slide h1 {
        font-size: 1.8rem;
    }

    .slide p {
        font-size: 1rem;
    }

/*    .hero-slider {
        height: 400px;
    }*/

    .section-header h2 {
        font-size: 2rem;
    }

    .products-section {
        padding: 3rem 1rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

        .slider-arrow.prev {
            right: 15px;
        }

        .slider-arrow.next {
            left: 15px;
        }
}

 @view-transition {
    navigation: auto;
}

