html {
    scroll-behavior: smooth;
}

/* 基本樣式與字體設定 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #F5F5F5;
    /* 淺奶油色背景 */
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1,
h2,
h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    /* 使用較有特色的襯線字體 */
}

a {
    color: #6D4C41;
    /* 替換 #8D6E63 */
    text-decoration: none;
}

/* 頁首 / Hero 區 */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/bg.jpg') no-repeat center center/cover;
    /* 這裡使用了一個 placeholder 圖片，您可以替換成自己的主視覺圖 */
}

.hero-content {
    padding-top: 560px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.hero-content .tagline {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 2rem;
    max-width: 500px;
    color: #2a211e;
}

.cta-button {
    display: inline-block;
    background-color: #6D4C41;
    /* 替換 #8D6E63 */
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    #hero {

        min-height: 70vh;
        padding: 0 16px;
        background-position: center;
        background-size: cover;
        background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/mb-bg.jpg') no-repeat center center/cover;

    }

    .hero-content {
        padding-top: 180px;
    }

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

    .hero-content .tagline {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 77px;
    }

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

    .hero-content .tagline {
        font-size: 0.9rem;
    }

    .cta-button {
        display: inline-block;
        background-color: #6D4C41;
        /* 替換 #8D6E63 */
        color: white;
        padding: 10px 16px;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: bold;
        text-transform: uppercase;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
}

.cta-button:hover {
    background-color: #4E342E;
    /* 替換 #6D4C41 */
    transform: translateY(-3px);
}

/* 內容區塊通用樣式 */
section {
    padding: 60px 0;
}

section:nth-of-type(odd) {
    background-color: #FFFFFF;
    /* 白色背景 */
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #4E342E;
    /* 深咖啡色標題 */
    font-weight: bold;
}

h3 {

    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #4E342E;
    /* 深咖啡色標題 */
}

/* 簡介 */
#intro {
    text-align: center;
}

#intro p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
}

/* 比賽獎品 */
.prize-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.prize-cards .card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    /* width: 24%; */
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prize-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.prize-cards .card i {
    color: #6D4C41;
    /* 替換 #A1887F */
    margin-bottom: 15px;
}

.prize-cards .card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #5D4037;
}

/* 時間與地點 */
#location p {
    text-align: center;
    font-size: 1.1rem;
}

.map-placeholder {
    width: 100%;
    /* background-color: #f9f9f9; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border-radius: 8px;
    /* gap: 20px;
    padding: 20px; */
    flex-wrap: wrap;
}

.map-image {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .map-placeholder {
        flex-direction: column;
        gap: 15px;
    }

    .map-image {
        max-width: 90%;
    }
}

/* 參賽條件與資格 */
#rules ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

#rules li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%236D4C41" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat left center;
    /* 替換 fill="%238D6E63" */
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

#rules .cta-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* 評審介紹 - Carousel */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.judge-card {
    flex: 0 0 33.33%;
    /* 桌機一次顯示 3 個 */
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

/* REMOVE THIS BLOCK */
.judge-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ADD THIS BLOCK */
.judge-card .fa-user-circle {
    color: #A1887F;
    margin-bottom: 15px;
}

.judge-card h3 {
    font-size: 1.4rem;
    color: #5D4037;
}

.judge-card h4 {
    font-size: 1rem;
    font-weight: 400;
    color: #A1887F;
    margin-top: -10px;
    margin-bottom: 10px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: #333;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
    width: 50px;
    height: 50px;
    line-height: 30px;
}

.carousel-button.prev {
    left: 0px;
}

.carousel-button.next {
    right: 0px;
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #6D4C41;
    /* 替換 #8D6E63 */
}

/* 贊助商區塊 */
#sponsors {
    /* background-color: #FFFFFF; */
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(5, 2fr);
    /* 一排 5 個 Logo */
    gap: 40px;
    align-items: center;
}

.sponsor-grid img {
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.sponsor-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* 住宿資訊區段 */
#accommodation {
    /* background-color: #F9F9F9; */
    padding: 60px 0;
}

#accommodation h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #6D4C41;
}

.accommodation-info {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.accommodation-info h3 {
    color: #6D4C41;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.accommodation-info h3 i {
    margin-right: 10px;
    color: #8D6E63;
}

.contact-details p {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #333;
}

.contact-details a {
    color: #6D4C41;
    text-decoration: none;
    font-weight: bold;
}

.contact-details a:hover {
    color: #5D4037;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .accommodation-info {
        margin: 0 20px;
        padding: 20px;
    }

    .accommodation-info h3 {
        font-size: 1.5rem;
    }

    .contact-details p {
        font-size: 1.1rem;
    }

    .sponsor-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        /* 一排 5 個 Logo */
        gap: 40px;
        align-items: center;
    }
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: #333;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
    width: 50px;
    height: 50px;
    line-height: 30px;
}

.carousel-button.prev {
    left: 0px;
}

.carousel-button.next {
    right: 0px;
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #6D4C41;
    /* 替換 #8D6E63 */
}


/* 佛光好事集區段 */
#market {
    /* background-color: #F5F5F5; */
    padding: 60px 0;
}

#market h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #6D4C41;
}

.market-info {
    max-width: 1000px;
    margin: 0 auto;
}

.market-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.market-details {
    text-align: center;
    margin-bottom: 40px;
}

