/* Variables */
:root {
    --primary-color: #b99d6d;
    /* Classic Gold */
    --primary-hover: #9e8455;
    --dark-bg: #111111;
    --dark-bg-alt: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #a3a3a3;
    --text-gray-dark: #666666;
    --border-color: rgba(185, 157, 109, 0.3);
    --transition: all 0.5s ease-in-out;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif TC', serif;
    color: var(--text-white);
    background-color: var(--dark-bg);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', 'Noto Serif TC', serif;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 150px 0;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white) !important;
}

.text-gray {
    color: var(--text-gray) !important;
}

.text-gray-dark {
    color: var(--text-gray-dark) !important;
}

.max-w-md {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Design Elements */
.section-title-sm {
    display: block;
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title-sm.dark {
    color: #444;
}

.gold-line {
    width: 60px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 25px 0 35px;
}

.gold-line.dark-bg {
    background-color: #333;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom-color: var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 4px;
}

.logo span {
    font-size: 0.8rem;
    color: var(--text-white);
    letter-spacing: 6px;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    color: var(--text-white);
    letter-spacing: 2px;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-outline.dark {
    border-color: #333;
    color: #333;
}

.btn-outline.dark:hover {
    background: #111;
    color: white;
    border-color: #111;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
    border: 1px solid var(--primary-color);
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 50px;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: 5rem;
    color: white;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.scroll-down {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    color: var(--primary-color);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-down i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* Concept Section */
.concept {
    background-color: var(--dark-bg);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.concept-text h2 {
    font-size: 3.5rem;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    letter-spacing: 2px;
}

.concept-images {
    position: relative;
}

.img-main {
    width: 85%;
    margin-left: auto;
}

.img-sub {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 50%;
    border: 15px solid var(--dark-bg);
}

/* Facilities Section */
.facilities {
    background-color: var(--dark-bg-alt);
    padding-top: 150px;
}

.facilities-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.facilities-carousel {
    display: flex;
    overflow-x: hidden;
    margin-top: 80px;
}

.facility-item {
    flex: 0 0 33.333%;
    position: relative;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
}

.facility-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
    filter: grayscale(40%) brightness(0.6);
}

.facility-item:hover .facility-bg {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(0.8);
}

.facility-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    transition: var(--transition);
}

.facility-item:hover .facility-content {
    transform: translateY(0);
}

.facility-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.facility-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.facility-item:hover .facility-content p {
    opacity: 1;
}

/* Floorplan Section */
.floorplan {
    background-color: #ffffff;
    /* Contrast white section */
    color: #111111;
}

.floorplan h2 {
    font-size: 3rem;
    color: #111111;
}

.plan-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-top: 80px;
}

.plan-info h3 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.plan-specs {
    margin-bottom: 40px;
}

.spec-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}

.spec-row span:first-child {
    font-weight: 500;
    width: 100px;
    color: #888888;
    letter-spacing: 2px;
}

.spec-row span:last-child {
    font-weight: 400;
    letter-spacing: 1px;
}

.plan-desc {
    color: #666666;
    line-height: 2;
}

.plan-image img {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Contact Section & Form */
.contact-section {
    position: relative;
    padding: 150px 0;
    background-image: linear-gradient(rgba(17, 17, 17, 0.85), rgba(17, 17, 17, 0.95)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-wrapper {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(185, 157, 109, 0.2);
    padding: 60px 50px;
    width: 600px;
    max-width: 90%;
    margin: 0 auto;
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
}

.vip-form {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    letter-spacing: 1px;
    outline: none;
    transition: var(--transition);
}

.form-group select {
    color: var(--text-gray);
}

.form-group select option {
    background: var(--dark-bg);
    color: white;
}

.form-group input:focus,
.form-group select:focus {
    border-bottom-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 100px 0 30px;
}

.footer-logo {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.footer-logo span {
    font-size: 0.9rem;
    color: var(--text-white);
    letter-spacing: 6px;
    margin-left: 10px;
}

.footer-info p {
    color: var(--text-gray);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.copyright {
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Animations Trigger Classes */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 1024px) {
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .img-sub {
        width: 60%;
    }

    .facility-item {
        flex: 0 0 100%;
        height: 400px;
    }

    .facilities-carousel {
        flex-direction: column;
    }

    .plan-showcase {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 40px 25px;
    }

    .section-padding {
        padding: 100px 0;
    }
}