/* ============================================================
   新途旅行 - 首页样式 (home.css)
   包含：Hero区域、搜索卡片、分类导航、首页产品卡片
   ============================================================ */

/* ============================================================
   Hero 区域
   ============================================================ */
.ota-hero { position: relative; overflow: hidden; }
.ota-hero--gradient { background: linear-gradient(90deg, #EA580C 0%, #F97316 50%, #FBBF24 100%); padding: 2.5rem 0; min-height: 0; display: flex; align-items: center; }
.ota-hero-inner { display: flex; align-items: center; width: 100%; gap: 3rem; }
.ota-hero-text { flex: 0 0 42%; color: var(--ota-white); }
.ota-hero-badge { display: inline-flex; align-items: center; height: 29px; padding: 0 14px; border-radius: 9999px; background: rgba(255,255,255,0.25); color: #fff; font-size: 0.8125rem; font-weight: 500; margin-bottom: 1.25rem; }
.ota-hero-title { font-size: 2.75rem; font-weight: 800; line-height: 1.2; margin-bottom: 0.75rem; white-space: pre-line; }
.ota-hero-subtitle { font-size: 1rem; font-weight: 500; color: #FFF7ED; line-height: 1.5; }
.ota-hero-right { flex: 1; display: flex; align-items: center; justify-content: center; }
.ota-search-card { width: 100%; max-width: 480px; padding: 1.5rem; background: var(--ota-white); border-radius: 24px; box-shadow: 0 8px 32px rgba(234,88,12,0.30); }
.ota-search-tabs { display: flex; gap: 1.25rem; margin-bottom: 1rem; }
.ota-search-tab { font-size: 0.9375rem; font-weight: 500; color: var(--ota-gray-500); cursor: pointer; text-decoration: none; padding: 0; border: none; background: none; transition: var(--ota-transition-fast); }
.ota-search-tab.active { font-weight: 800; color: var(--ota-accent); }
.ota-search-tab:hover { color: var(--ota-primary); }
.ota-search-input-row { display: flex; height: 48px; }
.ota-dest-input { display: flex; align-items: center; flex: 1; padding: 0 12px; gap: 6px; background: var(--ota-primary-lighter); border-radius: 12px 0 0 12px; }
.ota-dest-input i { color: var(--ota-gray-400); font-size: 0.875rem; }
.ota-dest-input input { border: none; outline: none; background: transparent; font-size: 0.875rem; width: 100%; color: var(--ota-gray-700); }
.ota-dest-input input::placeholder { color: var(--ota-gray-400); }
.ota-date-input { display: flex; align-items: center; flex: 1; padding: 0 12px; gap: 6px; background: var(--ota-white); }
.ota-date-input i { color: var(--ota-gray-400); font-size: 0.875rem; }
.ota-date-input input { border: none; outline: none; background: transparent; font-size: 0.875rem; width: 100%; color: var(--ota-gray-700); }
.ota-date-input input::placeholder { color: var(--ota-gray-400); }
.ota-search-btn { display: flex; align-items: center; justify-content: center; width: 100px; background: var(--ota-primary); border: none; border-radius: 0 12px 12px 0; font-size: 1rem; font-weight: 700; color: var(--ota-white); cursor: pointer; transition: var(--ota-transition-fast); }
.ota-search-btn:hover { background: var(--ota-primary-dark); }
.ota-hero--carousel { min-height: 420px; }
.ota-hero--carousel .carousel-item img { width: 100%; min-height: 420px; object-fit: cover; }
.ota-hero--carousel .ota-hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 3rem 0 2.5rem; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%); z-index: 10; display: flex; justify-content: center; }
.ota-search-bar { background: var(--ota-white); border-radius: var(--ota-radius-full); box-shadow: 0 4px 20px rgba(0,0,0,0.15); display: flex; align-items: center; max-width: 600px; width: 100%; overflow: hidden; }
.ota-search-bar input { border: none; outline: none; padding: 0.9rem 1.25rem; font-size: 1rem; flex: 1; background: transparent; min-width: 0; }
.ota-search-bar input::placeholder { color: var(--ota-gray-400); }
.ota-search-bar button { background: var(--ota-accent); color: var(--ota-white); border: none; padding: 0.7rem 1.5rem; font-size: 0.95rem; font-weight: 600; cursor: pointer; margin: 5px; border-radius: var(--ota-radius-full); display: flex; align-items: center; gap: 0.35rem; transition: var(--ota-transition-fast); white-space: nowrap; }
.ota-search-bar button:hover { background: var(--ota-accent-dark); }
.hero-banner { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; padding: 3rem 0; }

/* ============================================================
   分类导航（芯片风格）
   ============================================================ */
.ota-category-section { padding: 2.5rem 0 1rem; background: var(--ota-white); }
.ota-category-title { font-weight: 800; font-size: 1.5rem; color: #431407; margin-bottom: 1.25rem; }
.ota-chip-group { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.ota-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 1.125rem; border-radius: 9999px; background: #FFEDD5; color: #9A3412; font-size: 0.875rem; font-weight: 500; border: none; cursor: pointer; transition: var(--ota-transition-fast); text-decoration: none !important; }
.ota-chip:hover { background: #FED7AA; }
.ota-chip.active { background: linear-gradient(90deg, #F97316 0%, #EA580C 100%); color: #fff; box-shadow: 0 2px 8px rgba(249,115,22,0.3); }
.ota-category-grid { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.ota-category-card { display: flex; flex-direction: column; align-items: center; text-decoration: none !important; color: var(--ota-gray-700); padding: 1rem 1.5rem; border-radius: var(--ota-radius-md); transition: var(--ota-transition); min-width: 100px; }
.ota-category-card:hover { background: var(--ota-primary-lighter); color: var(--ota-primary); transform: translateY(-2px); }
.ota-category-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ota-primary-light); color: var(--ota-primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 0.5rem; transition: var(--ota-transition); }
.ota-category-card:hover .ota-category-icon { background: var(--ota-primary); color: var(--ota-white); }
.ota-category-label { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }

/* ============================================================
   首页产品区域
   ============================================================ */
.ota-product-section { padding: 3rem 0; background: var(--ota-primary-lighter); }
.ota-product-section--alt { background: var(--ota-white); }
.ota-product-section--deals { background: var(--ota-white); }

@media (max-width: 767.98px) {
    .ota-chip-group { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .ota-chip-group::-webkit-scrollbar { display: none; }
    .ota-chip { flex-shrink: 0; }
}
