* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.top-bar {
    background: #333;
    color: white;
    font-size: 12px;
    padding: 8px 0;
}

.contact-info {
    text-align: right;
}

.contact-info span {
    margin-left: 20px;
    cursor: pointer;
}

.contact-info span:first-child {
    color: #ff4444;
}

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

/* Wider dropdown for product center */
.dropdown:nth-child(4) .dropdown-menu {
    min-width: 220px;
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 0 8px;
    position: relative;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #1e90ff;
}

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

.nav-menu a:hover,
.nav-menu a.active,
.dropdown-toggle.active {
    color: #1e90ff;
}

.nav-menu > li > a.active::after,
.dropdown-toggle.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #1e90ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide:nth-child(2) {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.carousel-slide:nth-child(3) {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.carousel-slide.active {
    z-index: 1;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: #1e90ff;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.indicator.active {
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.2;
}

.hero-subtitle {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.star-icon {
    font-size: 24px;
    margin-top: 5px;
}

.cabinet-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.cabinet-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.cabinet-info small {
    color: #999;
    font-size: 12px;
    line-height: 1.4;
}

.hero-images {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabinet-group {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.cabinet {
    width: 80px;
    background: #ddd;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cabinet-1 {
    height: 200px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
}

.cabinet-2 {
    height: 150px;
    background: linear-gradient(145deg, #f8f8f8, #e0e0e0);
}

.cabinet-3 {
    height: 120px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
}

.cabinet-4 {
    height: 180px;
    background: linear-gradient(145deg, #f5f5f5, #d5d5d5);
}

/* Additional Cabinet Styles for Carousel Slides */
.cabinet-5 {
    height: 160px;
    background: linear-gradient(145deg, #e3f2fd, #bbdefb);
}

.cabinet-6 {
    height: 140px;
    background: linear-gradient(145deg, #f0f8ff, #d6e9ff);
}

.cabinet-7 {
    height: 190px;
    background: linear-gradient(145deg, #e1f5fe, #b3e5fc);
}

.cabinet-8 {
    height: 170px;
    background: linear-gradient(145deg, #f1f8e9, #dcedc8);
}

.cabinet-9 {
    height: 155px;
    background: linear-gradient(145deg, #fce4ec, #f8bbd9);
}

.cabinet-10 {
    height: 185px;
    background: linear-gradient(145deg, #f3e5f5, #e1bee7);
}

.cabinet-11 {
    height: 165px;
    background: linear-gradient(145deg, #fff3e0, #ffe0b2);
}

.cabinet-12 {
    height: 175px;
    background: linear-gradient(145deg, #f1f8e9, #c8e6c9);
}

.cabinet-group-2 .cabinet {
    border: 2px solid rgba(30, 144, 255, 0.3);
}

.cabinet-group-3 .cabinet {
    border: 2px solid rgba(233, 30, 99, 0.3);
}

.cabinet::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #bbb;
    border-radius: 2px;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: white;
}

.service-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1;
    max-width: 300px;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.overlay-content {
    text-align: center;
    padding: 20px;
}

.overlay-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.overlay-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.overlay-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

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

.service-card.blue {
    background: linear-gradient(135deg, #1e88e5, #1976d2);
}

.service-card.pink {
    background: linear-gradient(135deg, #e91e63, #c2185b),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.15)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="70" r="2.5" fill="rgba(255,255,255,0.12)"/><circle cx="75" cy="75" r="1.8" fill="rgba(255,255,255,0.08)"/><path d="M10,50 Q30,30 50,50 T90,50" stroke="rgba(255,255,255,0.08)" stroke-width="2" fill="none"/></svg>');
    background-size: cover, 200px 200px;
}

.service-card.teal {
    background: linear-gradient(135deg, #00acc1, #0097a7),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="20" height="17.32" patternUnits="userSpaceOnUse"><polygon points="10,1 18.66,6 18.66,15 10,20 1.34,15 1.34,6" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/><rect x="15" y="15" width="8" height="8" fill="rgba(255,255,255,0.08)" rx="2"/><rect x="65" y="25" width="6" height="6" fill="rgba(255,255,255,0.06)" rx="1"/><rect x="35" y="60" width="10" height="10" fill="rgba(255,255,255,0.1)" rx="2"/><rect x="75" y="70" width="7" height="7" fill="rgba(255,255,255,0.05)" rx="1.5"/><path d="M5,80 L25,60 L45,80 L65,60 L85,80" stroke="rgba(255,255,255,0.06)" stroke-width="2" fill="none"/></svg>');
    background-size: cover, 150px 150px;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #1e90ff;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-card .card-icon {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1e90ff;
}

.about-card h4 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: white;
}

.projects h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.projects h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #1e90ff;
}

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

.project-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    border-radius: 8px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(30, 144, 255, 0.1) 0%, 
        rgba(0, 191, 255, 0.1) 100%);
}

.project-1 { background-color: #e3f2fd; }
.project-2 { background-color: #fce4ec; }
.project-3 { background-color: #f3e5f5; }
.project-4 { background-color: #e8f5e8; }
.project-5 { background-color: #fff3e0; }
.project-6 { background-color: #e0f2f1; }
.project-7 { background-color: #f1f8e9; }
.project-8 { background-color: #fff8e1; }

.project-item p {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.view-more {
    text-align: center;
}

.btn-more {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #1e90ff;
    color: #1e90ff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-more:hover {
    background: #1e90ff;
    color: white;
}

/* News Section */
.news {
    padding: 80px 0;
    background: #f8f9fa;
}

.news h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.news h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #1e90ff;
}

.news-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.news-image {
    flex: 1;
}

.warehouse-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #ddd, #bbb);
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.news-list {
    flex: 1;
}

.news-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date {
    width: 60px;
    height: 60px;
    background: #1e90ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    border-radius: 8px;
    flex-shrink: 0;
}

.news-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.news-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-info small {
    color: #999;
    font-size: 12px;
}

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

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

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

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

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

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #1e90ff;
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    background: #666;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.qr-placeholder::before {
    content: 'QR Code';
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 40px 0 20px;
}

.contact-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 24px;
    color: #1e90ff;
}

.contact-info p:first-child {
    color: #bbb;
    font-size: 12px;
    margin-bottom: 5px;
}

.contact-info p:last-child {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bbb;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-left: 20px;
        background: #f8f9fa;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu a {
        padding: 8px 12px;
        margin: 0;
        border-radius: 0;
        font-size: 13px;
    }
    
    .hero-carousel {
        height: 500px;
    }
    
    .carousel-slide {
        padding: 40px 0;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-controls {
        padding: 0 20px;
    }
    
    .cabinet-group {
        gap: 15px;
    }
    
    .cabinet {
        width: 60px;
    }
    
    .service-cards {
        flex-direction: column;
    }
    
    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 400px;
    }
    
    .hero-text h1 {
        font-size: 24px;
    }
    
    .cabinet {
        width: 50px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}