/* =================================================================
   UPMOTO2025 Theme - Aurora Tech Style (Dark Blue/Cyan)
   Based on Aurora.tech design
   ================================================================= */

/* =================================================================
   1. GLOBAL STYLES & VARIABLES
   ================================================================= */

:root {
    --color-primary: #ff4c2e;
    --color-secondary: #1A73E8;
    --color-dark: #ffffff;
    --color-light: #141B34;
    --color-gray: #8B93A7;
    --color-border: #1E2842;
    --font-primary: 'AlibabaPuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-display: 'AlibabaPuHuiTi', 'Orbitron', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: var(--color-dark);
    overflow-x: hidden;
}

.upmoto-theme {
    background-color: var(--color-dark);
}
/* =================================================================
   2. TYPOGRAPHY
   ================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: #FFFFFF;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.8;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

/* =================================================================
   3. HEADER & NAVIGATION
   ================================================================= */

.header-upmoto {
    position: relative;
    z-index: 1000;
}

.navbar-upmoto {
    /* background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(20, 27, 52, 0.98) 100%); */
    border: none;
    border-bottom: 2px solid var(--color-primary);
    padding: 0;
    min-height: 80px;
    box-shadow: 0 5px 30px rgba(255, 123, 0, 0.2);
    backdrop-filter: blur(10px);
}

.navbar-upmoto .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    padding: 20px 15px;
    height: 80px;
    line-height: 40px;
}

.logo-up {
    color: var(--color-primary);
    font-weight: 900;
}

.logo-moto {
    color: #FFFFFF;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.navbar-upmoto .navbar-nav > li {
    position: relative;
}

.navbar-upmoto .mega-dropdown {
    position: static;
}

.navbar-upmoto .mega-dropdown::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    top: 80px;
    height: 5px;
    background: transparent;
    z-index: 998;
    pointer-events: none;
}

.navbar-upmoto .navbar-nav > li > a {
    color: var(--color-light);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 30px 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

@media (min-width: 768px) {
    .navbar-upmoto .navbar-nav > li > a:hover,
    .navbar-upmoto .navbar-nav > li.active > a {
        background: transparent;
        color: var(--color-primary);
    }

    .navbar-upmoto .navbar-nav > li > a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--color-primary);
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .navbar-upmoto .navbar-nav > li > a:hover::after,
    .navbar-upmoto .navbar-nav > li.active > a::after {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .open > a.dropdown-toggle {
        background: transparent;
        color: var(--color-primary) !important;
    }
    .open > a.dropdown-toggle::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--color-primary);
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }
    .open > a.dropdown-toggle::after{
        width: 80%;
    }
}

/* Mega Menu - Hover Trigger */
@media (min-width: 768px) {
    .navbar-upmoto .mega-dropdown:hover > .dropdown-menu,
    .navbar-upmoto .dropdown-menu:hover {
        display: block;
    }
}

.navbar-upmoto .dropdown-menu {
    display: none;
}

@media (max-width: 768px) {
    .open > .dropdown-menu{
        display: block;
    }
}

.mega-menu-fullwidth {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    background: rgba(10, 14, 39, 0.98);
    border: none;
    border-top: 3px solid var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
    padding: 0;
    min-height: 400px;
    z-index: 999;
}

.mega-menu-fullwidth::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
    background: transparent;
}

.mega-menu-container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 60px;
    gap: 60px;
}

.mega-menu-left {
    flex: 0 0 35%;
    border-right: 2px solid var(--color-border);
    padding-right: 40px;
}

.mega-menu-right {
    flex: 1;
    padding-left: 20px;
}

.mega-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Left Side - Categories with Description */
.mega-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-categories-list li {
    margin-bottom: 5px;
}

.category-link {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    border-left: 3px solid transparent;
    transition: var(--transition);
    border-radius: 0 5px 5px 0;
}

