/* ==========================================================================
   RESET AND CORE ARCHITECTURE
   ========================================================================== */
:root {
    --primary-dark: #0b2c1e;      /* Deep Jungle Green */
    --primary-olive: #a8b3aa;     /* Elegant Olive Green */
    --accent-gold: #C2A675;       /* Warm Luxury Accent Gold */
    --text-dark: #1E2B24;
    --text-light: #F4F7F5;
    --bg-white: #FFFFFF;
    --bg-light: #F9FBFA;
    --glass-bg: rgba(7, 34, 23, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, .brand-text {
    font-family: var(--font-serif);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-padding {
    padding: 100px 0;
}

.alternate-bg {
    background-color: var(--bg-light);
}

.text-center { text-align: center; }
.text-white { color: var(--bg-white); }
.hidden { display: none !important; }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--primary-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(194, 166, 117, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 16px;
}
#preloader p {
    color: var(--accent-gold);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   NAVBAR COMPONENT
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 24px 0;
}

.navbar.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-brand {
    display: flex;
    flex-direction: column;
    color: var(--bg-white);
}
.brand-text {
    font-size: 1.8rem;
    letter-spacing: 3px;
    line-height: 1;
}
.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}
.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 1.5px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none; border: none;
    color: var(--bg-white);
    cursor: pointer;
}
.icon-sm { width: 18px; height: 18px; vertical-align: middle; margin-right: 4px; }

/* ==========================================================================
   BUTTON ARCHITECTURE
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-olive), var(--primary-dark));
    color: var(--bg-white);
    border: 1px solid var(--primary-olive);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(7, 34, 23, 0.2);
    border-color: var(--accent-gold);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 1px solid var(--accent-gold);
}
.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}
.btn-block { width: 100%; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--bg-white);
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
    animation: zoomBackground 20s infinite alternate;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(7,34,23,0.7), rgba(7,34,23,0.85));
    z-index: -1;
}
.hero-content {
    max-width: 800px;
    margin-top: 60px;
}
.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 16px;
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 1.15rem;
    color: rgba(244, 247, 245, 0.85);
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 300;
}
.hero-ctas {
    display: flex;
    gap: 16px;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
}
.mouse-wheel {
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}
.mouse-wheel::before {
    content: '';
    position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px; background-color: var(--accent-gold);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes zoomBackground { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes scrollMouse { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 22px; } }

/* ==========================================================================
   SECTION CONTROLS & HEADERS
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
}
.section-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-olive);
    display: block;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
}
.title-divider {
    width: 60px; height: 2px;
    background-color: var(--accent-gold);
    margin: 16px auto 0;
}

/* ==========================================================================
   SERVICES COMPONENT
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(7, 34, 23, 0.03);
    transition: var(--transition-smooth);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(194,166,117,0.3);
    box-shadow: 0 30px 60px rgba(7,34,23,0.08);
}
.card-icon-wrapper {
    width: 60px; height: 60px;
    background-color: var(--bg-light);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-olive);
    transition: var(--transition-smooth);
}
.service-card:hover .card-icon-wrapper {
    background-color: var(--primary-dark);
    color: var(--accent-gold);
}
.service-icon { width: 28px; height: 28px; }
.service-card h3 {
    font-size: 1.4rem; margin-bottom: 14px; color: var(--primary-dark);
}
.service-card p {
    font-size: 0.95rem; color: #5c6861; font-weight: 300;
}

/* ==========================================================================
   WHY CHOOSE US COMPONENT
   ========================================================================== */
.about-image-wrapper {
    position: relative;
    padding-right: 20px;
}
.main-about-img {
    width: 100%; border-radius: 4px; box-shadow: var(--shadow-premium);
}
.experience-badge {
    position: absolute;
    bottom: -20px; right: 0;
    background-color: var(--primary-dark);
    padding: 24px; border-radius: 4px;
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    display: flex; flex-direction: column;
}
.badge-num {
    color: var(--accent-gold); font-family: var(--font-serif);
    font-size: 2rem; font-weight: bold; line-height: 1;
}
.badge-txt {
    color: var(--bg-white); font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1px; margin-top: 4px;
}
.about-text {
    font-size: 1.05rem; color: #4a554f; margin-bottom: 32px; font-weight: 300;
}
.feature-list {
    display: flex; flex-direction: column; gap: 24px;
}
.feature-item {
    display: flex; gap: 16px; align-items: flex-start;
}
.feature-icon {
    color: var(--accent-gold); width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px;
}
.feature-item h4 {
    font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 4px;
}
.feature-item p {
    font-size: 0.95rem; color: #5c6861; font-weight: 300;
}

