/* =========================================================
   首頁 Banner 樣式
   ========================================================= */
.banner { text-align: center; }
.banner-image { position: relative; }
.explore-btn {
    position: relative;
    bottom: 60px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
@media (max-width: 767px) {
    .explore-btn { position: static; bottom: auto; }
}
.explore-btn:hover {
    background: linear-gradient(135deg, #ff9d5c 0%, #ff7b45 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}
.explore-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
}

/* =========================================================
   首頁卡片區塊樣式
   ========================================================= */
.custom-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}
.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.custom-card__top-bar { height: 8px; }
.custom-card__body {
    background-color: #ffffff;
    border-radius: 18px 18px 0 0;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .custom-card__body { min-height: 280px; }
}
.custom-card__icon { margin-bottom: 16px; }
.custom-card__icon img {
    width: 100px;
    height: auto;
    object-fit: contain;
}
@media (min-width: 768px) {
    .custom-card__icon img { width: 120px; }
}
.custom-card__title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .custom-card__title { font-size: 30px; margin-bottom: 16px; }
}
.custom-card__description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 4px;
    flex-grow: 1;
}
@media (min-width: 768px) {
    .custom-card__description { margin-bottom: 8px; }
}
.custom-card__button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: transparent;
    transition: color 0.3s ease;
}
@media (min-width: 768px) {
    .custom-card__button { font-size: 20px; padding: 8px 12px; }
}
.custom-card__button:hover {
    color: #ff4500;
    text-decoration: none;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    justify-content: center;
}
@media (max-width: 1199px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .cards-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}