/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #1a1a1a;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 69, 0, 0.05) 0%, transparent 50%);
}

/* 装饰性灯笼 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100"><text x="20" y="50" font-size="30" fill="%23e74c3c">🏮</text><text x="80" y="30" font-size="25" fill="%23ff4500">🏮</text><text x="140" y="60" font-size="28" fill="%23e74c3c">🏮</text></svg>') repeat-x;
    opacity: 0.6;
    z-index: -1;
    animation: lanternSway 8s ease-in-out infinite;
}

@keyframes lanternSway {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(231, 76, 60, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
}

.nav-logo h2 {
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.nav-menu a:hover {
    color: #e74c3c;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主页横幅 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(51, 51, 51, 0.8) 100%),
                url('Photos/Comedor.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #e74c3c;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 旋转寿司带动画 */
.sushi-belt {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    gap: 100px;
}

.sushi-item {
    font-size: 3rem;
    opacity: 0.7;
}



@keyframes moveBelt {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}



@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 菜单部分 */
.menu-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Photos/Comedor.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.menu-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.menu-section h2::before {
    content: '🏮';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: lanternGlow 3s ease-in-out infinite;
}

.menu-section h2::after {
    content: '🏮';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: lanternGlow 3s ease-in-out infinite 1.5s;
}

@keyframes lanternGlow {
    0%, 100% { opacity: 0.7; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
    background: #e74c3c;
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.menu-item {
    background: #000000;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    transition: left 0.5s;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(231, 76, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(231, 76, 60, 0.6);
}

.menu-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.menu-item-image {
    font-size: 4rem;
    margin-bottom: 1rem;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    gap: 5px;
}

.menu-item-image img {
    flex: 1;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.menu-item-image img:only-child {
    width: 100%;
}

.menu-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.menu-item p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
}

/* 关于我们部分 */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(26, 26, 26, 0.85) 100%),
                url('Photos/entrega.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: rotate 3s ease-in-out infinite;
}

.feature:nth-child(1) .feature-icon {
    animation-delay: 0s;
}

.feature:nth-child(2) .feature-icon {
    animation-delay: 1s;
}

.feature:nth-child(3) .feature-icon {
    animation-delay: 2s;
}

.feature:nth-child(4) .feature-icon {
    animation-delay: 3s;
}

.feature:nth-child(5) .feature-icon {
    animation-delay: 4s;
}

.feature:nth-child(6) .feature-icon {
    animation-delay: 5s;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.feature p {
    color: #ccc;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chef-illustration {
    font-size: 15rem;
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
}

/* 联系我们部分 */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Photos/entrega.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(231, 76, 60, 0.6);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(231, 76, 60, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-item p {
    color: #ccc;
}



/* 地图容器样式 */
.map-container {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.map-container:hover {
    border-color: rgba(231, 76, 60, 0.6);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(231, 76, 60, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.map-container h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.map-container iframe {
    transition: all 0.3s ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}

/* 页脚 */
.footer {
    background: rgba(42, 42, 42, 0.8);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: #e74c3c;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    background: #1a1a1a;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chef-illustration {
        font-size: 8rem;
    }
    
    .menu-categories {
        justify-content: center;
    }
    
    .category-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .menu-section h2,
    .about-text h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item,
.contact-item,
.feature {
    animation: fadeInUp 0.6s ease forwards;
}

.menu-item:nth-child(2) {
    animation-delay: 0.1s;
}

.menu-item:nth-child(3) {
    animation-delay: 0.2s;
}

.menu-item:nth-child(4) {
    animation-delay: 0.3s;
}

.menu-item:nth-child(5) {
    animation-delay: 0.4s;
}

.menu-item:nth-child(6) {
    animation-delay: 0.5s;
}

.menu-item:nth-child(7) {
    animation-delay: 0.6s;
}

.menu-item:nth-child(8) {
    animation-delay: 0.7s;
}

.menu-item:nth-child(9) {
    animation-delay: 0.8s;
}

.menu-item:nth-child(10) {
    animation-delay: 0.9s;
}

.menu-item:nth-child(11) {
    animation-delay: 1.0s;
}

.menu-item:nth-child(12) {
    animation-delay: 1.1s;
}

.menu-item:nth-child(13) {
    animation-delay: 1.2s;
}

.menu-item:nth-child(14) {
    animation-delay: 1.3s;
}

.menu-item:nth-child(15) {
    animation-delay: 1.4s;
}

.menu-item:nth-child(16) {
    animation-delay: 1.5s;
}

.menu-item:nth-child(17) {
    animation-delay: 1.6s;
}

.menu-item:nth-child(18) {
    animation-delay: 1.7s;
}

.menu-item:nth-child(19) {
    animation-delay: 1.8s;
}

.menu-item:nth-child(20) {
    animation-delay: 1.9s;
}

.menu-item:nth-child(21) {
    animation-delay: 2.0s;
}