/* ============================================
   Nomad Atlas - Main Stylesheet
   Adventurous, clean, airy design with emphasis on photography
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar while maintaining scroll functionality */
::-webkit-scrollbar {
    display: none;
}
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

:root {
    /* Color Palette - Adventure-inspired */
    --adventure-blue: #2C5F8D;
    --adventure-teal: #4A90A4;
    --adventure-sand: #D4C5A9;
    --adventure-cream: #F5F1E8;
    --adventure-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #8A8A8A;
    --border-color: #E5E5E5;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--adventure-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
}

a {
    text-decoration: none;
    color: var(--adventure-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--adventure-teal);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--adventure-white);
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.logo a {
    color: var(--adventure-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    color: var(--adventure-white);
    font-weight: 400;
    padding: var(--spacing-xs) 0;
    position: relative;
    font-size: 0.9375rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--adventure-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--adventure-blue);
}

.cta-nav {
    background: rgba(44, 95, 141, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white !important;
    padding: var(--spacing-xs) var(--spacing-md) !important;
    border-radius: 2px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-nav:hover {
    background: rgba(74, 144, 164, 0.9);
    color: white !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-nav::after {
    display: none;
}

.social-nav {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    font-size: 1.25rem;
    color: var(--adventure-white);
    transition: var(--transition);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.social-link:hover {
    color: var(--adventure-white);
    transform: translateY(-2px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 1px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 2px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--adventure-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--adventure-teal);
    color: white;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--adventure-blue);
    border: 1px solid var(--adventure-blue);
}

.btn-secondary:hover {
    background: var(--adventure-blue);
    color: white;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
    -webkit-filter: blur(1px);
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image .image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    background: linear-gradient(135deg, var(--adventure-blue) 0%, var(--adventure-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--spacing-xl);
}

.hero-title {
    font-size: 4rem;
    color: var(--adventure-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--adventure-white);
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Page Header
   ============================================ */

.page-header {
    background: var(--adventure-cream);
    padding: var(--spacing-xl) 0 0 0;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
    color: var(--adventure-blue);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
    font-weight: 300;
    margin-bottom: 0;
}

/* ============================================
   Featured Story
   ============================================ */

.featured-story {
    padding: var(--spacing-xl) 0;
    background: var(--adventure-white);
    position: relative;
    z-index: 10;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 241, 232, 0.9) 100%);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.featured-article:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.featured-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-image .image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.article-category {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--adventure-blue);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    border-radius: 2px;
}

.featured-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.featured-content h2 a {
    color: var(--text-dark);
}

.featured-content h2 a:hover {
    color: var(--adventure-blue);
}

.article-meta {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.article-excerpt {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Stories Section
   ============================================ */

.stories-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--adventure-white) 0%, var(--adventure-cream) 50%, var(--adventure-white) 100%);
    position: relative;
}

.stories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(44, 95, 141, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 144, 164, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.section-header h2 {
    margin-bottom: 0;
    color: var(--adventure-blue);
    font-weight: 700;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--adventure-blue), var(--adventure-teal));
    border-radius: 2px;
}

.view-all {
    color: var(--adventure-blue);
    font-weight: 600;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--adventure-teal);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.story-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.story-card:nth-child(1) { animation-delay: 0.1s; }
.story-card:nth-child(2) { animation-delay: 0.2s; }
.story-card:nth-child(3) { animation-delay: 0.3s; }
.story-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(44, 95, 141, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.story-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.story-card:hover::before {
    opacity: 1;
}

.story-card h3 {
    color: var(--text-dark);
    transition: var(--transition);
}

.story-card:hover h3 {
    color: var(--adventure-blue);
}

.story-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--adventure-cream);
}

.story-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.story-card:hover .story-image::after {
    opacity: 1;
}

