/* 自定义样式 */
.container {
    max-width: 1200px;
}

/* 导航栏样式 */
.bg-gray-900 {
    background-color: #1a1f2d;
}

/* 主导航菜单 */
#nav-menu {
    position: relative;
}

/* 下拉菜单基础样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: #1a1f2d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 0;
}

/* 子菜单样式 */
.dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 250px;
    background-color: #1a1f2d;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 下拉菜单项样式 */
.dropdown-item {
    position: relative;
}

.dropdown-item > button,
.dropdown-submenu a {
    display: block;
    width: 100%;
    padding: 10px 15px;
    color: white;
    text-align: left;
    transition: background-color 0.2s;
}

/* 悬停效果 */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item:hover .dropdown-submenu {
    display: block;
}

.dropdown-item > button:hover,
.dropdown-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 红色导航栏 */
.bg-red-700 {
    background-color: #cc1c1c;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .dropdown-menu,
    .dropdown-submenu {
        position: static;
        display: none;
        border: none;
        min-width: 100%;
        background-color: rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu.show,
    .dropdown-submenu.show {
        display: block;
    }

    .dropdown-item > button,
    .dropdown-submenu a {
        padding-left: 25px;
    }

    .dropdown-submenu a {
        padding-left: 35px;
    }
}

/* 产品卡片悬停效果 */
.product-card {
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* 导航栏样式 */
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f8f9fa;
}

/* 响应式图片 */
.responsive-img {
    max-width: 100%;
    height: auto;
}

/* 自定义红色 */
.custom-red {
    color: #cc1c1c;
}

/* 页脚链接样式 */
.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

/* 添加阴影效果 */
.custom-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 圆角设置 */
.custom-rounded {
    border-radius: 0.5rem;
} 