/* ==========================================================================
   Design System & Style Rules for Vietnam Guide Travel
   ========================================================================== */

/* Load fonts - matching ecotripasia.com concept */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Lobster&display=swap');

:root {
    /* Color Palette - Eco Green Concept matching ecotripasia.com */
    --primary: #0F7C2F;          /* Forest/Dark Green */
    --primary-light: #42C44E;    /* Bright Eco Green */
    --primary-soft: #EEF7EF;     /* Soft Green Tint background */
    --accent: #33E0A0;           /* Active Mint/Teal */
    --accent-terracotta: #EA580C;/* Vibrant Orange/Ochre */
    --bg-main: #F9FAFB;          /* Light gray background */
    --bg-card: #ffffff;
    --text-dark: #111827;        /* Soft Black */
    --text-muted: #6B7280;       /* Cool Gray */
    --border-color: #DDEADD;     /* Soft Mint Border */
    
    /* Typography - matching ecotripasia.com */
    --font-sans: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Quicksand', Georgia, serif;
    --font-script: 'Lobster', cursive;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(17, 24, 39, 0.03);
    --shadow-md: 0 10px 30px rgba(15, 124, 47, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 124, 47, 0.1);
    
    /* Animation Transitions */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout Spacing */
    --max-width: 1200px;
    --border-radius: 20px;       /* More pronounced rounded corners matching Zyro concept */
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Common Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: rgba(252, 251, 249, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

.main-header.scrolled .nav-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    margin-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(28, 25, 23, 0.4) 50%, rgba(252, 251, 249, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Search Bar styling */
.hero-search {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero-search input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.hero-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.hero-search button {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search button:hover {
    background-color: var(--primary-light);
    transform: scale(1.03);
}

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

/* ==========================================================================
   Satellite Partner Section (EcoTripAsia & HanoiTour)
   ========================================================================== */
.partner-section {
    padding: 6rem 0;
    background-color: var(--primary-soft);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.partner-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -100px;
}

.partner-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.partner-header span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.partner-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.partner-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(28, 25, 23, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 77, 62, 0.15);
}

.partner-badge {
    align-self: flex-start;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.partner-badge.eco {
    background-color: rgba(45, 106, 79, 0.1);
    color: var(--primary);
}

.partner-badge.tour {
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--accent-terracotta);
}

.partner-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.partner-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    flex-grow: 1;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
}

.partner-link span {
    transition: var(--transition);
}

.partner-link:hover {
    color: var(--accent-terracotta);
}

.partner-link:hover span {
    transform: translateX(4px);
}

/* ==========================================================================
   Popular Destinations Section
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-terracotta);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.destinations {
    padding: 5rem 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dest-card {
    height: 380px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.dest-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.dest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2;
}

.dest-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.dest-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Specific grids for styling */
.destinations-grid .dest-card:nth-child(1) { grid-column: span 2; }
.destinations-grid .dest-card:nth-child(4) { grid-column: span 2; }

/* ==========================================================================
   Latest Blog Grid Section
   ========================================================================== */
.blog-section {
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 77, 62, 0.12);
}

.blog-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(252, 251, 249, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.blog-card h3 {
    font-size: 1.4rem;
    line-height: 1.35;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--accent-terracotta);
}

.center-btn {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Detailed Article Layout & Sidebar (Blog Post Page)
   ========================================================================== */
.post-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: #fff;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(28, 25, 23, 0.85) 100%);
}

.post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.post-breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-breadcrumbs a:hover {
    color: #fff;
}

.post-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.post-main-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}

.post-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.post-content h2 {
    font-size: 2.2rem;
    margin: 3.5rem 0 1.5rem;
}

.post-content h3 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
}

.post-content img {
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
}

.post-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 2rem;
    margin: 3rem 0;
    color: var(--primary);
}

/* Callout Box styled for backlinking */
.contextual-callout {
    background-color: var(--primary-soft);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 3rem 0;
    box-shadow: var(--shadow-sm);
}

.contextual-callout.accent {
    border-left-color: var(--accent);
    background-color: #fefcf6;
}

.contextual-callout h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.contextual-callout.accent h4 {
    color: var(--accent-terracotta);
}

.contextual-callout p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.callout-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary);
}

.callout-link.accent {
    color: var(--accent-terracotta);
}

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

/* Sidebar Widgets */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-soft);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

/* About Author Widget */
.widget-author {
    text-align: center;
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.widget-author h4 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.widget-author p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Recommended booking Widget - SEO links */
.widget-booking {
    background: linear-gradient(135deg, var(--primary) 0%, #153c30 100%);
    color: #fff;
    border: none;
}

.widget-booking h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.widget-booking p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.booking-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.booking-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.booking-item h4 {
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
}

.booking-item p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.booking-btn:hover {
    color: var(--accent);
}

/* ==========================================================================
   Newsletter & Footer
   ========================================================================== */
.newsletter {
    background-color: var(--primary);
    color: #fff;
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.newsletter::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
    bottom: -300px;
    left: -200px;
    z-index: -1;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem;
    border-radius: 50px;
}

.newsletter-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #f59e0b;
    transform: scale(1.02);
}

/* Footer Section */
.main-footer {
    background-color: #121110;
    color: #a8a29e;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: var(--accent);
}

.footer-desc {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-title {
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-partners-list li {
    margin-bottom: 1rem;
}

.footer-partner-link {
    display: block;
}

.footer-partner-link span {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    transition: var(--transition);
}

.footer-partner-link:hover span {
    color: var(--accent);
}

.footer-partner-link p {
    font-size: 0.8rem;
    color: #78716c;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

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

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .destinations-grid .dest-card:nth-child(1),
    .destinations-grid .dest-card:nth-child(4) {
        grid-column: span 1;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile navigation toggle implementation */
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-search {
        flex-direction: column;
        border-radius: var(--border-radius);
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .hero-search input {
        text-align: center;
    }
    
    .hero-search button {
        width: 100%;
    }
}

/* Navigation Drawer for Mobile */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    z-index: 999;
    gap: 1.5rem;
}
.nav-menu.active .nav-link {
    width: 100%;
    text-align: center;
}
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Product Cards (Eco Trip Asia Tours Showcase)
   ========================================================================== */
.tours-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.tour-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 77, 62, 0.15);
}

.tour-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.tour-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tour-card:hover .tour-card-img img {
    transform: scale(1.06);
}

.tour-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #f59e0b; /* Amber/Gold stars */
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.reviews-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tour-card h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    font-family: var(--font-serif);
}

.tour-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tour-pill {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(27, 77, 62, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.tour-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: auto;
}

.tour-price {
    display: flex;
    flex-direction: column;
}

.tour-price span:first-child {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tour-price span:last-child {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-terracotta);
    font-family: var(--font-serif);
}

.tour-book-btn {
    background-color: var(--primary);
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tour-book-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

@media (max-width: 600px) {
    .tour-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
