/* =========================================================
    THEME: Architectural Square (覆盖默认 owl-theme)
    现在只需使用 .owl-theme 类名即可生效
    ========================================================= */

/* 1. 容器设置 */
.owl-theme {
    position: relative;
}

/* 2. 导航按钮 (右上角方块) */
.owl-theme .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    gap: 8px;
    margin: 0;
    text-align: right;
    -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav button {
    width: 40px;
    height: 40px;
    background: #fff !important;
    border: 1px solid #e1e4e8 !important;
    border-radius: 0 !important; /* 强制直角 */
    color: #2d3436 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0;
    padding: 0;
    cursor: pointer;
}

/* 导航悬停态 */
.owl-theme .owl-nav button:hover {
    background: #2d3436 !important;
    border-color: #2d3436 !important;
    color: #fff !important;
    transform: translateY(-2px); /* 微微上浮 */
    box-shadow: 0 5px 15px rgba(45, 52, 54, 0.15);
    text-decoration: none;
}

/* 禁用状态 */
.owl-theme .owl-nav button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* 3. 分页圆点 (底部居中方块) */
.owl-theme .owl-dots {
    text-align: center;
    margin-top: 15px;
    -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-dots .owl-dot {
    display: inline-block;
    vertical-align: middle;
    background: none;
    border: none;
    padding: 0;
    margin: 0 5px;
    cursor: pointer;
    zoom: 1;
}

.owl-theme .owl-dots .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    background: #dfe6e9; /* 默认浅灰色 */
    border-radius: 0; /* 强制直角 */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-backface-visibility: visible;
}

/* 圆点悬停态 */
.owl-theme .owl-dots .owl-dot:hover span {
    background: #b2bec3;
}

/* 圆点激活态 */
.owl-theme .owl-dots .owl-dot.active span {
    width: 30px;
    background: #2d3436;
}


/* 1. 容器重置 */
.hero-theme {
    padding-top: 0 !important;
}

.hero-theme .demo-card {
    height: 450px;
}

.hero-theme .demo-card::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-theme .card-content {
    bottom: 60px; left: 60px; max-width: 500px;
}
.hero-theme .card-content h3 { font-size: 36px; margin-bottom: 15px; }
.hero-theme .card-content p { font-size: 16px; }

/* 2. 导航按钮 (改为正方形) */
.hero-theme .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
}

.hero-theme .owl-nav button {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 0 !important; /* 改为直角方块 */
    color: #fff !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
    transition: all 0.3s ease;
}

.hero-theme .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* 3. 分页圆点 (改为方块 -> 长条) */
.hero-theme .owl-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    margin: 0;
}

.hero-theme .owl-dots .owl-dot span {
    width: 8px; /* 初始为正方形 */
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0; /* 直角 */
    margin: 0 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hero-theme .owl-dots .owl-dot.active span {
    background: #fff;
    width: 40px; /* 激活时伸长 */
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}