/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
}

/* 全局圖片響應式控制 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f0f8ff;
    color: #333;
    overflow-x: hidden;
    position: relative;
    background-image: url('../images/restaurant-interior.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #005b96;
}

section {
    padding: 5rem 0;
    position: relative;
}

/* 背景动画效果 */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    display: none; /* 隐藏整个背景动画容器 */
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('../images/wave.svg');
    background-size: 1000px 100px;
    display: none; /* 隐藏波浪背景 */
}

.wave1 {
    animation: animate 30s linear infinite;
    z-index: 1000;
    opacity: 0.6;
    animation-delay: 0s;
    bottom: 0;
}

.wave2 {
    animation: animate2 15s linear infinite;
    z-index: 999;
    opacity: 0.4;
    animation-delay: -5s;
    bottom: 10px;
}

.wave3 {
    animation: animate 30s linear infinite;
    z-index: 998;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 15px;
}

.wave4 {
    animation: animate2 5s linear infinite;
    z-index: 997;
    opacity: 0.1;
    animation-delay: -5s;
    bottom: 20px;
}

@keyframes animate {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1000px;
    }
}

@keyframes animate2 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -1000px;
    }
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: #005b96;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #005b96;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #00a8e8;
}

.phone a {
    text-decoration: none;
    color: #005b96;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.phone a:hover {
    color: #00a8e8;
}

