/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 32px;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo .company-name {
    font-size: 12px;
    color: #7f8c8d;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Navigation */
.nav {
    background: #2c3e50;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav-menu li a:hover,
.nav-menu li.active a {
    background: #34495e;
}

/* Banner Slider */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: #fff;
    z-index: 10;
    position: relative;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 20;
}

.slider-controls button:hover {
    background: rgba(255,255,255,0.5);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}

.slider-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 3px;
    background: #667eea;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    gap: 40px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.about-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #fff;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.btn-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-item h3 {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-item span {
    font-size: 24px;
    color: #667eea;
}

.stat-item p {
    color: #7f8c8d;
    margin-top: 10px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

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

.placeholder-image {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.product-card h3 {
    padding: 20px;
    font-size: 24px;
    color: #2c3e50;
}

.product-card p {
    padding: 0 20px 20px;
    color: #7f8c8d;
}

/* News Section */
.news-section {
    background: #f8f9fa;
}

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

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

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.news-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
}

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

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.news-content p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #95a5a6;
    font-size: 13px;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-more {
    display: inline-block;
    padding: 15px 40px;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: 500;
}

.btn-more:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-logo {
    margin-bottom: 20px;
}

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

.footer-col p {
    color: #bdc3c7;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #667eea;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #34495e;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Floating Toolbar */
.toolbar {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.tool-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.tool-btn:hover {
    background: #764ba2;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#backToTop {
    display: none;
}

#backToTop.show {
    display: flex;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.content-text h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.stat-box {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.stat-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.stat-box h3 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.stat-box p {
    color: #7f8c8d;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

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

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.value-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.value-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Products Full Grid */
.products-full-grid {
    display: grid;
    gap: 40px;
}

.product-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.product-detail-card:nth-child(even) {
    direction: rtl;
}

.product-detail-card:nth-child(even) .product-detail-info {
    direction: ltr;
}

.product-detail-image {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
}

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

.product-detail-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-info h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.product-detail-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 10px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: #667eea;
}

/* Categories Section */
.categories-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.category-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

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

.category-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.category-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* News Full Grid */
.news-full-grid {
    display: grid;
    gap: 40px;
}

.news-full-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.news-full-card:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.news-full-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
}

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

.news-full-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background: #667eea;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 15px;
    width: fit-content;
}

.news-full-content h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.news-full-content .news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #95a5a6;
    font-size: 14px;
}

.news-full-content .news-meta i {
    margin-right: 5px;
}

.news-full-content p {
    color: #555;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

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

.contact-info-box h2,
.contact-form-box h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-info-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.contact-details p,
.contact-details a {
    color: #555;
    text-decoration: none;
}

.contact-details a:hover {
    color: #667eea;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-social .social-links {
    margin-top: 15px;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

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

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Business Hours Section */
.business-hours-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.business-hours {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #ecf0f1;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-weight: 500;
    color: #2c3e50;
}

.hours-item .time {
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: #2c3e50;
        transition: 0.3s;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu li a {
        border-bottom: 1px solid #34495e;
    }

    .banner {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 18px;
    }

    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .about-links {
        flex-direction: column;
    }

    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .product-detail-card:nth-child(even) {
        direction: ltr;
    }

    .product-detail-image {
        height: 250px;
    }

    .news-full-card {
        grid-template-columns: 1fr;
    }

    .news-full-image {
        height: 200px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .toolbar {
        right: 15px;
        bottom: 15px;
    }
}