.story-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-category {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(44, 95, 141, 0.9);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.story-content {
    padding: var(--spacing-md);
    position: relative;
    z-index: 2;
    background: white;
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.story-content h3 {
    color: var(--text-dark);
}

.story-card:hover .story-content h3 {
    color: var(--adventure-blue);
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.story-excerpt {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-medium);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Gallery Preview
   ============================================ */

.gallery-preview {
    padding: var(--spacing-xl) 0;
    background: var(--adventure-white);
    position: relative;
    overflow: hidden;
}

.gallery-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(44, 95, 141, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: var(--adventure-cream);
    opacity: 0;
    animation: fadeInScale 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.1) 0%, rgba(74, 144, 164, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* ============================================
   Destinations Preview
   ============================================ */

.destinations-preview {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--adventure-cream) 0%, var(--adventure-white) 100%);
    position: relative;
}

.destinations-preview::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 144, 164, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.destination-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.destination-card:nth-child(1) { animation-delay: 0.1s; }
.destination-card:nth-child(2) { animation-delay: 0.2s; }
.destination-card:nth-child(3) { animation-delay: 0.3s; }
.destination-card:nth-child(4) { animation-delay: 0.4s; }

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(44, 95, 141, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.destination-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.destination-card:hover::before {
    opacity: 1;
}

.destination-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    z-index: 1;
}

.destination-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover .destination-image img {
    transform: scale(1.15);
}

.destination-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.destination-card h3 {
    padding: var(--spacing-md);
    color: var(--adventure-blue);
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 3;
    transition: color 0.3s ease;
}

.destination-card:hover h3 {
    color: white;
}

.destination-card p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
    position: relative;
    z-index: 3;
    transition: color 0.3s ease;
}

.destination-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.section-cta {
    text-align: center;
}

/* ============================================
   About Preview
   ============================================ */

.about-preview {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--adventure-white) 0%, var(--adventure-cream) 100%);
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(44, 95, 141, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(74, 144, 164, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease;
}

.about-content:hover .about-image {
    transform: scale(1.02);
}

.about-image .image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.about-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.about-content:hover .about-image img {
    transform: scale(1.05);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--adventure-blue);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.about-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--adventure-cream);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.social-link-large {
    padding: var(--spacing-md) var(--spacing-lg);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--adventure-blue);
    font-weight: 600;
    transition: var(--transition);
}

.social-link-large:hover {
    background: var(--adventure-blue);
    color: white;
    border-color: var(--adventure-blue);
}

/* ============================================
   Blog Posts Page
   ============================================ */

.blog-posts {
    padding: var(--spacing-xl) 0;
}

.filter-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-medium);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--adventure-blue);
    color: white;
    border-color: var(--adventure-blue);
}

/* ============================================
   Blog Post Page
   ============================================ */

.blog-post {
    background: var(--adventure-white);
}

