html{ font-size: 12px;}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: rgb(255, 252, 239);
    line-height: 1.75;
}

a{
    text-decoration: none;
}

a:hover {
    color: #ca9c6a;
}


html[lang="zh"] body {
    font-family: 'Noto Sans TC', sans-serif;
}


.top-banner {
    width: 100%;
    height: 35vh;
    position: relative;
    overflow: hidden;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s ease-in-out forwards;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: block;
    align-items: center;
    justify-content: center;
    padding-top: 8vh;
}


.banner-title {
    font-family: 'Lato', sans-serif;
    color: rgb(255, 255, 255);
    opacity: 0;
    text-transform: uppercase;
    letter-spacing: 0.7ch;
    animation: fadeIn 1s ease-in-out 0.5s forwards;
    letter-spacing: 0ch;
    font-size: 3vh;
    text-align: center;
    margin: 60px 0 10px;
    opacity: 0;
    animation: fadeUp 1s 1.5s forwards;
}

.banner-subtitle {
    color: rgb(255, 255, 255);
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.5s forwards;
    letter-spacing: 0.2ch;
    font-size: 2vh;
    text-align: center;
    font-style: italic;
    opacity: 0;
    animation: fadeUp 1.2s 2s forwards;

}
html[lang="en"] .banner-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 0ch;
    line-height: 2.5ch;
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.article-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.column {
    flex-basis: calc(50% - 20px);
    margin-bottom: 20px;
}


.column h2,h3 {
    font-size: 2rem;
    text-align: left;
    color: #ca9c6a;
    transition: color 0.3s ease;
    letter-spacing: 3px;
    position: relative; 
    padding-bottom: 2px;   
    margin-bottom: 10px; 
    overflow: hidden; 
    display: flex;
    line-height: 2ch;
    opacity: 0; 
    animation: fadeUp 1.5s 1s forwards; 
}

.column p,li{
    font-size: 1.2vh;
    text-align:justify;
}

.column h2:hover, h3:hover {
    color: #876745;
    transition: color 0.3s ease;
    transform: scale(1.05);
}

.column h2::after, h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #876745;
    opacity: 40%;
    transform: translateX(-100%);
    animation: drawLine 1s 2s forwards;
}

.bottomlogan {
    font-family: 'Noto Serif TC', serif;
    font-size: 2vh;
    text-align: center;
    opacity: 0;
    animation: fadeUp 1.5s forwards; 
    line-height: 2.5ch;
}

strong{
    color: #ca9c6a;
}

html[lang="zh"] strong{
    letter-spacing: .2ch;
    margin-left: .2ch;
}

html[lang="en"] .column h2, .bottomlogan {
    font-family: 'Lato', sans-serif;
    font-weight:700;
    letter-spacing: 0;
    
    font-stretch: narrower;
}

@keyframes drawLine {
    to {
        transform: translateX(0);
        /* End at full width */
    }
}





/* image-container */

.image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 300px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

.image-container:hover .image-overlay {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.alt-text {
    position: absolute;
    left: 0%; 
    transform: translateX(-50%) translateY(100%);
    bottom: 0;
    text-align: left;
    width: auto;
    background-color: rgba(202, 156, 106, 0.6);
    color: white;
    padding: 5px 20px;
    border-radius: 3px 3px 0 0;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    letter-spacing: 2;
}

.image-container:hover .alt-text {
    opacity: 1;
    transform: translateX(0) translateY(-100%);
}

.image-container:hover .color-filter {
    opacity: 0.5;
}



/* service list */

.servicelist {
    list-style-type: square;
    margin-left: -20px;
}

.servicelist strong {
    color: #ca9c6a;
}

.servicelist li {
    font-size: 1.2vh;
}

.servicelist_corp {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Create two equal columns */
    list-style-type: none; /* Remove default list styles */
    padding: 0; /* Remove padding */
    margin: 10 0 0 0; /* Remove margin */
    margin-left: 1vw;
}
.servicelist_corp strong {
    color: #ca9c6a;
}
.servicelist_corp li {
    flex: 1 0 50%; /* Each item takes up 50% of the width */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    padding: 0; /* Optional: add some padding */
    font-size: 1.2vh;
}


/* check list*/


.checklist-box {
    border: 4px double #ca9c6a;
    padding: 20px 30px 20px 30px;
    margin-top: 30px;
}

.checklist-box h2 {
    color: #ca9c6a;
    text-align: center;
    margin: 0px;
}

.checklist {
    list-style-type: none;
    padding: 0;
}

.checklist li {
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    letter-spacing: 0ch;
}

.checklist li input[type="checkbox"] {
    margin-right: 10px;
}

.spaceforbottom {
    height:10px; margin-bottom: 100px;
}

@media (max-width: 768px) {
    body{font-size: 16px;}

    .content-wrapper {
        padding: 0px;
    }

    .column {
        flex-basis: 100%;
    }

    .column h2,h3 {
        font-size: 2.5vh;
        text-align: center;
        margin: 20px 20px 10px;
        line-height: 3vh;
    }

    .column p, li {
        font-size: 1.8vh;
        margin: 0px 5px 10px 5px;
        line-height: 3ch;
        margin: 10px;
    }
    .column li{
        margin: 0px 0px 5px 0px;
    }
    .image-container {
        width: 100vw;
        margin-left: 0;
        margin-right: 0;
        height: 50vw;
    }

    .top-banner {
        height: 50vh;
    }
    .banner-title {
        font-size: 3vh;
        margin: 12vh 20px 5px;
    }

    .banner-subtitle {
        font-size: 2vh;
        margin: 0 2vh;
    }

    .servicelist li, .checklist li {
        font-size: 1.7vh;
        margin: 0;
    }
    
    .checklist-box {
        padding: 10px 5px;
        margin: 0 5px;
    }
    
    .servicelist_corp li {
        font-size: 1.7vh;

    }

    .break {
        display: block;
        margin: -10px 0;
    }

    .bottomlogan {
        font-size: 5vw;
        height: 80px;
        line-height: 5vh;
    }
    .spaceforbottom{
        display:none;
    }
}