/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --light-gold: #F4E4C1;
    --dark-gold: #B8941E;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --text-dark: #2C2C2C;
    --text-gray: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(212, 175, 55, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 24px;
    color: var(--primary-gold);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.logo .subtitle {
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 1px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
}

/* ==================== 首页横幅 ==================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1540541338287-41700207dee6?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(212, 175, 55, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--primary-gold);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 介绍部分 ==================== */
.intro-section {
    padding: 120px 0;
    background: var(--off-white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.golden-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 0 auto 40px;
}

.intro-text {
    font-size: 18px;
    line-height: 2;
    color: var(--text-gray);
    font-weight: 300;
}

/* ==================== 酒店列表 ==================== */
.hotels-section {
    padding: 120px 0;
    background: var(--white);
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.hotel-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.hotel-card[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease forwards;
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-hover);
}

.hotel-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.hotel-card:hover .hotel-image img {
    transform: scale(1.1);
}

.hotel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hotel-card:hover .hotel-overlay {
    opacity: 1;
}

.view-details {
    padding: 15px 40px;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details:hover {
    background: var(--dark-gold);
    transform: scale(1.05);
}

.hotel-info {
    padding: 40px;
}

.hotel-name {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hotel-location {
    font-size: 16px;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hotel-rating {
    margin-bottom: 20px;
}

.hotel-rating span {
    color: var(--primary-gold);
    font-size: 18px;
    letter-spacing: 2px;
}

.hotel-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.hotel-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hotel-features li {
    font-size: 14px;
    color: var(--text-gray);
    padding-left: 25px;
    position: relative;
}

.hotel-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 16px;
}

/* ==================== 特色服务 ==================== */
.features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--off-white) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-item[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease forwards;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ==================== 联系我们 ==================== */
.contact-section {
    padding: 120px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-list strong {
    color: var(--primary-gold);
    display: inline-block;
    width: 80px;
}

.contact-list span {
    color: var(--text-gray);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.submit-button {
    padding: 18px 40px;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* ==================== 页脚 ==================== */
.footer {
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 20px;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #cccccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-gold);
}

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

.footer-bottom p {
    font-size: 14px;
    color: #999999;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .hotels-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .hotels-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .hotel-features {
        grid-template-columns: 1fr;
    }
}

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

    .logo h1 {
        font-size: 18px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .hotel-name {
        font-size: 24px;
    }

    .hotel-image {
        height: 250px;
    }
}

/* ==================== 动画延迟 ==================== */
[data-aos="fade-up"] {
    animation-delay: 0.1s;
}

[data-aos-delay="100"] {
    animation-delay: 0.2s;
}

[data-aos-delay="200"] {
    animation-delay: 0.3s;
}

[data-aos-delay="300"] {
    animation-delay: 0.4s;
}

/* ==================== 酒店详情弹窗 ==================== */
.hotel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hotel-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hotel-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.modal-header-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.modal-location {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.modal-rating {
    color: var(--primary-gold);
    font-size: 20px;
    letter-spacing: 2px;
}

.modal-body {
    padding: 40px;
}

.modal-section {
    margin-bottom: 35px;
}

.modal-section h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gold);
}

.modal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.modal-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.modal-features li {
    font-size: 15px;
    color: var(--text-gray);
    padding: 10px 15px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-features li:hover {
    background: var(--light-gold);
    transform: translateX(5px);
}

.modal-facilities {
    display: grid;
    gap: 15px;
}

.facility-item {
    padding: 15px;
    background: var(--off-white);
    border-radius: 10px;
    border-left: 3px solid var(--primary-gold);
}

.facility-item strong {
    color: var(--primary-gold);
    font-size: 16px;
}

.facility-item span {
    color: var(--text-gray);
    font-size: 15px;
    display: block;
    margin-top: 5px;
}

.modal-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--light-gold), var(--off-white));
    border-radius: 15px;
}

.modal-price,
.modal-contact {
    text-align: center;
}

.price-label,
.contact-label {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

.contact-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-book,
.btn-inquiry {
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-book {
    background: var(--primary-gold);
    color: var(--white);
}

.btn-book:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-inquiry {
    background: var(--white);
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-inquiry:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* 弹窗响应式 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        height: 200px;
    }

    .modal-header-info h2 {
        font-size: 24px;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-section h3 {
        font-size: 20px;
    }

    .modal-features {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }

    .price-value {
        font-size: 24px;
    }

    .contact-value {
        font-size: 18px;
    }
}

/* 滚动条样式 */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gold);
}
