@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: "Noto Serif SC", serif;
    color: #333;
    overflow-x: hidden;
}

@font-face {
    font-family: "Noto Serif SC", serif;
    font-weight: normal;
    font-style: normal;
}


/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 32px;
    font-weight: bold;
    color: #000 !important;
    letter-spacing: 2px;
}
		
.navbar-collapse {
    display: flex;
    justify-content: flex-end; /* 将子元素推向右侧 */
}

/* 或者确保 navbar-nav 占据剩余空间并右对齐 */
.navbar-nav {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.navbar-nav .nav-link {
    font-size: 18px;
    color: #333 !important;
    margin: 0 15px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #666 !important;
}

.nav-icons a {
    color: #333;
    font-size: 18px;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-icons a:hover {
    color: #666;
}

/* --- 针对手机/平板端的修复样式 (小于992px) --- */
@media (max-width: 991px) {
    
    /* 1. 让下拉菜单的内容垂直排列，而不是横向挤在一起 */
    .navbar-collapse {
        flex-direction: column; /* 垂直堆叠 */
        align-items: center;    /* 内容水平居中 */
        padding-bottom: 20px;   /* 底部增加一些呼吸空间 */
    }

    /* 2. 调整文字链接区域 (STORE, CONTACT) */
    .navbar-nav {
        margin: 15px 0 !important; /* 上下增加间距 */
        width: 100%;
        text-align: center;        /* 文字居中 */
    }
    
    /* 3. 调整图标区域 (EN, Search, Cart...) */
    .nav-icons {
        display: flex;             /* 保持图标横向排列 */
        justify-content: center;   /* 让这一排图标在屏幕中间 */
        width: 100%;               /* 占满宽度以便居中 */
        margin-left: 0 !important; /* 清除电脑端的左边距 */
        margin-top: 10px;          /* 与上方文字链接拉开距离 */
    }

    /* 4. 优化图标间距，方便手指点击 */
    .nav-icons a, 
    .nav-icons .nav-item {
        margin: 0 12px;            /* 增加图标之间的左右间距 */
        font-size: 20px;           /* 稍微放大图标，提升点击体验 */
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

.slider-item.image-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-item.video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    /* 1. 将定位点改到左下角 */
    bottom: 10%; /* 距离底部 10%，可根据需要微调 */
    left: 5%;   /* 距离左侧 5%，根据你的 max-width 需求调整 */
    
    /* 2. 移除居中偏移（必须删除原有的 transform） */
    transform: none;    
    
    /* 3. 改变文字对齐方式为左对齐 */
    text-align: left;   
    
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
}

/* 4. 如果 p 标签有 margin: 0 auto，也需要改为 0 */
.slider-content p {
    font-size: 23px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0;  /* 确保段落不再强制水平居中 */
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.slider-content h1 {
    font-size: 39px;
    margin-bottom: 30px;
    letter-spacing: 8px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.slider-content h1 span {
    display: inline-block;
    margin: 0 20px;
}

.slider-content h1 .biotech {
    color: rgba(255, 255, 255, 0.6);
}

.slider-content h1 .brilliant {
    color: #ff6b35;
}

.slider-content h1 .bloom {
    color: #ff6b35;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #fff;
    width: 35px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}


/* Content Section */
.content-section {
    padding: 100px 0;
    background: #fff;
}

.content-image {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.content-image2 {
    width: 100%;
    height: auto;
}
		
.content-text h2 {
    font-size: 39px;
    color: #ff6b35;
    margin-bottom: 20px;
    line-height: 1.5;
}

.content-text p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}


/* Product Section */
.product-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.product-card {
    background: #fff;
    border: none;
    transition: transform 0.3s;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

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

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #e9ecef;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s;
}

.product-image.hover-image {
    opacity: 0;
}

.product-card:hover .product-image.hover-image {
    opacity: 1;
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-title {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: bold;
    letter-spacing: 1px;
}

.product-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.cart-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .cart-icon {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-content h1 {
font-size: 24px;
letter-spacing: 4px;
    }
    
    .slider-content h1 span {
display: block;
margin: 10px 0;
    }
    
    .slider-content p {
font-size: 16px;
    }
    
    .content-text h2 {
font-size: 28px;
    }
    
    .content-text p {
font-size: 12px;
    }
    
    .slider-arrow {
width: 40px;
height: 40px;
font-size: 18px;
    }
    
    .slider-arrow.prev {
left: 15px;
    }
    
    .slider-arrow.next {
right: 15px;
    }
    
    .content-section {
padding: 50px 0;
    }
    
    .product-section {
padding: 40px 0;
    }

    .footer {
padding: 40px 0 20px;
    }
    
    .footer-brand {
font-size: 36px;
    }
}


.map-container {
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.alert {
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 13px;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-brand {
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.8;
    color: #999;
    margin-bottom: 10px;
}

.footer-section h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

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

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

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

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

.footer-section p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #444;
    color: #666;
    font-size: 13px;
}