* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif !important;
}

html, body {
    overflow: hidden;
    line-height: 1.6;
    color: #333;
}

.scroll-container {
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.full-screen-section {
    width: 100%;
    height: 100vh !important;
    min-height: 100vh !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    padding-bottom: 80px !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title span {
    display: block;
    color: #b8860b;
    font-size: 14px;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
}

.section-title.light h2 {
    color: #fff;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(249, 249, 233, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #b8860b;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/首頁.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-container {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    z-index: 10;
}

.hero-main-title {
    font-size: 50px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.2;
    letter-spacing: 2px;
    animation: slideUp 1.5s ease-out forwards;
    transform: translateY(50px);
    opacity: 0;
}

.hero-subtitle {
    font-size: 30px;
    font-weight: normal;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 2px;
    opacity: 0.95;
    animation: slideUp 1.8s ease-out forwards;
    transform: translateY(50px);
    opacity: 0;
}

.scroll-down {
    position: absolute !important;
    bottom: 70px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999999 !important;
    text-decoration: none !important;
    cursor: pointer;
    animation: simpleFloat 1.8s ease-in-out infinite;
    pointer-events: auto !important;
    width: 50px;
    height: 50px;
}

.scroll-down .icon {
    font-size: 40px !important;
    color: #b8860b !important;
    transition: all 0.3s ease;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.hero .scroll-down .icon {
    color: #ffffff !important;
}

.scroll-down:hover .icon {
    color: #d4a520 !important;
    transform: scale(1.1);
}

@keyframes simpleFloat {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.content-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 17px;
    color: #555;
}

.dark-section {
    background: #1a1a1a;
    color: #fff;
}

.facilities-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.facility-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 200px;
    transition: all 0.3s ease;
}

.facility-card:hover {
    border-color: #b8860b;
    transform: translateY(-5px);
}

.facility-card .icon {
    width: 40px;
    height: 40px;
    fill: #b8860b;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.footer-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #b8860b;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info .whatsapp-link {
    color: #25D366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .whatsapp-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

.disclaimer {
    margin-top: 25px;
    padding: 20px 0;
    text-align: left;
    color: #999;
    font-size: 12px;
    line-height: 1.6;
    border-top: 1px solid #333;
    max-width: 90%;
    margin: 25px auto 0;
}

.disclaimer p {
    margin: 0 0 8px 0;
}

.disclaimer p:first-child {
    font-weight: bold;
    color: #ccc;
    margin-bottom: 10px;
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

.about-section {
    background-color: rgb(255, 252, 214);
}

.project-overview-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    width: 100%;
    margin-bottom: 20px;
}

.overview-text {
    flex: 0 0 45%;
    min-width: 300px;
}

.overview-title {
    font-size: 30px;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 12px;
    text-align: left;
    font-weight: bold;
}

.title-line {
    width: 80px;
    height: 4px;
    background-color: rgb(77, 36, 15);
    margin-bottom: 30px;
}

.overview-table {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px 10px;
    font-size: 16px;
    color: #555;
}

.table-label {
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
    font-size: 16px;
    text-align: left;
}

.table-value {
    font-size: 16px;
    letter-spacing: 1px;
    color: black;
    text-align: left;
    white-space: nowrap;
}

.overview-image {
    flex: 0 0 55%;
    min-width: 300px;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    max-height: 300px;
}

#location.location-section,
#education.location-section {
    background-color: rgb(255, 252, 214);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#location .geo-layout,
#education .geo-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 40px !important;
    align-items: center !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#location .geo-text-wrapper,
#education .geo-text-wrapper {
    flex: 4 !important;
    min-width: unset !important;
    padding: 20px 0;
}

#location .geo-main-title,
#education .geo-main-title {
    font-size: 40px;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 12px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#location .geo-title-line,
#education .geo-title-line {
    width: 80px;
    height: 4px;
    background-color: rgb(77, 36, 15);
    margin-bottom: 30px;
}

#location .geo-desc,
#education .geo-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 1px;
}

#location .geo-image-wrapper,
#education .geo-image-wrapper {
    flex: 6 !important;
    min-width: unset !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#clubhouse.location-section {
    background-color: rgb(255, 252, 214);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#clubhouse .geo-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 50px !important;
    align-items: center !important;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

#clubhouse .geo-text-wrapper {
    flex: 5 !important;
    min-width: unset !important;
    padding: 30px 40px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#clubhouse .geo-main-title {
    font-size: 40px;
    letter-spacing: 3px;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
    font-weight: bold;
    line-height: 1.3;
}