.category-link:hover,
.category-link.active {
    background: rgba(0, 217, 255, 0.1);
    border-left-color: var(--color-primary);
    padding-left: 30px;
}

.category-name {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
}

.category-desc {
    color: var(--color-gray);
    font-size: 1.05rem;
    display: block;
    line-height: 1.6;
}

.category-link:hover .category-name,
.category-link.active .category-name {
    color: var(--color-primary);
}

.category-link:hover .category-desc,
.category-link.active .category-desc {
    color: #FFFFFF;
}

/* Right Side - Products Grid */
.mega-products-wrapper {
    position: relative;
    min-height: 350px;
}

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

.mega-product-item {
    position: relative;
    transition: var(--transition);
}

.mega-product-item a {
    display: block;
    text-decoration: none;
}

.mega-product-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    margin-bottom: 12px;
    aspect-ratio: 4/3;
    background-color: #fff;
}

.mega-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mega-product-item:hover .mega-product-thumb img {
    transform: scale(1.1);
}

.mega-product-item:hover .mega-product-thumb {
    border-color: var(--color-primary);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}

.mega-product-title {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    transition: var(--transition);
}

.mega-product-cat {
    color: var(--color-gray);
    font-size: 0.95rem;
    display: block;
}

.mega-product-item:hover .mega-product-title {
    color: var(--color-primary);
}

/* Mobile Menu */
.navbar-toggle {
    border-color: var(--color-primary);
    margin-top: 23px;
}

.navbar-toggle .icon-bar {
    background-color: var(--color-primary);
}

