/* 头部导航 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
}

.logo img {
    height: 64px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links>li {
    position: relative;
    margin-left: 36px;
}

.nav-links>li>a,
.nav-links .nav-title {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 0;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links>li>a:hover,
.has-dropdown:hover>.nav-title {
    color: #c52d2f;
}

.has-dropdown>.nav-title::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 10px;
    margin-top: -2px;
    border-right: 1.5px solid #999;
    border-bottom: 1.5px solid #999;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.has-dropdown:hover>.nav-title::after {
    border-color: #c52d2f;
    transform: rotate(225deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    background: #fff;
    border-radius: 14px;
    padding: 10px 0;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1200;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-size: 15px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f7f7f7;
    color: #c52d2f;
}

@media (min-width: 769px) {
    .has-dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        top: calc(100% + 6px);
    }

    .has-dropdown:hover>.nav-title::after {
        transform: rotate(225deg);
    }
}

.cta-button {
    background-color: #c52d2f;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #a82426;
    color: #fff !important;
}

.mobile-cta {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.mobile-cta .cta-button {
    padding: 12px 30px;
    font-size: 16px;
}

/* 汉堡按钮 */
.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
}

.hamburger span {
    position: absolute;
    left: 8px;
    width: 26px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 11px;
}

.hamburger span:nth-child(2) {
    top: 19px;
}

.hamburger span:nth-child(3) {
    top: 27px;
}

.hamburger.active span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

.nav-mask {
    display: none;
}

/* 英雄区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    padding-top: 90px;
    background: #000;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.hero-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.45));
    z-index: 1;
    pointer-events: none;
}

/* 视频控制条 */
.video-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.control-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    outline: none;
}

.control-btn svg {
    width: 20px;
    height: 20px;
    color: #fff;
    fill: #fff;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.08);
    border-color: #fff;
}

/* 特色区域 */
.features {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.feature-img {
    height: 200px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img img {
    transform: scale(1.08);
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.feature-content p {
    color: #777;
    margin-bottom: 15px;
}

.feature-content .cta-button {
    font-size: 14px;
    padding: 9px 18px;
}

/* 菜单预览 */
.menu-preview {
    padding: 80px 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.menu-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fff;
}

.menu-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.menu-item h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 20px;
}

.menu-item p {
    color: #777;
    margin-bottom: 10px;
}

.price {
    color: #c52d2f;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 预订区域 */
.reservation {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.68)),
        url('https://images.unsplash.com/photo-1559339352-11d035aa65de?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.reservation h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.reservation p {
    max-width: 600px;
    margin: 0 auto 30px;
}



/* 平板 */
@media (max-width: 1024px) {
    .nav-links>li {
        margin-left: 22px;
    }

    .hero {
        min-height: 560px;
    }

    .section-title h2,
    .reservation h2 {
        font-size: 2.2rem;
    }
}

/* 手机端 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        min-height: 76px;
    }

    .logo img {
        height: 48px;
    }

    .hamburger {
        display: block;
    }

    .nav-mask {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: block;
    }

    .nav-mask.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 84%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 92px 22px 30px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links>li {
        margin: 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .nav-links>li>a,
    .nav-links .nav-title {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        font-size: 17px;
    }

    .has-dropdown>.nav-title::after {
        width: 8px;
        height: 8px;
        margin-left: 0;
        margin-right: 2px;
        margin-top: -3px;
        border-right: 1.5px solid #999;
        border-bottom: 1.5px solid #999;
        transform: rotate(45deg);
    }

    .has-dropdown.active>.nav-title::after {
        transform: rotate(225deg);
    }

    .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        min-width: 100%;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0 0 10px 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .has-dropdown.active>.dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 0 10px 14px;
        font-size: 15px;
        color: #666;
        border-top: 1px dashed #f1f1f1;
    }

    .dropdown-menu a:hover {
        background: transparent;
        color: #c52d2f;
    }

    .mobile-cta {
        display: block;
        border-bottom: 0 !important;
        margin-top: 18px;
        padding-top: 8px;
    }

    .hero {
        height: 78vh;
        min-height: 460px;
        padding-top: 76px;
    }

    .video-controls {
        bottom: 18px;
        padding: 8px 14px;
        gap: 10px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .control-btn svg {
        width: 18px;
        height: 18px;
    }

    .features,
    .menu-preview,
    .reservation {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .section-title h2,
    .reservation h2 {
        font-size: 2rem;
    }

    .section-title p,
    .reservation p {
        font-size: 15px;
    }

    .menu-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .logo img {
        height: 42px;
    }

    .hero {
        height: 68vh;
        min-height: 400px;
    }

    .section-title h2,
    .reservation h2 {
        font-size: 1.75rem;
    }

    .features-grid,
    .menu-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-button {
        padding: 11px 22px;
        font-size: 14px;
    }

    .feature-img {
        height: 190px;
    }

    .menu-item img {
        height: 220px;
    }
}


/* 底部 */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #c52d2f;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #aaa;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.social-links a:hover {
    background-color: #c52d2f;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

.copyright a {
    color: #ddd;
}

.copyright a:hover {
    color: #fff;
    text-decoration: underline;
}

