/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #fffef0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Main Container - Fixed Width */
.main-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background-color: #FFFADB;
    border: 2px solid #a8d8ea;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 0;
}

/* Header Styles */
header {
    text-align: center;
    padding: 30px 20px 20px;
    border-bottom: 2px solid #3DBBD8;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-frame {
    width: 100%;
    height: 215px;  
    transform: none !important;
}


.logo-image {
    display: center;
    max-width: 300px;
    height: auto;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-btn {
    background-color: white;
    color: #97795D;
    padding: 12px 30px;
    border-radius: 0;
    border: 2px solid #3DBBD8;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: inline-block;
}

.nav-btn:hover {
    background-color: #a8d8ea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-color: #7ab8cc;
}

.nav-btn.active {
    background-color: #a8d8ea;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-color: #67cdf2;
}

/* Hero Section */
.hero-section {
    padding: 30px 20px;
    border-bottom: 2px solid #a8d8ea;
}

.hero-fixed {
    height: 500px; /* 你要多高都行 */
    background-image: url("../image/main.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; 
    /* background-attachment: fixed; ⭐ 固定在屏幕 */
}



/* Section Headers */
.section-header {
    text-align: center;
    margin: 50px 0 30px;
}

.section-btn {
    display: inline-block;
    background-color: #a8d8ea;
    color: white;
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* News Section */
.news-section {
    padding: 0 20px 50px;
    border-bottom: 2px solid #a8d8ea;
    
}

.news-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.news-image {
    flex: 0 0 300px;
    transform: rotate(-0.5deg);
}

.news-image img {
    width: 100%;
    height: 260px;              /* 图片高度 */
    object-fit: cover;

    border-radius: 8px;
    box-shadow: none;
}



.news-list {
    flex: 1;
}

.news-item {
    margin-bottom: 25px;
    padding-left: 30px;
    position: relative;
}

.news-star {
    position: absolute;
    left: 0;
    top: 0;
    color: #a8d8ea;
    font-size:18px;
}

.news-date {
    font-weight: bold;
    color: #5a4a3a;
    margin-bottom: 8px;
    font-size: 15px;
}

.news-text {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.news-decoration {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    font-style: italic;
}

/* Menu Section */
.menu-section {
    padding: 0 20px 50px;
    position: relative;
    border-bottom: 2px solid #a8d8ea;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.menu-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.menu-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 15px;
}

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

.menu-item:hover .menu-image img {
    transform: scale(1.05);
}

.menu-title {
    font-size: 16px;
    font-weight: bold;
    color: #5a4a3a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.menu-description {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

.menu-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ffeb3b;
    color: #5a4a3a;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    top: 0;
    left: 0;
}

.decoration-bread,
.decoration-dog {
    position: absolute;
    max-width: 80px;
    height: auto;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.decoration-bread.bread1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.decoration-bread.bread2 {
    bottom: 15%;
    right: 8%;
    animation-delay: 1.5s;
}

.decoration-dog {
    top: 50%;
    right: 3%;
    max-width: 100px;
    animation-delay: 0.75s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Address Section */
.address-section {
    padding: 0 20px 50px;
}

.address-content {
    margin-top: 30px;
}

.map-wrapper {
    border: 4px solid #3DBBD8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    display: block;
}

.address-info-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.address-info-box {
    flex: 1;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8ddd0 100%);
    border: 3px solid #3DBBD8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.8),
        0 2px 8px rgba(0,0,0,0.1);
    background-image: 
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 15px 15px;
}

.address-title {
    font-size: 24px;
    font-weight: bold;
    color: #5a4a3a;
    margin-bottom: 20px;
    text-align: center;
}

.address-details {
    color: #5a4a3a;
    font-size: 14px;
    line-height: 2;
}

.address-details p {
    margin-bottom: 10px;
}

.address-details strong {
    font-weight: bold;
}

.access-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(90,74,58,0.2);
}

.business-hours {
    text-align: center;
}

.hours-mascot {
    margin-top: 20px;
    width: 100px;
    height: auto;
}


.hours-bubble {
    background-color: white;
    border: 3px solid #3DBBD8;
    border-radius: 30px;
    padding: 20px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.hours-bubble::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid white;
}

.hours-label {
    font-size: 14px;
    color: #5a4a3a;
    margin-bottom: 8px;
    font-weight: bold;
}

.hours-time {
    font-size: 18px;
    color: #5a4a3a;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #8b6f47;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer p {
    font-size: 14px;
    letter-spacing: 1px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-content {
        flex-direction: column;
    }
    
    .news-image {
        flex: 1 1 auto;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .address-info-wrapper {
        flex-direction: column;
    }
    
    .main-nav {
        gap: 10px;
    }
    
    .nav-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

