/* 棲雲行館 Cloud Haven Resort & Spa - 旗艦版樣式表 */

:root {
    --brand-bg: #F5F5F0;      /* 晨霧白 */
    --brand-primary: #2C3E2D; /* 松針深綠 */
    --brand-accent: #8B7355;  /* 黃銅原木 */
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --section-padding: 120px;
}

body {
    font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    background-color: var(--brand-bg);
    color: var(--brand-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

/* 導覽列樣式 */
.navbar {
    background-color: rgba(44, 62, 45, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.2rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-light) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 15px;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--brand-accent) !important;
}

/* 按鈕樣式 */
.btn-brand {
    background-color: var(--brand-accent);
    color: white;
    border: none;
    border-radius: 2px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.btn-brand:hover {
    background-color: #725e46;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline-brand {
    border: 1px solid var(--brand-accent);
    color: var(--brand-accent);
    border-radius: 2px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-brand:hover {
    background-color: var(--brand-accent);
    color: white;
}

/* Section 呼吸感 */
section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

/* Hero 區塊 */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    letter-spacing: 5px;
}

/* 智慧查房吧 */
.booking-bar {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 30px;
    z-index: 100;
}

.booking-bar label {
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.booking-bar .form-control, .booking-bar .form-select {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 2px;
    padding: 12px;
}

/* 卡片樣式 */
.card {
    border: none;
    border-radius: 2px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* 表單極簡設計 */
.minimal-form .form-control, .minimal-form .form-select {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background: transparent;
    padding: 15px 0;
    transition: border-color 0.3s ease;
}

.minimal-form .form-control:focus {
    box-shadow: none;
    border-color: var(--brand-accent);
}

/* 視差滾動輔助 */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 頁尾 */
footer {
    background-color: var(--brand-primary);
    color: rgba(255, 255, 255, 0.5);
    padding: 100px 0 50px;
}

footer h5 {
    color: white;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--brand-accent);
}

/* 響應式調整 */
@media (max-width: 992px) {
    :root { --section-padding: 80px; }
    .hero-content h1 { font-size: 2.5rem; }
    .booking-bar {
        position: relative;
        bottom: 0;
        transform: none;
        left: 0;
        width: 100%;
        margin-top: -40px;
        background: var(--brand-primary);
    }
}
