/**
 * About Page Styles
 * RiseCreatives 關於我們頁面樣式
 */

/* ==================== Hero Section ==================== */
.rise-theme-about-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/wp-content/uploads/2025/10/about-risecreatives-banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 80px 20px;
    overflow: hidden;
}

.rise-theme-about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(63, 119, 111, 0.75);
    z-index: 1;
}

.rise-theme-about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
}

.rise-theme-about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.rise-theme-about-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.rise-theme-about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.rise-theme-about-description strong {
    font-weight: 600;
    color: #FFD700;
}

/* ==================== Team Section ==================== */
.rise-theme-about-team-section {
    padding: 0;
    margin: 0;
    background: transparent;
}

.rise-theme-about-team-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

/* 左側：團隊文字與 SVG */
.rise-theme-about-team-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 60px;
    background: #f8f9fa;
}

.rise-theme-about-team-text {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rise-theme-about-team-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.rise-theme-about-team-text strong {
    color: #3F776F;
    font-weight: 600;
}

/* SVG 容器 */
.raiseup-team-cartoon {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
}

/* SVG 描繪動畫 */
.raiseup-team-cartoon path {
    fill: none;
    stroke: #3F776F;
    stroke-width: 3;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 2.5s ease-in-out;
}

/* 當元素進入視窗時觸發動畫 */
.raiseup-team-cartoon.rise-theme-animate path {
    stroke-dashoffset: 0;
}

/* ==================== Banner Section (第三段) ==================== */
.rise-theme-about-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

.rise-theme-about-banner-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* 右側：團隊圖片 */
.rise-theme-about-team-right {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
    min-height: 600px;
    padding: 0;
    margin: 0;
}

.rise-theme-about-team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

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

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .rise-theme-about-team-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .rise-theme-about-team-left {
        padding: 60px 40px;
    }
    
    .rise-theme-about-title {
        font-size: 2.5rem;
    }
    
    .rise-theme-about-subtitle {
        font-size: 1.3rem;
    }
    
    .rise-theme-about-team-right {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .rise-theme-about-hero {
        padding: 60px 20px;
        background-attachment: scroll;
    }
    
    .rise-theme-about-team-left {
        padding: 40px 30px;
        gap: 30px;
    }
    
    .rise-theme-about-title {
        font-size: 2rem;
    }
    
    .rise-theme-about-subtitle {
        font-size: 1.1rem;
    }
    
    .rise-theme-about-description {
        font-size: 1rem;
    }
    
    .rise-theme-about-team-text {
        padding: 20px;
    }
    
    .rise-theme-about-team-text p {
        font-size: 1rem;
    }
    
    .rise-theme-about-team-right {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .rise-theme-about-team-left {
        padding: 30px 20px;
        gap: 20px;
    }
    
    .rise-theme-about-title {
        font-size: 1.5rem;
    }
    
    .rise-theme-about-subtitle {
        font-size: 1rem;
    }
    
    .rise-theme-about-team-text {
        padding: 15px;
    }
    
    .rise-theme-about-team-right {
        min-height: 250px;
    }
}
