/* ============================================
   Visualization Services Page Styles
   ============================================ */

/* Main container */
.visualization-main {
    width: 100%;
    min-height: 100vh;
}

/* ============================================
   Banner Section
   ============================================ */
/* ============================================
   Banner Section (Video)
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000000;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Video mask to hide browser default controls */
.video-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.8s ease;
    transform: scale(1.1);
}

.video-mask.hidden {
    opacity: 0;
}

/* Video overlay for better text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Banner Title styling inside Hero */
.hero .banner-title {
    font-family: 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(40px, 5vw + 30px, 100px);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.1em;
    margin: 0;
    z-index: 2;
    position: relative;
}


/* Mobile and Tablet adjustments */
@media (max-width: 1024px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero .banner-title {
        letter-spacing: 0.05em;
        font-size: clamp(24px, 6vw, 40px);
    }

    .hero {
        aspect-ratio: 16 / 9;
        height: auto !important;
        min-height: unset !important;
    }
}

/* Container */
.container {
    padding: 0 clamp(20px, 8vw, 160px);
}

/* ============================================
   Content Section
   ============================================ */
.content-section {
    background-color: var(--primary-orange);
    padding: clamp(80px, 15vh, 160px) 0;
}

/* Regular text (adobe-55, 40px base) */
.text-regular {
    font-family: 'Alibaba PuHuiTi Regular', 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    font-size: clamp(18px, 2vw + 1rem, 40px);
    font-weight: 400;
    line-height: 1.6;
    text-align: justify;
    margin: 0 0 clamp(20px, 3vh, 40px) 0;
    letter-spacing: 0.3px;
}

/* Bold text (adobe-85, 48px base) */
.text-bold {
    font-family: 'Alibaba PuHuiTi Bold', 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    font-size: clamp(20px, 2.5vw + 1.2rem, 48px);
    font-weight: 700;
    line-height: 1.5;
    text-align: justify;
    margin: 0 0 clamp(20px, 3vh, 40px) 0;
    letter-spacing: 0.5px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* Mobile adjustments for content section text */
@media (max-width: 768px) {
    .text-regular {
        font-size: 20px;
        text-align: justify;
    }

    .text-bold {
        font-size: 20px;
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .text-regular {
        text-align: left;
    }

    .text-bold {
        text-align: left;
    }
}

/* ============================================
   Image with Centered Text Section
   ============================================ */
.image-text-center {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-text-center .bg-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Dark overlay for better text readability */
.image-text-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.image-text-center .text-content {
    position: absolute;
    bottom: clamp(100px, 15vh, 200px);
    left: 0;
    right: 0;
    z-index: 2;
}

/* Main title (adobe-75, 100px base) */
.image-text-center .main-title {
    font-family: 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    font-size: clamp(36px, 5vw + 2.5rem, 100px);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 clamp(15px, 2vh, 30px) 0;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Subtitle (adobe-55, 40px base) */
.image-text-center .subtitle {
    font-family: 'Alibaba PuHuiTi Regular', 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    font-size: clamp(16px, 2.5vw + 1rem, 40px);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    letter-spacing: 0.3px;
    text-align: center;
}

/* Tablet adjustments for image-text-center */
@media (min-width: 769px) and (max-width: 1024px) {
    .image-text-center .text-content {
        bottom: clamp(60px, 10vh, 120px);
        padding: 0 clamp(40px, 6vw, 80px);
    }

    .image-text-center .main-title {
        font-size: clamp(32px, 5vw, 70px);
        margin-bottom: clamp(15px, 2.5vh, 25px);
    }

    .image-text-center .subtitle {
        font-size: clamp(18px, 2.5vw, 28px);
    }
}

/* Mobile adjustments for image-text-center */
@media (max-width: 768px) {
    .image-text-center .text-content {
        bottom: clamp(20px, 4vh, 60px);
        padding: 0 clamp(20px, 5vw, 40px);
    }

    .image-text-center .main-title {
        font-size: clamp(24px, 6vw, 50px);
        margin-bottom: clamp(10px, 2vh, 20px);
    }

    .image-text-center .subtitle {
        font-size: clamp(14px, 3.5vw, 24px);
    }
}

/* ============================================
   Orange Section Title (Generic Title Section)
   ============================================ */
.orange-section-title {
    background-color: var(--primary-orange);
    padding: clamp(40px, 8.5vh, 90px) 0;
}

.section-title-text {
    font-family: 'Alibaba PuHuiTi Bold', 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    font-size: clamp(28px, 3vw + 1.5rem, 60px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Mobile adjustments for orange section */
@media (max-width: 768px) {
    .orange-section-title {
        padding: clamp(30px, 5vh, 60px) 0;
    }

    .section-title-text {
        font-size: clamp(20px, 5vw, 36px);
        line-height: 1.4;
    }
}

/* ============================================
   Image with Right-Side Text Section
   ============================================ */
.image-text-right {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-text-right .bg-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Right-side overlay with dark background */
.text-overlay-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 760px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(20px, 2.5vw, 50px);
    z-index: 2;
}

/* Title (adobe-85, 60px base) */
.overlay-title {
    font-family: 'Alibaba PuHuiTi Bold', 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    font-size: clamp(20px, 2vw + 1rem, 48px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 clamp(20px, 3vh, 40px) 0;
    letter-spacing: 0.5px;
}

/* Content text (adobe-55, 30px base) */
.overlay-content {
    font-family: 'Alibaba PuHuiTi Regular', 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    font-size: clamp(14px, 1.2vw + 0.8rem, 30px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .text-overlay-right {
        width: 50%;
        padding: clamp(30px, 4vw, 60px);
    }

    .overlay-title {
        font-size: clamp(28px, 4vw, 48px);
    }

    .overlay-content {
        font-size: clamp(18px, 2.5vw, 28px);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .text-overlay-right {
        position: relative;
        width: 100%;
        height: auto;
        background-color: #1a1a1a;
        margin-bottom: 0;
        padding-bottom: clamp(40px, 8vh, 80px);
    }

    .overlay-title {
        font-size: clamp(18px, 5vw, 32px);
    }

    .overlay-content {
        font-size: clamp(13px, 3.5vw, 20px);
    }
}

/* ============================================
   Image with Left-Side Text Section
   ============================================ */
.image-text-left {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-text-left .bg-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Left-side overlay with dark background */
.text-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 760px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(20px, 2.5vw, 50px);
    z-index: 2;
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .text-overlay-left {
        width: 50%;
        padding: clamp(30px, 4vw, 60px);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .text-overlay-left {
        position: relative;
        width: 100%;
        height: auto;
        background-color: #1a1a1a;
        margin-bottom: 0;
        padding-bottom: clamp(40px, 8vh, 80px);
    }
}

/* Placeholder for content sections */
/* Styles will be added as modules are developed */

/* ============================================
   Service Banner Section (Copied from service-detail.css)
   ============================================ */
.service-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    /* background-image removed to support inline styles */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for better text readability */
.service-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.banner-title {
    font-family: 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(40px, 5vw + 30px, 100px);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.005em;
    margin: 0;
    z-index: 2;
    position: relative;
}

/* Mobile and Tablet adjustments */
@media (max-width: 1024px) {
    .service-banner {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .banner-title {
        letter-spacing: -0.02em;
        font-size: clamp(24px, 6vw, 40px);
    }

    .service-banner {
        aspect-ratio: 16 / 9;
        height: auto !important;
        min-height: unset !important;
    }
}