:root {
    --primary: #009688;
    /* Brighter Tropical Teal */
    --primary-dark: #00695c;
    --accent: #ffca28;
    /* Vivid Gold */
    --light: #f5fcfb;
    /* Clean Bright Mint */
    --white: #ffffff;
    --dark: #121f1e;
    --text-gray: #546e6a;
    --surface: rgba(255, 255, 255, 0.95);
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 10px 40px -10px rgba(0, 150, 136, 0.2);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- NAVIGATION --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 5%;
}

header.scrolled .logo-badge {
    /* Logo stays the same size */
    margin-right: auto;
}

.logo-badge {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-inner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--accent);
}

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

.logo-badge:hover .logo-img {
    transform: scale(1.1);
}

.logo-text-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateText 20s linear infinite;
    z-index: 1;
    pointer-events: none;
    /* Let clicks pass through to the link */
}

.circle-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    fill: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes rotateText {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

nav ul {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
}

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

nav a:not(.btn-cta):hover::after {
    width: 100%;
}

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

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 0.85rem;
}

.lang-switch a {
    color: var(--text-gray);
    padding: 0 5px;
}

.lang-switch a:hover {
    color: var(--primary);
}

.lang-switch a.active-lang {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
}

.btn-cta {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 2px;
    /* Sharper corners for luxury feel */
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 150, 136, 0.3);
    border: none;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 150, 136, 0.4);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.3), rgba(0, 77, 64, 0.2)), url('images/background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 100px 20px;
    position: relative;
}

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

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 45px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    opacity: 0.95;
}

/* --- SECTIONS COMMON --- */
section {
    padding: 100px 5%;
    scroll-margin-top: 140px;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title span {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- FEATURES --- */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(255, 183, 77, 0.3));
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* --- TOURS --- */
.tours {
    background-color: var(--light);
    padding-top: 20px;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tour-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 96, 100, 0.15);
}

.tour-img {
    height: 300px;
    background-color: #e0f2f1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.tour-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
    opacity: 0.6;
}

.tour-card:hover .tour-img {
    transform: scale(1.05);
    transition: transform 1s ease;
}

.tour-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-info h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
}

.tour-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-desc {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 96, 100, 0.2);
}


/* --- CONTACT --- */
.contact {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    align-items: flex-start;
    background: linear-gradient(to right, var(--white) 50%, var(--light) 50%);
}

.contact-text {
    flex: 1;
    min-width: 300px;
    padding-top: 20px;
}

.contact-text h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.1;
}

.contact-text>p:first-of-type {
    font-size: 1.25rem;
    margin-bottom: 45px;
    color: var(--text-gray);
    max-width: 600px;
    line-height: 1.6;
}

.contact-details p {
    margin-bottom: 22px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark);
}

.contact-link {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--accent);
    padding-left: 5px;
}

.contact-details i {
    width: 45px;
    height: 45px;
    background: rgba(0, 150, 136, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    min-width: 320px;
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 96, 100, 0.1);
}

/* --- QR CODE CARD --- */
.qr-card-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.qr-card {
    background: var(--white);
    padding: 15px 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    max-width: 200px;
}

.qr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.qr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 150, 136, 0.15);
}

.qr-card h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 2px;
    font-size: 1rem;
    margin-top: 5px;
}

.qr-card p {
    color: var(--text-gray);
    font-size: 0.75rem;
    margin-bottom: 10px;
    justify-content: center;
}

.qr-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    border: 2px solid var(--light);
}

/* --- FOOTER --- */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 10% 40px;
    text-align: center;
}

footer p {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* --- ANIMATIONS & UTILS --- */
.revealing {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.revealing.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .contact {
        background: var(--white);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        backdrop-filter: blur(15px);
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    nav a {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }

    .contact {
        padding: 60px 5%;
        gap: 50px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* prevent zoom on iOS */
    }

    section {
        padding: 60px 5%;
    }

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

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .tour-card,
    .feature-item {
        margin: 0 10px;
    }

    .btn-cta {
        width: 100%;
        display: block;
        text-align: center;
    }

    .contact-form,
    .contact-text {
        min-width: 100%;
    }
}