@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* { 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;
}

.top-bar {
    background: #2c3e50;
    color: white;
    padding: 10px 0;
}

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

.contact-info span {
    margin-right: 20px;
    font-size: 14px;
}

.language-selector select {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background: #34495e;
    color: white;
}

nav {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
}

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

.logo h1 {
    color: #2c3e50;
    font-size: 24px;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 30px;
}

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

.menu li a:hover, .menu li a.active {
    color: #3498db;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.stats {
    background: #f5f5f5;
    padding: 50px 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.stat-box .number {
    font-size: 48px;
    font-weight: bold;
    color: #3498db;
}

.stat-box .label {
    color: #7f8c8d;
    margin-top: 10px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: #7f8c8d;
}

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

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

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .product-info {
    padding: 20px;
}

.product-card h3 {
    margin-bottom: 10px;
}

.product-card .price {
    color: #3498db;
    font-size: 24px;
    font-weight: bold;
}

.product-card .original-price {
    text-decoration: line-through;
    color: #95a5a6;
    margin-left: 10px;
}

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

.category-box {
    background: #f5f5f5;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s;
}

.category-box:hover {
    background: #3498db;
    color: white;
}

.category-box i {
    font-size: 48px;
    margin-bottom: 15px;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.testimonial-card .stars {
    color: #f39c12;
    margin-bottom: 15px;
}

.testimonial-card p {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .author {
    font-weight: bold;
}

.features {
    background: #2c3e50;
    color: white;
}

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

.feature-box {
    text-align: center;
}

.feature-box i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #3498db;
}

.cta {
    background: linear-gradient(rgba(52, 152, 219, 0.9), rgba(52, 152, 219, 0.9));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links a {
    color: white;
    margin-right: 10px;
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin-left: 20px;
}

.footer-links a:hover {
    color: white;
}

.page-title {
    background: #f5f5f5;
    padding: 50px 0;
    text-align: center;
}

.page-title h1 {
    font-size: 36px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group textarea {
    min-height: 150px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-content img {
    width: 100%;
    border-radius: 10px;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.service-card i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

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

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.project-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.project-card:hover .overlay {
    transform: translateY(0);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-detail img {
    width: 100%;
    border-radius: 10px;
}

.product-detail .price {
    font-size: 36px;
    color: #3498db;
    font-weight: bold;
}

.product-detail .original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 24px;
    margin-left: 15px;
}

.product-detail .quantity {
    margin: 20px 0;
}

.product-detail .quantity input {
    width: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.product-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.product-images img {
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-images img.active {
    border-color: #3498db;
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .stats .container,
    .products-grid,
    .categories-grid,
    .testimonials-grid,
    .features-grid,
    .footer-content,
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
