* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '微軟正黑體', sans-serif;
    line-height: 1.6;
    color: #2C1810;
    background-color: #F5F1EA;
}

header {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    background: rgba(60, 74, 62, 0.8);
}

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

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

.social-link img {
    width: 32px;
    height: 32px;
    transition: opacity 0.3s;
}

.social-link:hover img {
    opacity: 0.8;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(60, 74, 62, 0.5);
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #F5F1EA;
    padding: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

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

.header-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.product-showcase {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.product-slider {
    flex: 0 0 50%;  /* 設置寬度為父容器的50% */
    position: relative;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(44, 24, 16, 0.1);
    height: 400px;
}

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

.slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    position: relative;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: #fff;
}

.product-info {
    flex: 0 0 45%;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(44, 24, 16, 0.1);
    border: 1px solid #D4C5B9;
}

.specs {
    margin: 1.5rem 0;
}

.specs ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.cta-button {
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #654321;
}

.features {
    background-color: #E6DFD4;
    padding: 3rem 1rem;
}

.features h2 {
    text-align: center;
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(44, 24, 16, 0.1);
    border: 1px solid #D4C5B9;
}

footer {
    background-color: #3C4A3E;
    color: #F5F1EA;
    padding: 3rem 1rem 1rem;
    margin-top: 2rem;
}

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

.footer-section h4 {
    color: #F5F1EA;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8B4513;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li i {
    color: #8B4513;
    font-size: 1.1rem;
}

.footer-section a {
    color: #F5F1EA;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #D4C5B9;
}

.social-media {
    display: flex;
    gap: 1.2rem;
}

.social-media img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s;
}

.social-media img:hover {
    opacity: 0.8;
}

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

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }

    .top-bar {
        padding: 1rem 1rem;
    }

    .logo img {
        height: 40px;
    }

    .social-link img {
        width: 28px;
        height: 28px;
    }

    .product-showcase {
        flex-direction: column;
    }
    
    .product-slider,
    .product-info {
        flex: 0 0 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul li {
        justify-content: center;
    }

    .social-media {
        justify-content: center;
    }
}

/* 模態框樣式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #F5F1EA;
    margin: 2% auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
}

.close-button {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #2C1810;
}

.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #D4C5B9;
    padding-bottom: 10px;
}

.tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #2C1810;
    border-radius: 4px 4px 0 0;
}

.tab-button.active {
    background-color: #3C4A3E;
    color: #F5F1EA;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.equipment-section {
    margin-bottom: 30px;
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
}

.equipment-list li {
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
}

.price-table th,
.price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #D4C5B9;
}

.price-table th {
    background-color: #3C4A3E;
    color: #F5F1EA;
    font-weight: bold;
}

.price-table td {
    vertical-align: top;
}

.price-table tr:hover {
    background-color: #f5f5f5;
}

.price-table small {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .equipment-list {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .price-table th,
    .price-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}

/* 更新選配清單樣式 */
.optional-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.optional-list li {
    background-color: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #D4C5B9;
    transition: transform 0.2s ease;
}

.optional-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.optional-list small {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .optional-list {
        grid-template-columns: 1fr;
    }
    
    .optional-list li {
        font-size: 0.9em;
    }
}

/* 添加內裝照片輪播樣式 */
.interior-photos {
    margin: 20px 0;
}

.interior-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(44, 24, 16, 0.1);
}

.interior-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.interior-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.interior-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(60, 74, 62, 0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.slider-nav:hover {
    background: rgba(60, 74, 62, 1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.interior-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 20px;
}

.interior-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.interior-dot.active {
    background: #fff;
}

@media (max-width: 768px) {
    .interior-slider {
        height: 300px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

.about-modal-content {
    line-height: 1.8;
    padding: 20px 0;
}

.about-modal-content p {
    margin-bottom: 1.5rem;
    color: #2C1810;
}

#aboutModal .modal-content {
    max-width: 800px;
}

.adventure-intro {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #F5F1EA 0%, #E6DFD4 100%);
    margin-top: 2rem;
}

.adventure-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(44, 24, 16, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.adventure-content h2 {
    text-align: center;
    color: #2C1810;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.adventure-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8B4513;
}

.feature-points {
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-points p {
    padding: 1.5rem;
    background: #F5F1EA;
    border-radius: 12px;
    margin: 0;
    border: none;
    transition: transform 0.3s ease;
}

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

.highlight {
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    margin: 2.5rem 0;
}

.cta-text {
    text-align: center;
    font-size: 1.3rem;
    color: #2C1810;
    font-weight: 500;
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 2px dashed #8B4513;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .feature-points {
        grid-template-columns: 1fr;
    }
    
    .adventure-content {
        padding: 1.5rem;
    }
    
    .adventure-content h2 {
        font-size: 1.8rem;
    }
}

.messenger-icon {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s;
    margin: 0 4px;
}

.messenger-icon:hover {
    opacity: 0.8;
}

.messenger-icon img {
    vertical-align: middle;
} 