/**
 * 华旗大酒店 - 网站样式表
 * HUAQI Hotel Website Stylesheet
 */

/* ==================== 全局样式 ==================== */
:root {
    --color-gold: #D4AF37;
    --color-gold-light: #E5C158;
    --color-gold-dark: #B8941F;
    --color-dark: #1a1a2e;
    --color-dark-light: #16213e;
    --color-gray: #2d3047;
    --color-text-light: #f8f9fa;
    --color-text-gray: #adb5bd;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', 'Playfair Display', serif;
    background-color: var(--color-dark);
    color: var(--color-text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* ==================== 导航栏 ==================== */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.logo-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-gold);
}

/* Logo图片样式 */
.logo-image-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-gold);
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.navbar-brand:hover .logo-image-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    border-color: var(--color-gold-light);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
}

.brand-name-en {
    font-size: 0.75rem;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    color: var(--color-text-gray) !important;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-nav .nav-link .nav-text {
    display: block;
    font-size: 0.95rem;
}

.navbar-nav .nav-link .nav-text-en {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.btn-booking {
    background: var(--color-gold) !important;
    color: var(--color-dark) !important;
    border: none;
    padding: 0.7rem 2rem !important;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-booking:hover {
    background: var(--color-gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* ==================== Hero区域 ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.3), rgba(26, 26, 46, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.hero-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo-text {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-gold);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    padding: 1rem 3rem;
    background: var(--color-gold);
    color: var(--color-dark);
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--color-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    color: var(--color-dark);
}

.btn-secondary-custom {
    padding: 1rem 3rem;
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-custom:hover {
    background: var(--color-gold);
    color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* ==================== 区块标题 ==================== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--color-dark);
}

.section-light {
    background: var(--color-dark-light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-title .subtitle {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title .divider {
    width: 100px;
    height: 3px;
    background: var(--color-gold);
    margin: 1.5rem auto;
}

/* ==================== 卡片样式 ==================== */
.card-custom {
    background: var(--color-gray);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--color-gold);
}

.card-custom .card-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.card-custom .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.card-custom .card-text {
    color: var(--color-text-gray);
    line-height: 1.8;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--color-dark-light);
    border-top: 2px solid var(--color-gold);
    padding: 60px 0 20px;
}

.logo-circle-footer {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Footer Logo图片样式 */
.logo-image-wrapper-footer {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-gold);
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image-footer {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.2rem;
}

.footer-brand-en {
    font-size: 0.75rem;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.footer-description {
    color: var(--color-text-gray);
    margin: 1rem 0;
    line-height: 1.8;
}

.footer-trademark {
    font-size: 0.85rem;
    color: var(--color-text-gray);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.footer-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 0.8rem;
}

.footer-links,
.footer-contact,
.footer-hours {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: start;
    margin-bottom: 1rem;
    color: var(--color-text-gray);
}

.footer-contact i {
    color: var(--color-gold);
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: var(--color-text-gray);
}

.footer-hours strong {
    color: var(--color-text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-gold);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-text-gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--color-text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--color-gold);
}

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: var(--color-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-gold-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.8rem 1rem !important;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 60px;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .hero-logo-text {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        max-width: 300px;
    }
    
    .section {
        padding: 60px 0;
    }
}
