/* ══════════════════════════════════════════════════════════════════════════════
   🌿 TAKE YOUR SEAT — Tours & Travels Website
   Design System + Complete Styles
   ══════════════════════════════════════════════════════════════════════════════
*/

/* ─────────────────────────────────────────────────────────────────────────────
   📦 CSS RESET & BASE
   ───────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--clr-text-body);
    background-color: var(--clr-bg-white);
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   🎨 DESIGN SYSTEM VARIABLES
   ───────────────────────────────────────────────────────────────────────────── */
:root {
    /* 🌲 PRIMARY — Forest & Jungle Greens */
    --clr-primary: #166534;
    --clr-primary-hover: #14532d;
    --clr-primary-mid: #22c55e;
    --clr-primary-light: #dcfce7;

    /* 🔥 ACCENT — Adventure Orange */
    --clr-accent: #ea580c;
    --clr-accent-hover: #c2410c;
    --clr-accent-light: #fed7aa;

    /* 📄 BACKGROUNDS */
    --clr-bg-white: #ffffff;
    --clr-bg-light: #f8fafc;
    --clr-bg-cream: #fefce8;
    --clr-bg-sand: #fef3c7;

    /* ✍️ TEXT */
    --clr-text-dark: #14532d;
    --clr-text-body: #334155;
    --clr-text-muted: #64748b;
    --clr-text-white: #ffffff;

    /* 🪟 GLASS EFFECTS */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-dark: rgba(20, 83, 45, 0.75);

    /* 🦶 FOOTER */
    --clr-footer-bg: #14532d;
    --clr-footer-text: #dcfce7;

    /* 🛠️ UTILITY */
    --clr-border: #e2e8f0;
    --clr-success: #10b981;
    --clr-warning: #f59e0b;
    --clr-error: #ef4444;

    /* 🌑 SHADOWS */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 4px 14px rgba(22, 101, 52, 0.15);

    /* 🔤 FONTS */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* 📐 FONT SIZES (Fluid) */
    --fs-hero: clamp(2.5rem, 6vw, 4.5rem);
    --fs-h1: clamp(2rem, 4vw, 3rem);
    --fs-h2: clamp(1.75rem, 3vw, 2.25rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
    --fs-body: clamp(1rem, 1.5vw, 1.125rem);
    --fs-small: 0.875rem;

    /* 📏 LINE HEIGHTS & SPACING */
    --lh-heading: 1.2;
    --lh-body: 1.6;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-wide: 0.05em;

    /* 📐 LAYOUT */
    --container-max: 1200px;
    --section-padding: clamp(3rem, 8vw, 6rem);
    --navbar-height: 80px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   🔤 TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--lh-heading);
    color: var(--clr-text-dark);
    letter-spacing: var(--letter-spacing-tight);
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

p {
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--clr-text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   📦 UTILITIES
   ───────────────────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────────────────────
   🔘 BUTTONS
   ───────────────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-text-white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    background: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 101, 52, 0.25);
}

.btn-accent {
    background: var(--clr-accent);
    color: var(--clr-text-white);
}

.btn-accent:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--clr-text-white);
    border: 2px solid var(--clr-text-white);
}

.btn-outline:hover {
    background: var(--clr-text-white);
    color: var(--clr-primary);
}