/* ==========================================================================
   DESTINATIONS / PACKAGE CARDS
   ========================================================================== */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.destination-card {
    background-color: var(--bg-white);
    border-radius: 4px; overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}
.destination-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.08);
}
.dest-img-container {
    position: relative; height: 240px; overflow: hidden;
}
.dest-img-container img {
    width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth);
}
.destination-card:hover .dest-img-container img {
    transform: scale(1.06);
}
.dest-badge {
    position: absolute; top: 20px; left: 20px;
    background-color: rgba(7,34,23,0.85); backdrop-filter: blur(5px);
    color: var(--accent-gold); font-size: 0.75rem; font-weight: 600;
    padding: 6px 14px; border-radius: 20px; letter-spacing: 0.5px;
}
.dest-content {
    padding: 28px;
}
.destination-card h3 {
    font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 8px;
}
.dest-details {
    font-size: 0.88rem; color: #617067; margin-bottom: 20px;
}
.card-hr {
    border: none; border-top: 1px solid #eef2f0; margin-bottom: 20px;
}
.dest-footer {
    display: flex; justify-content: space-between; align-items: center;
}
.dest-price {
    font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--primary-olive);
}
.btn-text {
    font-size: 0.9rem; font-weight: 600; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 6px;
}
.btn-text i {
    width: 16px; height: 16px; transition: var(--transition-smooth);
}
.destination-card:hover .btn-text i {
    transform: translateX(4px);
    color: var(--accent-gold);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px; border-radius: 4px; box-shadow: var(--shadow-premium);
    position: relative;
}
.quote-icon-box {
    font-family: var(--font-serif); font-size: 5rem; color: rgba(194,166,117,0.15);
    position: absolute; top: 10px; left: 30px; line-height: 1;
}
.testimonial-text {
    font-size: 1rem; italic; color: #4a554f; line-height: 1.7; margin-bottom: 24px; position: relative; z-index: 1;
}
.author-details h5 {
    font-size: 1rem; color: var(--primary-dark);
}
.author-details span {
    font-size: 0.8rem; color: #7f9185; text-transform: uppercase; letter-spacing: 0.5px;
}

