@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
/* 全局樣式 */
body {
    font-family: 'Noto Sans TC', sans-serif;
    padding-top: 70px;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* 主題顏色 */
:root {
    /* 主色調 */
    --primary-color: #A5865F;  /* 溫暖的金褐色 */
    --primary-light: #C4A484;  /* 淺金褐色 */
    --primary-dark: #8B7355;   /* 深金褐色 */
    
    /* 輔助色 */
    --accent-color: #4A6741;   /* 沉穩的綠色 */
    --accent-light: #718C69;   /* 淺綠色 */
    
    /* 中性色 */
    --text-dark: #2C2C2C;      /* 主要文字色 */
    --text-muted: #666666;     /* 次要文字色 */
    --text-light: #888888;     /* 淺色文字 */
    --bg-light: #F8F9FA;       /* 淺色背景 */
    --bg-white: #FFFFFF;       /* 白色背景 */
}

/* 主標題樣式 */
h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* 按鈕樣式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* 卡片樣式 */
.card {
    transition: transform 0.3s;
}

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

/* 區塊間距 */
section {
    padding: 80px 0;
}

/* 卡片樣式 */
.card-header {
    background-color: var(--primary-color);
    color: white;
}

/* 頁尾樣式 */
footer.bg-dark {
    background-color: var(--primary-color) !important;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    h2 {
        font-size: 1.8rem;
    }
    .rental-section {
        padding: 20px;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* LOGO樣式 */
.navbar-logo {
    height: 40px;
    width: auto;
}

/* 在手機版時調整LOGO大小 */
@media (max-width: 768px) {
    .navbar-logo {
        height: 30px;
    }
}

/* 特色區塊樣式 */
.features-row {
    margin-top: 3rem;
}

.feature-item {
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.feature-item h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 特色圖標樣式 */
.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(165, 134, 95, 0.2), rgba(196, 164, 132, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
}

/* 場地介紹樣式 */
.court-info {
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.court-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.court-icon i {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.court-info h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.court-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* 圖片效果 */
.court-info img {
    transition: transform 0.3s ease;
}

.court-info:hover img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .court-info {
        margin-bottom: 30px;
    }
}

/* 交通方式樣式 */
.transport-info {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.transport-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.transport-item h4 i {
    margin-right: 10px;
    font-size: 1.4rem;
}

.transport-item p {
    color: #666;
    padding-left: 35px;
    margin-bottom: 0;
    line-height: 1.6;
}

.parking-info {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 5px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

@media (max-width: 991px) {
    .transport-info {
        margin-bottom: 30px;
    }
    .map-container {
        height: 400px;
    }
}

/* QR Code 區塊樣式 */
.qr-section {
    margin-top: 2rem;
    padding: 20px;
    /*background-color: rgba(255, 255, 255, 0.9);*/
    border-radius: 15px;
    display: inline-block;
}

.qr-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

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

.qr-code {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.qr-title {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-title i {
    font-size: 1.3rem;
}

/* 調整手機版顯示 */
@media (max-width: 768px) {
    .qr-section {
        margin-top: 1.5rem;
        padding: 15px;
    }
    
    .qr-card {
        padding: 10px;
    }
    
    .qr-code {
        max-width: 120px;
    }
    
    .qr-title {
        font-size: 1rem;
    }
}

/* 聯絡我們樣式 */
.contact-card {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
}

.line-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.line-icon i {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qr-wrapper {
    display: inline-block;
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.qr-wrapper:hover {
    transform: translateY(-5px);
}

.line-qr {
    width: 200px;
    height: auto;
}

.contact-info {
    text-align: left;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #666;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 25px;
    }
    
    .line-qr {
        width: 150px;
    }
    
    .contact-info {
        padding: 15px;
    }
}

/* 優惠方案新樣式 */
.promo-banner {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
}

.promo-header {
    text-align: center;
    margin-bottom: 40px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    gap: 10px;
}

.end-date {
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.9em;
}

.promo-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.promo-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.promo-card {
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.promo-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(165, 134, 95, 0.15);
}

.promo-card-header {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.promo-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.promo-card-header h4 {
    color: var(--primary-color);
    margin: 0;
}

.promo-card-body {
    padding: 20px;
}

.promo-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-card-body li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #666;
}

.promo-card-body li:last-child {
    margin-bottom: 0;
}

.promo-card-body li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.promo-notes {
    text-align: center;
    color: #666;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.promo-notes p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.promo-notes p:not(:last-child) {
    margin-bottom: 8px;
}

.promo-notes i {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .promo-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 25px;
    }
    
    .promo-content {
        grid-template-columns: 1fr;
    }
    
    .promo-header h3 {
        font-size: 1.5rem;
    }
}

.price-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.price-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.price-header h3 {
    margin-bottom: 10px;
}

.time-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.price-body {
    padding: 30px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    color: #666;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.price-value small {
    font-size: 0.8rem;
    font-weight: normal;
    margin-left: 2px;
}

.featured {
    border: 2px solid var(--primary-color);
}

.price-notes {
    text-align: center;
    color: #666;
}

.price-notes p {
    margin-bottom: 5px;
}

.price-notes i {
    color: var(--primary-color);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 20px;
    }
    
    .price-body {
        padding: 20px;
    }
}

/* 背景裝飾 */
.decoration-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shuttlecock-1,
.shuttlecock-2,
.shuttlecock-3 {
    position: absolute;
    width: 50px;
    height: 50px;
    background: url('images/shuttlecock.png') no-repeat center/contain;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.shuttlecock-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shuttlecock-2 {
    top: 45%;
    right: 15%;
    animation-delay: -5s;
}

.shuttlecock-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.circle-1,
.circle-2 {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.05;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-100px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* 頁尾樣式 */
.footer {
    background-color: var(--text-dark);
    color: #fff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
}

.footer-brand {
    margin-bottom: 20px;
}

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

.footer-title {
    color: var(--primary-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: var(--primary-color);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(165, 134, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 導航欄社交媒體連結樣式 */
.navbar .social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(165, 134, 95, 0.1);
}

.nav-social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 手機版導航欄調整 */
@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        padding: 5px 0;
    }
    
    .nav-link {
        display: inline-block;
    }
    
    .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* VIP包廂特色樣式 */
.vip-alert {
    background: linear-gradient(135deg, rgba(165, 134, 95, 0.08), rgba(255, 255, 255, 0.95));
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 20px rgba(165, 134, 95, 0.1);
}

.vip-content {
    max-width: 900px;
    margin: 0 auto;
}

.vip-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.vip-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-icon i {
    color: white;
    font-size: 1.5rem;
}

.vip-header h4 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin: 0;
}

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

.vip-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.vip-feature:hover {
    transform: translateX(5px);
    background-color: white;
    box-shadow: 0 3px 10px rgba(165, 134, 95, 0.1);
}

.vip-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.vip-feature span {
    color: var(--text-dark);
    font-size: 1rem;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .vip-alert {
        padding: 20px;
    }
    
    .vip-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vip-header {
        margin-bottom: 20px;
    }
    
    .vip-header h4 {
        font-size: 1.3rem;
    }
    
    .vip-icon {
        width: 40px;
        height: 40px;
    }
    
    .vip-icon i {
        font-size: 1.2rem;
    }
}

/* 副標題樣式 */
.section-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: -5px 0 15px 32px;
    font-weight: 400;
    border-left: 2px solid var(--primary-light);
    padding-left: 12px;
}

/* 更新間距 */
.rental-section h4 {
    margin-bottom: 5px; /* 縮小標題和副標之間的間距 */
}

/* 租借規範區塊樣式更新 */
.rental-section {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(165, 134, 95, 0.1);
}

.rental-section h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.rental-section ul li {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 12px;
}

/* 首頁橫幅視差效果 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero-section .cta-buttons {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.hero-section .qr-section {
    animation: fadeInUp 1s ease 0.9s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 響應式調整 */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll; /* 移動設備禁用視差效果 */
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
}

@media (max-height: 600px) {
    .hero-section {
        height: auto;
        padding: 120px 0;
    }
}

/* 移除連結底線 */
a {
    text-decoration: none !important;
}

/* Section 通用特效 */
.section-fade-in {
    opacity: 1;
    transform: none;
}

.section-fade-in.active {
    animation: fadeInUp 1s ease forwards;
}

/* 背景裝飾元素 */
.section-decoration {
    position: relative;
    overflow: hidden;
}

.section-decoration::before,
.section-decoration::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.05;
}

.section-decoration::before {
    background: var(--primary-color);
    top: -150px;
    right: -150px;
}

.section-decoration::after {
    background: var(--primary-light);
    bottom: -150px;
    left: -150px;
}

/* 浮動動畫 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* 各個 Section 特效 */
#about {
    position: relative;
    padding-top: 80px;
    scroll-margin-top: 80px;
}

#about .about-image {
    animation: float 6s ease-in-out infinite;
}

#courts {
    position: relative;
    padding-top: 80px;
    margin-top: -80px;
    scroll-margin-top: 80px;
}

#courts .court-card {
    transition: all 0.3s ease;
}

#courts .court-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

#price {
    position: relative;
}

#price .rental-section {
    transition: all 0.3s ease;
}

#price .rental-section:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(165, 134, 95, 0.1);
}

