/* ===== CSS Variables & Reset ===== */
:root {
    --green-900: #0a2f1f;
    --green-800: #0d3d28;
    --green-700: #145c3a;
    --green-600: #1a7a4c;
    --green-500: #22a05c;
    --green-400: #34c76e;
    --green-300: #6ddf9a;
    --green-100: #e8f8ef;
    --cream: #f7f5f0;
    --sand: #f0ebe3;
    --text: #1a1a1a;
    --text-muted: #5a5a5a;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(10, 47, 31, 0.12);
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 12px;
    color: var(--green-900);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--green-600);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 122, 76, 0.35);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--green-800);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 47, 31, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--green-900);
}

.logo img {
    height: 42px;
    width: auto;
    border-radius: 6px;
}

.nav ul {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-500);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--green-900);
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hero.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 100px 24px 60px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10, 47, 31, 0.75) 0%, rgba(10, 47, 31, 0.55) 50%, rgba(20, 92, 58, 0.7) 100%);
}

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

.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 560px;
    margin: 0 auto 32px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Stats ===== */
.stats {
    background: var(--green-900);
    color: var(--white);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat i {
    font-size: 1.8rem;
    color: var(--green-300);
    margin-bottom: 12px;
}

.stat h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.75;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--green-900);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-features {
    margin-top: 24px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-features i {
    color: var(--green-500);
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 55%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 6px solid var(--cream);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ===== Tours ===== */
.tours {
    padding: 100px 0;
    background: var(--sand);
}

.tour-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid var(--green-600);
    background: transparent;
    color: var(--green-700);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green-600);
    color: var(--white);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.tour-card.hidden {
    display: none;
}

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

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.tour-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--green-800);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
}

.tour-difficulty {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 50px;
    background: rgba(255,255,255,0.92);
}

.tour-difficulty.easy { color: #2e7d32; }
.tour-difficulty.moderate { color: #e65100; }

.tour-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-content h3 {
    font-size: 1.3rem;
    color: var(--green-900);
    margin-bottom: 4px;
}

.tour-code {
    font-size: 0.8rem;
    color: var(--green-600);
    font-weight: 500;
    margin-bottom: 12px;
}

.tour-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.tour-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.tour-meta i {
    color: var(--green-500);
    margin-right: 4px;
}

.tour-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.price-from {
    font-size: 1.1rem;
}

.price-from strong {
    font-size: 1.4rem;
    color: var(--green-700);
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Experience ===== */
.experience {
    padding: 100px 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.exp-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.exp-card.highlight {
    background: var(--green-800);
    color: var(--white);
}

.exp-card.highlight h3,
.exp-card.highlight li {
    color: var(--white);
}

.exp-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--green-600);
    margin-bottom: 20px;
}

.exp-card.highlight .exp-icon {
    background: rgba(255,255,255,0.15);
    color: var(--green-300);
}

.exp-card h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
    color: var(--green-900);
}

.exp-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.exp-card.highlight ul li {
    border-bottom-color: rgba(255,255,255,0.1);
}

.exp-card ul li:last-child {
    border-bottom: none;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--sand);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.4rem;
    color: var(--green-900);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--green-500);
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--green-900);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-500);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
    background: var(--green-900);
    color: var(--white);
    padding-top: 64px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
    border-radius: 6px;
}

.footer-brand p {
    opacity: 0.75;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--green-300);
}

.footer-links a {
    display: block;
    opacity: 0.75;
    margin-bottom: 10px;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 47, 31, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.modal-body h2 {
    font-size: 1.8rem;
    color: var(--green-900);
    margin-bottom: 8px;
}

.modal-body .tour-code {
    margin-bottom: 16px;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.modal-body h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: var(--green-700);
    margin: 20px 0 8px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.modal-body ul li {
    list-style: disc;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}

.price-table th,
.price-table td {
    padding: 8px 12px;
    text-align: center;
    border: 1px solid #eee;
}

.price-table th {
    background: var(--green-100);
    color: var(--green-800);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-secondary {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: 24px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav.open {
        transform: translateY(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 16px;
    }

    .nav-toggle {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
