﻿/* 自定義導航按鈕樣式 */
.custom-swiper-button-prev,
.custom-swiper-button-next {
    width: 36px;
    height: 36px;
    background-color: #015E61;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

    .custom-swiper-button-prev:hover,
    .custom-swiper-button-next:hover {
        background-color: #013d3f;
        transform: scale(1.1);
    }

    .custom-swiper-button-prev i,
    .custom-swiper-button-next i {
        font-size: 20px;
        color: white;
    }

/* 禁用狀態 */
.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .custom-swiper-button-prev,
    .custom-swiper-button-next {
        width: 30px;
        height: 30px;
    }

        .custom-swiper-button-prev i,
        .custom-swiper-button-next i {
            font-size: 16px;
        }

    header p {
        font-size: 20px !important;
        margin: 0 20px !important;
    }
}
.portfolio {
    position: relative;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .portfolio::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.6); /* 調整這個透明度 */
        pointer-events: none;
        
    }
    .portfolio > .section-header {
        position: relative;
        z-index: 2;
    }

.record-content {
    color: black;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    max-height: 200px; /* 設定最大高度 */
    overflow-y: auto; /* 垂直捲軸 */
    padding: 15px;
    box-sizing: border-box;
}

    /* 美化捲軸 */
    .record-content::-webkit-scrollbar {
        width: 6px;
    }

    .record-content::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.1);
        border-radius: 3px;
    }

    .record-content::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.3);
        border-radius: 3px;
    }

        .record-content::-webkit-scrollbar-thumb:hover {
            background: rgba(0,0,0,0.5);
        }

/*
#service-highlights-container .swiper-slide {
    margin-right:25px !important;
}
#service-highlights-container .swiper-slide-active {
    width: 40% !important;
}
#service-highlights-container .swiper-slide-prev {
    width: 30% !important;
}
#service-highlights-container .swiper-slide-next {
    width: 30% !important;
}*/