:root {
    --color-primary: #1a3c40;
    /* Deep nature green/teal */
    --color-secondary: #cba36f;
    /* Elegant gold/earth */
    --color-accent: #d9534f;
    /* Subtle alert/CTA if needed */
    --color-text: #333333;
    --color-bg: #f9f9f9;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-container: 1200px;
    --transition-smooth: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Fixes */
.logo img {
    height: 60px;
    display: block;
}

.nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: var(--color-white);
    font-weight: 600;
    /* Bolder for readout */
    text-transform: uppercase;
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav a:hover {
    color: var(--color-secondary);
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.lang-link {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    opacity: 0.8;
    text-shadow: none !important;
}

.lang-link.active {
    font-weight: 700 !important;
    opacity: 1;
    border-bottom: 2px solid var(--color-secondary);
}

.sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    user-select: none;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    background: url('../public/images/hero.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.contact {
    background: url('../public/images/atacama.png') no-repeat center center/cover;
    position: relative;
    color: white;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Darker overlay for better contrast */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease;
}

.hero-title {
    font-size: 3rem;
    /* Reduced from 4rem */
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.9);
    /* Softer white */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    font-family: var(--font-heading);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Value Prop */
.value-prop {
    background-color: var(--color-white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.value-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Destinations */
.destinations {
    background-color: #f4f4f4;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.destination-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure equal height in grid */
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    /* Slightly smaller to fit better */
    margin-bottom: 10px;
    min-height: 3rem;
    /* Align titles if they wrap */
    display: flex;
    align-items: center;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.card-link {
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    /* Ensure it stays at bottom */
}

/* Experiences */
.experiences {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.experiences .section-title {
    color: white;
}

.experiences .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 50px;
}

.exp-item {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.exp-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.exp-item:hover .exp-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.exp-overlay h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.exp-overlay p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 300px;
}

/* Testimonials */
.testimonials {
    background-color: var(--color-white);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 10px;
    /* margin: 20px; removed margin to fix sizing calculation or handle it carefully */
}

.quote-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.t-text {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

.t-author {
    font-weight: 700;
    color: var(--color-primary);
}

/* Contact */
.contact {
    background: url('/public/images/atacama.png') no-repeat center center/cover;
    position: relative;
    color: white;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 60, 64, 0.95);
    /* Very dark teal overlay */
}

.contact .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact h2 {
    color: white;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--color-secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background-color: #111;
    color: #888;
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav {
        display: none;
        /* simple mobile hide for now, or toggle */
    }

    .mobile-menu-btn {
        display: block;
    }

    .exp-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}