/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    background-color: #1a365d;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-sbm {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
}

.logo-tech {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-menu a:hover, .nav-menu a.current {
    color: #ffd700;
}

.get-quote-btn {
    background-color: #ffd700;
    color: #1a365d !important;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
    margin-left: 10px;
}

.get-quote-btn:hover {
    background-color: white;
    color: #1a365d !important;
    transform: translateY(-2px);
}

/* Dropdown Menu */
.nav-menu li {
    position: relative;
}

.nav-menu li:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a365d;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
}

.dropdown li {
    display: block;
}

.dropdown a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
    text-transform: none;
    font-size: 14px;
    letter-spacing: normal;
}

.dropdown a:hover {
    background-color: #2a4a7d;
    color: #ffd700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.9)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=industrial%20grinding%20mill%20factory%20with%20machinery&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #ffd700;
    font-weight: 500;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.secondary-btn {
    background-color: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

.secondary-btn:hover {
    background-color: white !important;
    color: #1a365d !important;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: #1a365d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    color: #1a365d;
    margin-bottom: 15px;
}

/* Products Section */
.products {
    background-color: #f5f5f5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3, .product-content h4 {
    color: #1a365d;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}

.product-content p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

.product-content .btn {
    align-self: flex-start;
    margin-top: auto;
    font-size: 14px;
    padding: 8px 16px;
    background-color: #1a365d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 500;
}

.product-content .btn:hover {
    background-color: #2a4a7d;
    transform: translateY(-2px);
}

/* Product Categories */
.product-categories {
    margin-bottom: 40px;
    text-align: center;
}

.product-categories ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.product-categories a {
    color: #1a365d;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #1a365d;
    border-radius: 4px;
    transition: all 0.3s;
}

.product-categories a:hover {
    background-color: #1a365d;
    color: white;
}

.product-category {
    margin-bottom: 60px;
}

.product-category h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Cases Section */
.cases {
    background-color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 18px;
}

.case-content p {
    margin-bottom: 10px;
    color: #666;
}

/* News Section */
.news {
    background-color: #f5f5f5;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 18px;
}

.news-content p {
    margin-bottom: 20px;
    color: #666;
}

/* Services Section */
.services {
    background-color: white;
}

.service-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-category {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-category h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 24px;
}

.service-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.service-image {
    flex: 1;
    max-width: 500px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-text {
    flex: 1;
}

.service-text ul {
    list-style: none;
}

.service-text li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.service-text li:before {
    content: "•";
    color: #1a365d;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Support Section */
.support {
    background-color: #1a365d;
    color: white;
    text-align: center;
    padding: 60px 0;
}

.support h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.support p {
    font-size: 18px;
    margin-bottom: 30px;
}

.support-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {
    margin-bottom: 15px;
    color: #666;
}

.contact-info li strong {
    color: #1a365d;
}

.contact-map {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    flex: 1;
}

.contact-form h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #1a365d;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Materials Section */
.materials {
    background-color: #f5f5f5;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.material-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.material-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.material-image {
    height: 200px;
    overflow: hidden;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.material-item:hover .material-image img {
    transform: scale(1.05);
}

.material-content {
    padding: 20px;
}

.material-content h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 18px;
}

.material-content p {
    color: #666;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    flex: 1;
    max-width: 500px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* History Section */
.history {
    background-color: #f5f5f5;
}

.history-timeline {
    position: relative;
    padding-left: 40px;
}

.history-timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #1a365d;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -49px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #1a365d;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #1a365d;
}

.timeline-date {
    font-size: 24px;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: #1a365d;
    margin-bottom: 10px;
    font-size: 18px;
}

.timeline-content p {
    color: #666;
}

/* Team Section */
.team {
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.team-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    color: #1a365d;
    margin-bottom: 5px;
    font-size: 18px;
}

.team-info p {
    color: #666;
    font-size: 14px;
}

/* Certifications Section */
.certifications {
    background-color: #f5f5f5;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.certification-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.certification-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.certification-item h3 {
    color: #1a365d;
    font-size: 18px;
}

/* Product Details Section */
.product-details {
    background-color: white;
}

.product-content {
    display: flex;
    gap: 40px;
}

.product-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info {
    flex: 1;
}

.product-info h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 20px;
}

.product-info p {
    margin-bottom: 20px;
    color: #666;
}

.technical-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.technical-table th,
.technical-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.technical-table th {
    background-color: #1a365d;
    color: white;
    font-weight: 500;
}

.technical-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.product-info ul {
    margin-bottom: 30px;
    list-style: none;
}

.product-info li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.product-info li:before {
    content: "•";
    color: #1a365d;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f9f9f9;
    padding: 20px 0;
    font-size: 14px;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 10px;
}

.breadcrumb li {
    position: relative;
}

.breadcrumb li:not(:last-child):after {
    content: ">";
    margin-left: 10px;
    color: #666;
}

.breadcrumb a {
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ffd700;
}

.breadcrumb .active {
    color: #666;
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid #334e73;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #ddd;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 0;
    }
    
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a365d;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #1a365d;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 10px 0;
    }
    
    .menu-toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 5px 10px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .service-content {
        flex-direction: column;
        text-align: center;
    }
    
    .service-image {
        max-width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .product-content {
        flex-direction: column;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .support-contact {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}