/* ========== 基础重置 ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #D4A574;
    --primary-dark: #C49464;
    --primary-light: #E8C9A8;
    --secondary: #5A9367;
    --accent: #E8D4B8;
    --text: #4A4A4A;
    --text-light: #777777;
    --bg: #FFFFFF;
    --bg-light: #FBF9F7;
    --bg-warm: #FFF8F0;
    --white: #ffffff;
    --border: #EDE8E0;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans JP', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
}

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

a:hover {
    color: var(--primary);
}

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

ul {
    list-style: none;
}

/* ========== 语言切换 ========== */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 5px;
    background: rgba(255,255,255,0.98);
    padding: 6px;
    border-radius: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    border-radius: 20px;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-light);
}

.lang-btn:hover {
    background: var(--bg-light);
    color: var(--text);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

/* ========== 通用类 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 20px auto 0;
    border-radius: 2px;
}

.bg-light {
    background: var(--bg-light);
}

.bg-warm {
    background: var(--bg-warm);
}

/* ========== 按钮 ========== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
    color: var(--white);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}

/* ========== 导航栏 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: var(--transition);
    border-radius: 1px;
}

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

.nav-link:hover {
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ========== Hero 区域 ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.35) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 45px;
    opacity: 0.95;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
    font-weight: 400;
}

.hero .btn-white {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background: rgba(255,255,255,0.5);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.1);
}

/* ========== Page Header ========== */
.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-light) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--text);
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ========== 特色 ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 45px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3.2rem;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========== 房间卡片 ========== */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.room-image {
    height: 280px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.08);
}

.room-info {
    padding: 30px;
}

.room-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 600;
}

.room-capacity {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 15px;
    font-weight: 500;
}

.room-info > p:last-child {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.room-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.room-features ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.room-features li {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========== 图片画廊 ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== 设施 ========== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.facility-group {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.facility-group:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.facility-group h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
    font-weight: 600;
}

.facility-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.facility-group li {
    color: var(--text-light);
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.facility-group li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ========== 交通 ========== */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.access-address {
    margin-bottom: 35px;
    background: var(--bg-warm);
    padding: 25px;
    border-radius: var(--radius);
}

.access-info h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 600;
}

.access-info p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.access-routes {
    margin-top: 35px;
}

.route-list {
    margin: 20px 0 30px;
}

.route-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.route-station, .route-dest {
    font-weight: 500;
    color: var(--text);
}

.route-time {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--bg-warm);
    padding: 5px 12px;
    border-radius: 15px;
}

.access-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.access-map iframe {
    display: block;
}

/* ========== 周边 ========== */
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.nearby-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.nearby-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.nearby-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.nearby-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 15px;
    font-weight: 600;
}

.nearby-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========== 联系 ========== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--bg-warm);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--text);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-cta {
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--accent) 100%);
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-cta p {
    margin-bottom: 30px;
    color: var(--text);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 页脚 ========== */
.footer {
    background: linear-gradient(135deg, #4A4A4A 0%, #3A3A3A 100%);
    color: var(--white);
    padding: 70px 0 35px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ========== Lightbox ========== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 45px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-light);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 35px;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 25px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
    color: var(--primary-light);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .access-map {
        order: -1;
    }
}

@media (max-width: 768px) {
    .lang-switcher {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 25px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 45px;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .nearby-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
