/* CSS Variables & Setup */
:root {
    --ocean-blue: #2A9D8F;
    --sunset-orange: #E9C46A;
    --tropical-teal: #264653;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: transparent;
    --bg-alt: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    background: url('../assets/images/realistic_jungle_bg.png') no-repeat center center fixed;
    background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.text-center { text-align: center; }
.text-white { color: #fff; }
.relative-z { position: relative; z-index: 2; }
.justify-center { justify-content: center; }
.mt-2 { margin-top: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--ocean-blue), var(--tropical-teal));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.6);
}

.btn-secondary {
    background: var(--sunset-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.6);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 123, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 123, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 123, 0, 0); }
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.glass-nav.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.glass-nav.scrolled .logo, .glass-nav.scrolled .nav-links a {
    color: var(--text-dark);
}

.glass-nav.scrolled .hamburger {
    color: var(--text-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--sunset-orange);
}

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

.nav-links a {
    color: #fff;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

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

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../assets/images/realistic_jungle_bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 35, 15, 0.8) 0%, rgba(20, 90, 40, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.animated-headline {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: #ffffff;
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: floatUp 10s infinite linear;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Common Section */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--ocean-blue);
    margin-bottom: 10px;
}

.section-header p {
    color: #eee;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.glass-card .section-header p {
    color: #555;
    text-shadow: none;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--ocean-blue);
    margin-bottom: 20px;
}

.about-text.glass-card {
    padding: 40px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
}

.about-image {
    padding: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.counter-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-alt);
    border-color: #eee;
    color: var(--text-dark);
}

.counter-item i {
    font-size: 2.5rem;
    color: var(--sunset-orange);
    margin-bottom: 15px;
}

.counter-item h3 {
    font-size: 2.5rem;
    color: var(--ocean-blue);
    margin-bottom: 5px;
}

.counter-item p {
    color: #555;
    font-weight: 500;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    background: var(--bg-alt);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: var(--text-dark);
}

.service-card p {
    color: #555;
}

/* Removed deck card sweeping animation from service cards */

.service-card:hover {
    /* Kept intentionally empty to override any inherited hover colors if needed, or safely removed */
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 119, 182, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--ocean-blue);
    transition: all 0.3s ease;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card.featured {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .service-card.featured {
        grid-column: span 2;
    }
}

.service-card.featured img {
    height: 300px !important;
}

/* Vehicles */
.vehicles {
    background: var(--bg-alt);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.vehicle-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.vehicle-info {
    padding: 25px;
}

.vehicle-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--ocean-blue);
}

.features li {
    margin-bottom: 10px;
    color: #444;
    display: flex;
    align-items: center;
}

.features li i {
    color: var(--sunset-orange);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.pkg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pkg-header h3 {
    font-size: 1.5rem;
    color: var(--ocean-blue);
}

.badge {
    background: var(--sunset-orange);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Destinations */
.destinations {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
}

.destinations .section-header h2 {
    color: #fff;
}

.destinations .section-header p {
    color: #ddd;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dest-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--glass-shadow);
    color: var(--text-dark);
}

.dest-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.dest-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.dest-info {
    padding: 25px;
    text-align: center;
}

.dest-name {
    color: var(--ocean-blue);
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.dest-btn {
    opacity: 1;
    transform: none;
    font-size: 0.9rem;
    padding: 10px 20px;
    width: 100%;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.why-item {
    text-align: center;
}

.why-item.glass-card {
    padding: 30px 20px;
    color: var(--text-dark);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ocean-blue), var(--tropical-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.3);
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    transform: scale(1.1) rotate(10deg);
}

.why-item h4 {
    font-size: 1.1rem;
}

/* Reviews */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: var(--text-dark);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ccc;
}

.reviewer h5 {
    color: var(--ocean-blue);
    margin-bottom: 2px;
}

.reviewer span {
    font-size: 0.8rem;
    color: #888;
}

/* Gallery */
.gallery-card.glass-card {
    padding: 40px;
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    margin-bottom: 20px;
    break-inside: avoid;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 119, 182, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Booking CTA */
.booking-cta {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.booking-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.booking-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer .logo {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-icons a:hover {
    background: var(--sunset-orange);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--sunset-orange);
}

.contact-info i {
    color: var(--tropical-teal);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.wa-btn {
    background: #25D366;
}

.call-btn {
    background: var(--ocean-blue);
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #eee;
    border-top: 5px solid var(--sunset-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .counters-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .animated-headline {
        font-size: 3rem;
    }
    
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .nav-links, .nav-buttons {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .animated-headline {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .masonry-grid {
        column-count: 1;
    }
    
    .section-header {
        margin-bottom: 40px;
    }

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

    .about-text.glass-card {
        padding: 20px;
    }
    .service-card, .package-card, .review-card {
        padding: 20px;
    }
    .vehicle-info, .dest-info {
        padding: 15px;
    }
    .counter-item {
        padding: 20px 10px;
    }
    .why-item.glass-card {
        padding: 20px 15px;
    }
    .gallery-card.glass-card {
        padding: 20px;
    }

    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    
    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .nav-links.active a {
        color: var(--text-dark);
        padding: 10px 0;
        display: block;
    }
}

@media (max-width: 480px) {
    .counters-grid {
        grid-template-columns: 1fr;
    }

    .animated-headline {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .floating-actions {
        right: 15px;
        bottom: 15px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
