/*
Theme Name: Ari Pregnancy SPA
Theme URI: https://example.com/ari-pregnancy-spa
Author: Antigravity
Author URI: https://example.com
Description: A custom theme for Ari Pregnancy SPA.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ari-pregnancy-spa
*/

/* ========================================
   CSS Variables / Design Tokens
======================================== */
:root {
    --color-primary-pink: #F5B5C0;
    --color-primary-purple: #8B7BB5;
    --color-text-white: #FFFFFF;
    --color-text-dark: #333333;
    --font-family-main: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    --header-height: 100px;
    --logo-circle-size: 110px;
}

/* ========================================
   Global Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--color-text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Display Utilities */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* About Page Mobile Content */
.about-mobile-content {
    background: #ffffff;
    padding: 40px 40px;
}

.about-mobile-content p {
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

/* ========================================
   Header Styles
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    min-height: var(--header-height);
    background: linear-gradient(to right, #8E82B0 0%, #8E82B0 15%, #F5B5C0 45%, #F5B5C0 100%);
    position: relative;
}

/* Logo Circle - 使用中心點固定定位 */
.header-logo-circle {
    position: absolute;
    left: calc(60px + 3rem);
    top: calc(50% + 0.5rem);
    transform: translate(-50%, -30%);
    width: var(--logo-circle-size);
    height: var(--logo-circle-size);
    background: #8E82B0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.header-logo-circle a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header-logo-img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    min-height: var(--header-height);
    margin-left: 140px;
}

/* Navigation Menu */
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 18px 20px;
    color: var(--color-text-white);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-navigation ul li a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--color-text-white);
    transition: all 0.3s ease;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .main-navigation ul li a {
        padding: 18px 12px;
        font-size: 14px;
    }

    .main-navigation ul {
        gap: 5px;
    }
}