/* ==========================================================================
   CONTACT & EMAILJS BOOKING PANEL
   ========================================================================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-dark), #032a19);
    color: var(--bg-white);
    position: relative;
}
.contact-info-panel {
    padding-right: 20px;
}
.contact-info-panel .section-tagline { color: var(--accent-gold); }
.contact-panel-desc { color: rgba(255,255,255,0.7); margin-bottom: 40px; font-weight: 300; }
.contact-methods { display: flex; flex-direction: column; gap: 30px; }
.method-item { display: flex; gap: 20px; align-items: flex-start; }
.method-icon { color: var(--accent-gold); width: 24px; height: 24px; margin-top: 3px; }
.method-item h5 { font-size: 1.1rem; color: var(--bg-white); margin-bottom: 4px; font-family: var(--font-sans); font-weight: 500;}
.method-item p { color: rgba(255,255,255,0.75); font-size: 0.95rem; font-weight: 300; }
.method-item a:hover { color: var(--accent-gold); }

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.form-title { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 24px; color: var(--bg-white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label { font-size: 0.82rem; font-weight: 500; margin-bottom: 8px; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px 16px; border-radius: 4px;
    color: var(--bg-white); font-family: var(--font-sans); font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent-gold); background: rgba(255,255,255,0.09);
}
.form-group select option { background-color: var(--primary-dark); color: var(--bg-white); }

/* Form State Controls */
.btn-spinner {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--bg-white);
    border-radius: 50%; animation: spin 0.8s infinite linear;
}
.form-feedback { padding: 14px; border-radius: 4px; margin-top: 16px; font-size: 0.9rem; text-align: center; }
.form-feedback.success { background-color: rgba(224, 236, 231, 0.3); color: #8ceec5; border: 1px solid #2e7559; }
.form-feedback.error { background-color: rgba(168, 50, 50, 0.3); color: #ff9e9e; border: 1px solid #a83232; }

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.main-footer { background-color: #04140e; color: rgba(255,255,255,0.65); padding: 80px 0 0; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-brand-col .logo-brand { margin-bottom: 16px; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: var(--accent-gold); font-size: 1.1rem; margin-bottom: 12px; }
.footer-desc { font-weight: 300; line-height: 1.6; padding-right: 20px; }
.footer-grid h4 { color: var(--bg-white); font-size: 1.05rem; margin-bottom: 20px; font-weight: 500; letter-spacing: 0.5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--accent-gold); padding-left: 4px; }
.social-prompt { margin-bottom: 16px; font-weight: 300; }
.social-icons { display: flex; gap: 14px; }
.social-icons a {
    width: 38px; height: 38px; background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--bg-white);
}
.social-icons a:hover { background: var(--accent-gold); color: var(--primary-dark); transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 24px 0; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; }

/* ==========================================================================
   FLOATING WHATSAPP SYSTEM
   ========================================================================== */
.whatsapp-floating-widget { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; }
.whatsapp-trigger-btn {
    width: 60px; height: 60px; background-color: #25D366; border: none; border-radius: 50%;
    color: var(--bg-white); display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 10px 25px rgba(37,211,102,0.3); position: relative; transition: var(--transition-smooth);
}
.whatsapp-trigger-btn:hover { transform: scale(1.08); }
.whatsapp-svg { width: 28px; height: 28px; }
.chat-pulse {
    position: absolute; width: 100%; height: 100%; background-color: #25D366; border-radius: 50%;
    top: 0; left: 0; z-index: -1; animation: widgetPulse 2s infinite; opacity: 0.4;
}
@keyframes widgetPulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.4); opacity: 0; } }

.whatsapp-popup {
    width: 320px; background-color: var(--bg-white); border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    margin-bottom: 16px; overflow: hidden; display: flex; flex-direction: column;
    transform: translateY(20px) scale(0.95); opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); transform-origin: bottom right;
}
.whatsapp-popup.active { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.popup-header { background-color: var(--primary-dark); padding: 16px; display: flex; align-items: center; gap: 12px; position: relative; }
.popup-avatar { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; color: var(--accent-gold); }
.status-dot { width: 10px; height: 10px; background-color: #25D366; border: 2px solid var(--primary-dark); border-radius: 50%; position: absolute; bottom: 0; right: 0; }
.popup-header-text h5 { color: var(--bg-white); font-size: 0.95rem; font-weight: 500; }
.popup-header-text span { color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.popup-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: rgba(255,255,255,0.5); font-size: 1.4rem; cursor: pointer; }
.popup-close:hover { color: var(--bg-white); }
.popup-body { padding: 20px; background-color: #f4f7f5; background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); background-size: contain; }
.popup-body p { background-color: var(--bg-white); padding: 12px; border-radius: 4px 12px 12px 12px; font-size: 0.88rem; color: #333; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.popup-footer { padding: 12px 16px; background-color: var(--bg-white); text-align: center; }
.whatsapp-send-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background-color: #25D366; color: var(--bg-white); padding: 10px; border-radius: 4px; font-size: 0.88rem; font-weight: 500; }
.whatsapp-send-btn:hover { background-color: #20ba56; }

/* ==========================================================================
   SCROLL REVEAL FUNCTIONAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE LAYOUT RESPONSIVENESS (MOBILE-FIRST DRIVEN)
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-image-wrapper { padding-right: 0; margin-bottom: 20px; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .menu-toggle { display: block; }
    .section-title { font-size: 2.2rem; }
    
    /* Mobile Menu Overlay Configuration */
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background-color: var(--primary-dark); flex-direction: column;
        padding: 100px 40px; gap: 24px; transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 1.1rem; color: rgba(255,255,255,0.9); }
    
    .hero-title { font-size: 2.4rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .bottom-flex { flex-direction: column; gap: 12px; text-align: center; }
    .contact-form-wrapper { padding: 24px; }
    .whatsapp-floating-widget { bottom: 20px; right: 20px; }
}