/**
 * Web Design Service Page Styles
 * RiseCreatives Theme - webdesign-service.css
 */

/* ==========================================
   Hero Banner Section
   ========================================== */

.rise-theme-webdesign-hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding: 0;
}

.rise-theme-webdesign-hero-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 100vh;
}

/* ==========================================
   左欄：服務特點區域
   ========================================== */

.rise-theme-webdesign-hero-left {
    background-image: url('/wp-content/uploads/2025/01/RiseCreatives-雜訊灰背景.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 60px 80px 120px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.rise-theme-webdesign-hero-content {
    position: relative;
    z-index: 2;
}

/* Blob 動畫元素 - 定位在 h1 標題右側 */
.rise-theme-webdesign-hero-left .rise-theme-blob-wrapper {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    top: 80px;
    right: 60px;
    opacity: 0.6;
}

.rise-theme-webdesign-hero-left .rise-theme-blob-svg {
    transform-origin: 50% 50%;
    animation: rise-theme-blob-move 24s ease-in-out infinite;
}

@keyframes rise-theme-blob-move {
    0% {
        transform: scale(1) translate(0, 0) rotate(0);
        fill: var(--rise-theme-blob-color1, #3F776F);
    }
    25% {
        transform: scale(0.8) translate(20px, 40px) rotate(55deg);
        fill: var(--rise-theme-blob-color2, #FFD391);
    }
    50% {
        transform: scale(0.6) translate(40px, 20px) rotate(180deg);
        fill: var(--rise-theme-blob-color3, #E3E2BF);
    }
    75% {
        transform: scale(0.8) translate(20px, 40px) rotate(55deg);
        fill: var(--rise-theme-blob-color4, #3F776F);
    }
    100% {
        transform: scale(1) translate(0, 0) rotate(0);
        fill: var(--rise-theme-blob-color1, #3F776F);
    }
}

.rise-theme-webdesign-hero-title {
    font-size: 30px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.rise-theme-webdesign-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #3F776F;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* 特點列表 */
.rise-theme-webdesign-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rise-theme-webdesign-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.rise-theme-webdesign-feature-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.rise-theme-webdesign-feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.rise-theme-webdesign-feature-text {
    font-size: 1.1rem;
    color: #34495e;
    font-weight: 500;
    line-height: 1.5;
}

/* ==========================================
   右欄：表單區域
   ========================================== */

.rise-theme-webdesign-hero-right {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    background-color: rgba(229, 229, 194, 0.98);
    background-image: url('/wp-content/uploads/2025/10/Rise-CTA-BG.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

.rise-theme-webdesign-form-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 50px 40px;
    background: transparent;
    z-index: 2;
}

/* 表單樣式調整 */
.rise-theme-webdesign-form-wrapper .wpforms-container {
    max-width: 100%;
}

.rise-theme-webdesign-form-wrapper .wpforms-field-label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.rise-theme-webdesign-form-wrapper input[type="text"],
.rise-theme-webdesign-form-wrapper input[type="email"],
.rise-theme-webdesign-form-wrapper input[type="tel"],
.rise-theme-webdesign-form-wrapper textarea,
.rise-theme-webdesign-form-wrapper select {
    border: 2px solid #d1d1c2;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.rise-theme-webdesign-form-wrapper input[type="text"]:focus,
.rise-theme-webdesign-form-wrapper input[type="email"]:focus,
.rise-theme-webdesign-form-wrapper input[type="tel"]:focus,
.rise-theme-webdesign-form-wrapper textarea:focus,
.rise-theme-webdesign-form-wrapper select:focus {
    border-color: #3F776F;
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 119, 111, 0.1);
    background: #fff;
}

.rise-theme-webdesign-form-wrapper button[type="submit"] {
    background: #3F776F;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.rise-theme-webdesign-form-wrapper button[type="submit"]:hover {
    background: #2d5850;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(63, 119, 111, 0.3);
}

/* ==========================================
   響應式設計
   ========================================== */

@media (max-width: 1024px) {
    .rise-theme-webdesign-hero-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .rise-theme-webdesign-hero-left,
    .rise-theme-webdesign-hero-right {
        min-height: auto;
        padding: 60px 40px;
    }
    
    /* 調整 blob 位置 */
    .rise-theme-webdesign-hero-left .rise-theme-blob-wrapper {
        top: 40px;
        right: 40px;
    }
    
    .rise-theme-webdesign-hero-left .rise-theme-blob-svg {
        width: 200px;
        height: 200px;
    }
    
    .rise-theme-webdesign-hero-title {
        font-size: 2.2rem;
    }
    
    .rise-theme-webdesign-hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .rise-theme-webdesign-hero {
        padding: 60px 0;
    }
    
    .rise-theme-webdesign-hero-left {
        padding: 40px 30px;
    }
    
    .rise-theme-webdesign-hero-right {
        padding: 40px 30px;
    }
    
    /* 在手機版隱藏 blob 避免干擾內容 */
    .rise-theme-webdesign-hero-left .rise-theme-blob-wrapper {
        display: none;
    }
    
    .rise-theme-webdesign-hero-title {
        font-size: 24px;
    }
    
    .rise-theme-webdesign-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .rise-theme-webdesign-feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .rise-theme-webdesign-feature-text {
        font-size: 1rem;
    }
    
    .rise-theme-webdesign-form-wrapper {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .rise-theme-webdesign-hero-container {
        padding: 0;
    }
    
    .rise-theme-webdesign-hero-left {
        padding: 30px 20px;
    }
    
    .rise-theme-webdesign-hero-right {
        padding: 30px 20px;
    }
    
    .rise-theme-webdesign-hero-title {
        font-size: 22px;
    }
    
    .rise-theme-webdesign-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .rise-theme-webdesign-features-list {
        gap: 8px;
    }
    
    .rise-theme-webdesign-feature-item {
        gap: 15px;
        padding: 12px;
    }
    
    .rise-theme-webdesign-form-wrapper {
        padding: 30px 20px;
    }
}

/* ==========================================
   Advantages Section - 優勢區塊
   ========================================== */

.rise-theme-webdesign-advantages {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

/* 波浪線條裝飾 */
.rise-theme-advantages-wave-decoration {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    height: 300px;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.rise-theme-advantages-wave {
    width: 100%;
    height: 100%;
}

/* Blob 裝飾背景 */
.rise-theme-advantages-blob-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.rise-theme-advantages-blob {
    position: absolute;
    opacity: 0.6;
}

.rise-theme-advantages-blob-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
}

.rise-theme-advantages-blob-2 {
    bottom: 15%;
    left: 10%;
    width: 400px;
    height: 400px;
}

.rise-theme-advantages-blob-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
}

/* 容器 */
.rise-theme-advantages-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* 左欄：圖片 */
.rise-theme-advantages-left {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
    margin-left: -60px;
    position: relative;
}

.rise-theme-advantages-image {
    width: 120%;
    height: auto;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    position: relative;
    left: -20%;
}

.rise-theme-advantages-image:hover {
    transform: none;
    box-shadow: none;
}

/* 右欄：內容 */
.rise-theme-advantages-right {
    width: 100%;
}

.rise-theme-advantages-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.rise-theme-advantages-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3F776F;
    margin-bottom: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 優勢內容 */
.rise-theme-advantages-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rise-theme-advantage-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(63, 119, 111, 0.15);
}

.rise-theme-advantage-item:last-child {
    border-bottom: none;
}

.rise-theme-advantage-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3F776F;
    margin-bottom: 0.5rem;
}

.rise-theme-advantage-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4A4A4A;
    margin: 0;
}

/* ==========================================
   Advantages Section - 響應式設計
   ========================================== */

@media (max-width: 1024px) {
    .rise-theme-webdesign-advantages {
        padding: 80px 0;
    }
    
    .rise-theme-advantages-wave-decoration {
        height: 250px;
    }
    
    .rise-theme-advantages-container {
        padding: 0 40px;
        gap: 60px;
    }
    
    .rise-theme-advantages-title {
        font-size: 2rem;
    }
    
    .rise-theme-advantages-subtitle {
        font-size: 1.3rem;
    }
    
    .rise-theme-advantages-blob-1,
    .rise-theme-advantages-blob-2,
    .rise-theme-advantages-blob-3 {
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    .rise-theme-webdesign-advantages {
        padding: 60px 0;
    }
    
    .rise-theme-advantages-wave-decoration {
        opacity: 0.5;
    }
    
    .rise-theme-advantages-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }
    
    .rise-theme-advantages-left {
        order: 1;
        margin-left: -30px;
        margin-right: -30px;
    }
    
    .rise-theme-advantages-image {
        width: 100%;
        max-width: 100%;
        left: 0;
    }
    
    .rise-theme-advantages-right {
        order: 2;
    }
    
    .rise-theme-advantages-title {
        font-size: 1.8rem;
    }
    
    .rise-theme-advantages-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .rise-theme-advantages-content {
        gap: 0;
    }
    
    .rise-theme-advantage-label {
        font-size: 1.2rem;
    }
    
    .rise-theme-advantage-text {
        font-size: 1rem;
    }
    
    /* 在手機版減少 blob 裝飾 */
    .rise-theme-advantages-blob-decoration {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .rise-theme-webdesign-advantages {
        padding: 40px 0;
    }
    
    .rise-theme-advantages-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .rise-theme-advantages-left {
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .rise-theme-advantages-image {
        left: 0;
    }
    
    .rise-theme-advantages-title {
        font-size: 1.5rem;
    }
    
    .rise-theme-advantages-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .rise-theme-advantages-content {
        gap: 0;
    }
    
    .rise-theme-advantage-item {
        padding: 0.8rem 0;
    }
    
    .rise-theme-advantage-label {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .rise-theme-advantage-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* WPForms 聯絡表單樣式 */
.rise-wpforms-contact-form .wpforms-field {
    display: flex;
	align-items: center;
}
.rise-wpforms-contact-form .wpforms-field-large,
.rise-wpforms-contact-form .wpforms-field-medium {
    flex: 2;
	background: none !important;
    border: none !important;
    border-bottom: solid 1.5px #497D73 !important;
    border-radius: 0 !important;
}
.rise-wpforms-contact-form .wpforms-field-label {
    flex: 1;
	color: #3F776F !important;
}
.rise-wpforms-contact-form-btn {
    width: 12em !important;
    border-radius: 100px !important;
    background-color: #3F776F !important;
}
.rise-wpforms-contact-form .wpforms-submit-container {
    margin-top: 3em !important;
    text-align: right;
}
