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

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
    background-color: #f8f9fa;  /* Add base background color */
}

/* Background Image Settings */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.99;  /* Adjust transparency to 0.99 */
    z-index: -1;
    filter: blur(0px);  /* Remove blur effect to show clear background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* To ensure content readability, enhance content area background transparency */
.section {
    background-color: rgba(255, 255, 255, 0.92);  /* Increase white background opacity */
    border-radius: 12px;
    margin: 20px 0;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Top Information Bar */
.top-bar {
    background-color: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

/* Navigation Bar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);  /* Make navbar slightly transparent */
    backdrop-filter: blur(10px);  /* Add frosted glass effect */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #1e40af;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #1e40af;
}

/* Main Banner */
.hero {
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

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

.hero p {
    font-size: 24px;
}

/* Common Section Styles */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1e40af;
}

/* About Us */
.about-content {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.large-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.about-subtitle {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #1e40af;
    text-align: center;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #2563eb;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.company-overview {
    background-color: rgba(37, 99, 235, 0.05);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.highlight-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #1e40af;
    font-weight: 500;
}

.business-list, .service-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.business-list li, .service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #4b5563;
}

.business-list li:before, .service-list li:before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.emphasis-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4b5563;
    padding: 1.5rem;
    background-color: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    margin-top: 1rem;
}

.company-values {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

.about-text {
    padding: 0 2rem;
}

.large-text .intro-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: justify;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Product Category Styles */
.product-categories {
    padding: 50px 0;
}

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

.category-section {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 24px;
    color: #1e40af;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #1e40af;
    padding-bottom: 10px;
}

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

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

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

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

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-card h3 {
    color: #1e40af;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    color: #1e40af;
    text-decoration: none;
    margin-top: 10px;
}

/* Contact Us */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Change to fixed three-column layout */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;  /* Ensure all cards have consistent height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-card i {
    font-size: 36px;
    color: #1e40af;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: rgba(30, 64, 175, 0.95);  /* Make footer slightly transparent */
    backdrop-filter: blur(10px);
    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-info h3,
.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .large-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
    
    .business-list li, .service-list li {
        font-size: 1rem;
    }
    
    .emphasis-text {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;  /* Change to single column on mobile */
    }
    
    .contact-card {
        margin-bottom: 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-section {
        padding: 20px;
    }
}

/* Personal Care Products Special Styles */
.personal-care-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 30px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.personal-care-section .category-title {
    font-size: 32px;
    color: #1e40af;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.personal-care-section .category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #1e40af;
}

.product-category-group {
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-category-title {
    font-size: 24px;
    color: #2c5282;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #1e40af;
}

.personal-care-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 20px;
}

.personal-care-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-care-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.personal-care-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #edf2f7;
}

.personal-care-info {
    padding: 15px 20px;
    text-align: center;
}

.personal-care-name {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .personal-care-grid {
        grid-template-columns: 1fr;
    }
    
    .personal-care-section {
        padding: 30px 15px;
    }
    
    .personal-care-image {
        height: 200px;
    }
}

/* Product Showcase Area Style Optimization */
.products-showcase {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.main-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.section-description {
    font-size: 1.1em;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.category-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #007bff;
}

.category-description {
    font-size: 1.1em;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.sub-category {
    margin-bottom: 60px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sub-category-title {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #007bff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    z-index: 1;
}

.product-badge.premium {
    background-color: #ffc107;
    color: #333;
}

.product-badge.new {
    background-color: #28a745;
}

.product-badge.popular {
    background-color: #dc3545;
}

/* Responsive Layout Optimization */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        padding: 10px;
    }

    .category-header {
        padding: 20px;
    }

    .category-title {
        font-size: 1.8em;
    }

    .category-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-header {
        padding: 15px;
    }

    .category-title {
        font-size: 1.5em;
    }
}

.main-category {
    background: linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.main-category .category-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.main-category .category-title {
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 20px;
}

.sub-category {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.sub-category:last-child {
    margin-bottom: 0;
}

.sub-category-title {
    font-size: 28px;
    color: #2d3748;
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 5px solid #1e40af;
}

.sub-category .category-description {
    color: #718096;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-category {
        padding: 20px;
    }
    
    .sub-category {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .main-category .category-title {
        font-size: 28px;
    }
    
    .sub-category-title {
        font-size: 24px;
    }
} 
} 