:root {
    --himalayan-blue: #2A6BCF;
    --himalayan-blue-lite: #5A93E9;
    --sunrise-orange: #FF6F00;
    --evergreen-green: #00703C;
    --evergreen-green-darker: #00502C;
    --mountain-rock-gray: #808080;
    --cloud-white: #FFFFFF;
    --frost-gray: #f2f2f2;
    --highlight-background: #e9ecef;
    --dark-black-text: #1a1a1a;
    --primary-text: #2c2c2c;
    --secondary-text: #4d4d4d;
    --muted-text: #6e6e6e;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

.container {
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

.adventure-hub-wrapper {
    max-width: 1200px;
    padding: 10px;
    background: var(--cloud-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    box-sizing: border-box;
    overflow: hidden;
}

.adventure-hub-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding: 0;
}

.header-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(42, 107, 207, 0.5), rgba(26, 26, 26, 0.4));
    pointer-events: none;
    z-index: 1;
}

.adventure-hub-title,
.adventure-hub-intro {
    position: relative;
    z-index: 2;
}

.adventure-hub-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cloud-white);
    margin: 0 0 10px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.adventure-hub-intro {
    font-size: 1.1rem;
    color: var(--cloud-white);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.adventure-hub-main {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.adventure-hub-treks {
    flex: 0 0 60%;
    min-width: 0;
}

.trek-card {
    display: flex;
    background: var(--frost-gray);
    border: 1px solid var(--mountain-rock-gray);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.trek-card:hover {
    border-color: var(--sunrise-orange);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.trek-card-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.trek-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    transition: transform 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.trek-card:hover .trek-card-img {
    transform: scale(1.03);
}

.trek-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.trek-card-details {
    flex: 0 0 60%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    width: 100%;
    overflow: hidden;
}

.trek-card-details:hover {
    background: var(--highlight-background);
}

.trek-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--evergreen-green);
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    display: block;
}

.trek-card-description {
    font-size: 1rem;
    color: var(--secondary-text);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
}

.trek-card-meta {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--mountain-rock-gray) transparent;
}

.trek-card-meta::-webkit-scrollbar {
    height: 5px;
}

.trek-card-meta::-webkit-scrollbar-thumb {
    background: var(--mountain-rock-gray);
    border-radius: 3px;
}

.trek-card-meta::-webkit-scrollbar-track {
    background: transparent;
}

.trek-card-meta-item {
    background: var(--highlight-background);
    color: var(--primary-text);
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.trek-card-meta-item:hover {
    background: var(--himalayan-blue-lite);
    color: var(--cloud-white);
}

.trek-card-meta-item strong {
    color: var(--dark-black-text);
    margin-right: 5px;
}

.adventure-hub-guides {
    flex: 0 0 calc(40% - 10px);
    background: var(--frost-gray);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--shadow);
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.guides-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--himalayan-blue);
    margin: 0 0 15px;
    line-height: 1.3;
    border-bottom: 2px solid var(--sunrise-orange);
    padding-bottom: 6px;
}

.guides-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guide-card {
    display: flex;
    align-items: center;
    background: var(--cloud-white);
    border: 1px solid var(--mountain-rock-gray);
    border-radius: 8px;
    padding: 12px;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.guide-card:hover {
    border-color: var(--sunrise-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.guide-card-icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    object-fit: contain;
    filter: invert(20%) sepia(50%) saturate(500%) hue-rotate(200deg);
    transition: var(--transition);
}

.guide-card:hover .guide-card-icon {
    filter: invert(30%) sepia(80%) saturate(600%) hue-rotate(10deg);
}

.guide-card-content {
    flex: 1;
    overflow: hidden;
}

.guide-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-black-text);
    margin: 0 0 5px;
    overflow-wrap: break-word;
}

.guide-card:hover .guide-card-title {
    color: var(--evergreen-green);
}

.guide-card-description {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin: 0;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.guide-card:hover .guide-card-description {
    color: var(--primary-text);
}

.adventure-hub-overview,
.adventure-hub-comparison,
.adventure-hub-preparation,
.adventure-hub-culture,
.adventure-hub-cta {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--cloud-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.adventure-hub-overview h2,
.adventure-hub-comparison h2,
.adventure-hub-preparation h2,
.adventure-hub-culture h2,
.adventure-hub-cta h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--himalayan-blue);
    margin: 0 0 15px;
    line-height: 1.3;
    border-bottom: 2px solid var(--sunrise-orange);
    padding-bottom: 6px;
}

.adventure-hub-overview p,
.adventure-hub-comparison p,
.adventure-hub-preparation p,
.adventure-hub-culture p,
.adventure-hub-cta p {
    font-size: 1rem;
    color: var(--secondary-text);
    line-height: 1.5;
    margin: 0 0 15px;
}

.trek-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--primary-text);
}

