:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a90e2;
    --accent-color: #f5a623;
    --text-color: #333333;
    --background-color: #ffffff;
    --transition-speed: 0.3s;
}

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

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* 全局動畫類 */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 60px; /* 為固定頁首預留空間 */
}

/* Strikingly 相容性樣式 */
.strikingly {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 導覽列樣式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 90px;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-img {
    height: 72px;
    width: auto;
    margin-right: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-cn {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo-en {
    font-size: 1rem;
    color: #666;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #c41230;
}

/* 移動端選單按鈕 */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-cn {
        font-size: 1.2rem;
    }
    
    .logo-en {
        font-size: 0.8rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
    position: absolute;
        top: 100%;
    left: 0;
        right: 0;
        background: #fff;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* 首頁橫幅樣式 */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 1rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
}

/* 服務區域樣式 */
.services {
    padding: 8rem 5%;
    background-color: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #00ff88);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 優勢展示樣式 */
.advantages {
    padding: 8rem 5%;
    background: white;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

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

.advantage-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.advantage-item p {
    color: #666;
}

/* 位置資訊樣式 */
.location {
    padding: 4rem 2rem;
    background: #f8f8f8;
}

.location h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.location-info {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.location-info h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.location-info p {
    color: #666;
    margin-bottom: 1rem;
}

.location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 聯絡方式樣式 */
.contact {
    padding: 8rem 5%;
    background: white;
}

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

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.contact-info p i {
    margin-right: 1rem;
    color: #007bff;
}

.contact-info .social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.contact-info .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.contact-info .social-icon:hover {
    background: #c41230;
    color: #fff;
    transform: translateY(-3px);
}

.contact-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c41230;
    outline: none;
    box-shadow: 0 0 0 2px rgba(196, 18, 48, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem 2rem;
    background: #c41230;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #a30f26;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
}

/* 頁尾樣式 */
footer {
    background: #333;
    color: #fff;
    padding: 1.5rem 0;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.85rem;
    margin: 0.4rem 0;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: #ccc;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

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

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

.footer-bottom p {
    color: #999;
    font-size: 0.75rem;
}

.footer-bottom p a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom p a:hover {
    color: #fff;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.strikingly-section {
    animation: slideIn 0.8s ease;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#company-video {
    width: 100%;
    height: auto;
    display: block;
}

#company-video::-webkit-media-controls {
    background-color: rgba(0,0,0,0.5);
}

#company-video::-webkit-media-controls-panel {
    padding: 0 10px;
}

#company-video::-webkit-media-controls-play-button {
    background-color: #007bff;
    border-radius: 50%;
}

#company-video::-webkit-media-controls-timeline {
    background-color: rgba(255,255,255,0.2);
    border-radius: 2px;
}

#company-video::-webkit-media-controls-current-time-display,
#company-video::-webkit-media-controls-time-remaining-display {
    color: #fff;
}

/* 統計數據區域 */
.stats {
    background: #fff;
    padding: 3rem 0;
    position: relative;
    z-index: 10;
    margin-top: -6rem;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    font-family: 'Noto Sans TC', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stat-unit {
    font-size: 1.4rem;
    font-weight: 500;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.stat-label {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
    /* 允許自動換行，完整顯示內容 */
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .stat-unit {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 1.1rem;
        max-width: 250px;
    }
}

/* 品牌代理板塊樣式 */
.brands {
    padding: 5rem 0 0;
    background-color: #f5f5f5;
    position: relative;
}

.brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c41230;
}

.brands-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.brand-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin: 0 10px;
    position: relative;
    max-width: 280px;
}

.brand-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.brand-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.brand-item a:hover {
    transform: translateY(-5px);
}

.brand-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.brand-item h3 {
    margin: 1rem 0 0.5rem;
    color: #333;
}

.brand-item p {
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .brands-container {
        flex-direction: column;
    }
    
    .brand-item {
        height: 200px;
    }
}

.more-brands {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-brands-content {
    text-align: center;
    padding: 1.5rem;
}

.more-brands-content i {
    font-size: 2.5rem;
    color: #666;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.more-brands:hover i {
    transform: scale(1.1);
    color: #333;
}

.more-brands-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.more-brands-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* 下拉選單樣式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
        display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu a {
    color: #333;
    padding: 0.8rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #c41230;
}

/* 移動端下拉選單樣式 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #f5f5f5;
        padding-left: 1rem;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 1rem;
    }
}

.brand-info {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #f8f8f8);
}

.brand-info h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
}

.brand-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.brand-image img[alt="洪瑞珍"],
.brand-image img[alt="喜茶"],
.brand-image img[alt="瑞珍冰室"] {
    padding: 5px;
    transform: scale(1.1) translateY(10px);
}

.brand-item:hover .brand-image img[alt="洪瑞珍"],
.brand-item:hover .brand-image img[alt="喜茶"],
.brand-item:hover .brand-image img[alt="瑞珍冰室"] {
    transform: scale(1.15) translateY(10px);
}

.brand-image img[alt="瑞珍冰室"] {
    padding: 5px;
    transform: scale(0.9) translateY(20px);
}

.brand-item:hover .brand-image img[alt="瑞珍冰室"] {
    transform: scale(0.95) translateY(20px);
}

/* 聯絡我們頁面樣式 */
.contact-page {
    padding: 8rem 2rem 4rem;
    background: #f8f8f8;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #c41230;
}

.contact-info p {
    color: #666;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 1rem;
    color: #c41230;
    font-size: 1.2rem;
}

.contact-info .social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.contact-info .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.contact-info .social-icon:hover {
    background: #c41230;
    color: #fff;
    transform: translateY(-3px);
}

.contact-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c41230;
    outline: none;
    box-shadow: 0 0 0 2px rgba(196, 18, 48, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem 2rem;
    background: #c41230;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #a30f26;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
}

/* 公司簡介頁面樣式 */
.about-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
    padding-top: 0;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    z-index: 1;
}

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

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

.about-hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.about-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-paragraphs p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
    text-align: justify;
    margin: 0;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 2em;
    }

    .about-paragraphs p {
        font-size: 1em;
    }
}

