/* 主要橫幅區域 - 響應式滿版 */
.hero {
    margin-top: 0;
    width: 100vw;
    height: 100vh;
    min-height: 60vh;
    background: #000;
    padding: 0;
    position: relative;
}

.hero-content {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 輪播圖樣式 - 響應式高度 */
.hero-slider {
    position: relative;
    width: 100vw;
    height: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background-color: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 簡化的 slide 結構 */
.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide.active {
    display: block;
}

/* 滿版優先，維持比例但會裁切 */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    outline: none;
}

/* 備用內容 */
.fallback-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a7c59, #6b8e23);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 指示點 */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.6);
}

.dot.active,
.dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.9);
}



/* More 按鈕樣式 */
.about-more {
    margin-top: 2rem;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(45deg, #4a7c59, #6b8e23);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(74, 124, 89, 0.3);
    border: 2px solid transparent;
}

.more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(74, 124, 89, 0.4);
    background: linear-gradient(45deg, #5a8c69, #7b9e33);
    border-color: rgba(168, 213, 170, 0.3);
}

.more-btn:active {
    transform: translateY(0);
}

.more-text {
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.more-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.more-btn:hover .more-icon {
    transform: translateX(3px);
}

/* 響應式設計更新 - 根據螢幕寬度調整高度 */
@media (max-width: 1200px) {
    .hero {
        height: 75vh;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .slider-dots {
        bottom: 30px;
        gap: 15px;
    }

    .dot {
        width: 15px;
        height: 15px;
        border-width: 2px;
    }

    .about-more {
        text-align: center;
        margin-top: 1.5rem;
    }

    .more-btn {
        font-size: 0.9rem;
        padding: 0.45rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 300px;
    }

    .slider-dots {
        bottom: 25px;
        gap: 12px;
    }

    .dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .more-btn {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        gap: 0.6rem;
    }

    .more-icon {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .hero {
        height: 55vh;
        min-height: 250px;
    }
}

/* 關於 W.H窩 區域 */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fdf9 0%, #ffffff 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23e8f5e8" opacity="0.3"/><circle cx="80" cy="40" r="0.3" fill="%23d4f1d4" opacity="0.4"/><circle cx="40" cy="80" r="0.4" fill="%23c8ecc8" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 3fr; /* 文字2份，圖片3份 */
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    padding: 1.5rem;
}

.about-text h2 {
    font-size: 1.8rem;
    color: #2c5530;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(44, 85, 48, 0.1);
}

.about-text h3 {
    font-size: 1.2rem;
    color: #4a7c59;
    margin-bottom: 0.4rem;
    font-weight: 500;
    line-height: 1.4;
}

.about-text .subtitle {
    font-size: 0.85rem;
    color: #6b8e23;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0.8;
}

.description p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
    font-weight: 400;
    text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.05);
}

.description p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: #4a7c59;
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 85, 48, 0.25);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-image .fallback-content {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #6b8e23, #4a7c59);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}


/* 平板尺寸調整 */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1.5fr;
        gap: 2.5rem;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    .about-text h3 {
        font-size: 1.1rem;
    }

    .description p {
        font-size: 0.9rem;
    }

    .about-image img,
    .about-image .fallback-content {
        height: 380px;
    }

}

/* 小平板響應式 */
@media (max-width: 900px) {

}


/* 響應式設計 */
@media (max-width: 768px) {
    .about-section {
        padding: 2.5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text {
        order: 1;
        padding: 0.5rem 1rem;
        text-align: center;
    }

    .about-image {
        order: 2;
        margin: 0;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .about-text .subtitle {
        margin-bottom: 1.2rem;
    }

    .description p {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 0.8rem;
    }

    .about-image img,
    .about-image .fallback-content {
        height: 350px;
    }

}

@media (max-width: 480px) {
    .about-section {
        padding: 2rem 0;
    }

    .about-content {
        gap: 1rem;
    }

    .about-text {
        padding: 0.5rem;
    }

    .about-text h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }

    .about-text h3 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .about-text .subtitle {
        font-size: 0.9rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    .description p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.6rem;
    }

    .about-image img,
    .about-image .fallback-content {
        height: 300px;
    }

}

/* 新增更小螢幕的優化 */
@media (max-width: 360px) {
    .about-section {
        padding: 1.5rem 0;
    }

    .about-content {
        gap: 0.8rem;
    }

    .about-text {
        padding: 0.3rem;
    }

    .about-image img,
    .about-image .fallback-content {
        height: 280px;
    }
}