.market-details p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
}

.market-details h3 {
    color: #6D4C41;
    font-size: 1.5rem;
    margin: 20px 0;
}

/* 照片輪播 - 確保樣式優先級 */
.photo-carousel {
    margin: 40px 0;
    text-align: center;
}

.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.carousel-image {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    display: none !important;
}

.carousel-image.active {
    display: block !important;
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #6D4C41 !important;
}

@media (max-width: 768px) {
    .carousel-image {
        height: 250px !important;
    }
}

/* 參加店家 - 鄉鎮滑動展示 */
.participants {
    margin-top: 40px;
}

.participants h3 {
    text-align: center;
    color: #6D4C41;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.township-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f5f0, #f1e8e0);
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.15);
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slider-item {
    flex: 0 0 100%;
    padding: 40px;
    min-height: 280px;
    opacity: 1;
    box-sizing: border-box;
}

.slider-item h4 {
    color: #6D4C41;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.slider-item p {
    color: #5D4037;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
    margin: 0;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    gap: 20px;
}

.slider-btn {
    background: #6D4C41;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #5D4037;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D7CCC8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #6D4C41;
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: #8D6E63;
}

@media (max-width: 768px) {
    .market-details p {
        font-size: 1.1rem;
    }

    .carousel-image {
        height: 250px;
    }

    .participant-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0 20px;
    }
}

/* 導覽選單 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    padding: 10px 0;
}

.navbar.scrolled {
    background: linear-gradient(#cf9a53, #d7ab69);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    /* 移除上下 padding */
}

.nav-logo {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: #FFFFFF;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    /* 桌機版隱藏 */
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

footer {
    background-color: #4E342E;
    color: #FFFFFF;
}

footer a {
    color: #ce6464;
}

/* 社交媒體圖標樣式 */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    text-decoration: none;
    margin-right: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover {
    background-color: #3b5998;
    border-color: #3b5998;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.social-icon.line:hover {
    background-color: #00b900;
    border-color: #00b900;
}

.social-icon i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .social-icon {
        width: 36px;
        height: 36px;
        margin: 0 6px;
    }

    .social-icon i {
        font-size: 16px;
    }
}

/* Prizes: center group title */
.prize-group-title {
    text-align: center;
    margin: 24px 0 12px;
    color: #6D4C41;
    font-weight: 600;
}

/* Prizes: responsive grid, no horizontal scroll */
@media (min-width: 1200px) {
    .prize-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        /* 5 columns on large desktop */
        gap: 16px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .prize-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        /* 3 columns on medium desktop */
        gap: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .prize-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* 2 columns on tablet */
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .prize-cards {
        display: grid;
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 12px;
    }
}

.prize-cards .card {
    flex: 0 0 calc((100% - 64px) / 4);
    /* 5 張卡片，gap 16px * 4 = 64px */
}

/* 行動端維持既有換行與響應式配置（若已存在可略過） */
.carousel-button.prev {
    left: 0px;
}

.carousel-button.next {
    right: 0px;
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #6D4C41;
    /* 替換 #8D6E63 */
}



/* 佛光好事集區段 */
#market {
    /* background-color: #F5F5F5; */
    padding: 60px 0;
}

#market h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #6D4C41;
}

#market h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #6D4C41;
    font-size: 2rem;
}

.market-info {
    max-width: 1000px;
    margin: 0 auto;
}

.market-details {
    text-align: center;
    margin-bottom: 40px;
}

.market-details p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
}

.market-details h3 {
    color: #6D4C41;
    font-size: 1.5rem;
    margin: 20px 0;
}

/* 照片輪播 - 確保樣式優先級 */
.photo-carousel {
    margin: 40px 0;
    text-align: center;
}

.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.carousel-image {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    display: none !important;
}

.carousel-image.active {
    display: block !important;
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #6D4C41 !important;
}

@media (max-width: 768px) {
    .carousel-image {
        height: 250px !important;
    }
}

/* 參加店家 */
.participants {
    margin-top: 40px;
}

.participants h3 {
    text-align: center;
    color: #6D4C41;
    margin-bottom: 30px;
    font-size: 2rem;
}

.participant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.participant-item {
    background-color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    font-weight: 500;
}

.participant-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .market-details p {
        font-size: 1.1rem;
    }

    .carousel-image {
        height: 250px;
    }

    .participant-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0 20px;
    }
}

/* 導覽選單 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    padding: 10px 0;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #cf9a53, #d7ab69, #fbf5dc);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    /* 移除上下 padding */
}

.nav-logo {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    color: #FFFFFF;
    font-weight: 500;
    position: relative;
    padding: 5px 0;

}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    /* 桌機版隱藏 */
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

footer {
    background-color: #4E342E;
    color: #FFFFFF;
}

footer a {
    color: #ce6464;
}

/* 品牌招募區塊：兩欄左右 + 響應式 */
.brand-block {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: flex-start;
    margin: 40px 0;
    max-width: 80%;
    text-align: center;
    margin: 0 auto;
}

.brand-left,
.brand-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-title {
    color: #6D4C41;
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-align: center;
}

.brand-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* 小螢幕堆疊為單欄 */
@media (max-width: 768px) {
    .brand-block {
        display: grid;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

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

    h2 {
        font-size: 2rem;
    }
}