#contact {
    position: relative;
}

#contact .contact-info i {
    animation: float 5s ease-in-out infinite;
}

/* 滾動視差效果 */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 添加 JavaScript 代碼來實現滾動顯示效果 */

/* 關於我們區塊樣式 */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image {
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.about-image-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    transform: translate(15px, 15px);
    z-index: 1;
}

.about-content {
    padding: 20px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-feature:last-child {
    margin-bottom: 0;
}

.about-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(165, 134, 95, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(165, 134, 95, 0.2), rgba(196, 164, 132, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-text p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .about-image-wrapper {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .about-feature {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
    
    .feature-text h4 {
        font-size: 1.1rem;
    }
}

/* 導航欄固定樣式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 50%;
}

/* 確保其他內容不被導航欄遮擋 */
body {
    padding-top: 70px;
}

/* 響應式調整 */
@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* 滾動動畫效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 導航欄滾動效果 */
.navbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

/* 為不同元素添加不同的動畫延遲 */
.animate-delay-1 {
    transition-delay: 0.2s;
}

.animate-delay-2 {
    transition-delay: 0.4s;
}

.animate-delay-3 {
    transition-delay: 0.6s;
}

/* 交通資訊樣式 */
.traffic-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.traffic-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.traffic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(165, 134, 95, 0.2), rgba(196, 164, 132, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.traffic-icon i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.traffic-item h5 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.traffic-item p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 響應式調整 */
@media (max-width: 991px) {
    .traffic-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .traffic-info {
        grid-template-columns: 1fr;
    }
    
    .traffic-item {
        padding: 20px;
    }
}

/* 地址資訊樣式 */
.address-info {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.map-wrapper {
    height: 100%;
    min-height: 300px;
}

.map-wrapper iframe {
    width: 100%;
    margin:15px;
    min-width: 450px;
    border-radius: 15px;
}

.address-content {
    padding: 30px;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.address-item:last-child {
    margin-bottom: 0;
}

.address-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.address-item h5 {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.address-item p {
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 991px) {
    .address-content {
        padding: 20px;
    }
    
    .address-item {
        margin-bottom: 20px;
    }
}

.google-map {
    width: 600px;
    height: 450px;
    border-radius: 15px;
}

/* 手機版社交媒體連結樣式 */
.social-links-mobile {
    display: flex;
    gap: 15px;
    margin-right: 15px;  /* 與漢堡按鈕保持距離 */
}

.social-links-mobile .nav-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(165, 134, 95, 0.1);
}

.social-links-mobile .nav-social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 漢堡按鈕樣式 */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    margin-left: 15px;  /* 與社交媒體圖標保持距離 */
    order: 3;  /* 確保在最右側 */
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
}

/* 三條線的樣式 */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    left: 0px;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before {
    top: 9px;
}

.navbar-toggler-icon {
    top: 5px;
}

.navbar-toggler-icon::after {
    top: 18px;
}

/* 展開時的 X 效果 */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 14px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 14px;
}

/* 手機版導航欄布局 */
@media (max-width: 991px) {
    .navbar > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-brand {
        order: 1;  /* Logo 在左側 */
    }
    
    .social-links-mobile {
        order: 2;  /* 社交媒體在中間 */
    }
    
    .navbar-toggler {
        order: 3;  /* 選單按鈕在右側 */
    }
    
    .navbar-collapse {
        order: 4;  /* 展開的選單在最下方 */
        width: 100%;
    }
} 