/**
 * Travel Page Styles
 * Custom styling for the CatDSN Travel page
 */

/* Travel page body */
body.travel-page {
    background: #f8f9fa;
}

/* Travel Header Section */
.travel-header-section {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b5b 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.travel-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Ensure header wraps properly with 1200px max-width */
.travel-header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Travel Top Bar */
.travel-top-bar {
    background: rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    font-size: 13px;
}

.travel-top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.travel-top-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.travel-top-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.travel-top-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.travel-top-right {
    display: flex;
    gap: 15px;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.travel-top-right a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.travel-top-right a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Travel Main Header */
.travel-main-header {
    background: #fff;
    border-bottom: 2px solid #ff3b30;
    padding: 20px 0;
}

.travel-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.travel-header-main {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
}

/* Travel Logo */
.travel-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 220px;
}

.travel-logo-new {
    display: flex;
    align-items: center;
    gap: 10px;
}

.travel-logo-icon {
    font-size: 42px;
    line-height: 1;
}

.travel-logo-text h1 {
    margin: 0;
    font-size: 28px;
    color: #333;
    font-weight: bold;
    letter-spacing: -1px;
}

.travel-logo-domain {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: -5px;
}

.travel-slogan {
    color: #ff3b30;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Travel Search */
.travel-search-area {
    flex: 1;
    max-width: 600px;
}

.travel-search-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.travel-search-tab {
    padding: 6px 15px;
    background: #f0f0f0;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    border-radius: 3px 3px 0 0;
    transition: all 0.2s;
}

.travel-search-tab.active {
    background: #00c8aa;
    color: white;
}

.travel-search-tab:hover:not(.active) {
    background: #e0e0e0;
}

.travel-search-box {
    display: flex;
    border: 2px solid #00c8aa;
    border-radius: 0 4px 4px 4px;
    overflow: hidden;
}

.travel-search-box input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.travel-search-box button {
    padding: 10px 25px;
    background: #00c8aa;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.travel-search-box button:hover {
    background: #00b09f;
}

.travel-quick-links {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.travel-quick-links span {
    color: #666;
}

.travel-quick-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.travel-quick-links a:hover {
    color: #ff6600;
    text-decoration: underline;
}

/* Travel Header Right (Ad) */
.travel-header-right {
    min-width: 200px;
}

.travel-ad-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 15px 20px;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.travel-ad-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.travel-ad-banner .ad-text {
    font-size: 14px;
    line-height: 1.4;
    display: block;
}

.travel-ad-banner strong {
    font-size: 24px;
    display: block;
    margin-top: 5px;
}

/* Travel Navigation */
.travel-nav-wrap {
    background: #1a1a1a;
    border: 4px solid #ff3b30;
    border-radius: 4px;
    overflow: hidden;
}

.travel-main-nav {
    display: flex;
    align-items: center;
}

/* Music Player in Nav */
.travel-nav-player {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: #2a2a2a;
    border-right: 1px solid #333;
    min-width: 280px;
    flex-shrink: 0;
}

.travel-player-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #ff6600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.travel-player-btn:hover {
    background: #e55a00;
}

.travel-player-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.travel-player-title {
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: 500;
}

.travel-player-meta {
    font-size: 11px;
    color: #aaa;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Nav Menu */
.travel-nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    overflow-x: auto;
}

.travel-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex: 1;
    overflow-x: auto;
}

.travel-nav-menu li {
    margin: 0;
    flex-shrink: 0;
}

.travel-nav-menu a {
    display: block;
    padding: 0 20px;
    line-height: 48px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.travel-nav-menu a:hover {
    background: #ff3b30;
}

.travel-nav-menu a.active {
    background: #ff3b30;
}

/* Travel Hero Section */
.travel-hero {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b5b 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.travel-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.travel-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.travel-hero h1 {
    font-size: 48px;
    margin: 0 0 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.travel-hero p {
    font-size: 20px;
    margin: 0 0 30px;
    opacity: 0.95;
}

.travel-hero-btn {
    display: inline-block;
    background: #fff;
    color: #ff3b30;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.travel-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Travel Feature Grid */
.travel-features {
    padding: 60px 20px;
    background: #fff;
}

.travel-features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.travel-section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin: 0 0 40px;
    font-weight: 700;
}

.travel-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.travel-feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.travel-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #ff3b30;
}

.travel-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.travel-feature-card h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 600;
}

.travel-feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Travel Category Cards */
.travel-categories {
    padding: 60px 20px;
    background: #f8f9fa;
}

.travel-categories-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.travel-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.travel-category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.travel-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.travel-category-img {
    height: 160px;
    background: linear-gradient(135deg, #ff6b5b 0%, #ff3b30 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.travel-category-info {
    padding: 20px;
}

.travel-category-info h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
    font-weight: 600;
}

.travel-category-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Travel Guidance Boxes */
.travel-guidance {
    padding: 60px 20px;
    background: #fff;
}

.travel-guidance-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.travel-guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.travel-guidance-box {
    background: linear-gradient(135deg, #fff9f0 0%, #fff5e6 100%);
    border: 1px solid #ffd9b3;
    border-radius: 12px;
    padding: 25px;
}

.travel-guidance-box h3 {
    font-size: 18px;
    color: #d46b08;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.travel-guidance-box ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.travel-guidance-box li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.travel-guidance-box li:last-child {
    margin-bottom: 0;
}

/* Travel Footer */
.travel-footer {
    background: #1a1a1a;
    color: #999;
    padding: 40px 20px;
    text-align: center;
}

.travel-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.travel-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.travel-footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.travel-footer-links a:hover {
    color: #fff;
}

.travel-footer-copyright {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .travel-header-main {
        flex-wrap: wrap;
    }

    .travel-header-right {
        display: none;
    }

    .travel-search-area {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }

    .travel-top-links {
        gap: 10px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .travel-main-nav {
        flex-direction: column;
    }

    .travel-nav-player {
        border-right: none;
        border-bottom: 1px solid #333;
        width: 100%;
    }

    .travel-nav-menu ul {
        width: 100%;
    }

    .travel-hero h1 {
        font-size: 32px;
    }

    .travel-hero p {
        font-size: 16px;
    }

    .travel-feature-grid {
        grid-template-columns: 1fr;
    }

    .travel-guidance-grid {
        grid-template-columns: 1fr;
    }
}