#clubhouse .geo-title-line {
    width: 100px;
    height: 4px;
    background-color: rgb(77, 36, 15);
    margin-bottom: 35px;
}

#clubhouse .geo-desc {
    font-size: 16px !important;
    color: #333;
    line-height: 2.0 !important;
    margin: 0;
    letter-spacing: 1.2px;
    text-align: justify;
    word-break: break-word;
}

#clubhouse .geo-image-wrapper {
    flex: 7 !important;
    min-width: unset !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.geo-main-img-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.geo-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.geo-thumb-box {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 5px;
}

.geo-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.geo-thumb.active {
    opacity: 1;
    border-color: #C82C2C;
    transform: scale(1.05);
}

.geo-thumb:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.viewer-main-img {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
}

.viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-nav i {
    font-size: 30px;
    color: #fff;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.viewer-nav:hover i {
    color: #b8860b;
}

.viewer-prev {
    left: 20px;
}

.viewer-next {
    right: 20px;
}

.viewer-thumbnails {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    overflow-x: auto;
    padding: 10px 0;
}

.viewer-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.viewer-thumb.active {
    opacity: 1;
    border-color: #b8860b;
    transform: translateY(-5px);
}

.viewer-thumb:hover {
    opacity: 0.9;
}

.animate-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-container.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-container.animated .animate-item:nth-child(1) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.animate-container.animated .animate-item:nth-child(2) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

#overviewMainImage {
    cursor: pointer;
    transition: transform 0.3s ease;
}

#overviewMainImage:hover {
    transform: scale(1.02);
}

.geo-main-img, .main-image {
    transition: opacity 0.5s ease, transform 0.3s ease;
}

.scroll-down, .icon, .animate-container, .animate-item {
    will-change: transform, opacity;
    transform: translateZ(0);
}

img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
    }

    .nav-menu {
        display: none !important;
    }

    .hero-main-title {
        font-size: 12vw;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 5vw;
        letter-spacing: 0.5px;
    }

    .scroll-down {
        bottom: 160px !important;
        width: 40px !important;
        height: 40px !important;
        z-index: 999999 !important;
    }

    .scroll-down .icon {
        font-size: 30px !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }

    .about-section {
        padding: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .project-overview-container {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 1200px !important;
    }

    .overview-text, .overview-image {
        flex: 1 !important;
        min-width: unset !important;
        width: 100% !important;
    }

    .overview-title {
        font-size: 20px !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
    }

    .title-line {
        width: 60px !important;
    }

    .overview-table {
        grid-template-columns: 95px 1fr !important;
        gap: 10px 10px !important;
        width: 100% !important;
    }

    .table-label {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: unset !important;
        padding-right: 5px !important;
        font-size: 11px !important;
    }

    .table-value {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: unset !important;
        font-size: 11px !important;
    }

    .overview-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 5px !important;
    }

    .overview-image {
        width: 100% !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .main-image {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        object-fit: cover !important;
        max-height: none !important;
    }

    #location .geo-layout,
    #education .geo-layout,
    #clubhouse .geo-layout {
        flex-direction: column !important;
        gap: 20px !important;
        padding-bottom: 40px !important;
    }

    #location .geo-text-wrapper,
    #education .geo-text-wrapper,
    #clubhouse .geo-text-wrapper {
        flex: 1 !important;
        padding: 0 !important;
    }

    #location .geo-main-title,
    #education .geo-main-title {
        font-size: 20px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        letter-spacing: 1px !important;
    }

    #clubhouse .geo-main-title {
        font-size: 22px !important;
        letter-spacing: 2px;
        white-space: nowrap !important;
    }

    #clubhouse .geo-desc {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }

    .geo-thumb-box {
        margin-top: 10px !important;
    }

    .geo-thumb {
        width: 60px;
        height: 60px;
    }

    .geo-title-line {
        width: 60px;
    }

    .viewer-nav i {
        font-size: 24px !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }

    .viewer-close {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }

    .viewer-thumb {
        width: 60px;
        height: 60px;
    }

    .viewer-main-img {
        max-width: 95%;
        max-height: 65vh;
    }

    .disclaimer {
        font-size: 11px;
        padding: 15px 0;
    }

    .fa-solid, .fa-brands {
        display: inline-block !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }

    .fa-brands {
        font-family: "Font Awesome 6 Brands" !important;
    }
}

.contact-info i {
    font-size: 18px !important;
    color: #b8860b !important;
    width: 25px !important;
    display: inline-block !important;
    margin-right: 8px !important;
    text-align: center !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

@media (max-width: 768px) {
    .contact-info i {
        font-size: 16px !important;
        width: 22px !important;
    }
}