.post-header {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.post-hero-image {
    width: 100%;
    height: 60vh;
    min-height: 500px;
    position: relative;
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-hero-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--adventure-blue) 0%, var(--adventure-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.post-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.post-header-content .post-category {
    background: var(--adventure-blue);
    color: white;
}

.post-header-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.post-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.post-content {
    padding: var(--spacing-xl) 0;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.9;
}

.post-body .lead {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.post-body h2 {
    font-size: 2rem;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: var(--adventure-blue);
}

.post-image {
    margin: var(--spacing-xl) 0;
}

.post-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.post-image .image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.image-caption {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    margin-top: var(--spacing-sm);
}

.post-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.post-image-gallery .gallery-item {
    aspect-ratio: 1;
}

.post-signature {
    font-style: italic;
    color: var(--text-light);
    margin-top: var(--spacing-xl);
    text-align: right;
}

.post-share {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.post-share h3 {
    margin-bottom: var(--spacing-md);
    color: var(--adventure-blue);
}

.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--adventure-blue);
    font-weight: 600;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--adventure-blue);
    color: white;
    border-color: var(--adventure-blue);
}

.related-stories {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.related-stories h3 {
    margin-bottom: var(--spacing-md);
    color: var(--adventure-blue);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.related-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.related-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-card h4 {
    padding: var(--spacing-md);
    font-size: 1.125rem;
    margin: 0;
}

.related-card h4 a {
    color: var(--text-dark);
}

.related-card h4 a:hover {
    color: var(--adventure-blue);
}

/* ============================================
   Destinations Page
   ============================================ */

.map-section {
    padding: var(--spacing-xl) 0;
    background: var(--adventure-cream);
    margin-top: 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-image: url('../images/bali tanah lot.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--adventure-cream);
    opacity: 0.7;
    z-index: 0;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

#worldMap {
    width: 100% !important;
    height: 500px !important;
    min-height: 500px !important;
    border-radius: 8px;
    border: 3px solid var(--adventure-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(44, 95, 124, 0.1);
    z-index: 10;
    overflow: hidden;
    position: relative;
}

.map-note {
    font-size: 0.875rem;
    margin-top: var(--spacing-md);
    color: var(--text-medium);
    font-style: italic;
}

/* Custom marker styles */
.leaflet-popup-content-wrapper {
    border-radius: 4px;
    font-family: var(--font-body);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.leaflet-popup-content h3 {
    color: var(--adventure-blue);
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
    font-weight: 600;
}

.leaflet-popup-content p {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.destinations-section {
    padding: var(--spacing-xl) 0;
}

.destinations-section .destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.destination-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.destination-card .destination-image {
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
    flex-shrink: 0;
}

.destination-card .destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-card .destination-content {
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.destination-card .destination-content h2 {
    font-size: 1.375rem;
    color: var(--adventure-blue);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.destination-card .destination-count {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-weight: 400;
}

.destination-card .destination-description {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xs);
    flex-grow: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.destination-card .destination-stories {
    margin-top: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.destination-card .destination-stories h3 {
    font-size: 0.9375rem;
    color: var(--adventure-blue);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.destination-card .destination-stories ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

.destination-card .destination-stories li {
    margin-bottom: 0.125rem;
    color: var(--text-medium);
    font-size: 0.8125rem;
    list-style: none;
}

.destination-card .view-all-link {
    display: inline-block;
    color: var(--adventure-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    margin-top: 0;
    transition: var(--transition);
}

/* ============================================
   About Page
   ============================================ */

.about-section {
    padding: var(--spacing-xl) 0;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.about-image-large {
    position: sticky;
    top: 100px;
}

.about-image-large img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-image-large .image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.about-text-large {
    max-width: 700px;
}

.about-text-large h2 {
    font-size: 3rem;
    color: var(--adventure-blue);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.about-text-large p {
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
}

.stats-section {
    padding: var(--spacing-xl) 0;
    background: var(--adventure-cream);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--adventure-blue);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.philosophy-section {
    padding: var(--spacing-xl) 0;
}

.philosophy-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--adventure-blue);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.philosophy-item {
    padding: var(--spacing-lg);
    background: var(--adventure-cream);
    border-radius: 4px;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    color: var(--adventure-blue);
    margin-bottom: var(--spacing-sm);
}

.philosophy-item p {
    color: var(--text-medium);
    line-height: 1.8;
}

.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--adventure-cream);
    text-align: center;
}

.cta-section h2 {
    color: var(--adventure-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.cta-section p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--adventure-blue);
    color: var(--adventure-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xxl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.footer-social a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   Image Placeholder
   ============================================ */

.image-placeholder {
    background: var(--adventure-cream);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--text-light);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-video video {
        filter: blur(0.5px);
        -webkit-filter: blur(0.5px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .navbar {
        padding: var(--spacing-xs) 0;
        position: absolute;
    }
    
    .nav-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-menu a {
        color: var(--text-dark);
        text-shadow: none;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--adventure-blue);
        text-shadow: none;
    }
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: var(--spacing-md);
    }
    
    .featured-article,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stories-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .destinations-section .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    #worldMap {
        height: 400px;
        min-height: 300px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .about-main {
        grid-template-columns: 1fr;
    }
    
    .about-image-large {
        position: static;
    }
    
    .post-header-content h1 {
        font-size: 2rem;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .post-body .lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .post-image-gallery {
        grid-template-columns: 1fr;
    }
}