@media (max-width: 768px) {
    :root {
        --logo-circle-size: 90px;
        --header-height: 75px;
        /* Increased to 1.5x (50px * 1.5) */
    }

    /* Mobile Header Solid Purple */
    .header-inner {
        background: #8E82B0;
    }

    .header-logo-circle {
        margin: 0;
        background: transparent;
        width: auto;
        height: auto;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 20;
    }

    .header-logo-img {
        width: 100px;
        /* Slightly smaller to fit reduced header */
        height: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        padding: 0 20px;
        position: static;
        /* Let it fill */
    }

    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(to bottom, #8E82B0 0%, #8E82B0 100%);
        /* Vertical gradient, Purple 75% */
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .main-navigation ul.toggled {
        display: flex;
    }

    .main-navigation ul li {
        width: 100%;
        text-align: center;
    }

    .main-navigation ul li a {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-navigation ul li:last-child a {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    :root {
        --logo-circle-size: 70px;
    }

    .header-logo-circle {
        margin-left: 10px;
    }

    .main-navigation {
        padding: 0 15px;
        margin-left: -20px;
        padding-left: 40px;
    }
}

/* ========================================
   Homepage Banner Styles
======================================== */
.home-page {
    margin: 0;
    padding: 0;
}

.home-banner {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
}

.home-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.home-banner-image {
    width: 100%;
    height: 100%;
}

.home-banner-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home-banner-text {
    position: absolute;
    bottom: 300px;
    right: 430px;
    max-width: 480px;
    background: transparent;
    padding: 0;
}

.home-banner-text p {
    color: #ffffff;
    font-size: 25px;
    line-height: 1.5;
    letter-spacing: 1px;
    margin: 0;
    text-align: left;
    text-shadow:
        1px 1px 2px #8E82B0,
        -1px -1px 2px #8E82B0,
        0px 0px 8px #8E82B0;
    font-weight: 10;
}

/* Homepage Banner Responsive */
@media (max-width: 768px) {
    .home-banner {
        min-height: auto;
    }

    .read-more {
        text-align: center !important;
        margin-top: 20px;
        /* Ensure margin exists if reset elsewhere */
        width: 100%;
        /* Ensure it takes full width */
        display: block;
        /* Ensure it is a block */
    }

    .home-banner-text {
        position: absolute;
        top: 73%;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
        right: auto;
        width: 70%;
        max-width: 70%;
        margin: 0;
        padding: 0;
        background: transparent;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-banner-text p {
        font-size: 14px;
        line-height: 1.8;
        letter-spacing: 1px;
    }
}

/* ========================================
   Footer Styles
======================================== */
.site-footer {
    margin-top: auto;
}

/* Footer Top Bar */
.footer-top-bar {
    background: linear-gradient(to right, #F5F0E8 0%, #F5F0E8 50%, #C4BBE0 50%, #C4BBE0 100%);
    padding: 20px 0;
}

.footer-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-top-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.footer-tel {
    color: #9B8FC4;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 5px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
}

/* IG icon 使用方形圓角 */
.footer-social-icons .social-icon[aria-label="Instagram"] {
    border-radius: 10px;
}

.footer-social-icons .social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.footer-social-icons .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-top-right {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0 40px;
}

.footer-contact-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    min-width: 180px;
    transition: all 0.3s ease;
}

.footer-contact-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
}

.footer-contact-btn .btn-arrow {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #ffffff;
}

/* Footer Main Content */
.footer-main {
    background: #8E82B0;
    padding: 60px 40px;
}

.footer-main-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 110px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-logo a:hover img {
    transform: scale(1.05);
}

.footer-logo-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 1.6;
}

.footer-logo-text small {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Footer Info */
.footer-info {
    margin-bottom: 40px;
    width: fit-content;
    max-width: 100%;
}

.footer-info-row {
    display: flex;
    justify-content: flex-start;
    /* Changed from center to flex-start */
    align-items: center;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 1px;
}

.info-label {
    font-weight: 400;
}

.info-value {
    font-weight: 400;
}

/* Footer Notice */
.footer-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    color: #8E82B0;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-notice .notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-notice .notice-icon img {
    width: 36px;
    height: 36px;
}

.notice-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Footer Copyright */
.footer-copyright {
    background: #8E82B0;
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
}

.footer-copyright::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.footer-copyright p {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 1px;
    margin: 0;
}

.footer-copyright a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-copyright a:hover {
    color: #F5B5C0;
    border-bottom: 1px solid #F5B5C0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top-bar {
        background: transparent;
        padding: 0;
    }

    .footer-top-inner {
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .footer-top-left {
        flex-direction: row;
        gap: 15px;
        background-color: #F5F0E8;
        width: 100%;
        padding: 20px 0;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
    }

    .footer-contact-btn {
        padding: 5px 20px;
        min-width: 150px;
    }

    .footer-top-right {
        flex-direction: row;
        gap: 20px;
        background-color: #C4BBE0;
        width: 100%;
        padding: 20px 0;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
    }

    .footer-main {
        padding: 40px 20px;
    }

    .footer-main-inner {
        text-align: center;
        /* Restore centering for mobile */
        align-items: center;
        /* Ensure flex items are centered */
        width: 100%;
    }

    /* Override fit-content on mobile if needed, or let it center naturally */
    .footer-info {
        width: 100%;
        /* Full width on mobile to allow internal centering if needed, or keep fit-content if rows are centered */
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center the rows */
    }

    .footer-info-row {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
        justify-content: center;
        /* Center text on mobile */
        text-align: center;
    }

    .footer-notice {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .footer-tel {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .footer-social-icons .social-icon {
        width: 46px;
        height: 46px;
    }

    .footer-social-icons .social-icon img {
        width: 100%;
        height: 100%;
    }

    .footer-logo img {
        width: 130px;
        margin-top: -1rem;
        margin-bottom: -1rem;
    }

    .footer-logo-text {
        font-size: 16px;
    }

    .footer-info-row {
        font-size: 13px;
    }

    .footer-notice {
        flex-direction: row;
        text-align: left;
        padding: 8px 15px;
        /* Reduced padding */
        border-radius: 50px;
        align-items: center;
        width: fit-content;
        max-width: 95%;
        /* Prevent overflow */
        margin: 0 auto;
    }

    /* Added rule to shrink icon on mobile */
    .footer-notice .notice-icon img {
        width: 24px;
        height: 24px;
    }

    .notice-text-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-text-line {
        font-size: 10px;
        /* Reduced from 15px */
        line-height: 1.4;
        white-space: nowrap;
    }

    .footer-copyright p {
        font-size: 10px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .footer-copyright::before {
        width: 90%;
        height: 1px;
        background: rgba(255, 255, 255, 0.8);
    }

    .footer-copyright {
        padding: 25px 20px 20px;
    }
}

/* ========================================
   Home Section Styles
======================================== */
.home-section {
    padding: 0 0 80px 0;
    position: relative;
    overflow: hidden;
}

.pregnancy-massage-section {
    background-color: #ffffff;
}

/* Section Title */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.section-title {
    display: inline-block;
    background: #B5AAD0;
    color: #ffffff;
    font-size: 28px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    font-weight: 500;
    letter-spacing: 8px;
    padding: 15px 100px 20px;
    margin: 0;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    box-shadow: 0 5px 15px rgba(181, 170, 208, 0.3);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 14px;
        padding: 8px 50px 10px;
        letter-spacing: 4px;

    }

    .section-title-wrapper {
        margin-bottom: 20px;
    }

    .spa-massage-section .section-title {
        font-size: 21px !important;
        /* 1.5x of 14px */
        font-weight: 350;
    }

    .section-image {
        margin-left: 0 !important;
        display: flex;
        justify-content: center;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .section-image img {
        transform: scale(1.2);
    }

    .section-text {
        width: fit-content;
        max-width: 95%;
        margin: 0 auto;
    }

    .section-text .service-items p {
        white-space: nowrap;
    }

    .section-text .text-content p {
        line-height: 1.6;
    }


}

/* Section Content Layout */
.section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Section Image - Irregular Shape */
.section-image {
    flex: 1;
    position: relative;
    max-width: 30%;
    margin-left: 10rem;
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Text */
.section-text {
    flex: 1;
    max-width: 50%;
}

.text-content p {
    color: #555555;
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    text-align: justify;
}

.service-items {
    margin: 30px 0;
}

.service-items p {
    color: #333333;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 1px;
}

/* Read More Link */
.read-more {
    text-align: right;
    margin-top: 20px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #999999;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.read-more-link .arrow {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #555555;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #8E82B0;
}

.read-more-link:hover .arrow {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 900px) {
    .section-content {
        flex-direction: column;
        gap: 40px;
    }

    .section-image,
    .section-text {
        max-width: 100%;
        flex: auto;
    }

    .section-image {
        padding: 0 40px;
    }
}

/* ========================================
   SPA Massage Section Styles
======================================== */
.spa-massage-section {
    background-color: #ffffff;
    padding-bottom: 100px;
}

/* SPA Section Title - Plain text without background */
.spa-massage-section .section-title {
    background: transparent;
    color: #8B7BB5;
    box-shadow: none;
    padding: 15px 0 30px;
    border-radius: 0;
    letter-spacing: 12px;
}

.spa-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

/* SPA Image Wrapper */
.spa-image-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

.spa-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* SPA Text Card - Vertical Overlapping Style */
.spa-text-card {
    position: relative;
    margin-top: -120px;
    width: 90%;
    max-width: 620px;
    background: #ffffff;
    padding: 35px 50px 30px;
    border-radius: 40px;
    box-shadow:
        0 8px 30px rgba(139, 123, 181, 0.1),
        0 20px 50px -10px rgba(196, 187, 224, 0.4),
        0 30px 60px -15px rgba(240, 214, 230, 0.3);
    z-index: 2;
}

.spa-text-card .text-content p {
    color: #444444;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    text-align: left;
}

/* Service items and read-more on same row */
.spa-text-card .service-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.spa-text-card .service-items p {
    color: #333333;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1.5px;
    margin: 0;
}

.spa-text-card .read-more {
    margin: 0;
    flex-shrink: 0;
}

.spa-text-card .read-more-link {
    color: #999999;
    font-size: 13px;
    letter-spacing: 1.5px;
}

/* SPA Section Responsive */
@media (max-width: 900px) {
    .spa-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .spa-text-card {
        margin-top: -60px;
        width: 95%;
        padding: 35px 30px;
    }

    .spa-massage-section {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .spa-text-card {
        margin-top: -80px;
        /* Increased overlap */
        padding: 40px 30px;
        border-radius: 40px;
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        box-shadow:
            0 0 30px rgba(139, 123, 181, 0.25),
            0 10px 40px rgba(196, 187, 224, 0.35),
            0 20px 50px -10px rgba(240, 214, 230, 0.4);
    }

    .spa-text-card::after {
        border-radius: 0 0 40px 40px;
    }

    .spa-text-card .text-content p {
        font-size: 15px;
        line-height: 1.8;
        text-align: justify;
        /* Text block justified */
        margin-bottom: 30px;
    }

    /* Change flex direction to column for service items wrapper */
    .spa-text-card .service-items {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .spa-text-card .service-items p {
        font-size: 15px;
        text-align: center;
        width: 100%;
    }

    .spa-text-card .read-more {
        text-align: center !important;
        margin-top: 0;
        width: 100%;
    }
}

/* ========================================
   Lactation Section Background Decor
======================================== */
.lactation-section {
    position: relative;
    overflow: hidden;
}

/* Hidden on desktop, shown only on mobile */
.lactation-bg-decor {
    display: none;
}

/* Ensure content is above the background */
.lactation-section .section-title-wrapper,
.lactation-section .section-content {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .lactation-section {
        margin-top: 40px;
        overflow: visible;
    }

    .lactation-bg-decor {
        display: block;
        position: absolute;
        top: -120px;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 100%;
        max-width: 500px;
        height: auto;
        z-index: 0;
        pointer-events: none;
    }
}

/* ========================================
   Beauty Skincare Section Styles
======================================== */
.beauty-skincare-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.beauty-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Beauty Text Card - Left Side */
.beauty-text-card {
    flex: 1;
    max-width: 420px;
    background: #F5F0E8;
    padding: 40px 45px;
    border-radius: 12px;
}

.beauty-title {
    color: #8B7BB5;
    font-size: 26px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    font-weight: 500;
    letter-spacing: 10px;
    margin: 0 0 30px 0;
    text-align: center;
}

.beauty-text-card .text-content p {
    color: #444444;
    font-size: 15px;
    line-height: 2;
    letter-spacing: 1.2px;
    margin-bottom: 0;
    text-align: left;
}

.beauty-text-card .text-content p+p {
    margin-top: 20px;
}

.beauty-text-card .service-items {
    margin-top: 25px;
}

.beauty-text-card .service-items p {
    color: #333333;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 1.2px;
    margin: 0;
}

.beauty-text-card .read-more {
    margin-top: 25px;
    text-align: right;
}

.beauty-text-card .read-more-link {
    color: #999999;
    font-size: 13px;
    letter-spacing: 1.5px;
}

/* Beauty Image - Right Side */
.beauty-image-wrapper {
    flex: 1;
    max-width: 420px;
}

.beauty-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Beauty Section Responsive */
@media (max-width: 900px) {
    .beauty-skincare-section {
        padding: 40px 0;
    }

    /* Redesign for Mobile Side-by-Side */
    .beauty-content {
        flex-direction: row;
        /* Override column */
        align-items: stretch;
        gap: 15px;
        padding: 0 15px;
    }

    /* Image Wrapper (Left) */
    .beauty-image-wrapper {
        order: 1;
        /* Explicitly first */
        flex: 0 0 35%;
        /* Fixed width */
        max-width: 35%;
        display: flex;
    }

    .beauty-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 30px;
        /* High border radius */
        box-shadow: none;
    }

    /* Text Card (Right) */
    .beauty-text-card {
        order: 2;
        /* Explicitly second */
        flex: 1;
        max-width: 65%;
        padding: 25px 20px;
        border-radius: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .beauty-title {
        font-size: 18px;
        letter-spacing: 4px;
        margin-bottom: 20px;
    }
}

/* Adjustments for very small screens if needed, but keeping side-by-side as requested */
@media (max-width: 480px) {
    .beauty-text-card {
        padding: 20px 15px;
    }

    .beauty-text-card .text-content p {
        font-size: 13px;
        /* Smaller text to fit */
        line-height: 1.6;
        margin-bottom: 10px;
        text-align: justify;
    }

    .beauty-text-card .service-items p {
        font-size: 13px;
        line-height: 1.5;
    }

    .beauty-text-card .read-more {
        text-align: center;
        margin-top: 15px;
    }
}

/* ========================================
   News Section Styles
======================================== */
.news-section {
    background-color: #ffffff;
    padding: 80px 0 60px;
}

/* News Header */
.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-title {
    color: #8B7BB5;
    font-size: 28px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    font-weight: 500;
    letter-spacing: 12px;
    margin: 0 0 15px 0;
}

.news-subtitle {
    color: #666666;
    font-size: 15px;
    font-style: italic;
    letter-spacing: 2px;
    margin: 0;
}

/* News Carousel Container */
.news-carousel-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
}

.news-carousel {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease;
}

/* News Card */
.news-card {
    flex: 0 0 calc(33.333% - 17px);
    min-width: calc(33.333% - 17px);
}

.news-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card a:hover .news-card-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(139, 123, 181, 0.85);
    color: #ffffff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 3px;
    letter-spacing: 1px;
}

/* News Card Content */
.news-card-content {
    padding: 20px 5px 10px;
}

.news-date {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
    color: #8B7BB5;
}

.date-month,
.date-day {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

.date-separator {
    font-size: 20px;
    font-weight: 300;
    margin: 0 2px;
}

.news-card-title {
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-year {
    color: #999999;
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0;
}

/* Carousel Dots */
.news-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.news-carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dddddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-carousel-dots .dot.active {
    background: #8B7BB5;
}

.news-carousel-dots .dot:hover {
    background: #B5AAD0;
}

/* News Section Responsive */
@media (max-width: 900px) {
    .news-carousel-container {
        padding: 0 20px;
    }

    .news-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .news-carousel {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        /* Space for scrollbar if needed, or just padding */
        scrollbar-width: none;
        /* Firefox */
    }

    .news-carousel::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .news-card {
        flex: 0 0 85%;
        /* Show 85% width to suggest more content */
        min-width: 85%;
        scroll-snap-align: center;
        margin-right: 0;
    }

    .news-carousel-dots {
        display: none;
    }

    .news-title {
        font-size: 24px;
        letter-spacing: 8px;
    }

    .news-section {
        padding: 60px 0 40px;
    }
}

/* ========================================
   About Page Banner Styles
======================================== */
.about-page {
    background-color: #ffffff;
}

.about-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.about-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Self-Introduction Overlay - Below title in banner image */
.about-intro {
    position: absolute;
    top: 68%;
    right: 23%;
    max-width: 600px;
    background: transparent;
}

.about-intro p {
    font-size: 26px;
    line-height: 2;
    letter-spacing: 1px;
    color: #555555;
    margin: 0 0 10px 0;
}

/* About Description - Overlay on Banner Bottom */
/* About Description - Overlay on Banner Bottom */
.about-description {
    position: absolute;
    bottom: 10%;
    right: 20%;
    max-width: 1200px;
    background: transparent;
    padding: 0;
}

.about-description p {
    font-size: 26px;
    line-height: 1.8;
    letter-spacing: 2px;
    color: #555555;
    margin: 0 0 15px 0;
    text-align: left;
}

.about-description p:last-child {
    margin-bottom: 0;
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .about-intro {
        right: 5%;
        max-width: 350px;
    }

    .about-title {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .about-intro p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .about-intro {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        padding: 30px 20px;
        text-align: center;
    }

    .about-title {
        font-size: 26px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    .about-description {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        padding: 30px 20px;
        background: #ffffff;
    }

    .about-description p {
        font-size: 14px;
    }
}

/* ========================================
   General Page Banner Styles
   (Used by Pregnancy Massage, etc.)
======================================== */
.page-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================================
   Pregnancy SPA Section Styles
======================================== */
.pregnancy-spa-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
    /* Prevent horizontal scroll from background decor */
}

.pregnancy-spa-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    flex-wrap: wrap;
}

/* Title - Desktop: positioned in right area */
.pregnancy-spa-title {
    display: none;
    /* Hidden on desktop, shown on mobile */
    color: #8B7BB5;
    font-size: 28px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    font-weight: 300;
    letter-spacing: 4px;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
}

/* Left Image */
.pregnancy-spa-image {
    flex: 1;
    max-width: 50%;
    margin-right: -30px;
    /* Reduced overlap from -60px */
    position: relative;
    z-index: 1;
}

.pregnancy-spa-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Right Text Column Wrapper */
.pregnancy-spa-text-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Desktop: Show title inside text-wrapper via pseudo-element or keep a separate title */
.pregnancy-spa-text-wrapper::before {
    content: '孕婦放鬆SPA';
    display: block;
    color: #8B7BB5;
    font-size: 28px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    font-weight: 300;
    letter-spacing: 4px;
    margin: 0 0 30px 0;
    text-align: center;
    padding-left: 40px;
}

/* Background Decor Image */
.pregnancy-spa-bg-decor {
    position: absolute;
    bottom: -80px;
    /* Move down */
    right: -80px;
    /* Move right */
    top: 45%;
    /* Reset top */
    left: 5%;
    /* Reset left */
    transform: none;
    /* Remove centering transform */
    width: 160%;
    /* Slightly larger */
    max-width: none;
    /* Ensure it can go beyond container */
    height: auto;
    z-index: -1;
    opacity: 1;
    /* Ensure full visibility */
    pointer-events: none;
}

/* Right Text Card (Inner) */
.pregnancy-spa-card {
    width: 100%;
    background: #ffffff;
    padding: 30px;
    border-radius: 30px;
    box-shadow:
        0 0 25px rgba(139, 123, 181, 0.2),
        /* Added surrounding glow */
        0 8px 30px rgba(139, 123, 181, 0.1),
        0 20px 50px -10px rgba(196, 187, 224, 0.4),
        0 30px 60px -15px rgba(240, 214, 230, 0.3);
}

.pregnancy-spa-content p {
    color: #555555;
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: 1.5px;
    margin: 0;
    text-align: justify;
}

/* Read More Link */
.pregnancy-read-more {
    display: block;
    text-align: center;
    color: #888888;
    font-size: 14px;
    letter-spacing: 2px;
    text-decoration: none;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.pregnancy-read-more:hover {
    color: #8B7BB5;
}

.pregnancy-read-more .arrow {
    font-size: 10px;
    margin-left: 5px;
    color: #888888;
}

/* Responsive */
@media (max-width: 900px) {
    .pregnancy-spa-section {
        padding: 30px 0 60px;
    }

    .pregnancy-spa-container {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    /* Show title at container level on mobile */
    .pregnancy-spa-title {
        display: block;
        order: 1;
        width: 100%;
        padding-left: 0;
        margin-bottom: 20px;
    }

    /* Image comes after title */
    .pregnancy-spa-image {
        order: 2;
        margin-right: 0;
        max-width: 70%;
    }

    /* Text wrapper comes last - overlaps image */
    .pregnancy-spa-text-wrapper {
        order: 3;
        max-width: 85%;
        width: 85%;
        margin-top: -40px;
        position: relative;
        z-index: 5;
    }

    /* Hide the pseudo-element title on mobile */
    .pregnancy-spa-text-wrapper::before {
        display: none;
    }

    .pregnancy-spa-card {
        padding: 30px 25px;
        border-radius: 20px;
        box-shadow:
            0 0 30px rgba(139, 123, 181, 0.25),
            0 10px 40px rgba(196, 187, 224, 0.35),
            0 20px 50px -10px rgba(240, 214, 230, 0.4);
    }

    .pregnancy-spa-bg-decor {
        display: none;
    }
}

@media (max-width: 480px) {
    .pregnancy-spa-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .pregnancy-spa-content p {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* ========================================
   Beauty Skincare - Why Skincare Section
   (美容護膚 - 為什麼需要護膚)
======================================== */
.skincare-why-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.skincare-why-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Left Image */
.skincare-why-image {
    flex: 1;
    max-width: 55%;
    margin-right: -60px;
    position: relative;
    z-index: 1;
}

.skincare-why-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Right Text Column Wrapper */
.skincare-why-text-wrapper {
    flex: 1;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Title Styles */
.skincare-why-title {
    color: #8B7BB5;
    font-size: 28px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    font-weight: 300;
    letter-spacing: 4px;
    margin: 0 0 30px 0;
    text-align: center;
    position: relative;
    padding-left: 40px;
}

/* Right Text Card */
.skincare-why-card {
    width: 100%;
    background: #ffffff;
    padding: 30px;
    border-radius: 30px;
    box-shadow:
        0 0 25px rgba(139, 123, 181, 0.2),
        0 8px 30px rgba(139, 123, 181, 0.1),
        0 20px 50px -10px rgba(196, 187, 224, 0.4),
        0 30px 60px -15px rgba(240, 214, 230, 0.3);
}

.skincare-why-content p {
    color: #555555;
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: 1.5px;
    margin: 0;
    text-align: justify;
}

.skincare-why-content p+p {
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 900px) {
    .skincare-why-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .skincare-why-image {
        margin-right: 0;
        max-width: 100%;
    }

    .skincare-why-text-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .skincare-why-title {
        padding-left: 0;
    }

    .skincare-why-card {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .skincare-why-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .skincare-why-content p {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* ========================================
   Skincare Zone Section Styles
   (護膚專區 - 產品服務介紹)
======================================== */
.skincare-zone-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.skincare-zone-title {
    color: #8B7BB5;
    font-size: 28px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    font-weight: 500;
    letter-spacing: 10px;
    text-align: center;
    margin: 0 0 40px 0;
}

/* Navigation Container */
.skincare-zone-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

/* Navigation Arrows */
.skincare-nav-arrow {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.skincare-nav-arrow:hover {
    transform: scale(1.1);
}

.skincare-nav-arrow .arrow-icon {
    display: none;
}

/* Left Arrow (Previous) */
.skincare-nav-prev::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 14px solid #8B7BB5;
}

/* Right Arrow (Next) */
.skincare-nav-next::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid #8B7BB5;
}

/* Tabs Wrapper */
.skincare-tabs-wrapper {
    flex: 1;
    overflow: hidden;
}

.skincare-tabs {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    transition: transform 0.3s ease;
}

/* Tab Buttons */
.skincare-tab {
    padding: 15px 35px;
    border: 1px solid #C4BBD9;
    background: linear-gradient(to right, #F0DCE8, #D8D0E8);
    color: #777777;
    font-size: 16px;
    letter-spacing: 3px;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.skincare-tab:hover {
    background: #ffffff;
    border-color: #B5AAD0;
}

.skincare-tab.active {
    background: #ffffff;
    border-color: #C4BBD9;
    color: #666666;
}

/* Product Content Container */
.skincare-zone-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Product Item */
.skincare-product {
    display: none;
    gap: 50px;
    align-items: flex-start;
    padding: 30px;
    border: 2px solid transparent;
    border-image: linear-gradient(to right, #D4A5C9, #B5AAD0) 1;
    background: #ffffff;
}

.skincare-product.active {
    display: flex;
}

/* Product Image Container */
.skincare-product-image {
    flex-shrink: 0;
    width: 280px;
    position: relative;
    margin: -30px 0 -30px -30px;
}

.skincare-product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

/* Purple label at bottom */
.skincare-product-label {
    background: linear-gradient(to right, #F5E8F0, #E8E0F0);
    color: #8B7BB5;
    font-size: 18px;
    letter-spacing: 4px;
    padding: 15px 25px;
    margin: 0 0 0 -2px;
    text-align: center;
    border: 2px solid transparent;
    border-image: linear-gradient(to right, #D4A5C9, #B5AAD0) 1;
}

/* Product Text */
.skincare-product-text {
    flex: 1;
    padding-top: 20px;
}

.skincare-product-desc {
    color: #555555;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.8;
    letter-spacing: 1.5px;
    margin: 0 0 20px 0;
    text-align: justify;
    padding-bottom: 20px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #D4A5C9, #B5AAD0) 1;
}

.skincare-product-suitable {
    color: #8B7BB5;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.8;
    letter-spacing: 1px;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 28px;
    margin-bottom: -32px;
}

/* Skincare Zone Responsive */
@media (max-width: 900px) {
    .skincare-zone-nav {
        gap: 10px;
    }

    .skincare-tabs {
        gap: 8px;
    }

    .skincare-tab {
        padding: 10px 18px;
        font-size: 14px;
    }

    .skincare-zone-content {
        padding: 0 20px;
    }

    .skincare-product {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding-top: 30px;
    }

    .skincare-product-image {
        width: 300px;
        margin: 0;
    }

    .skincare-product-text {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 600px) {

    /* Mobile Overlap Styles */
    .skincare-product {
        padding-top: 30px;
    }

    .skincare-product-image {
        width: calc(100% + 60px);
        max-width: none;
        margin-left: -30px;
        margin-right: -30px;
        margin-top: -30px;
        margin-bottom: 20px;
    }

    .skincare-product-text {
        width: 100%;
        box-sizing: border-box;
    }

    .skincare-zone-title {
        font-size: 24px;
        letter-spacing: 6px;
        margin-bottom: 30px;
    }

    .skincare-zone-nav {
        padding: 0 15px;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .skincare-tabs-wrapper {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .skincare-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .skincare-tabs::-webkit-scrollbar {
        display: none;
    }

    .skincare-tab {
        padding: 10px 18px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .skincare-nav-arrow {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .skincare-nav-prev::before {
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 11px solid #8B7BB5;
    }

    .skincare-nav-next::before {
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 11px solid #8B7BB5;
    }

    .skincare-product-desc {
        font-size: 14px;
        line-height: 2;
    }

    .skincare-product-suitable {
        font-size: 14px;
    }
}

/* ========================================
   SPA Service Section Styles (SPA按摩頁面)
======================================== */
.spa-service-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.spa-service-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Left Image Wrapper */
.spa-service-image-wrapper {
    flex-shrink: 0;
    max-width: 380px;
}

.spa-service-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right Text Content */
.spa-service-text {
    flex: 1;
    max-width: 550px;
    padding-top: 20px;
}

.spa-service-desc {
    color: #555555;
    font-size: 20px;
    line-height: 2.2;
    letter-spacing: 1.5px;
    margin: 40px 0 30px 0;
    text-align: justify;
}

/* Highlighted Text with Underline */
.spa-service-highlight {
    color: #B5AAD0;
    font-size: 20px;
    line-height: 2;
    letter-spacing: 1.5px;
    margin: 0;
    text-decoration: underline;
    text-decoration-color: #B5AAD0;
    text-underline-offset: 4px;
}

/* SPA Service Section Responsive */
@media (max-width: 900px) {
    .spa-service-container {
        flex-direction: column;
        align-items: center;
        gap: 0px;
        padding: 0 20px;
    }

    .spa-service-image-wrapper {
        max-width: 320px;
    }

    .spa-service-text {
        max-width: 100%;
        padding: 0 15px;
    }

    .spa-service-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .spa-service-image-wrapper {
        max-width: 280px;
    }

    .spa-service-text {
        padding: 0 25px;
        max-width: 90%;
        margin: 0 auto;
    }

    .spa-service-desc {
        font-size: 16px;
        font-weight: 300;
        line-height: 2;
        color: #555555;
        margin-bottom: 20px;
    }

    .spa-service-highlight {
        font-size: 16px;
        font-weight: 300;
        color: #8B7BB5;
    }
}

/* ========================================
   SPA Text-Only Section Styles (純文字區塊)
======================================== */
.spa-text-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.spa-text-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.spa-text-title {
    color: #8B7BB5;
    font-size: 28px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    font-weight: 500;
    letter-spacing: 10px;
    text-align: center;
    margin: 0 0 40px 0;
}

.spa-text-desc {
    color: #555555;
    font-size: 20px;
    line-height: 2.2;
    letter-spacing: 1.5px;
    margin: 0 0 30px 0;
    text-align: justify;
}

.spa-text-highlight {
    color: #B5AAD0;
    font-size: 20px;
    line-height: 2;
    letter-spacing: 1.5px;
    margin: 0;
    text-decoration: underline;
    text-decoration-color: #B5AAD0;
    text-underline-offset: 4px;
}

.spa-text-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
}

/* SPA Text Section Responsive */
@media (max-width: 900px) {
    .spa-text-container {
        padding: 0 30px;
    }

    .spa-text-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .spa-text-container {
        padding: 0 25px;
        max-width: 90%;
        margin: 0 auto;
    }

    .spa-text-title {
        font-size: 22px;
        letter-spacing: 6px;
        margin-bottom: 30px;
    }

    .spa-text-desc {
        font-size: 16px;
        font-weight: 300;
        line-height: 2;
        color: #555555;
        margin-bottom: 20px;
    }

    .spa-text-highlight {
        font-size: 16px;
        font-weight: 300;
        color: #8B7BB5;
    }
}

/* ========================================
   Contact Page - Phone Block Styles
======================================== */
.contact-banner {
    position: relative;
}

.contact-phone-block {
    position: absolute;
    left: 180px;
    top: 57%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-phone-label {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #D8B4D8 0%, #F5B5C0 50%, #E8A8A8 100%);
    border-radius: 50px;
    padding: 8px 40px 8px 8px;
    border: 2px solid #C4B0D8;
}

.phone-icon-circle {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
}

.phone-label-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 12px;
    margin-left: 20px;
}

.contact-phone-number {
    color: #8B7BB5;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone-number:hover {
    color: #F5B5C0;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-phone-block {
        left: 58%;
        top: 76%;
        transform: translate(-50%, -50%);
        align-items: center;
        width: 100%;
    }

    .contact-social-block {
        right: auto;
        left: 60%;
        bottom: auto;
        top: 62.5%;
        transform: translate(-50%, -50%);
        width: auto;
    }

    .phone-icon-circle {
        width: 40px;
        height: 40px;
    }

    .phone-label-text {
        font-size: 18px;
        letter-spacing: 8px;
        margin-left: 15px;
    }

    .contact-phone-number {
        font-size: 20px;
        letter-spacing: 5px;
    }
}

@media (max-width: 480px) {
    .contact-phone-block {
        left: 50%;
    }

    .contact-phone-label {
        padding: 6px 25px 6px 6px;
    }

    .phone-icon-circle {
        width: 32px;
        height: 32px;
    }

    .phone-label-text {
        font-size: 14px;
        letter-spacing: 6px;
        margin-left: 10px;
    }

    .contact-phone-number {
        font-size: 14px;
        letter-spacing: 3px;

    }
}

/* Contact Social Icons */
.contact-social-block {
    position: absolute;
    right: 29%;
    bottom: 23%;
    display: flex;
    gap: 15px;
}

.contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
}

/* IG icon 使用方形圓角 */
.contact-social-icon[aria-label="Instagram"] {
    border-radius: 10px;
}

.contact-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Social Responsive */
@media (max-width: 768px) {
    .contact-social-block {
        right: 30px;
        bottom: 50px;
    }

    .contact-social-icon {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .contact-social-block {
        right: 20px;
        bottom: 30px;
        gap: 10px;
    }

    .contact-social-icon {
        width: 32px;
        height: 32px;
    }
}

/* ========================================
   News Page Styles (最新消息頁面)
======================================== */
.news-page-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

/* Category Scroll Wrapper */
.news-category-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-category-scroll-view {
    overflow: hidden;
    /* Hide scrollbar by default, buttons control it */
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Category Tabs */
.news-category-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    width: 100%;
}

.news-cat-tab {
    color: #8B7BB5;
    font-size: 16px;
    font-family: 'Songti TC', 'Noto Serif TC', serif;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 8px 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.news-cat-tab:hover {
    color: #6B5B95;
}

.news-cat-tab.active {
    color: #6B5B95;
    font-weight: 600;
}

.news-cat-separator {
    color: #8B7BB5;
    font-size: 16px;
    opacity: 0.6;
}

/* News Category Nav Buttons (Mobile Only) */
.news-cat-nav {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: none;
    /* Default hidden */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    padding: 0;
}

.news-cat-nav:hover {
    transform: scale(1.1);
}

.news-cat-prev::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #8B7BB5;
}

.news-cat-next::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #8B7BB5;
}


/* News Grid Container */
.news-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* News Grid Card */
.news-grid-card {
    background: #ffffff;
    border: 1px solid #8B7BB5;
    border-radius: 20px;
    padding: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-grid-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
    /* Make link fill the card height */
}

/* Card Image */
.news-grid-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 5px;
    /* Optional: Slight radius for image if needed, or keep sharp as per design? Screenshot shows slight radius maybe? */
}

/* ... existing image styles ... */
.news-grid-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-grid-card:hover .news-grid-card-image img {
    transform: scale(1.05);
}

.news-grid-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(139, 123, 181, 0.85);
    /* Slightly lighter purple for tag */
    color: #ffffff;
    font-size: 13px;
    padding: 6px 16px;
    /* Larger padding for tag */
    border-radius: 0;
    /* Square tag in screenshot? Or standard? Screenshot has square-ish? Actually looks like the demo image has a pink box label overlayed on image. My implementation uses absolute div. I'll keep it but maybe remove border-radius if design implies. */
    letter-spacing: 1px;
}

/* Card Content */
.news-grid-card-content {
    padding: 20px 0 10px;
    /* Removed side padding to align with image */
}

/* ... existing content styles ... */
.news-grid-date {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
    color: #8B7BB5;
    border-bottom: 1px solid #8B7BB5;
    /* Matches the underline design in screenshot? */
    display: inline-flex;
    /* To wrap strictly around content? Screenshot shows line under date specifically? */
    padding-bottom: 5px;
}

/* Wait, in screenshot, date is block with line. Title is separate. Layout is Side-by-Side? User said "Other don't change".
   So I will STICK to vertical stack but just align spacing.
   I will ONLY change the CARD CONTAINER padding/radius.
*/


/* Read More - Push to bottom right */
.news-grid-readmore {
    padding: 10px 15px 0;
    text-align: right;
    color: #999999;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-top: auto;
}

.news-grid-readmore .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #999999;
    margin-left: 5px;
    vertical-align: middle;
}

/* Pagination Dots */
.news-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dddddd;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.page-dot.active {
    background: #8B7BB5;
}

.page-dot:hover {
    background: #B5AAD0;
}

/* News Page Responsive */
@media (max-width: 900px) {
    .news-grid-container {
        padding: 0 20px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-page-section {
        padding: 40px 0 60px;
    }

    .news-category-wrapper {
        padding: 0 25px;
        /* Reserve space for absolute arrows */
        margin: 0 auto 30px;
        gap: 0;
        max-width: 85%;
        width: 100%;
        position: relative;
        /* Anchor for absolute arrows */
        display: block;
        /* Reset from flex */
        box-sizing: border-box;
    }

    /* Scroll View */
    .news-category-scroll-view {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 5px;
        white-space: nowrap;
        /* Ensure items stay in one line */
    }

    .news-cat-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        z-index: 10;
        padding: 0;
        margin: 0;
    }

    /* Target specific arrows for positioning */
    .news-cat-prev {
        left: 5px;
        width: 30px;
        height: 30px;
    }

    .news-cat-next {
        right: 5px;
        width: 30px;
        height: 30px;
    }

    /* Hover effect needs to maintain vertical center */
    .news-cat-nav:hover {
        transform: translateY(-50%) scale(1.1);
    }

    /* Override arrow sizes for mobile - Equilateral Triangle */
    /* Side = 14px (7px top/bottom), Height = ~12px */
    .news-cat-prev::before {
        content: '';
        box-sizing: content-box;
        width: 0;
        height: 0;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-right: 12px solid #8B7BB5;
        border-left: 0;
    }

    .news-cat-next::before {
        content: '';
        box-sizing: content-box;
        width: 0;
        height: 0;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-left: 12px solid #8B7BB5;
        border-right: 0;
    }

    .news-category-scroll-view::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    /* Tabs nowrap on mobile */
    .news-category-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: auto;
        /* Let it grow */
        padding: 0 5px;
    }

    .news-cat-tab {
        font-size: 14px;
        padding: 6px 10px;
        flex-shrink: 0;
    }

    .news-cat-separator {
        font-size: 14px;
        flex-shrink: 0;
        margin: 0 2px;
    }

    /* Show Nav Buttons on Mobile/Tablet */
    .news-cat-nav {
        display: flex;
        /* Override display:none */
    }

    .news-pagination-dots {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {

    /* Show arrows on tablet too if not already handled */
    .news-cat-nav {
        display: flex;
    }
}

/* =========================================
   Single Post Page Styles
   ========================================= */
.single-post-section {
    padding: 60px 20px 100px;
    background-color: #fff;
}

.single-post-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header & Meta */
.entry-header {
    margin-bottom: 40px;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.entry-meta {
    font-size: 16px;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-category {
    color: #9F80AD;
    font-weight: 500;
}

.meta-separator {
    color: #ccc;
}

.entry-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Content */
.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 60px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Back Button */
.single-post-footer {
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.btn-back-news {
    display: inline-block;
    padding: 12px 40px;
    background-color: #9F80AD;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-back-news:hover {
    background-color: #8a6a9b;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .single-post-section {
        padding: 40px 20px 80px;
    }

    .entry-title {
        font-size: 24px;
    }

    .entry-content {
        font-size: 16px;
    }
}

/* =========================================
   Redesigned Single Post Page Styles
   ========================================= */

/* Full Width Banner Link */
.banner-link {
    display: block;
    width: 100%;
    line-height: 0;
    /* Remove potential bottom space */
}

.full-width-banner {
    width: 100%;
    height: auto;
    display: block;
}

/* Override specific single section padding if needed */
.single-post-section {
    padding-top: 40px;
    padding-bottom: 100px;
}

.single-post-container {
    max-width: 900px;
    /* Adjusted width */
    margin: 0 auto;
    padding: 0 20px;
}

/* Back Button */
.single-top-nav {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.back-btn-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    /* Dark grey text */
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.back-btn-link:hover {
    opacity: 0.8;
}

.back-btn-icon {
    width: 90px;
    height: auto;
    margin-right: 0;
    max-width: none;
    /* Prevent global max-width from constraining it */
    display: block;
}

.back-btn-text {
    line-height: 1;
}

/* Breadcrumbs */
.single-breadcrumbs {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 50px;
    /* Space before content */
    flex-wrap: wrap;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    color: #2F5C96;
    /* Blue link color similar to screenshot */
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-link.home-icon svg {
    margin-right: 5px;
    width: 16px;
    height: 16px;
    stroke-width: 2px;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-current {
    color: #666;
    font-weight: normal;
}

/* Article Header */
.entry-header {
    border-bottom: none;
    /* Removed line */
    margin-bottom: 40px;
    text-align: left;
    padding-bottom: 0;
}

.article-category-label {
    display: inline-block;
    border: 1px solid #E58E5D;
    /* Orange border */
    color: #E58E5D;
    /* Orange text */
    padding: 6px 16px;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

.entry-title {
    font-size: 32px;
    /* Large title */
    color: #555;
    /* Greyish title */
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

/* Article Content */
.entry-content {
    font-size: 16px;
    color: #444;
    /* Standard text color */
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 24px;
    text-align: justify;
    /* Ensure clean block text */
}

/* Remove old single-post-footer if styles persist, or just ensure no conflict */
.single-post-footer {
    display: none;
    /* We removed the HTML but just in case */
}

/* Responsive */
@media (max-width: 768px) {
    .entry-title {
        font-size: 26px;
    }

    .single-breadcrumbs {
        margin-bottom: 30px;
    }
}