@media (max-width: 767px) {
    .navbar-upmoto .navbar-nav > li > a {
        padding: 15px 20px;
    }

    .mega-menu-fullwidth {
        position: relative;
        width: 100%;
        min-height: auto;
    }

    .mega-menu-container {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .mega-menu-left {
        flex: 1;
        border-right: none;
        border-bottom: 2px solid var(--color-border);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .mega-menu-right {
        flex: 1;
        padding-left: 0;
    }

    .mega-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .video-grid > [class*='col-'] {
        padding: 0 10px;
    }

    .video-grid .col-xs-12 {
        margin-bottom: 30px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .mega-menu-container {
        padding: 30px 40px;
        gap: 40px;
    }

    .mega-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =================================================================
   4. HERO CAROUSEL
   ================================================================= */

.hero-carousel {
    position: relative;
    margin-top: 80px;
}
section.hero-carousel {
    padding: 0;
}
.hero-slide {
    height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* ensure overlay does not block clicks */
    /* background: linear-gradient(135deg, rgba(10, 14, 39, 0) 0%, rgba(0, 217, 255, 0) 100%); */
}
.hero-overlay:hover{
    /* background: linear-gradient(135deg, rgba(10, 14, 39, 0.5) 0%, rgba(0, 217, 255, 0.3) 100%); */
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.btn-primary-upmoto {
    background: var(--color-primary);
    color: #fff;
    padding: 15px 40px;
    margin-left: 20%;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
    display: inline-block;
}

.btn-primary-upmoto:hover {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

.carousel-control {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(218, 218, 218, 0.8);
    border-radius: 50%;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* keep controls above slide overlay */
}

.carousel-control.left {
    left: 30px;
}

.carousel-control.right {
    right: 30px;
}

.carousel-control i {
    font-size: 2rem;
    color: #333;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.carousel-indicators .active {
    background: var(--color-primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .hero-slide {
        height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* =================================================================
   5. SECTION STYLES
   ================================================================= */

section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-light);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.section-subtitle {
    font-size: 2rem;
    color: var(--color-gray);
    line-height: 1.8;
}

/* =================================================================
   6. VIDEO GALLERY
   ================================================================= */

.video-gallery {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-dark) 100%);
}

.video-gallery-fullwidth {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    width: 100%;
}

.video-gallery .section-header {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    padding: 0 15px;
}

.video-grid {
    margin: 0;
    max-width: 100%;
}

.video-grid > [class*='col-'] {
    padding-left: 0;
    padding-right: 0;
}

.video-grid .video-item {
    padding: 0 15px;
}

.video-swiper {
    padding: 20px 50px;
}

.video-item {
    position: relative;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.video-thumb img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-thumb:hover img {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-thumb:hover .video-overlay {
    background: rgba(134, 134, 134, 0.8);
}

.video-overlay i {
    font-size: 4rem;
    color: #fff;
    transition: var(--transition);
}

.video-thumb:hover .video-overlay i {
    transform: scale(1.2);
}

.video-title {
    margin-top: 15px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* =================================================================
   7. PRODUCT CATEGORIES
   ================================================================= */

.product-categories {
    background: var(--color-dark);
}

.category-grid {
    margin-top: 40px;
}

.category-card {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0) 0%, rgba(10, 14, 39, 0) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
      background: rgba(128, 128, 128, 0.7);
}

.category-overlay h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    transform: translateY(0);
    transition: var(--transition);
}

.category-card:hover .category-overlay h3 {
    transform: translateY(-20px);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    opacity: 1;
    transform: translateY(0);
}

.category-icon i {
    color: #fff;
    font-size: 1.5rem;
}

/* =================================================================
   8. COMPANY INTRO
   ================================================================= */

.company-intro {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-dark) 100%);
}

.company-features {
    margin-top: 40px;
}

.feature-card {
    background: var(--color-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.feature-card p {
    color: var(--color-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =================================================================
   9. WORLD MAP
   ================================================================= */

.world-map {
    background: var(--color-dark);
    color: #fff;
}

.world-map .section-title {
    color: var(--color-light);
}

.world-map .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.map-wrapper {
    position: relative;
    margin: 50px 0;
}

.world-map-img {
    width: 100%;
    /* opacity: 0.3;
    filter: brightness(0) invert(1); */
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.usa-marker {
    top: 35%;
    right: 20%;
}

.marker-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.map-stats {
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    color: var(--color-primary);
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 2rem;
    color:var(--color-light);
    margin: 0;
}

/* =================================================================
   10. LATEST NEWS
   ================================================================= */

.latest-news {
    background: var(--color-dark);
}

.news-grid {
    margin-top: 40px;
}

.news-card {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.3);
}

.news-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #fff;
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    font-family: var(--font-display);
}

.date-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 30px;
}

.news-content h4 {
    margin-bottom: 15px;
}

.news-content h4 a {
    color: #FFFFFF;
    transition: var(--transition);
}

.news-content h4 a:hover {
    color: var(--color-primary);
}

.news-content p {
    color: var(--color-gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover i {
    margin-left: 10px;
}

.btn-outline-upmoto {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
    margin-top: 30px;
}

.btn-outline-upmoto:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

/* =================================================================
   11. FOOTER
   ================================================================= */

.footer-upmoto {
    background: linear-gradient(135deg, var(--color-dark) 0%, #000 100%);
    color: #fff;
}

.footer-content {
    padding: 60px 0 30px;
}

.footer-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    padding-left: 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--color-primary);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.social-links a i {
    color: #fff;
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* =================================================================
   12. BACK TO TOP
   ================================================================= */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-secondary);
    color: #FFFFFF;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

/* =================================================================
   13. PAGE HEADER (Internal Pages)
   ================================================================= */

.page-header {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.page-header-small {
    height: 300px;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 137, 137, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.page-header-overlay:hover{
    background: linear-gradient(135deg, rgba(138, 137, 137, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.breadcrumb-custom {
    color: #fff;
    font-size: 1.1rem;
}

.breadcrumb-custom a {
    color: #fff;
    transition: var(--transition);
}

.breadcrumb-custom a:hover {
    color: var(--color-primary);
}

.breadcrumb-custom span {
    margin: 0 10px;
    opacity: 0.5;
}

/* =================================================================
   14. PRODUCTS LIST
   ================================================================= */

.products-list {
    padding: 60px 0;
}

.category-tabs {
    margin-bottom: 40px;
}

.category-tabs .nav-tabs {
    border-bottom: 3px solid var(--color-border);
    display: flex;
    justify-content: center;
}

.category-tabs .nav-tabs > li {
    margin: 0 10px;
}

.category-tabs .nav-tabs > li > a {
    border: none;
    background: transparent;
    color: var(--color-gray);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 30px;
    transition: var(--transition);
}

.category-tabs .nav-tabs > li.active > a,
.category-tabs .nav-tabs > li > a:hover {
    background: transparent;
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
}

.products-grid {
    margin-top: 40px;
}

.product-card {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.3);
}

.product-image {
    background-color: #fff;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 217, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.view-details {
    color: var(--color-dark);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    text-transform: uppercase;
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-category {
    color: var(--color-gray);
    font-size: 1rem;
    margin: 0;
}

/* =================================================================
   15. COMPANY PAGE
   ================================================================= */

.company-content {
    padding: 60px 0;
}

.company-profile {
    margin-bottom: 60px;
}

.company-text {
    padding: 30px;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 900;
    color:var(--color-light);
    margin-bottom: 20px;
}

.content-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    margin-bottom: 30px;
}

.content-divider.center {
    margin: 20px auto 30px;
}

.company-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.company-image img {
    width: 100%;
    height: auto;
    display: block;
}

.company-values {
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    margin-bottom: 30px;
    background: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.value-card h4 {
    font-size:2rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.value-card p {
    color: var(--color-gray);
    font-size: 1.8rem;
    line-height: 1.4;
    max-height: 3rem;
}

/* =================================================================
   16. NEWS LIST
   ================================================================= */

.news-list-section {
    padding: 60px 0;
    scroll-margin-top: 80px;
}

/* 5 Column Grid Layout */
.news-list-grid-5col {
    display: flex;
    flex-wrap: wrap;
    margin: 40px -10px 0;
}

.news-list-col-5 {
    width: 33%;
    padding: 0 10px;
    margin-bottom: 30px;
}

.news-list-grid {
    margin-top: 40px;
}

.news-list-card {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.news-list-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.3);
}

.news-list-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-list-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    font-family: var(--font-display);
}

.news-list-content {
    padding: 30px;
}

.news-meta {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--color-gray);
}

.news-meta span {
    margin-right: 20px;
}

.news-meta i {
    color: var(--color-primary);
    margin-right: 5px;
}

.news-list-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    max-height: 3rem;
}

.news-list-content h3 a {
    color: #FFFFFF;
    transition: var(--transition);
}

.news-list-content h3 a:hover {
    color: var(--color-primary);
}

.news-list-content p {
    color: var(--color-gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.read-more-link {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.read-more-link i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more-link:hover i {
    margin-left: 10px;
}

/* =================================================================
   17. ARTICLE DETAIL
   ================================================================= */

.article-content-section {
    padding: 60px 0;
    scroll-margin-top: 80px;
}

.article-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
    font-size: 1.05rem;
    color: var(--color-gray);
}

.article-meta span {
    margin-right: 20px;
}

.article-meta i {
    color: var(--color-primary);
    margin-right: 5px;
}

.article-body {
    font-size: 2rem;
    line-height: 1.9;
    color:var(--color-light);
    margin-bottom: 40px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.article-tags {
    margin-bottom: 40px;
    padding: 20px;
    background: var(--color-light);
    border-radius: 5px;
    border: 1px solid var(--color-border);
}

.article-tags i {
    color: var(--color-primary);
    margin-right: 10px;
}

.article-tags a {
    display: inline-block;
    background: var(--color-dark);
    color: var(--color-gray);
    padding: 5px 15px;
    margin: 5px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.article-tags a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    padding: 30px;
    background: var(--color-light);
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.prev-article,
.next-article {
    flex: 1;
}

.next-article {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 10px;
}

.article-navigation a {
    color: #FFFFFF;
    font-weight: 600;
    transition: var(--transition);
}

.article-navigation a:hover {
    color: var(--color-primary);
}

.related-articles {
    margin-bottom: 40px;
}

.section-title-small {
    font-size: 2rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primary);
}

.related-card {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
}

.related-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.related-date {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* =================================================================
   18. SIDEBAR
   ================================================================= */

.sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: var(--color-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    margin-bottom: 30px;
    border: 1px solid var(--color-border);
}

.widget-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primary);
}

.latest-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-posts-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.latest-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-posts-list a {
    display: flex;
    gap: 15px;
    color: #FFFFFF;
    transition: var(--transition);
}

.latest-posts-list a:hover {
    color: var(--color-primary);
}

.latest-post-thumb {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    flex-shrink: 0;
}

.latest-post-info h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-date {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list li a {
    display: block;
    color: #FFFFFF;
    padding: 10px 15px;
    background: var(--color-dark);
    border-radius: 5px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.categories-list li a:hover {
    background: var(--color-primary);
    color: #fff;
    padding-left: 25px;
}

.cat-count {
    float: right;
    color: var(--color-gray);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-cloud .tag {
    display: inline-block;
    background: var(--color-dark);
    color: var(--color-gray);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    font-size: 0.9rem;
}

.tags-cloud .tag:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* =================================================================
   19. PAGINATION
   ================================================================= */

.pagination-wrapper {
    margin-top: 60px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    padding-left: 0;
    list-style: none;
    border-radius: 5px;
}

.pagination > li {
    margin: 0 5px;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    display: block;
    padding: 12px 20px;
    background: var(--color-light);
    border: 2px solid var(--color-border);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
}

.pagination > li > a:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

.pagination > .active > a,
.pagination > .active > span {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

/* =================================================================
   20. RESPONSIVE STYLES
   ================================================================= */

@media (max-width: 991px) {
    .section-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }

    /* 5列布局 - 平板端改为3列 */
    .news-list-col-5 {
        width: 33.333%;
    }
}

@media (max-width: 767px) {
    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .page-header {
        height: 250px;
    }

    .page-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .company-text {
        padding: 0;
        margin-bottom: 30px;
    }

    .content-title {
        font-size: 2rem;
    }

    .map-stats .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .map-stats .stat-card:last-child {
        border-bottom: none;
    }

    /* 5列布局 - 手机端改为2列 */
    .news-list-col-5 {
        width: 50%;
    }

    /* 手机端缩小卡片内边距 */
    .news-list-content {
        padding: 20px;
    }

    .news-list-content h3 {
        font-size: 1.2rem;
    }
}

/* =================================================================
   21. UTILITY CLASSES
   ================================================================= */

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

.align-items-center {
    display: flex;
    align-items: center;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 1rem;
}

.p-0 {
    padding: 0;
}

.main-content-upmoto {
    min-height: calc(100vh - 80px);
}

/* =================================================================
   22. AURORA THEME SPECIFIC DARK MODE ENHANCEMENTS
   ================================================================= */

/* Company page background */
.company-content {
    background: var(--color-dark);
    color: #FFFFFF;
}

.company-text p {
    color: var(--color-light);
    font-size: 2rem;
    line-height: 1.4;
}

/* Article content section */
.article-content-section {
    background: var(--color-dark);
}

/* Products list page */
.products-list {
    background: var(--color-dark);
}

/* News list section */
.news-list-section {
    background: var(--color-dark);
}

/* Search results */
.search-results-section {
    background: var(--color-dark);
}

.search-info {
    border-bottom-color: var(--color-primary);
}

.search-info h3 {
    color: #FFFFFF;
}

.search-term {
    color: var(--color-primary);
}

/* Tag results */
.tag-results-section {
    background: var(--color-dark);
}

.tag-info {
    border-bottom-color: var(--color-primary);
}

.tag-info h3 {
    color: #FFFFFF;
}

.tag-name {
    color: var(--color-primary);
}

/* No results */
.no-results {
    color: #FFFFFF;
}

.no-results i {
    color: var(--color-border);
}

.no-results h3 {
    color: #FFFFFF;
}

/* Related tags */
.related-tags {
    border-top-color: var(--color-border);
}

.tag-large {
    background: var(--color-light);
    color: #FFFFFF;
    border-color: var(--color-border);
}

.tag-large:hover,
.tag-large.active {
    background: var(--color-primary);
    color: var(--color-dark);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.5);
}

.tag-large:hover .tag-count,
.tag-large.active .tag-count {
    background: rgba(10, 14, 39, 0.3);
}

/* Category tabs enhancement */
.category-tabs .nav-tabs {
    border-bottom-color: var(--color-border);
}

.category-tabs .nav-tabs > li > a {
    color: var(--color-gray);
}

.category-tabs .nav-tabs > li.active > a,
.category-tabs .nav-tabs > li > a:hover {
    color: var(--color-primary);
}

/* Button color for dark theme */
.btn-primary-upmoto {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

/* Categories list hover enhancement */
.categories-list li a:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

/* Swiper buttons for dark theme */
.swiper-button-next,
.swiper-button-prev {
    background: var(--color-light);
    border: 1px solid var(--color-border);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-primary);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}

/* Aurora-style glow effects */
.category-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.category-card:hover {
    box-shadow: 0 10px 50px rgba(0, 217, 255, 0.4);
}

/* Logo glow effect */
.logo-up {
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

/* Section backgrounds alternating */
section:nth-child(even) {
    background: var(--color-dark);
}

section:nth-child(odd) {
    background: var(--color-dark);
}

/* Override for specific sections */
.hero-carousel,
.world-map {
    background: var(--color-dark) !important;
}

/* Hero content text shadow for better visibility */
.hero-title,
.hero-subtitle {
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 217, 255, 0.3);
}

/* Page header breadcrumb glow */
.breadcrumb-custom a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Article meta icons glow */
.article-meta i,
.news-meta i {
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.3);
}

/* Footer link glow on hover */
.footer-section ul li a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

/* Social links hover effect */
.social-links a:hover {
    background: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.5);
}

/* Enhanced dividers with glow */
.content-divider {
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* News date tag enhancement */
.news-date,
.news-list-date {
    background: var(--color-primary);
    color: var(--color-dark);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.4);
}

/* Company image borders */
.company-image {
    border: 1px solid var(--color-border);
}

/* Feature icon glow */
.feature-icon {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

/* Value icon glow */
.value-icon {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

/* Product card border */
.product-card {
    border-color: var(--color-border);
}

/* News card border */
.news-card {
    border-color: var(--color-border);
}

/* Enhanced hover states with Aurora-style glow */
.category-card:hover,
.feature-card:hover,
.value-card:hover,
.product-card:hover,
.news-card:hover,
.news-list-card:hover,
.related-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 15px 60px rgba(0, 217, 255, 0.4);
}

/* Text color adjustments for dark theme */
.video-title {
    color: #FFFFFF;
}

/* World map marker enhancement */
.map-marker {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
}

/* Stat numbers glow */
.stat-number {
    /* text-shadow: 0 0 20px rgba(0, 217, 255, 0.5); */
}

/* Hero carousel indicators */
.carousel-indicators li {
    border-color: var(--color-primary);
}

/* Input and form elements for dark theme */
input, textarea, select {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    color: #FFFFFF;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

/* Aurora-inspired accent lines */
.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}

.section-header {
    position: relative;
}

/* =================================================================
   23. PRODUCT DETAIL SECTIONS
   ================================================================= */

/* Product Detail Section 1: Main Image + Gallery + Colors */
.product-detail-section-1 {
    padding: 60px 0;
    background: var(--color-dark);
    scroll-margin-top: 80px;
}

.product-images-wrapper {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 500px;
    /* background: var(--color-light); */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-image-gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-item {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item.active,
.gallery-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    padding: 20px;
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 30px;
}

.product-short-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 30px;
}

.product-colors {
    margin-bottom: 30px;
}

.product-colors h4 {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.color-options {
    display: flex;
    gap: 15px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-option:hover {
    border-color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.5);
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.current-color-name {
    margin-top: 12px;
    font-size: 1.05rem;
    color: var(--color-primary);
    font-weight: 600;
    min-height: 28px;
    transition: opacity 0.3s ease;
    letter-spacing: 0.5px;
}

.product-download {
    margin-top: 30px;
}

.btn-download-brochure {
    display: inline-block;
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 5px;
}

.btn-download-brochure:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

.btn-download-brochure i {
    margin-right: 10px;
}

/* Product Detail Section 2: Specifications */
.product-detail-section-2 {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-dark) 100%);
    scroll-margin-top: 80px;
}

.product-specifications {
    /* background: var(--color-light); */
    /* border-radius: 10px; */
    padding: 40px;
    /* border: 1px solid var(--color-border); */
    /* box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2); */
}

.spec-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.spec-tabs {
    border-bottom: 3px solid var(--color-border);
    margin-bottom: 30px;
}

.spec-tabs > li {
    margin-right: 10px;
}

.spec-tabs > li > a {
    border: none !important;
    background: transparent !important;
    color: var(--color-gray);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 0 !important;
    transition: var(--transition);
    text-transform: capitalize;
    cursor: pointer;
}

.spec-tabs > li.active > a,
.spec-tabs > li > a:hover,
.spec-tabs > li.active > a:hover,
.spec-tabs > li.active > a:focus {
    background: transparent !important;
    color: var(--color-primary) !important;
    border: none !important;
    border-bottom: 3px solid var(--color-primary) !important;
    outline: none !important;
}

.tab-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

.tab-pane.active.in {
    opacity: 1;
}

.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.spec-table tr {
    background: var(--color-dark);
    transition: var(--transition);
}

.spec-table tr:hover {
    background: rgba(0, 217, 255, 0.1);
}

.spec-table td {
    /*padding: 15px 20px;*/
    border: none;
}

.spec-label {
    font-weight: 600;
    color: var(--color-gray);
    width: 40%;
    font-size: 1.05rem;
}

.spec-value {
      color: var(--color-gray);
    font-weight: 500;
    font-size: 1.05rem;
}

.spec-download {
    margin-top: 30px;
    text-align: center;
}

.btn-download-spec {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-dark);
    border: 2px solid var(--color-primary);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 5px;
}

.btn-download-spec:hover {
    background: transparent;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

.btn-download-spec i {
    margin-right: 10px;
}

.spec-product-image {
    background: var(--color-light);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid var(--color-border);
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.spec-product-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Product Detail Section 3: Gallery */
.product-gallery-section {
    padding: 60px 0;
    background: var(--color-dark);
    scroll-margin-top: 80px;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.gallery-grid-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 217, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-grid-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: #FFFFFF;
}

.gallery-grid-item {
    cursor: pointer;
}

/* Custom Lightbox Styles */
.custom-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightboxImage {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 217, 255, 0.3);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 50px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--color-primary);
    background: rgba(0, 217, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.5);
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    background: rgba(0, 217, 255, 0.3);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* 移动端适配 */
@media (max-width: 767px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
        width: 45px;
        height: 45px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 8px 15px;
    }

    #lightboxImage {
        max-width: 95%;
        max-height: 80vh;
    }
}

/* Product Detail Section 4: Full Content */
.product-content-section {
    padding: 60px 0;
    background: var(--color-dark);
    scroll-margin-top: 80px;
}

.product-full-content {
    margin-bottom: 60px;
}

.product-content-body {
    background: var(--color-dark);
    border-radius: 10px;
    padding: 40px;
    /* border: 1px solid var(--color-border); */
    /* box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2); */
    margin-top: 40px;
}

.product-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.product-content-body h1,
.product-content-body h2,
.product-content-body h3,
.product-content-body h4 {
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 20px;
}

.product-content-body p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.product-content-body ul,
.product-content-body ol {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 20px;
    padding-left: 30px;
}

.product-content-body li {
    margin-bottom: 10px;
}

.related-products {
    margin-top: 60px;
}

/* Responsive Styles for Product Detail */
@media (max-width: 991px) {
    .product-main-image {
        height: 400px;
    }

    .spec-product-image {
        margin-top: 30px;
        min-height: 400px;
    }

    .product-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .product-main-image {
        height: 300px;
    }

    .gallery-item {
        width: 80px;
        height: 80px;
    }

    .product-detail-title {
        font-size: 1.8rem;
    }

    .spec-product-image {
        min-height: 300px;
        padding: 20px;
    }

    .product-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .spec-table td {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .spec-label {
        width: 100%;
        font-weight: 700;
        color: var(--color-primary);
        padding-bottom: 5px;
    }

    .spec-value {
        padding-top: 0;
    }

    .product-specifications {
        padding: 25px;
    }
}

/* =================================================================
   24. SINGLE COLUMN PRODUCT LIST
   ================================================================= */

.products-list-section {
    padding: 60px 0;
    background: var(--color-dark);
}

.products-list-single-col {
    margin-top: 40px;
}

.product-list-item-single {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.2);
    margin-bottom: 40px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.product-list-item-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 217, 255, 0.4);
    border-color: var(--color-primary);
}

.product-list-item-single .row {
    display: flex;
    align-items: center;
    margin: 0;
}

.product-list-item-single .col-md-5,
.product-list-item-single .col-md-7 {
    padding: 0;
}

.product-list-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-list-item-single:hover .product-list-image img {
    transform: scale(1.1);
}

.product-list-info {
    padding: 40px;
}

.product-list-info .product-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.product-list-info .product-title a {
    color: #FFFFFF;
    transition: var(--transition);
}

.product-list-info .product-title a:hover {
    color: var(--color-primary);
}

.product-meta {
    margin-bottom: 25px;
    font-size: 1rem;
    color: var(--color-gray);
}

.product-meta span {
    margin-right: 25px;
    display: inline-block;
}

.product-meta i {
    color: var(--color-primary);
    margin-right: 8px;
}

.product-description {
    font-size: 2rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 30px;
}

.product-actions {
    margin-top: 30px;
}

.product-actions .btn-primary-upmoto {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Responsive for single column product list */
@media (max-width: 991px) {
    .product-list-image {
        height: 350px;
    }

    .product-list-info {
        padding: 30px;
    }

    .product-list-info .product-title {
        font-size: 1.8rem;
    }

    .product-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 767px) {
    .product-list-item-single .row {
        flex-direction: column;
    }

    .product-list-image {
        height: 300px;
    }

    .product-list-info {
        padding: 25px;
    }

    .product-list-info .product-title {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .product-meta span {
        display: block;
        margin-bottom: 10px;
    }
}

.product-specifications .nav-tabs > li > a{
    font-size: 15px !important;
}
.product-specifications .spec-label{
    font-size: 15px !important;
}
.product-specifications .spec-table td{
    font-size: 15px !important;
}
@media (max-width: 768px) {
    .navbar-upmoto .navbar-nav > li > a{
        color: #ffffff;
    }
    .product-image {
        height: 160px !important;
    }
    .product-info h4 {
        height: 48px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* 限制显示行数 */
        overflow: hidden;
    }
    .hero-slide {
        height: 250px;
    }
}
