/* Restaurant page layout */
.restaurant-page {
    padding-top: 60px;
    background-color: #fff;
}

/* Restaurant banner section */
.restaurant-banner {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.restaurant-banner h1 {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.restaurant-banner p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Restaurant grid layout */
.restaurant-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.restaurant-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.restaurant-card:hover {
    transform: translateY(-5px);
}

.restaurant-image {
    height: 250px;
    overflow: hidden;
}

.restaurant-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.restaurant-content {
    padding: 20px;
}

.restaurant-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.restaurant-content h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.restaurant-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.restaurant-content strong {
    color: #e67e22;
}

.read-more {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #666;
}

/* Add new styles */
.full-width {
    grid-column: 1 / -1;
}

.full-width .restaurant-image img {
    height: 400px;
}

/* Restaurant sections layout */
.restaurant-sections {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.restaurant-section {
    margin-bottom: 100px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* 餐厅标题区域 */
.restaurant-header {
    padding: 40px;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    color: white;
}

.restaurant-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.restaurant-address {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 10px;
}

.restaurant-address strong {
    color: #e67e22;
}

/* 图片画廊新样式 */
.image-gallery {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

/* 大图样式 */
.gallery-image.featured {
    grid-column: span 8;
    grid-row: span 2;
}

/* 中图样式 */
.gallery-image.medium {
    grid-column: span 4;
    grid-row: span 1;
}

/* 小图样式 */
.gallery-image.small {
    grid-column: span 4;
    grid-row: span 1;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

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

/* 悬停效果 */
.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-image:hover::before {
    opacity: 1;
}

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

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

.gallery-image {
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .image-gallery {
        column-count: 3;
    }
}

@media screen and (max-width: 768px) {
    .image-gallery {
        column-count: 2;
    }
}

@media screen and (max-width: 480px) {
    .image-gallery {
        column-count: 1;
    }
}