/* 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 Styles */
.top-bar {
    background: #f8f9fa;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.language-selector a {
    color: #666;
    text-decoration: none;
    margin-left: 10px;
}

.language-selector a.active {
    color: #007bff;
}

.main-nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.company-name {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel {
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.carousel-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}

.carousel-button:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

/* Product Categories */
.product-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.product-categories h2 {
    text-align: center;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 20px 20px 10px;
}

.category-card p {
    padding: 0 20px 20px;
    color: #666;
}

.learn-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: #007bff;
    text-decoration: none;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
}

.feature i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.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: #fff;
    text-decoration: none;
}

.social-links a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }

    .company-name {
        display: none;
    }
}

/* Products Page Styles */
.page-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/products-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.product-section {
    padding: 80px 0;
}

.product-section.bg-light {
    background: #f8f9fa;
}

.product-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    color: #333;
}

.product-card p {
    padding: 0 20px 15px;
    color: #666;
}

.product-features {
    list-style: none;
    padding: 0 20px 20px;
}

.product-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
}

.inquiry-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 20px 20px;
    transition: background 0.3s;
}

.inquiry-button:hover {
    background: #0056b3;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0;
}

.about-text h2 {
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.advantage-card i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007bff;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item .year {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: #007bff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
}

.timeline-item .content {
    width: calc(50% - 30px);
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .content {
    margin-left: auto;
}

/* News Page Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #007bff;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a.active,
.pagination a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info-card h2 {
    margin-bottom: 20px;
    color: #333;
}

.contact-info-card > p {
    margin-bottom: 30px;
    color: #666;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: #007bff;
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.submit-button {
    background: #007bff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-button:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 20px;
    }
} 