:root {
    --bg-red: #6f0d12;
    --bg-red-dark: #4e080c;
    --bg-red-deep: #2f0406;
    --gold: #d4af37;
    --gold-light: #f0d67a;
    --text-light: #f8f5ef;
    --text-dark: #222;
    --gray-bg: #f7f4ef;
    --border-gold: rgba(212, 175, 55, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft JhengHei", "Noto Sans TC", sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-img {
    height: 70px;
    width: 70px;
    object-fit: contain;
}

/* Header */
.site-header {
    background: linear-gradient(90deg, var(--bg-red-deep), var(--bg-red), var(--bg-red-dark));
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-box {
    width: 52px;
    height: 52px;
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.logo-title {
    color: var(--gold-light);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-subtitle {
    color: #f4e7b0;
    font-size: 12px;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

    .main-nav a {
        color: var(--text-light);
        font-size: 15px;
        transition: 0.2s;
        position: relative;
    }

        .main-nav a:hover {
            color: var(--gold-light);
        }

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: 0.2s;
        }

        .main-nav a:hover::after {
            width: 100%;
        }

/* Hero */
.hero-section {
    height: 620px;
    background: linear-gradient(rgba(30, 0, 0, 0.35), rgba(30, 0, 0, 0.35)), url('/images/CAR.jpg') center center / cover no-repeat;
}

.hero-mask {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(47, 4, 6, 0.88), rgba(111, 13, 18, 0.72), rgba(47, 4, 6, 0.35));
}

.hero-content {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 700px;
    color: white;
}

.hero-top {
    color: var(--gold-light);
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.hero-text h1 {
    font-size: 68px;
    line-height: 1.1;
    color: #fff7d6;
    margin-bottom: 20px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.hero-desc {
    font-size: 20px;
    color: #f4ede1;
    max-width: 620px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-gold {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #2a1800;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

    .btn-gold:hover {
        transform: translateY(-1px);
    }

.btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    border: 1px solid var(--gold-light);
    color: #fff7d6;
    background: rgba(255,255,255,0.04);
}

    .btn-outline:hover {
        background: rgba(255,255,255,0.08);
    }

/* Common Section */
.news-section,
.promo-section,
.service-section {
    padding: 80px 0;
}

.news-section {
    background: #fffaf3;
}

.promo-section {
    background: linear-gradient(180deg, #6a0b10, #4e080c);
}

.service-section {
    background: #f7f4ef;
}

.section-header {
    text-align: center;
    margin-bottom: 46px;
}

.section-en {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.news-section .section-header h2,
.service-section .section-header h2 {
    color: var(--bg-red);
}

.promo-section .section-header h2,
.promo-section .section-header p {
    color: #fff8df;
}

.news-section .section-header p,
.service-section .section-header p {
    color: #6d6d6d;
}

/* News */
.news-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: start;
}

.news-list {
    background: #fff;
    border: 1px solid #eee0bf;
    border-radius: 16px;
    padding: 18px 26px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.news-item {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee7d5;
    color: inherit;
}

    .news-item:last-child {
        border-bottom: none;
    }

.news-date {
    min-width: 110px;
    color: var(--bg-red);
    font-weight: 700;
}

.news-title {
    color: #333;
}

.news-item:hover .news-title {
    color: var(--bg-red);
}

.news-side-card {
    background: linear-gradient(180deg, var(--bg-red), var(--bg-red-dark));
    color: #fff;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}

.side-card-title {
    font-size: 24px;
    color: var(--gold-light);
    margin-bottom: 14px;
    font-weight: 700;
}

.side-card-text {
    color: #f4ece0;
    margin-bottom: 20px;
}

.btn-small {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #2a1800;
    font-weight: 700;
}

/* Promo */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.promo-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(240, 214, 122, 0.18);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.promo-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.promo-image-1 {
    background-image: url('https://images.unsplash.com/photo-1502877338535-766e1452684a?auto=format&fit=crop&w=1000&q=80');
}

.promo-image-2 {
    background-image: url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?auto=format&fit=crop&w=1000&q=80');
}

.promo-image-3 {
    background-image: url('https://images.unsplash.com/photo-1494976688153-cd07ef08000f?auto=format&fit=crop&w=1000&q=80');
}

.promo-body {
    padding: 24px;
}

    .promo-body h3 {
        color: #fff3c7;
        margin-bottom: 12px;
        font-size: 24px;
    }

    .promo-body p {
        color: #f6ebd7;
        margin-bottom: 16px;
    }

.promo-link {
    color: var(--gold-light);
    font-weight: 700;
}

/* Service */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    background: #fff;
    border: 1px solid #eadab2;
    border-top: 4px solid var(--gold);
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

    .service-card h3 {
        color: var(--bg-red);
        margin-bottom: 12px;
        font-size: 22px;
    }

    .service-card p {
        color: #555;
    }

/* Footer */
.site-footer {
    background: linear-gradient(90deg, var(--bg-red-deep), var(--bg-red-dark));
    border-top: 2px solid var(--gold);
    color: #f5ebcf;
    padding: 28px 0;
}

.footer-inner {
    text-align: center;
}

    .footer-inner div {
        margin: 4px 0;
    }

/* RWD */
@media (max-width: 1100px) {
    .promo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }

    .main-nav {
        justify-content: center;
    }

    .hero-section {
        height: 540px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-desc {
        font-size: 18px;
    }

    .news-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }

    .hero-content {
        justify-content: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .promo-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Page Banner */
.page-banner {
    height: 280px;
    background: linear-gradient(rgba(30, 0, 0, 0.4), rgba(30, 0, 0, 0.4)), url('/images/CAR.jpg') center center / cover no-repeat;
}

.page-banner-mask {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(47, 4, 6, 0.9), rgba(111, 13, 18, 0.7));
}

.page-banner-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

    .page-banner-content h1 {
        font-size: 48px;
        color: #fff4c8;
        margin: 10px 0;
    }

    .page-banner-content p {
        font-size: 18px;
        color: #f4ead1;
    }

/* Cars */
.car-section {
    background: #fffaf3;
    padding: 70px 0 90px;
}

.car-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
    justify-content: center;
}

.filter-btn {
    padding: 12px 22px;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: #fff;
    color: #6f0d12;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

    .filter-btn:hover,
    .filter-btn.active {
        background: linear-gradient(135deg, #d4af37, #f0d67a);
        color: #2a1800;
    }

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.car-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eadab2;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .car-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px rgba(0,0,0,0.12);
    }

.car-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.car-body {
    padding: 24px;
}

.car-category {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(111, 13, 18, 0.08);
    color: #6f0d12;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.car-body h3 {
    font-size: 28px;
    color: #6f0d12;
    margin-bottom: 14px;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

    .car-specs span {
        background: #f8f1df;
        color: #6b5520;
        border-radius: 20px;
        padding: 7px 12px;
        font-size: 13px;
    }

.car-desc {
    color: #555;
    min-height: 52px;
    margin-bottom: 18px;
}

.car-price {
    background: linear-gradient(90deg, #6f0d12, #4e080c);
    color: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

    .car-price small {
        display: block;
        color: #f3ddb0;
        margin-bottom: 4px;
    }

    .car-price strong {
        color: #f0d67a;
        font-size: 24px;
    }

.car-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-gold-sm {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #d4af37, #f0d67a);
    color: #2a1800;
    font-weight: 700;
}

.btn-outline-sm {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 24px;
    border: 1px solid #d4af37;
    color: #6f0d12;
    font-weight: 700;
    background: #fff;
}

    .btn-outline-sm:hover {
        background: #fff8e6;
    }

@media (max-width: 1100px) {
    .car-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 220px;
    }

    .page-banner-content h1 {
        font-size: 36px;
    }

    .page-banner-content p {
        font-size: 16px;
    }

    .car-grid {
        grid-template-columns: 1fr;
    }

    .car-body h3 {
        font-size: 24px;
    }
}

/* Car Detail */
.car-detail-section {
    background: #fffaf3;
    padding: 60px 0 90px;
}

.breadcrumb-bar {
    margin-bottom: 28px;
    color: #7a6c57;
    font-size: 14px;
}

    .breadcrumb-bar a {
        color: #6f0d12;
    }

    .breadcrumb-bar span {
        margin: 0 6px;
    }

.car-detail-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 36px;
}

.car-detail-image-area {
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.car-detail-main-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.car-detail-info {
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.car-detail-category {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 20px;
    background: rgba(111, 13, 18, 0.08);
    color: #6f0d12;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.car-detail-info h2 {
    font-size: 40px;
    color: #6f0d12;
    margin-bottom: 16px;
}

.car-detail-desc {
    color: #555;
    font-size: 17px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.car-detail-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.spec-box {
    background: #fff8e8;
    border: 1px solid #eddcab;
    border-radius: 14px;
    padding: 18px;
}

.spec-title {
    color: #8b7440;
    font-size: 14px;
    margin-bottom: 6px;
}

.spec-value {
    color: #6f0d12;
    font-size: 20px;
    font-weight: 700;
}

.price-panel {
    background: linear-gradient(90deg, #6f0d12, #4e080c);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 24px;
    color: #fff;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

    .price-item:last-child {
        border-bottom: none;
    }

    .price-item span {
        color: #f3ddb0;
    }

    .price-item strong {
        color: #f0d67a;
        font-size: 26px;
    }

.detail-action-bar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.detail-extra-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-card {
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

    .detail-card h3 {
        color: #6f0d12;
        font-size: 26px;
        margin-bottom: 16px;
    }

.detail-list {
    padding-left: 20px;
    color: #555;
    line-height: 1.9;
}

@media (max-width: 992px) {
    .car-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .detail-extra-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .car-detail-info h2 {
        font-size: 32px;
    }

    .car-detail-main-image {
        min-height: 280px;
    }

    .car-detail-spec-grid {
        grid-template-columns: 1fr;
    }

    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
.car-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
    justify-content: center;
}

.filter-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: #fff;
    color: #6f0d12;
    font-weight: 700;
    transition: 0.2s;
}

    .filter-btn:hover,
    .filter-btn.active {
        background: linear-gradient(135deg, #d4af37, #f0d67a);
        color: #2a1800;
    }

.no-data-box {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    padding: 40px 20px;
    text-align: center;
    color: #6f0d12;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}
/* Promotions */
.promotion-section {
    background: #fffaf3;
    padding: 70px 0 90px;
}

.promotion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.promotion-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eadab2;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .promotion-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px rgba(0,0,0,0.12);
    }

.promotion-image {
    height: 230px;
    background-size: cover;
    background-position: center;
}

.promotion-body {
    padding: 24px;
}

.promotion-subtitle {
    color: #8b7440;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.promotion-body h3 {
    font-size: 28px;
    color: #6f0d12;
    margin-bottom: 14px;
}

.promotion-date {
    display: inline-block;
    background: #fff8e8;
    border: 1px solid #eddcab;
    border-radius: 20px;
    padding: 8px 14px;
    color: #6b5520;
    font-size: 13px;
    margin-bottom: 16px;
}

.promotion-desc {
    color: #555;
    min-height: 78px;
    margin-bottom: 18px;
    line-height: 1.8;
}

.promotion-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Promotion Detail */
.promotion-detail-section {
    background: #fffaf3;
    padding: 60px 0 90px;
}

.promotion-detail-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 36px;
}

.promotion-detail-image-area {
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.promotion-detail-main-image {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.promotion-detail-info {
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.promotion-detail-subtitle {
    display: inline-block;
    color: #8b7440;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-weight: 700;
}

.promotion-detail-info h2 {
    font-size: 40px;
    color: #6f0d12;
    margin-bottom: 16px;
}

.promotion-detail-date {
    display: inline-block;
    background: #fff8e8;
    border: 1px solid #eddcab;
    border-radius: 20px;
    padding: 10px 16px;
    color: #6b5520;
    font-size: 14px;
    margin-bottom: 20px;
}

.promotion-detail-desc {
    color: #555;
    font-size: 17px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.promotion-content-box {
    background: linear-gradient(180deg, #6f0d12, #4e080c);
    color: #f7edd7;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    line-height: 1.9;
}

.btn-back {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    border: 1px solid #f0d67a;
    color: #6f0d12;
    background: #fff8e8;
    font-weight: 700;
    transition: 0.2s;
}

    .btn-back:hover {
        background: #f0d67a;
        color: #2a1800;
    }

@media (max-width: 1100px) {
    .promotion-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .promotion-detail-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .promotion-grid {
        grid-template-columns: 1fr;
    }

    .promotion-detail-info h2 {
        font-size: 32px;
    }

    .promotion-detail-main-image {
        min-height: 280px;
    }
}

/* News Page */
.news-page-section {
    background: #fffaf3;
    padding: 70px 0 90px;
}

.news-page-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-page-item {
    display: grid;
    grid-template-columns: 150px 1fr 90px;
    gap: 24px;
    align-items: center;
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
    color: inherit;
    transition: 0.2s;
}

    .news-page-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 36px rgba(0,0,0,0.09);
    }

.news-page-date {
    color: #6f0d12;
    font-weight: 700;
    font-size: 18px;
}

.news-page-content h3 {
    color: #6f0d12;
    font-size: 28px;
    margin-bottom: 8px;
}

.news-page-content p {
    color: #555;
    line-height: 1.8;
}

.news-page-arrow {
    text-align: right;
    color: #8b7440;
    font-weight: 700;
}

/* News Detail */
.news-detail-section {
    background: #fffaf3;
    padding: 60px 0 90px;
}

.news-detail-card {
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.news-detail-date {
    display: inline-block;
    background: #fff8e8;
    border: 1px solid #eddcab;
    border-radius: 20px;
    padding: 10px 16px;
    color: #6b5520;
    font-size: 14px;
    margin-bottom: 18px;
}

.news-detail-card h2 {
    color: #6f0d12;
    font-size: 42px;
    margin-bottom: 18px;
}

.news-detail-summary {
    color: #555;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.news-detail-image-wrap {
    margin-bottom: 28px;
    border-radius: 18px;
    overflow: hidden;
}

.news-detail-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.news-detail-content {
    background: linear-gradient(180deg, #6f0d12, #4e080c);
    color: #f7edd7;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .news-page-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .news-page-arrow {
        text-align: left;
    }

    .news-page-content h3 {
        font-size: 24px;
    }

    .news-detail-card h2 {
        font-size: 32px;
    }
}
/* Branch */
.branch-section {
    background: #fffaf3;
    padding: 70px 0;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.branch-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eadab2;
}

.branch-image {
    height: 220px;
    background-size: cover;
}

.branch-body {
    padding: 24px;
}

    .branch-body h3 {
        color: #6f0d12;
        font-size: 26px;
    }

.branch-info {
    margin: 10px 0;
    color: #555;
}

.branch-desc {
    margin: 12px 0;
}

.branch-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.map-box {
    margin-top: 30px;
}
/* Branch Detail 修正版 */
.branch-detail-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* 🔥 圖片大一點但不會爆 */
    gap: 30px;
    align-items: start;
}

/* 圖片外框 */
.branch-detail-image {
    width: 100%;
    height: 420px; /* 🔥 固定高度 */
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #eadab2;
}

    /* 圖片本體 */
    .branch-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 🔥 關鍵：裁切不變形 */
        display: block;
    }

/* 右側資訊卡 */
.branch-detail-info {
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    padding: 28px;
}

/* 地圖 */
.map-box iframe {
    border-radius: 18px;
    border: none;
}

@media (max-width: 992px) {
    .branch-detail-wrapper {
        grid-template-columns: 1fr; /* 🔥 手機變上下 */
    }

    .branch-detail-image {
        height: 260px;
    }
}
/* 後台用按鈕 */
.btn-admin {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* 新增 */
.btn-add {
    background: #6f0d12;
    color: #fff;
}

    .btn-add:hover {
        background: #a3131a;
    }

/* 編輯 */
.btn-edit {
    background: #d4af37;
    color: #2a1800;
}

    .btn-edit:hover {
        background: #f0d67a;
    }

/* 刪除 */
.btn-delete {
    background: #444;
    color: #fff;
}

    .btn-delete:hover {
        background: #000;
    }

/* input 樣式微調 */
.form-control {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* textarea */
textarea.form-control {
    min-height: 80px;
}
/* 表單 */
.form-control {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* textarea */
textarea.form-control {
    min-height: 80px;
}

/* 按鈕 */
.btn-admin {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* 新增 */
.btn-add {
    background: #6f0d12;
    color: #fff;
}

    .btn-add:hover {
        background: #a3131a;
    }

/* 編輯 */
.btn-edit {
    background: #d4af37;
    color: #2a1800;
}

    .btn-edit:hover {
        background: #f0d67a;
    }

/* 刪除 / 返回 */
.btn-delete {
    background: #444;
    color: #fff;
}

    .btn-delete:hover {
        background: #000;
    }

h4 {
    border-left: 4px solid #d4af37;
    padding-left: 10px;
    color: #6f0d12;
}

.btn-category {
    background: #2a2a2a;
    color: #fff;
}

    .btn-category:hover {
        background: #000;
    }

.btn-back {
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
}

    .btn-back:hover {
        background: #000;
    }

.contact-booking-section {
    background: #fffaf3;
    padding: 70px 0;
}

.contact-booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: start;
}

.contact-info-card,
.booking-form-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eadab2;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

    .contact-info-card h2,
    .booking-form-card h2 {
        color: #6f0d12;
        margin-bottom: 20px;
    }

.contact-info-item {
    margin-bottom: 20px;
}

    .contact-info-item strong {
        display: block;
        color: #6f0d12;
        margin-bottom: 6px;
    }

.line-box {
    margin-top: 25px;
}

.line-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
    font-weight: 700;
}

.line-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.success-box {
    background: #e8f7e8;
    border: 1px solid #b8e0b8;
    color: #2b6b2b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .contact-booking-wrapper {
        grid-template-columns: 1fr;
    }
}
/* 查詢區外框 */
.search-box {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #e5d3a3;
    margin-bottom: 20px;
}

/* 每一排 */
.search-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    align-items: end;
}

/* 欄位 */
.search-item {
    flex: 1;
}

    /* 日期欄位縮小 */
    .search-item.small {
        flex: 0.6;
    }

    /* label */
    .search-item label {
        display: block;
        font-size: 13px;
        margin-bottom: 4px;
        color: #6f0d12;
    }

    /* input/select */
    .search-item input,
    .search-item select {
        width: 100%;
        padding: 6px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

/* 按鈕區 */
.search-buttons {
    display: flex;
    gap: 10px;
}

.booking-table {
    width: 100%;
    table-layout: fixed;
}

    .booking-table th,
    .booking-table td {
        padding: 10px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


.about-section {
    padding: 60px 0;
}

    .about-section.light {
        background: #fff6e6;
    }

.section-title {
    text-align: center;
    color: #6f0d12;
    margin-bottom: 30px;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
}

.about-list {
    max-width: 600px;
    margin: auto;
    line-height: 2;
}

.slogan {
    text-align: center;
}

.slogan-list p {
    font-size: 18px;
    margin: 10px 0;
    font-weight: bold;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.guide-section {
    background: #fffaf3;
    padding: 70px 0;
}

.guide-topbar {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.guide-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.guide-tab {
    min-width: 140px;
    padding: 12px 22px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 24px;
    background: #fff;
    color: #6f0d12;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

    .guide-tab:hover,
    .guide-tab.active {
        background: linear-gradient(135deg, #d4af37, #f0d67a);
        color: #2a1800;
    }

.guide-pane {
    display: none;
}

    .guide-pane.active {
        display: block;
    }

.guide-card {
    background: #fff;
    border: 1px solid #eadab2;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

    .guide-card h2 {
        color: #6f0d12;
        margin-bottom: 24px;
    }

.guide-item {
    margin-bottom: 24px;
}

    .guide-item h4 {
        color: #6f0d12;
        margin-bottom: 10px;
    }

.guide-list {
    padding-left: 20px;
    line-height: 1.9;
    color: #444;
}

.guide-btn-row {
    margin-top: 20px;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

    .guide-table th,
    .guide-table td {
        border: 1px solid #e5d3a3;
        padding: 10px;
        text-align: center;
    }

    .guide-table thead {
        background: #6f0d12;
        color: #fff;
    }

@media (max-width: 768px) {
    .guide-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .guide-tab {
        width: 100%;
    }
}