/* Styles for the new Innovation Section */ 

#innovation {
    background-image: url('../images/Innovation.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.innovation-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.innovation-title {
    position: absolute;
    top: 10%;
    right: 20%;
    font-size: 36px;
    color: var(--dark-red);
    font-weight: bold;
    z-index: 10;
}

.innovation-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.innovation-content .blob-left {
    position: relative;
    flex: 0 0 50%;
    height: 100%;
    z-index: 3;
}

.innovation-slider {
    position: relative;
    flex: 0 0 50%;
    height: 100%;
    overflow: hidden;
}

.innovation-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s var(--transition-ease);
    transform: translateY(50px);
}

.innovation-slide.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}
.innovation-slide.prev {
    opacity: 0;
    transform: translateY(-50px);
}

.blob-item {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    background-size: cover;
    background-position: center;
    background-color: var(--main-red);
    background-image: var(--bg-image);
    transition: all 0.5s ease-out;
}

.blob-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.blob-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.blob-left {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-right {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Slide 1 blobs */
.blob-1 {
    width: 280px;
    height: 280px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(40deg);
    border-radius: 60px;
}
.blob-2 {
    position: absolute;
    width: 130px;
    height: 130px;
    bottom: -88px;
    left: 150px;
    border-radius: 20px;
    transform:  rotate(-40deg);
    background-color: var(--dark-red-back);
    background-image: none;
}
.blob-3 {
    position: absolute;
    width: 130px;
    height: 130px;
    top: -40px;
    left: 145px;
    transform:  rotate(-40deg);
    border-radius: 20px;
    z-index: 111111;
    background: transparent;
}
.blob-pos{
    position: relative;
}
.blob-3::before {
    position: absolute;
    content: "";
    width: 130px;
    height: 130px;
    top: 76px;
    left: 2px;
    border-radius: 20px;
    transform: translateY(-50%) rotate(40deg);
    background-color: #fca311; 
    z-index: -1;
}

/* Right side blobs */
.blob-4 {
    width: 180px;
    height: 180px;
    position: absolute;
    top: 78%;
    left: 20%;
    transform: translateY(-50%);
    background-image: var(--bg-image);
    border-radius: 50%;
    background-color: var(--main-red);
}
.blob-5 {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 38%;
    left: 40%;
    border-radius: 50%;
    font-size: 28px;
    background-color: rgba(164, 32, 19, 0.6);
}
.blob-6 {
    width: 220px;
    height: 220px;
    position: absolute;
    top: 29%;
    left: 1%;
    border-radius: 50%;
    background-image: url('../images/bg02.jpg'); /* Using bg02 for the person sketch */
}

.innovation-nav {
    position: absolute;
    top: 80%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}
.nav-dots {
    margin: 5px 0;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--main-red);
    margin: 10px 0;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
}
.dot:hover {
    transform: scale(1.2);
}
.dot.active {
    background: var(--main-red);
}

.inno-nav-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--main-red);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.inno-nav-btn:hover {
    background: var(--main-red);
}
.inno-nav-btn:hover::after {
    border-color: white;
}
.inno-nav-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-left: 2px solid var(--main-red);
    border-bottom: 2px solid var(--main-red);
}
.inno-nav-up::after {
    transform: translate(-50%, -25%) rotate(135deg);
}
.inno-nav-down::after {
    transform: translate(-50%, -75%) rotate(-45deg);
}

#section-innovation {
    background-image: url('../images/four_back.png');
    background-size: cover;
    background-position: center;
}

.innovation-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.innovation-left {
    flex: 0 0 50%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.innovation-left > div {
    position: absolute;
}

.main-image-container {
    width: 30vw;
    height: 30vw;
    max-width: 400px;
    max-height: 400px;
    min-width: 300px;
    min-height: 300px;
    border-radius: 80px;
    overflow: hidden;
    transform: rotate(-15deg);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-button {
    width: 16vw;
    height: 16vw;
    max-width: 200px;
    max-height: 200px;
    min-width: 140px;
    min-height: 140px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    font-weight: 500;
    padding: 10px;
    box-sizing: border-box;
}

.action-button p {
    margin: 0;
    line-height: 1.3;
    font-size: 1.8vw;
}

@media (min-width: 1200px) {
    .action-button p {
        font-size: 22px;
    }
}


.action-button img {
    width: 4vw;
    max-width: 45px;
    height: 4vw;
    max-height: 45px;
    margin-bottom: 5px;
}

.orange-button {
    background-color: #f9a828;
    transform: rotate(15deg);
    top: 50%;
    left: 70%;
    z-index: 3;
}

.red-button {
    background-color: #c75b5b;
    transform: rotate(-5deg);
    top: 68%;
    left: 35%;
    z-index: 1;
}

.innovation-right {
    flex: 0 0 50%;
    height: 100%;
}

/* --- Interactive Hover Effects for Blobs --- */

.blob-item.blob-2,
.blob-item.blob-3,
.blob-item.blob-4,
.blob-item.blob-5,
.blob-item.blob-6 {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

/* Default hover for blobs without an initial transform */
.blob-item.blob-5:hover {
    transform: scale(1.05);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Hover for rotated blobs - preserves rotation */
.blob-item.blob-2:hover,
.blob-item.blob-3:hover {
    transform: rotate(-40deg) scale(1.05);
    z-index: 100;
}

/* Hover for translated blob - preserves translation */
.blob-item.blob-4:hover {
    transform: translateY(-50%) scale(1.05);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 确保遮罩层效果与原有transform配合 */
.blob-item.blob-6:hover {
    transform: scale(1.05);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 遮罩层效果 */
.blob-item.blob-4,
.blob-item.blob-6 {
    overflow: hidden;
}

.blob-item.blob-4::before,
.blob-item.blob-6::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(164, 32, 19, 0.5);
    transition: top 0.3s ease;
    z-index: 1;
}

.blob-item.blob-4:hover::before,
.blob-item.blob-6:hover::before {
    top: 0;
}

.blob-item.blob-4::after {
    content: '文创产品1';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.blob-item.blob-6::after {
    content: '文创产品2';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.blob-item.blob-4:hover::after {
    opacity: 1;
}

.blob-item.blob-6:hover::after {
    opacity: 1;
} 