.phone i {
    margin-right: 5px;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: white;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

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

.hero h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff9500;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #ff7b00;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 浮动元素动画 */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    opacity: 0.7;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.fish1 {
    width: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.fish2 {
    width: 80px;
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

.shrimp {
    width: 70px;
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

.crab {
    width: 90px;
    top: 40%;
    right: 10%;
    animation-delay: -6s;
}

.lobster {
    width: 120px;
    bottom: 20%;
    right: 25%;
    animation-delay: -8s;
}

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

/* 关于我们 */
.about {
    background-color: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    color: #005b96;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #ff9500;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

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

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px 15px 15px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

/* 菜单部分 */
.menu {
    background-color: #f9f9f9;
}

.menu h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.menu-category {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.menu-category img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-category h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.menu-category p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

.menu-action {
    text-align: center;
}

.menu-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #005b96;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background-color: #00a8e8;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* 海鲜直送 */
.seafood {
    background-color: white;
}

.seafood h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.seafood-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.seafood-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.seafood-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* 用餐环境 */
.environment {
    background-color: #f9f9f9;
}

.environment h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.environment-slider {
    margin-bottom: 3rem;
    position: relative;
}

.slider-container {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 400px;
}

.slide {
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.environment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: #005b96;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* 预订部分 */
.reservation {
    background-color: white;
}

.reservation h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.reservation-content {
    display: flex;
    gap: 40px;
}

.reservation-form {
    flex: 1;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #005b96;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #00a8e8;
}

.reservation-info {
    flex: 1;
}

.reservation-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.reservation-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.reservation-info ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.reservation-info ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #005b96;
    font-size: 1.5rem;
    line-height: 1;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #005b96;
}

/* 联系我们 */
.contact {
    background-color: #f9f9f9;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: #005b96;
    margin-right: 15px;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-map {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 页脚 */
footer {
    background-color: #003b64;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-links {
    flex: 1;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-social {
    flex: 1;
}

.footer-social h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #00a8e8;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .reservation-content,
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    nav ul {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero h3 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .special-offer-content {
        flex-direction: column;
    }
    
    .special-offer h3,
    .video-section h3 {
        font-size: 1.8rem;
    }
    
    .video-container {
        padding-bottom: 65%; /* 調整手機版影片比例 */
    }
}

@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .menu-item {
        width: calc(50% - 20px);
    }
    
    .gallery-item {
        width: calc(33.33% - 20px);
    }
    
    .contact-form, .contact-info {
        width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    /* 生魚片特價區塊響應式 */
    .special-offer-content {
        gap: 20px;
    }
    
    .special-offer-image {
        flex: 0 0 40%;
    }
}

/* 特色菜品 */
.specialties {
    background-color: #f9f9f9;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.specialties h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #005b96;
}

.specialties-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.specialties-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.specialties-intro h3 {
    font-size: 1.8rem;
    color: #ff9500;
    margin-bottom: 1.5rem;
}

.specialties-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.specialty-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.specialty-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.specialty-info {
    padding: 1.5rem;
}

.specialty-info h4 {
    font-size: 1.5rem;
    color: #005b96;
    margin-bottom: 0.8rem;
}

.specialty-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.specialty-info .price {
    display: inline-block;
    font-weight: 600;
    color: #ff9500;
    font-size: 1.2rem;
}

.specialties-note {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid #005b96;
}

.specialties-note p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #555;
}

.specialties-note i {
    color: #005b96;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .specialty-item img {
        height: 180px;
    }
    
    .specialties {
        padding: 3rem 0;
    }
    
    .specialties-content {
        gap: 2rem;
    }
}

/* 生魚片特價介紹 */
.special-offer {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ff9500, #ff5e00);
}

.special-offer h3 {
    font-size: 2rem;
    color: #005b96;
    margin-bottom: 1.5rem;
    text-align: center;
}

.special-offer-content {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* 改為頂部對齊 */
    flex-wrap: wrap; /* 允許在較小屏幕上換行 */
}

.special-offer-image {
    flex: 0 0 45%; /* 固定寬度比例，不再伸縮 */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: auto; /* 自動高度 */
}

.special-offer-image img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.special-offer-text {
    flex: 1;
    padding-top: 0.5rem; /* 增加上方空間 */
}

.special-offer-text p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.special-offer-text .highlight {
    color: #ff5e00;
    font-weight: 700;
    font-size: 1.3rem;
}

.special-offer-cta {
    margin-top: 1.5rem;
}

.special-offer-cta .cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ff9500;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.special-offer-cta .cta-button:hover {
    background-color: #ff5e00;
    transform: translateY(-3px);
}

/* YouTube影片區塊 */
.video-section {
    margin-top: 4rem;
    background-color: #f0f8ff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.video-section h3 {
    font-size: 2rem;
    color: #005b96;
    margin-bottom: 1.5rem;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.video-description p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.video-description p:last-child {
    margin-bottom: 0;
}

/* 滚动到顶部按钮 */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #005b96;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #00a8e8;
}

/* 生魚片特色區塊樣式 - 修正版本 */
.sashimi-special {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.sashimi-special h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.sashimi-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    max-width: 100%;
    box-sizing: border-box;
}

.sashimi-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
}

.sashimi-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
    max-height: 100%;
}

.sashimi-image:hover .sashimi-photo {
    transform: scale(1.05);
}

.price-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.original-price {
    display: block;
    text-decoration: line-through;
    font-size: 0.9em;
    opacity: 0.8;
}

.special-price {
    display: block;
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 5px;
}

.sashimi-highlight {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.sashimi-highlight h4 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.discount-info {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2em;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-content h5 {
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-size: 1.2em;
}

.feature-content p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
}

.sashimi-quality {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.sashimi-quality h5 {
    color: #28a745;
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

.quality-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.order-info {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.order-note {
    margin-bottom: 15px;
}

.note {
    color: #856404;
    margin: 0;
    font-style: italic;
}

.phone-order {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
}

.phone-order i {
    margin-right: 10px;
    font-size: 1.2em;
}

.phone-order a {
    color: white;
    text-decoration: none;
}

.phone-order a:hover {
    text-decoration: underline;
}

/* 生魚片專區樣式 */
.sashimi {
    padding: 4rem 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden; /* 防止內容溢出 */
    width: 100%;
}

.sashimi-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 100%;
    box-sizing: border-box;
}

.sashimi-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    box-sizing: border-box;
}

.sashimi-main-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 8px;
}

.sashimi-main-image:hover {
    transform: scale(1.03);
}

.sashimi-text {
    flex: 0 0 48%;
    padding: 1rem 0;
    box-sizing: border-box;
    max-width: 100%;
}

.sashimi-text h3 {
    font-size: 1.8rem;
    color: #005b96;
    margin-bottom: 1.5rem;
}

.sashimi-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #333;
}

.sashimi-list {
    list-style: none;
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
}

.sashimi-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.sashimi-list li i {
    color: #00a8e8;
    margin-right: 10px;
    flex-shrink: 0;
}

.sashimi-list li span {
    display: inline-block;
}

.sashimi-note {
    font-style: italic;
    color: #666;
    font-size: 1rem;
    border-left: 3px solid #00a8e8;
    padding-left: 1rem;
}

/* 手機和平板設備的響應式樣式 */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 1rem 0;
    }
    
    /* 生魚片特色區塊 */
    .sashimi-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sashimi-special {
        padding: 25px;
        margin: 25px 0;
    }
    
    .sashimi-image {
        padding-bottom: 56.25%; /* 16:9 aspect ratio for mobile */
        max-height: none;
    }
    
    .sashimi-photo {
        object-fit: cover;
        object-position: center;
    }
    
    .quality-badges {
        flex-direction: column;
    }
    
    .badge {
        text-align: center;
    }
    
    .price-overlay {
        top: 15px;
        right: 15px;
        padding: 12px 16px;
        font-size: 0.9em;
    }
    
    /* 特價區塊 */
    .special-offer-content {
        flex-direction: column;
    }
    
    .special-offer-image {
        flex: 0 0 100%;
        margin-bottom: 20px;
        max-height: 300px;
        overflow: hidden;
    }
    
    .special-offer-image img {
        max-height: 300px;
        object-fit: cover;
    }
    
    .special-offer-text {
        padding-top: 0;
    }
    
    /* 特色菜品 */
    .specialty-item img {
        height: 180px;
    }
    
    /* 畫廊 */
    .gallery-item img {
        height: 200px;
    }
    
    /* 影片區塊 */
    .video-container {
        padding-bottom: 65%;
    }
    
    /* 生魚片專區響應式 - 平板 */
    .sashimi-content {
        flex-direction: column;
        padding: 0 15px;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sashimi-image {
        flex: 0 0 100%;
        margin-bottom: 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .sashimi-text {
        flex: 0 0 100%;
        padding-top: 0;
        width: 100%;
    }
    
    .sashimi-main-image {
        max-height: 300px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0.5rem 0;
    }
    
    /* 生魚片特色區塊 */
    .sashimi-special {
        padding: 20px;
        margin: 20px 0;
    }
    
    .sashimi-special h3 {
        font-size: 1.8em;
    }
    
    .sashimi-image {
        padding-bottom: 75%; /* 4:3 aspect ratio for small mobile */
    }
    
    .feature-item {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 1.8em;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .price-overlay {
        top: 10px;
        right: 10px;
        padding: 10px 12px;
        font-size: 0.8em;
    }
    
    /* 特價區塊 */
    .special-offer {
        padding: 1.5rem;
    }
    
    .special-offer h3 {
        font-size: 1.5rem;
    }
    
    .special-offer-image {
        max-height: 250px;
    }
    
    .special-offer-image img {
        max-height: 250px;
        min-height: 150px;
    }
    
    .special-offer-text p {
        font-size: 1rem;
    }
    
    .special-offer-text .highlight {
        font-size: 1.1rem;
    }
    
    /* 特色菜品 */
    .specialty-item img {
        height: 150px;
    }
    
    /* 畫廊 */
    .gallery-item img {
        height: 180px;
    }
    
    /* 影片區塊 */
    .video-container {
        padding-bottom: 70%;
    }
    
    /* 生魚片專區響應式 - 手機 */
    .sashimi {
        padding: 2rem 0;
    }
    
    .sashimi .container {
        padding: 0 10px;
    }
    
    .sashimi h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .sashimi-content {
        padding: 0 10px;
        gap: 1rem;
        grid-template-columns: 1fr;
    }
    
    .sashimi-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .sashimi-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: justify;
    }
    
    .sashimi-list li {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .sashimi-main-image {
        min-height: 150px;
        max-height: 250px;
    }
    
    .sashimi-note {
        font-size: 0.9rem;
        padding-left: 0.5rem;
    }
    
    .quality-badges {
        flex-direction: column;
    }
    
    .badge {
        text-align: center;
    }
}

/* 超小屏幕 (360px以下) */
@media (max-width: 360px) {
    .sashimi-special {
        padding: 15px;
        margin: 15px 0;
    }
    
    .sashimi-image {
        padding-bottom: 75%;
    }
    
    .special-offer-image {
        max-height: 200px;
    }
    
    .special-offer-image img {
        max-height: 200px;
        min-height: 120px;
    }
    
    .specialty-item img {
        height: 120px;
    }
    
    .gallery-item img {
        height: 150px;
    }
}

/* 生魚片專頁樣式 */
.sashimi-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/seafood11.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.sashimi-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sashimi-hero .hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.sashimi-hero .hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 招牌生魚片區塊 */
.signature-sashimi {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

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

.signature-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.signature-image .main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.signature-image:hover .main-image {
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.original-price {
    display: block;
    text-decoration: line-through;
    font-size: 0.9em;
    opacity: 0.8;
}

.special-price {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    margin: 5px 0;
}

.discount-label {
    display: block;
    font-size: 0.8em;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 5px;
    margin-top: 5px;
}

.signature-info h2 {
    font-size: 2.5rem;
    color: #005b96;
    margin-bottom: 2rem;
}

.highlight-box {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.highlight-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.highlight-box p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.features-grid .feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.features-grid .feature:hover {
    transform: translateY(-5px);
}

.features-grid .feature i {
    font-size: 2rem;
    color: #00a8e8;
    margin-bottom: 10px;
}

.features-grid .feature h4 {
    color: #2c3e50;
    margin: 10px 0;
    font-size: 1.2em;
}

.features-grid .feature p {
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* 生魚片種類區塊 */
.sashimi-types {
    padding: 5rem 0;
    background-color: white;
}

.sashimi-types h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #005b96;
    margin-bottom: 3rem;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.type-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.type-image {
    height: 200px;
    overflow: hidden;
}

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

.type-card:hover .type-image img {
    transform: scale(1.1);
}

.type-info {
    padding: 20px;
}

.type-info h3 {
    color: #005b96;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.type-info p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.type-info .price {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

/* 品質保證區塊 */
.quality-assurance {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.quality-assurance h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 3rem;
}

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

.quality-text h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 1rem;
}

.quality-text p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.quality-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.point {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.point i {
    color: #28a745;
    font-size: 1.2em;
    margin-right: 10px;
}

.point span {
    color: #2c3e50;
    font-weight: 500;
}

.quality-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

/* 預訂資訊區塊 */
.reservation-info {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.reservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.reservation-text h2 {
    color: #005b96;
    font-size: 2.2em;
    margin-bottom: 1.5rem;
}

.reservation-text p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 15px;
}

.note p {
    margin: 0;
    color: #856404;
    display: flex;
    align-items: center;
}

.note i {
    margin-right: 10px;
    color: #ffc107;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    color: #005b96;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5em;
    color: #007bff;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    color: #2c3e50;
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.contact-item p {
    margin: 0;
    color: #6c757d;
    line-height: 1.4;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .sashimi-hero {
        height: 50vh;
        margin-top: 70px;
    }
    
    .sashimi-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .sashimi-hero .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .signature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .signature-image .main-image {
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quality-points {
        grid-template-columns: 1fr;
    }
    
    .reservation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .sashimi-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .signature-info h2 {
        font-size: 2rem;
    }
    
    .price-badge {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
    }
    
    .contact-card {
        padding: 20px;
    }
}
