@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Montserrat:wght@700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-dark: #0f0f0f;
    --surface-dark: #1a1a1a;
    --accent-green: #09803e;
    --text-white: #ffffff;
    --text-muted: #999999;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

h1,
h2,
h3,
h5,
h6,
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Force DM Sans on orange texts as requested */
h4,
.hero-eyebrow,
.text-accent {
    font-family: 'DM Sans', sans-serif !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}

/* TripAdvisor Widget Fix */
.tripadvisor-widget-container img {
    max-width: 100% !important;
    height: auto !important;
}

/* Utilities */
.text-accent {
    color: var(--accent-green);
}

.bg-accent {
    background-color: var(--accent-green);
}

.bg-surface {
    background-color: var(--surface-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 40px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(10px);
}

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

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    padding: 15px 40px;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

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

.nav-btn,
.btn-secondary {
    background-color: var(--accent-green);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    box-shadow: 0 0 15px rgba(9, 128, 62, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.nav-btn:hover {
    background: var(--accent-green);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(9, 128, 62, 0.3);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.mobile-lang-btn {
    display: none;
}

@media (max-width: 768px) {
    .desktop-lang-btn {
        display: none;
    }

    .mobile-lang-btn {
        display: flex;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.05);
        width: fit-content;
    }
}

.lang-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 25px;
    }

    .lang-btn {
        order: -1;
    }

    /* Keep it visible even on mobile header if needed, or move to menu */
}

/* Hero Section & Slider */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 0 100px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 15s linear;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(15, 15, 15, 1) 100%);
    z-index: -1;
}

.hero-eyebrow {
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.95;
    font-weight: 400;
    max-width: 900px;
    margin-bottom: 32px;
}

.title-accent {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Bottom Overlapping Cards */
.hero-cards-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    padding: 0 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    z-index: 10;
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.15s ease-out;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(9, 128, 62, 0.2);
}

.hero-card-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-card-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-card-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* General Sections */
.section-padding {
    padding: 120px 40px;
    position: relative;
}

/* Intro / About */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.intro-text-content h2 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 400;
}

.intro-text-content p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.intro-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.1s linear;
}

/* Team Cards */
.team-card {
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card:hover .team-img-container img {
    transform: scale(1.1);
}

.team-img-container {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%) !important;
}

/* Modal Styling */
.modal-overlay.active {
    opacity: 1 !important;
    display: flex !important;
}

.modal-content {
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

@media (max-width: 768px) {

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .modal-content {
        padding: 0;
    }

    .bio-modal-inner>div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Floating Element */
.floating-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--accent-green);
    color: white;
    padding: 30px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(251, 133, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Tour Gallery Parallax Image */
.gallery-section {
    background-color: var(--surface-dark);
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    background-attachment: fixed;
    /* Simple CSS parallax */
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto 64px auto;
    position: relative;
    z-index: 1;
}

.gallery-header h2 {
    font-size: 56px;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tour-img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.tour-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.tour-img-wrapper:hover img {
    transform: scale(1.08);
}


/* FAQ Accordion */
.faq-section {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 0.5px;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-green);
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-green);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info-block {
    margin-bottom: 40px;
}

.contact-info-block h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-green);
    margin-bottom: 8px;
}

.contact-info-block p,
.contact-info-block a {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-block a:hover {
    color: var(--accent-green);
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(9, 128, 62, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Animations Classes (Triggered via JS) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.2s;
}

.reveal-delay-2 {
    transition-delay: 0.4s;
}

.reveal-delay-3 {
    transition-delay: 0.6s;
}



/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

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

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

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

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 40px;
    }

    .navbar.scrolled {
        padding: 12px 40px;
    }

    .hero {
        padding: 0 40px;
    }

    .hero-cards-container {
        padding: 0 40px;
    }

    .section-padding {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 20px;
    }

    .hero {
        padding: 120px 20px 0 20px;
        align-items: center;
        text-align: center;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-eyebrow {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .hero-cards-container {
        position: absolute;
        bottom: 60px;
        left: 0;
        width: 100%;
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin-top: 0;
        gap: 10px;
    }

    .hero-card {
        padding: 10px 16px;
        gap: 12px;
        text-align: left;
    }

    .hero-card-img {
        width: 50px;
        height: 50px;
    }

    .hero-card-content h3 {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .hero-card-content p {
        font-size: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .gallery-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .gallery-header h2 {
        font-size: 32px;
    }

    .tour-btn-wrapper {
        justify-content: center;
        width: 100%;
    }

    .intro-grid,
    .contact-grid,
    .tour-details-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Nested grids override */
    div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .gallery-header h2 {
        font-size: 36px;
    }

    .section-padding {
        padding: 60px 20px;
    }

    .contact-info-block p,
    .contact-info-block a {
        font-size: 24px;
    }

    .modal-content {
        padding: 0;
        width: 95%;
        margin: 20px;
    }

    .bio-modal-inner>div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .intro-image-wrapper {
        margin-top: 40px;
    }

    .faq-section {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    .faq-item {
        margin-bottom: 0 !important;
    }

    #faq h2 {
        font-size: 36px;
        margin-bottom: 16px;
    }

    #faq .tour-eyebrow {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .section-padding {
        padding: 40px 15px;
    }

    .footer-grid>div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-grid>div:first-child div[style*="display: flex"] {
        justify-content: center !important;
        width: 100%;
    }

    .hide-on-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .nav-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .navbar.scrolled {
        padding: 10px 20px;
    }

    .hero-eyebrow {
        padding: 8px 16px;
    }

    .navbar img {
        height: 40px !important;
    }
}