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

body {
    font-family: 'Arial', 'Microsoft JhengHei', sans-serif;
    line-height: 1.6;
}

/* navbar */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd !important;
}

/* login btn */
.navbar-nav .nav-link.btn-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
    border-radius: 5px;
    padding: 8px 20px !important;
}

.navbar-nav .nav-link.btn-primary:hover {
    background-color: #0b5ed7 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

/* 輪播圖 */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    bottom: 20%;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* 卡片樣式 */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-title {
    font-weight: bold;
    color: #333;
}

.badge {
    font-size: 0.9rem;
    padding: 5px 10px;
}

/* 服務特色區塊 */
.feature-icon i {
    transition: transform 0.3s ease;
}

.feature-icon:hover i {
    transform: scale(1.2);
}

/* footer */
footer {
    margin-top: auto;
}

footer a:hover {
    color: #fff !important;
}

.social-links a {
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-caption {
        padding: 15px;
        bottom: 10%;
    }
}