/* 品牌頁面通用樣式 */
.brand-hero {
    height: 80vh;
    background: url('../images/hungruichen-bg.jpg') no-repeat center center;
    background-size: contain;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    background-color: #a01c04;
    padding: 2rem;
    transition: background-image 0.5s ease;
}

.brand-hero.version-2 {
    background-image: url('../images/hungruichen-bg-2.jpg');
}

.brand-slogan {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        opacity: 0;
    transition: opacity 0.5s ease;
    font-family: "Noto Serif TC", serif;
    writing-mode: vertical-rl;
    text-orientation: upright;
    height: 80%;
    display: flex;
    align-items: center;
}

.brand-hero:not(.version-2) .brand-slogan {
        opacity: 1;
}

.brand-hero.version-2 .brand-slogan {
    opacity: 1;
}

.bg-switch {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bg-switch:hover {
    background: rgba(255, 255, 255, 0.3);
}

.bg-switch i {
    color: white;
    font-size: 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 80%;
    margin: 0 auto;
}

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

.hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 熱門產品區塊 */
.hot-products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.hot-products h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 500;
}

.hot-products .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    aspect-ratio: 1;
}

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

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
    padding: 10px;
    flex: 1;
}

.product-info {
    padding: 4px;
    text-align: center;
    background: #fff;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.product-info h3 {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
}

.product-price {
    color: #c41230;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
}

/* 響應式設計 */
@media (max-width: 1200px) {
    .hot-products .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hot-products .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hot-products .product-grid {
        grid-template-columns: 1fr;
    }
}

