* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c41e3a;
    --secondary-color: #8b0000;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-bg: #fff9f0;
    --gradient-start: #c41e3a;
    --gradient-end: #8b0000;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.9), rgba(139, 0, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-size: 200px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 24px;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

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

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.about {
    padding: 100px 0;
    background: white;
}

.about-intro {
    font-size: 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: #555;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fff, #fff9f0);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(196, 30, 58, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(196, 30, 58, 0.2);
}

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

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

.feature p {
    color: #666;
    font-size: 16px;
}

.about-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vision-item {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.vision-item:hover {
    transform: scale(1.05);
}

.vision-item h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.vision-item p {
    font-size: 18px;
    opacity: 0.95;
}

.products, .stores, .culture {
    padding: 100px 0;
}

.products {
    background: linear-gradient(180deg, #fff, var(--light-bg));
}

.stores {
    background: white;
}

.stores-count {
    text-align: center;
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-weight: 500;
}

.products-main {
    margin-bottom: 50px;
}

.products-subtitle {
    text-align: center;
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.product-card.featured {
    background: linear-gradient(135deg, white, #fff9f0);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.12);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.product-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.2);
    border-color: var(--accent-color);
}

.product-card.featured h4 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 12px;
}

.product-card.featured .tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-card.featured p {
    color: #555;
    line-height: 1.7;
}

.products-side {
    margin-bottom: 50px;
}

.hot-dishes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dish-item {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.08);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-color);
}

.dish-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.15);
    background: linear-gradient(135deg, white, #fff9f0);
}

.dish-item .dish-name {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 8px;
}

.dish-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.stores-intro {
    margin-bottom: 50px;
}

.store-timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding-left: 40px;
}

.store-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.15);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item .year {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
}

.timeline-item .event {
    color: #555;
    font-size: 15px;
}

.timeline-item.highlight {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.timeline-item.highlight .year {
    background: white;
    color: var(--primary-color);
}

.timeline-item.highlight .event {
    color: white;
    font-weight: 500;
}

.culture-desc {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 17px;
    color: #555;
    line-height: 1.9;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.08);
}

.products-gallery {
    position: relative;
}

.products-gallery .grid-sizer,
.products-gallery .gallery-item {
    width: calc(33.333% - 10px);
}

.products-gallery .gutter-sizer {
    width: 15px;
}

.products-gallery .gallery-item {
    position: absolute;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    min-height: 200px;
}

.products-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.products-gallery .gallery-item:hover {
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.25);
}

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

.stores-gallery {
    position: relative;
}

.stores-gallery .grid-sizer,
.stores-gallery .gallery-item {
    width: calc(33.333% - 10px);
}

.stores-gallery .gutter-sizer {
    width: 15px;
}

.stores-gallery .gallery-item {
    position: absolute;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    min-height: 200px;
}

.stores-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.stores-gallery .gallery-item:hover {
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.25);
}

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

.gallery-item-sp> img {
    width: 100%
}

.gallery:not(.stores-gallery) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery:not(.stores-gallery) .gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery:not(.stores-gallery) .gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.gallery:not(.stores-gallery) .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery:not(.stores-gallery) .gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0), rgba(139, 0, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery:not(.stores-gallery) .gallery-item:hover::after {
    opacity: 1;
}

.gallery-normal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.gallery-normal div img {
    width: 100%;
}

.gallery-normal .gallery-item {
    width: 80%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-normal .gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.gallery-normal .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-normal .gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0), rgba(139, 0, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.culture {
    background: linear-gradient(180deg, var(--light-bg), #fff);
}

.culture-section {
    margin-bottom: 80px;
}

.culture-section h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.culture-section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    margin: 10px auto 0;
}

.footer {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand h3 {
    font-size: 36px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 18px;
    opacity: 0.9;
}

.footer-links h4,
.footer-info h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-info p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.back-to-top {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        font-size: 16px;
        padding: 15px 20px;
        border-radius: 0;
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

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

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

    .about-intro {
        font-size: 16px;
    }

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

    .product-card.featured {
        padding: 25px 20px;
    }

    .product-card.featured h4 {
        font-size: 20px;
    }

    .hot-dishes-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dish-item {
        padding: 15px;
    }

    .products-subtitle {
        font-size: 22px;
    }

    .products-gallery .grid-sizer,
    .products-gallery .gallery-item {
        width: 100%;
    }

    .products-gallery .gutter-sizer {
        width: 0;
    }

    .store-timeline {
        padding-left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .timeline-item::before {
        left: -22px;
    }

    .culture-desc {
        font-size: 15px;
        padding: 20px;
    }

    .gallery:not(.stores-gallery) {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .gallery-normal .gallery-item {
        width: 95%;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .footer-brand h3 {
        font-size: 28px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }

    .hero h1 {
        font-size: 28px;
    }

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

    .gallery:not(.stores-gallery) {
        grid-template-columns: 1fr;
    }

    .gallery-normal .gallery-item {
        width: 100%;
    }

    .stores-gallery .grid-sizer,
    .stores-gallery .gallery-item {
        width: 100%;
    }

    .stores-gallery .gutter-sizer {
        width: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .footer-links ul li {
        margin-bottom: 0;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

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

    .products-gallery .grid-sizer,
    .products-gallery .gallery-item {
        width: calc(50% - 7.5px);
    }

    .products-gallery .gutter-sizer {
        width: 15px;
    }

    .stores-gallery .grid-sizer,
    .stores-gallery .gallery-item {
        width: calc(50% - 7.5px);
    }

    .stores-gallery .gutter-sizer {
        width: 15px;
    }
}

@media (min-width: 1025px) {
    .products-gallery .grid-sizer,
    .products-gallery .gallery-item {
        width: calc(33.333% - 10px);
    }

    .products-gallery .gutter-sizer {
        width: 15px;
    }

    .stores-gallery .grid-sizer,
    .stores-gallery .gallery-item {
        width: calc(33.333% - 10px);
    }

    .stores-gallery .gutter-sizer {
        width: 15px;
    }
}