/* 全局樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #bd973c;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --gray-dark: #333333;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans TC", "Source Han Sans SC", "PingFang SC", "Microsoft JhengHei", sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* 導航欄 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

.company-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-name-zh {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 1px;
    line-height: 1.2;
}

.company-name-en {
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 400;
    font-size: 17px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* 橫幅 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播指示器 */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-indicator.active {
    background-color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.hero-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 動畫效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* 區塊標題 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 400;
}

/* 關於我們 */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-text {
    font-size: 18px;
    line-height: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: var(--primary-color);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid #e8e8e8;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 48px;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 400;
}

/* 餐廳展示 */
.restaurants-section {
    padding: 100px 0;
    background-color: var(--gray-light);
}

/* 品牌展示卡片 */
.brand-showcase-card {
    width: 100%;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.brand-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.brand-showcase-image {
    width: 100%;
    overflow: hidden;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1200 / 400;
}

.brand-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.brand-showcase-card:hover .brand-showcase-image img {
    transform: scale(1.02);
}

/* 品牌容器 */
.brands-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 品牌模块 - 新布局 */
.brand-module-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.brand-left-column {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0;
    padding: 40px;
    align-items: center;
}

.brand-sub-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    aspect-ratio: 1200 / 400;
}

.brand-sub-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.brand-module-new:hover .brand-sub-image img {
    transform: scale(1.05);
}

.brand-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.brand-content h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 400;
}

.brand-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--primary-color);
}

.brand-right-column {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    position: relative;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-main-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1200 / 800;
}

.brand-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.brand-module-new:hover .brand-main-image img {
    transform: scale(1.05);
}

.page-header {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 400;
}

.page-header p {
    font-size: 18px;
    font-weight: 300;
}

/* 餐廳列表 */
.restaurants-list {
    padding: 80px 0;
}

.restaurant-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.restaurant-item:nth-child(even) {
    direction: rtl;
}

.restaurant-item:nth-child(even) > * {
    direction: ltr;
}

.restaurant-main-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.restaurant-main-image.placeholder {
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-main-image.placeholder span {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 400;
}

.restaurant-details h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 400;
}

.restaurant-details p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-color);
}

/* 聯絡頁面 */
.contact-section {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid #e8e8e8;
}

.info-card:hover {
    background-color: var(--white);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.info-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.info-card:hover .info-icon svg {
    color: var(--primary-color);
    transform: scale(1.1);
}

.info-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 400;
    text-align: center;
}

.info-card p {
    font-size: 16px;
    color: var(--primary-color);
    line-height: 1.7;
    text-align: center;
}

/* 表單 */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #e8e8e8;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    font-weight: 400;
}

/* 頁腳 */
.footer {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer p {
    font-size: 14px;
    color: var(--primary-color);
}

/* 返回頂部按鈕 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(189, 151, 60, 0.4);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(189, 151, 60, 0.5);
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .brand-showcase-image {
        aspect-ratio: auto;
        height: auto;
    }

    .brand-module-new {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .brand-left-column {
        grid-template-rows: auto auto;
        padding: 40px;
    }

    .brand-sub-image {
        aspect-ratio: 1200 / 400;
        margin-bottom: 30px;
    }

    .brand-main-image {
        aspect-ratio: 1200 / 800;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .hero {
        height: auto;
        min-height: auto;
        position: relative;
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: auto;
    }

    .hero-slide {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 1;
    }

    .hero-slide.active {
        opacity: 1;
        display: block;
    }

    .hero-slide:not(.active) {
        display: none;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .brand-showcase-image {
        aspect-ratio: auto;
        height: auto;
    }

    .hero {
        height: auto;
        min-height: auto;
        position: relative;
        aspect-ratio: 1200 / 400;
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .hero-slide {
        position: relative;
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    .hero-slide.active {
        opacity: 1;
        display: block;
    }

    .hero-slide:not(.active) {
        display: none;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
        text-align: right;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 10px 0;
        border-bottom: 1px solid var(--gray-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .company-name {
        font-size: 14px;
    }

    .company-name-zh {
        font-size: 19px;
    }

.company-name-en {
        font-size: 8px;
    }

    .hero {
        height: auto;
        min-height: auto;
        position: relative;
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: auto;
    }

    .hero-slide {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 1;
    }

    .hero-slide.active {
        opacity: 1;
        display: block;
    }

    .hero-slide:not(.active) {
        display: none;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

.company-name-en {
        font-size: 9px;
    }

    .restaurants-section,
    .contact-section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .brands-container {
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

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

    .info-card {
        padding: 15px;
    }

    .info-card h3 {
        font-size: 16px;
    }

    .info-card p {
        font-size: 13px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon svg {
        width: 26px;
        height: 26px;
    }
}