.trek-comparison-table th,
.trek-comparison-table td {
    padding: 12px;
    border: 1px solid var(--mountain-rock-gray);
    text-align: left;
}

.trek-comparison-table th {
    background: var(--frost-gray);
    color: var(--evergreen-green);
    font-weight: 600;
}

.trek-comparison-table tr:nth-child(even) {
    background: var(--highlight-background);
}

.trek-comparison-table a {
    color: var(--himalayan-blue);
    text-decoration: none;
    transition: var(--transition);
}

.trek-comparison-table a:hover {
    color: var(--sunrise-orange);
    text-decoration: underline;
}

.prep-tips-list,
.culture-tips-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.prep-tips-list li,
.culture-tips-list li {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.prep-tips-list li:before,
.culture-tips-list li:before {
    content: '✔';
    color: var(--evergreen-green);
    position: absolute;
    left: 0;
    top: 2px;
}

.prep-tips-list a,
.culture-tips-list a,
.adventure-hub-cta a {
    color: var(--himalayan-blue);
    text-decoration: none;
    transition: var(--transition);
}

.prep-tips-list a:hover,
.culture-tips-list a:hover,
.adventure-hub-cta a:hover {
    color: var(--sunrise-orange);
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .adventure-hub-main {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .adventure-hub-treks,
    .adventure-hub-guides {
        flex: 0 0 100%;
    }

    .adventure-hub-wrapper {
        padding: 15px;
    }

    .header-background {
        padding: 30px 15px;
        min-height: 240px;
    }

    .adventure-hub-title {
        font-size: 2.2rem;
    }

    .adventure-hub-intro {
        font-size: 1rem;
    }

    .trek-card {
        margin-bottom: 15px;
    }

    .trek-card-details {
        padding: 12px;
    }

    .trek-card-title {
        font-size: 1.4rem;
    }

    .trek-card-description {
        font-size: 0.95rem;
    }

    .trek-card-meta-item {
        font-size: 0.85rem;
    }

    .trek-card-meta {
        gap: 8px;
    }

    .guides-title {
        font-size: 1.6rem;
    }

    .guide-card {
        padding: 10px;
    }

    .guide-card-title {
        font-size: 1.1rem;
    }

    .guide-card-description {
        font-size: 0.85rem;
    }

    .guide-card-icon {
        width: 32px;
        height: 32px;
    }

    .adventure-hub-guides {
        padding: 12px;
    }

    .adventure-hub-overview,
    .adventure-hub-comparison,
    .adventure-hub-preparation,
    .adventure-hub-culture,
    .adventure-hub-cta {
        padding: 15px;
        margin-bottom: 20px;
    }

    .adventure-hub-overview h2,
    .adventure-hub-comparison h2,
    .adventure-hub-preparation h2,
    .adventure-hub-culture h2,
    .adventure-hub-cta h2 {
        font-size: 1.6rem;
    }

    .trek-comparison-table {
        font-size: 0.9rem;
    }

    .trek-comparison-table th,
    .trek-comparison-table td {
        padding: 8px;
    }

    .prep-tips-list li,
    .culture-tips-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .adventure-hub-wrapper {
        padding: 10px;
    }

    .header-background {
        padding: 20px 10px;
        min-height: 200px;
    }

    .adventure-hub-title {
        font-size: 1.8rem;
    }

    .adventure-hub-intro {
        font-size: 0.9rem;
    }

    .trek-card {
        margin-bottom: 12px;
    }

    .trek-card-details {
        padding: 10px;
    }

    .trek-card-title {
        font-size: 1.3rem;
    }

    .trek-card-description {
        font-size: 0.9rem;
    }

    .trek-card-meta-item {
        font-size: 0.8rem;
    }

    .trek-card-meta {
        gap: 6px;
    }

    .guides-title {
        font-size: 1.4rem;
    }

    .guide-card-title {
        font-size: 1rem;
    }

    .guide-card-description {
        font-size: 0.8rem;
    }

    .guide-card-icon {
        width: 28px;
        height: 28px;
        margin-right: 10px;
    }

    .guide-card {
        padding: 8px;
    }

    .adventure-hub-guides {
        padding: 10px;
    }

    .adventure-hub-overview,
    .adventure-hub-comparison,
    .adventure-hub-preparation,
    .adventure-hub-culture,
    .adventure-hub-cta {
        padding: 10px;
        margin-bottom: 15px;
    }

    .adventure-hub-overview h2,
    .adventure-hub-comparison h2,
    .adventure-hub-preparation h2,
    .adventure-hub-culture h2,
    .adventure-hub-cta h2 {
        font-size: 1.4rem;
    }

    .trek-comparison-table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .trek-comparison-table th,
    .trek-comparison-table td {
        padding: 6px;
        min-width: 120px;
    }

    .prep-tips-list li,
    .culture-tips-list li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}