:root {
    --tiger-yellow: #ffc20e;
    --tiger-black: #111111;
    --tiger-dark-gray: #222222;
    --tiger-orange: #f37021;
    --light-bg: #f7f9fa;
}

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

body {
    font-family: 'PingFang TC', 'Microsoft JhengHei', sans-serif, Arial;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
}

/* 頂部宣告條 */
.top-bar {
    background-color: var(--tiger-black);
    color: #ccc;
    font-size: 0.8rem;
    text-align: center;
    padding: 6px 10px;
    border-bottom: 2px solid var(--tiger-yellow);
}

/* 導航列 */
header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tiger-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.tiger-logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s;
}

.tiger-logo-img:hover {
    opacity: 0.85;
}

/* 導航選單 */
nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: var(--tiger-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--tiger-orange);
}

.nav-btn {
    background-color: var(--tiger-yellow);
    color: var(--tiger-black) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.nav-btn:hover {
    background-color: #e5ae0c;
}

/* --- 自動輪播 Hero Banner 樣式 --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-content h1 span {
    color: var(--tiger-yellow);
}

.hero-content p {
    font-size: 1.25rem;
    margin: 0 auto 35px;
    color: #eee;
}

.hero-cta {
    display: inline-block;
    background-color: var(--tiger-yellow);
    color: var(--tiger-black);
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(255, 194, 14, 0.4);
    transition: transform 0.2s, background-color 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background-color: #e5ae0c;
}

/* 內容區塊 */
.container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.disclaimer-box {
    background-color: #fff8e1;
    border-left: 5px solid var(--tiger-yellow);
    padding: 18px 20px;
    margin-bottom: 50px;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 800;
    color: var(--tiger-black);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--tiger-yellow);
}

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

.card-content {
    padding: 22px;
}

.card-content h3, .card-content h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--tiger-black);
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-link {
    color: var(--tiger-orange);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.card-link:hover {
    text-decoration: underline;
}

/* 機隊表格樣式 */
.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--tiger-yellow);
    margin-bottom: 40px;
}

.fleet-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.9rem;
}

.fleet-table th {
    background-color: var(--tiger-black);
    color: white;
    padding: 12px 15px;
    font-weight: 600;
}

.fleet-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.fleet-table tr:hover {
    background-color: #fffde7;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
}

.badge.ceo {
    background-color: #e2e8f0;
    color: #334155;
}

.badge.neo {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid var(--tiger-yellow);
}

/* ==========================================
   擬真虎航雙層頁尾 (Realistic Footer)
========================================== */
.tiger-footer {
    background-color: #383a3f;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 60px;
    border-top: none;
    padding: 0;
    text-align: left;
}

.tiger-footer-top {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 30px 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #cbd1d8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--tiger-yellow);
    padding-left: 3px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-btn-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111418;
    border: 1px solid #4a505c;
    border-radius: 6px;
    padding: 8px 12px;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.2s;
}

.app-btn:hover {
    border-color: var(--tiger-yellow);
    background: #1e2229;
    transform: translateY(-2px);
}

.app-btn-icon {
    font-size: 1.4rem;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
}

.app-btn-text small {
    font-size: 0.65rem;
    color: #9aa3af;
    line-height: 1.1;
}

.app-btn-text span {
    font-size: 0.85rem;
    font-weight: 700;
}

.tiger-footer-bottom {
    background-color: #ffffff;
    color: #555555;
    padding: 16px 5%;
    border-top: 1px solid #e5e8ec;
}

.footer-bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.footer-legal {
    font-size: 0.78rem;
    color: #666666;
    line-height: 1.6;
    flex: 1;
    min-width: 300px;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vatsim-badge {
    background: #1a222d;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--tiger-yellow);
    letter-spacing: 1px;
}

.vamsys-badge {
    background: #ffc20e;
    color: #111111;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .tiger-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav { display: none; }
    .hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 576px) {
    .tiger-footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