/* ─────────────────────────────────────────────────────────────────────────────
   🧭 NAVBAR
   ───────────────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar__logo img {
    height: 50px;
    width: auto;
}

.navbar__logo span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text-white);
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar__logo span {
    color: var(--clr-text-dark);
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-white);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar__link {
    color: var(--clr-text-body);
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width 0.3s ease;
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__link:hover {
    color: var(--clr-accent);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.navbar__toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--clr-text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar__toggle span {
    background: var(--clr-text-dark);
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   🏠 HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(20, 83, 45, 0.7) 0%,
            rgba(22, 101, 52, 0.5) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

.hero__content {
    text-align: center;
    color: var(--clr-text-white);
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero__title {
    font-size: var(--fs-hero);
    color: var(--clr-text-white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: var(--fs-h3);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────────────────────
   🛠️ SERVICES SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.services {
    background: var(--clr-bg-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--clr-bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-primary-light);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: var(--clr-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
}

.service-card__title {
    margin-bottom: 0.75rem;
}

.service-card__text {
    color: var(--clr-text-muted);
    font-size: var(--fs-small);
    margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   📸 PORTFOLIO SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(20, 83, 45, 0.85) 0%,
            transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__title {
    color: var(--clr-text-white);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.portfolio-item__location {
    color: var(--clr-primary-light);
    font-size: var(--fs-small);
}

/* ─────────────────────────────────────────────────────────────────────────────
   ⭐ REVIEWS SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.reviews {
    background: var(--clr-bg-cream);
    overflow: hidden;
}

.reviews__badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--clr-bg-white);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: var(--fs-small);
}

.review-badge img {
    width: 24px;
    height: 24px;
}

.reviews__marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.reviews__track {
    display: flex;
    gap: 1.5rem;
    animation: marquee 30s linear infinite;
}

.reviews__track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    flex-shrink: 0;
    width: 350px;
    background: var(--clr-bg-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--clr-primary);
}

.review-card__name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.review-card__rating {
    color: var(--clr-warning);
    font-size: 0.875rem;
}

.review-card__text {
    color: var(--clr-text-body);
    font-size: var(--fs-small);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ❓ FAQ SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--clr-primary-mid);
}

.faq-item__question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--clr-text-dark);
    text-align: left;
    background: var(--clr-bg-white);
    transition: background 0.3s ease;
}

.faq-item.active .faq-item__question {
    background: var(--clr-primary-light);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--clr-text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   📞 CONTACT SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.contact {
    background: var(--clr-bg-light);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: var(--clr-bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact__map {
    min-height: 400px;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact__form-wrapper {
    padding: 2.5rem;
}

.contact__form-header {
    margin-bottom: 2rem;
}

.contact__form-header h3 {
    margin-bottom: 0.5rem;
}

.contact__form {
    display: grid;
    gap: 1.25rem;
}

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

.form-group label {
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--clr-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    background: var(--clr-bg-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.contact__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--clr-text-white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.form-status {
    padding: 1rem;
    border-radius: 8px;
    font-size: var(--fs-small);
    display: none;
}

.form-status.success {
    display: block;
    background: var(--clr-primary-light);
    color: var(--clr-primary);
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: var(--clr-error);
}

/* ─────────────────────────────────────────────────────────────────────────────
   🦶 FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.footer {
    background: var(--clr-footer-bg);
    color: var(--clr-footer-text);
    padding: 4rem 0 2rem;
}

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

.footer__brand p {
    color: rgba(220, 252, 231, 0.8);
    margin-top: 1rem;
    font-size: var(--fs-small);
}

.footer__logo-img {
    max-height: 45px;
    width: auto;
}

.footer__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-text-white);
    margin-bottom: 1.25rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: rgba(220, 252, 231, 0.8);
    font-size: var(--fs-small);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--clr-accent-light);
}

.footer__contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: rgba(220, 252, 231, 0.8);
    font-size: var(--fs-small);
    margin-bottom: 0.75rem;
}

.footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer__socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer__social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer__social:hover {
    transform: scale(1.1);
    background: var(--clr-accent);
}

.footer__social svg {
    width: 20px;
    height: 20px;
    fill: var(--clr-text-white);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: var(--fs-small);
    color: rgba(220, 252, 231, 0.6);
}

/* ─────────────────────────────────────────────────────────────────────────────
   📱 RESPONSIVE DESIGN
   ───────────────────────────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--clr-footer-bg);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__link {
        color: var(--clr-text-white);
        font-size: 1.25rem;
    }

    .navbar__toggle {
        display: flex;
    }

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

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

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

    .contact__map {
        min-height: 250px;
    }

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

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__socials {
        justify-content: center;
    }

    .footer__contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
    }

    .contact__actions {
        flex-direction: column;
    }

    .review-card {
        width: 280px;
    }
}