:root {
    --bg-natural: #FAF9F5;
    --emerald: #064E3B;
    --emerald-dark: #022C22;
    --emerald-light: #E6F4EA;

    --orange: #F97316;
    --orange-dark: #EA580C;
    --sand: #FEF3C7;

    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --white: #FFFFFF;

    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.2s ease;
}

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

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

body {
    background-color: var(--bg-natural);
    color: var(--text-dark);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
}

.italic-text {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--emerald);
}

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

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

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    background-color: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 78, 59, 0.15);
}

.btn-secondary {
    background-color: var(--sand);
    color: var(--emerald-dark);
    border-color: rgba(6, 78, 59, 0.1);
}

.btn-secondary:hover {
    background-color: #FDE68A;
    transform: translateY(-2px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--orange-dark);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-quick);
}

.btn-text:hover {
    color: var(--emerald);
    transform: translateX(4px);
}

.btn-block {
    display: block;
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background-color: rgba(250, 249, 245, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 1rem 8%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--emerald-dark);
}

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

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 0.2rem 0;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-quick);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 8% 4rem 8%;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.02) 0%, transparent 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-badge {
    display: inline-block;
    background-color: var(--emerald-light);
    color: var(--emerald);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.8rem;
    color: var(--emerald-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.search-widget {
    background-color: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    max-width: 600px;
    gap: 1.5rem;
    align-items: center;
}

.search-field {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.4rem;
}

.search-field label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.search-field input, .search-field select {
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    width: 100%;
}

.search-submit-btn {
    background-color: var(--orange);
    color: var(--white);
    border: none;
    padding: 1rem 1.8rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.search-submit-btn:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

.image-mask-frame {
    width: 100%;
    height: 480px;
    overflow: hidden;

    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.08);
    transition: var(--transition-smooth);
}

.image-mask-frame:hover {
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

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

.image-mask-frame:hover .hero-img {
    transform: scale(1.05);
}

.visual-badge {
    position: absolute;
    bottom: 2rem;
    left: -1rem;
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--emerald-dark);
    line-height: 1;
}

.badge-stars {
    color: #FBBF24;
    font-size: 0.8rem;
}

.badge-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

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

.section-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange-dark);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2.6rem;
    color: var(--emerald-dark);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.divider {
    width: 40px;
    height: 2px;
    background-color: var(--emerald);
    margin: 0.8rem auto 0 auto;
}

.destinations-section {
    padding: 8rem 8%;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.destinations-bar {
    max-width: 1200px;
    margin: 0 auto 3.5rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.filter-pills {
    display: flex;
    gap: 0.8rem;
}

.pill {
    background-color: var(--bg-natural);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-quick);
}

.pill:hover, .pill.active {
    background-color: var(--emerald);
    color: var(--white);
    border-color: var(--emerald);
}

.search-box input {
    background-color: var(--bg-natural);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    width: 280px;
    outline: none;
    transition: var(--transition-quick);
}

.search-box input:focus {
    border-color: var(--emerald);
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.04);
}

.destinations-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.destination-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.card-image-container {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-natural);
}

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

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

.blue-tint { filter: saturate(1.1) hue-rotate(190deg); }
.warm-tint { filter: saturate(1.2) hue-rotate(30deg) sepia(0.2); }
.green-tint { filter: saturate(0.9) hue-rotate(90deg); }
.cold-tint { filter: saturate(0.8) hue-rotate(210deg) brightness(0.9); }

.card-price-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--white);
    color: var(--emerald-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card-info {
    padding: 1.8rem;
}

.card-cat {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--orange-dark);
    margin-bottom: 0.5rem;
}

.card-info h3 {
    font-size: 1.3rem;
    color: var(--emerald-dark);
    margin-bottom: 0.5rem;
}

.card-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    height: 2.7rem;
    overflow: hidden;
}

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

.card-duration {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.itinerary-section {
    padding: 8rem 8%;
    background-color: var(--bg-natural);
}

.itinerary-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.itinerary-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--emerald);
    transform: translateX(10px);
}

.step-card.active {
    background-color: var(--emerald-light);
    border-color: var(--emerald);
    transform: translateX(10px);
}

.step-card-num {
    background-color: var(--emerald);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
}

.step-card-text h3 {
    font-size: 1.1rem;
    color: var(--emerald-dark);
    margin-bottom: 0.2rem;
}

.duration-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.step-card.active .duration-tag {
    color: var(--emerald);
}

.itinerary-details-pane {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem;
    min-height: 450px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.day-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.day-pane.active {
    display: block;
}

.day-label {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--emerald-light);
    color: var(--emerald);
    border-radius: 4px;
    margin-bottom: 1.2rem;
}

.day-pane h3 {
    font-size: 2rem;
    color: var(--emerald-dark);
    margin-bottom: 1.2rem;
}

.day-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.day-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    position: relative;
    border-left: 2px solid var(--emerald-light);
    padding-left: 1.8rem;
    margin-left: 0.5rem;
}

.timeline-activity {
    position: relative;
}

.timeline-activity::before {
    content: '';
    position: absolute;
    left: calc(-1.8rem - 7px);
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--emerald);
    border: 2px solid var(--white);
}

.time {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange-dark);
    margin-bottom: 0.2rem;
}

.timeline-activity h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.timeline-activity p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.explore-section {
    padding: 8rem 8%;
    background-color: var(--emerald-dark);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.explore-container {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.explore-section .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.explore-container p {
    color: #A7F3D0;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.footer {
    background-color: #011C15;
    color: #8EB7AD;
    padding: 5rem 8% 3rem 8%;
    border-top: 1px solid #033226;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    max-width: 320px;
}

.footer-bottom-info {
    text-align: right;
    font-size: 0.8rem;
}

.footer-bottom-info p {
    margin-bottom: 0.3rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 44, 34, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    border-radius: 16px;
    padding: 3.5rem;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-title {
    font-size: 1.8rem;
    color: var(--emerald-dark);
    margin-bottom: 0.4rem;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.modal-subtitle strong {
    color: var(--orange-dark);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.form-group input, .form-group select {
    background-color: var(--bg-natural);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-quick);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--emerald);
    background-color: var(--white);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
    padding-right: 2.2rem;
}

.booking-message {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
    display: none;
}

.booking-message.success {
    color: var(--emerald);
    display: block;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .search-widget {
        max-width: 100%;
        width: 100%;
    }

    .hero-visual {
        max-width: 450px;
        margin: 0 auto;
    }

    .image-mask-frame {
        height: 380px;
    }

    .destinations-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box input {
        width: 100%;
    }

    .destinations-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 750px;
    }

    .itinerary-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .header {
        padding: 1.2rem 6%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-natural);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        border-left: 1px solid var(--border-color);
        transition: var(--transition-smooth);
    }

    .nav.open {
        right: 0;
    }

    .header-action {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .search-widget {
        flex-direction: column;
        gap: 1rem;
    }

    .search-submit-btn {
        width: 100%;
    }

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

    .filter-pills {
        flex-wrap: wrap;
        justify-content: center;
    }

    .itinerary-details-pane, .modal-content {
        padding: 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-bottom-info {
        text-align: center;
    }
}
