/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #DEAC25;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #DEAC25;
}

.language-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn img {
    width: 20px;
    height: 15px;
}

.lang-btn.active {
    border-color: #DEAC25;
    background: #DEAC25;
    color: #fff;
}

.lang-btn:hover:not(.active) {
    border-color: #DEAC25;
    background: #f8f9fa;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #DEAC25 0%, #000000 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fff;
    color: #DEAC25;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #DEAC25;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #DEAC25;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 2rem auto;
    text-align: left;
    color: #555;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem auto;
    object-fit: contain;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-card img:hover {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #DEAC25;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-more {
    display: inline-block;
    background: #DEAC25;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: auto;
}

.btn-more:hover {
    background: #000000;
    transform: translateY(-2px);
}

/* Gallery Section */
.gallery {
    background: #f8f9fa;
}

.gallery-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #DEAC25;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #DEAC25;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #DEAC25;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service-card img {
        width: 180px;
        height: 180px;
        margin: 0 auto 1.5rem auto;
        display: block;
    }
    
    .btn-more {
        margin: 0 auto;
        margin-top: auto;
        display: block;
        width: fit-content;
    }
    
    .about-content p {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .gallery-grid img {
        height: 150px;
    }
    
    .accordion-header {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        padding: 1.5rem;
    }
    
    .language-switcher {
        gap: 6px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .lang-btn img {
        width: 16px;
        height: 12px;
    }
}

/* Machine Detail Pages Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 70px;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-content a {
    color: #DEAC25;
    text-decoration: none;
}

.breadcrumb-content a:hover {
    text-decoration: underline;
}

.breadcrumb-content span {
    color: #666;
}

.machine-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.machine-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.machine-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #DEAC25;
    margin-bottom: 1.5rem;
}

.machine-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.machine-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.machine-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.machine-features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #DEAC25;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.tech-specs {
    background: #f8f9fa;
    padding: 80px 0;
}

.specs-content {
    max-width: 600px;
    margin: 0 auto;
}

.specs-table {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #333;
}

.spec-value {
    color: #DEAC25;
    font-weight: 500;
}

.applications {
    padding: 80px 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.application-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.application-item h3 {
    color: #DEAC25;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.application-item p {
    color: #666;
    line-height: 1.6;
}

.machine-gallery {
    background: #f8f9fa;
    padding: 80px 0;
}

.gallery-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.safety-info {
    background: #f8f9fa;
    padding: 80px 0;
}

.safety-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.safety-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.safety-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.safety-item h3 {
    color: #DEAC25;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.safety-item p {
    color: #666;
    line-height: 1.6;
}

/* Mobile Responsive for Machine Pages */
@media (max-width: 768px) {
    .machine-hero {
        padding: 60px 0;
    }
    
    .machine-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .machine-hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .machine-hero-text p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .machine-hero-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .machine-hero-buttons .btn {
        width: 180px;
    }
    
    .breadcrumb {
        margin-top: 60px;
        padding: 0.8rem 0;
    }
    
    .breadcrumb-content {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .features-grid,
    .applications-grid,
    .safety-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item,
    .application-item,
    .safety-item {
        padding: 1.5rem;
    }
    
    .gallery-grid-detailed {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    .specs-table {
        padding: 1.5rem;
    }
    
    .spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem 0;
    }
    
    .spec-label {
        font-size: 0.9rem;
    }
    
    .spec-value {
        font-size: 1rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 5px;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        width: 180px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-wrapper {
        padding: 0.8rem 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 1.2rem;
        text-align: center;
    }
    
    .service-card img {
        width: 180px;
        height: 180px;
        margin: 0 auto 1.5rem auto;
        display: block;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .btn-more {
        margin: 0 auto;
        margin-top: auto;
        display: block;
        width: fit-content;
        font-size: 0.9rem;
        padding: 12px 24px;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .contact-item h3 {
        font-size: 1.2rem;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
    
    .accordion-header {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .gallery-grid img {
        height: 120px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    .lang-btn img {
        width: 14px;
        height: 10px;
    }
    
    /* Machine pages mobile optimizations */
    .machine-hero {
        padding: 50px 0;
    }
    
    .machine-hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .machine-hero-text p {
        font-size: 0.95rem;
        padding: 0 5px;
    }
    
    .machine-hero-buttons .btn {
        width: 160px;
        font-size: 0.9rem;
    }
    
    .breadcrumb {
        margin-top: 55px;
    }
    
    .feature-item,
    .application-item,
    .safety-item {
        padding: 1.2rem;
    }
    
    .feature-item h3,
    .application-item h3,
    .safety-item h3 {
        font-size: 1.2rem;
    }
    
    .gallery-grid-detailed {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
    }
    
    .gallery-image {
        height: 140px;
    }
    
    .specs-table {
        padding: 1rem;
    }
    
    .footer-logo span {
        font-size: 1rem;
    }
    
    .footer-logo img {
        height: 25px;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #DEAC25;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); }
    to { transform: scale(1); }
}