/* 產品分類區域 */
.product-categories {
    padding: 4rem 0;
    background: url('../images/texture-bg.png') repeat;
    background-color: #f9f9f9;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.category-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-item h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* 精選類別區域 */
.featured-categories {
    padding: 4rem 0;
    background: url('../images/pattern-bg.png') repeat;
    background-color: #fff;
}

.featured-categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* 文字顏色調整 */
.hero-content {
    color: #FFF;
}

.limited-offer h2,
.category-item h3,
.featured-categories h2 {
    color: #333;
}

.category-item {
    background: rgba(255, 255, 255, 0.9);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .brand-hero {
        height: 60vh;
        padding: 1rem;
    }

    .hero-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .offer-grid,
    .category-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .brand-hero {
        height: 50vh;
    }

    .hero-content {
        padding: 1rem;
        max-width: 95%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* 容器通用樣式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 動畫效果 */
.category-item {
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

/* 產品卡片基本樣式 */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: #e44d26;
    font-weight: bold;
}

/* 按鈕樣式 */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #e44d26;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c73e1d;
}

/* 品牌故事區塊 */
.brand-story {
    padding: 80px 0;
    background-color: #fff;
}

.brand-story h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 500;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-text {
    flex: 1;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .story-content {
        flex-direction: column;
        gap: 30px;
    }

    .story-text p {
        font-size: 1rem;
    }
}

/* 新口味即將登場卡片樣式 */
.coming-soon {
    position: relative;
    overflow: hidden;
    background: none;
    box-shadow: none;
}

.coming-soon .product-image {
    height: 100%;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon .product-image img {
    width: 30%;
    height: 30%;
    object-fit: contain;
}

/* 隱藏版口味卡片樣式 */
.hidden-menu {
    position: relative;
    overflow: hidden;
    background: none;
    box-shadow: none;
}

.hidden-menu .product-image {
    height: 100%;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden-menu .product-image img {
    width: 30%;
    height: 30%;
    object-fit: contain;
}

/* 門店資訊卡片樣式 */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.store-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.store-card h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.store-card p {
    margin: 10px 0;
    color: #555;
    display: flex;
    align-items: center;
}

.store-card i {
    margin-right: 10px;
    color: #e74c3c;
    width: 20px;
    text-align: center;
}

/* 響應式設計 */
@media (max-width: 1200px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: 1fr;
    }
}

/* 隱私條例頁面樣式 */
.privacy-content {
    flex: 1;
    padding: 40px 5%;
    background-color: #fff;
    margin-top: 20px;
}

.privacy-content .container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.privacy-content h1 {
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 20px;
}

.privacy-content h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c41230;
}

.privacy-text {
    color: #444;
    line-height: 2;
    font-size: 1.1rem;
}

.privacy-text p {
    margin-bottom: 25px;
    text-align: justify;
}

.privacy-text p:last-child {
    margin-bottom: 0;
}

.privacy-date {
    margin-top: 50px;
    color: #666;
    font-style: italic;
    text-align: right;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    body {
        padding-top: 50px;
    }

    .main-nav {
        height: 50px;
    }

    .privacy-content {
        padding: 20px 5%;
    }

    .privacy-content .container {
        padding: 30px 20px;
    }

    .privacy-content h1 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .privacy-text {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* 關於我們部分的響應式設計 */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        width: 100%;
        padding: 0;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1rem;
        text-align: justify;
    }

    .about-image {
        width: 100%;
        margin: 0 auto;
        max-width: 400px;
    }

    .about-image img {
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .founders-container {
        flex-direction: column;
        gap: 2rem;
    }

    .founder-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 1rem;
    }

    .founder-image {
        width: 200px;
        height: 200px;
        margin: 0 auto 1rem;
    }

    .founder-info {
        text-align: center;
    }

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

    .founder-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .founder-description {
        padding: 1rem;
        text-align: justify;
    }

    .founder-description p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1rem;
    }
}

/* 創辦人部分樣式 */
.founder-section {
    padding: 4rem 2rem;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c41230;
    margin: 1rem auto;
}

.founders-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-card {
    flex: 1;
    max-width: 800px;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
}

.founder-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.founder-info {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 8px;
    text-align: center;
}

.founder-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

.founder-title {
    color: #666;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.2rem;
}

.founder-name-en {
    color: #999;
    font-size: 1rem;
    text-align: center;
}

.founders-description {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.founders-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

.management-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.management-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 160px;
    margin-top: 40px;
    padding: 0 20px;
}

.management-image-container {
    flex: 1;
    max-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.management-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.management-image::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    font-size: 1.2em;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    line-height: 1.5;
    font-weight: 500;
}

.management-image:hover::after {
    transform: translateY(0);
}

.management-image-container h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.management-title {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.management-name-en {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.management-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    margin: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 450px;
}

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

.management-info {
    padding: 20px;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.management-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    max-width: 90%;
    text-align: left;
}

.management-info h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 5px;
}

.management-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
}

.management-name-en {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .management-container {
        flex-direction: column;
        align-items: center;
    }

    .management-image-container {
        width: 100%;
        max-width: 100%;
    }

    .management-image {
        height: 250px;
    }
} 