/* CSS Variables */
:root {
    --color-primary: #1B3022;
    /* Deep Jungle Green */
    --color-secondary: #F39C12;
    /* Sunset Orange */
    --color-background: #F4F1DE;
    /* Sand White */
    --color-text: #333333;
    --color-white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.btn-primary {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn-primary:hover {
    background-color: #e67e22;
    /* Slightly darker orange */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

/* Navigation */
.navbar {
    background-color: var(--color-white);
    padding: 10px 0;
    /* Reduced padding */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

/* Centered Logo Layout */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    /* Context for logo */
    height: 80px;
    /* Fixed height for navbar content */
}

/* The anchor tag holding the logo acts as a spacer and anchor point */
.desktop-logo {
    display: flex;
    justify-content: center;
    width: 180px;
    /* Reserve space in the center */
    position: relative;
    z-index: 1001;
}

/* The actual image floats and can be larger than the container */
.logo-img {
    height: 120px;
    /* Large size */
    width: auto;
    object-fit: contain;
    border-radius: 50%;

    /* Hanging Effect */
    position: absolute;
    top: -40px;
    /* Adjust top alignment */
    left: 50%;
    transform: translateX(-50%);

    /* Make sure it sits above content */
    z-index: 1001;
    background: transparent;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    /* Soft shadow for depth */
    transition: width 0.3s ease, height 0.3s ease, transform 0.3s ease;
}

.logo-img:hover {
    /*transform: translateX(-50%) scale(1.05);*/
    /* Maintain X centering on scale */
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    flex: 1;
    /* Take equal remaining space */
    align-items: center;
    /* Vertically center text */
    height: 100%;
}

/* Align Left Menu to the Right (towards logo) */
.nav-left {
    justify-content: flex-end;
    padding-right: 20px;
    /* Reduced since logo width handles spacing */
}

/* Align Right Menu to the Left (towards logo) */
.nav-right {
    justify-content: flex-start;
    padding-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.2rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
}

/* Cleaned up logo styles - defined in .nav-menu-wrapper section */

.logo-img:hover {
    /*transform: rotate(5deg);*/
	height: 140px;
}

.desktop-logo {
    display: block;
}

.mobile-logo {
    display: none;
    /* Hidden on desktop */
}

/* Button in Nav */
.btn-primary-nav {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-primary-nav::after {
    display: none;
}

.btn-primary-nav:hover {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-text);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .nav-menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        display: none;
        /* Default hidden */
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu-wrapper.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        /* Reset flex properties for mobile column layout */
        flex: none;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
        /* Center items */
        padding: 0;
        /* Remove desktop spacing */
    }

    .hamburger {
        display: block;
    }

    /* Mobile Logo Reset - NOT HANGING */
    .logo-img {
        position: static;
        transform: none;
        height: 60px;
        width: auto;
        filter: none;
        margin: 0;
    }

    .logo-img:hover {
        transform: none;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    .logo-text {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.2rem;
        color: var(--color-primary);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Adjust navbar height for mobile */
    .nav-menu-wrapper {
        height: auto;
    }

    .desktop-logo {
        display: none;
    }

    .nav-links .btn-primary-nav {
        width: 80%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    background-attachment: fixed;
}

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

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
    background-color: var(--color-white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--color-secondary);
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Experiences Carousel */
.experiences {
    background-color: var(--color-background);
}

.carousel-container {
    position: relative;
    height: 400px;
    /* Adjust based on card height */
    width: 80%;
    margin: 0 auto;
    max-width: 800px;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.experience-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.card-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 1.1rem;
    color: #666;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27, 48, 34, 0.7);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--color-secondary);
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 15px;
}

.carousel-indicator {
    border: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.current-slide {
    background: var(--color-secondary);
    transform: scale(1.2);
}

/* Booking & Contact Section */
.booking-contact {
    background-color: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.booking-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23223d2b' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.booking-form-wrapper h2,
.contact-info h2 {
    color: var(--color-white);
    margin-bottom: 30px;
}

/* Form Styles */
.booking-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus {
    outline: 2px solid var(--color-secondary);
}

.btn-submit {
    width: 100%;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: #e67e22;
}

/* Contact Info Styles */
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--color-white);
    font-size: 1.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #122117;
    /* Darker than primary */
    color: rgba(255, 255, 255, 0.6);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.tagline {
    margin-top: 5px;
    font-style: italic;
    color: var(--color-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .booking-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    /* Carousel Adjustment */
    .carousel-container {
        width: 90%;
    }

    .prev-btn {
        left: -50px;
    }

    .next-btn {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        /*display: none;*/
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    /* Mobile Carousel Adjustment */
    .carousel-container {
        width: 100%;
        padding: 0 40px;
        /* Make space for buttons inside or small */
    }

    .prev-btn,
    .next-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }
}

/* Page Header for sub-pages */
.page-header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    margin-top: 70px;
    /* Offset for fixed navbar */
}

.page-header h1 {
    font-size: 3rem;
    color: var(--color-white);
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Update Nav Active State */
.nav-links li a.active {
    color: var(--color-secondary);
}

/* Restore Grid Layout */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Make card an anchor block */
a.experience-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

a.experience-card:hover .read-more i {
    transform: translateX(5px);
}

/* Detail Page Styles */
.detail-content {
    padding: 60px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.detail-gallery img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.detail-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.detail-info p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.detail-features {
    list-style: none;
    margin: 30px 0;
}

.detail-features li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-features li i {
    color: var(--color-secondary);
}

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

/* Why Choose Us Styles */
.why-choose-us {
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.feature-box {
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
}

/* Featured Adventures Styles */
.featured-adventures {
    background-color: var(--color-background);
}

/* Testimonials Styles */
.testimonials {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.testimonials .section-title {
    color: var(--color-white);
}

.testimonial-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-secondary);
}

/* How To Book Styles */
.how-to-book {
    background-color: var(--color-white);
}

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step-box {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin: 0 auto 15px auto;
}

.step-box i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: block;
}

.step-divider {
    font-size: 1.5rem;
    color: #ccc;
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
    }

    .step-divider {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* Testimonials Carousel Styles */
.testimonial-carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    padding: 20px;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.test-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.test-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--color-secondary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Page Centering */
.contact-centered-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.contact-info {
    width: 100%;
    max-width: 500px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    justify-content: flex-start;
    /* Items start aligned to icon */
    text-align: left;
    /* Text aligns left */
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
}


/* Booking Page Enhancements */
.booking-split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: start;
}

.booking-benefits {
    padding-top: 20px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-benefits h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.benefit-list li i {
    color: var(--color-secondary);
    margin-top: 4px;
}

.support-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--color-secondary);
    padding: 20px;
    border-radius: 10px;
    color: var(--color-white);
}

.support-box i {
    font-size: 2rem;
}

.mt-30 {
    margin-top: 30px;
}

/* FAQ Styles */
.faq-section {
    background-color: var(--color-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: var(--color-background);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--color-secondary);
}

.faq-item h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 768px) {
    .booking-split {
        grid-template-columns: 1fr;
    }
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: var(--color-background);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    color: var(--color-primary);
    font-size: 2rem;
}

.team-card h3 {
    margin-bottom: 5px;
}

.team-card .role {
    display: block;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-card p {
    color: #666;
    font-size: 0.95rem;
}


/* Experiences Intro Polish */
.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.intro-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid var(--color-secondary);
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.intro-card i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 25px;
    background: rgba(243, 156, 18, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.intro-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.intro-card p {
    color: #555;
    font-size: 1.05rem;
}


/* Modern Nilwala Section (Safari Theme) */
.nilwala-modern {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: var(--color-text);
}

.nilwala-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    /* No blur, clear view */
}

/* Safari Card Style */
.glass-card {
    background: var(--color-background);
    /* Sand White */
    opacity: 0.95;
    border: none;
    padding: 60px;
    border-radius: 5px;
    /* Less rounded */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--color-secondary);
}

.modern-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-primary);
    /* Deep Green */
    text-shadow: none;
}

.wave-separator {
    width: 100px;
    height: 20px;
    margin: 0 auto 30px auto;
    display: block;
}

.glass-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
    /* Darker text for readability */
}

.glass-card .lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-primary);
}

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

    .glass-card {
        padding: 30px;
    }

    .modern-title {
        font-size: 2rem;
    }
}

/* Enhanced Detail Page Styles */
/* layout: Gallery Top (Full), Info Bottom (Split) */
.detail-grid {
    display: block;
    /* Stack children */
    padding-bottom: 50px;
}

/* 5-Image Mosaic Gallery - Full Width */
.gallery-mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Wider main image */
    gap: 15px;
    margin-bottom: 50px;
    height: 500px;
    /* Taller for full width impact */
    width: 100%;
}

.main-img-container {
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.main-img-container:hover img {
    transform: scale(1.05);
}

.sub-imgs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 100%;
}

.sub-imgs-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.sub-imgs-grid img:hover {
    transform: scale(1.05);
    z-index: 1;
}

/* Info Section - Now Side-by-Side */
.detail-info {
    display: grid;
    grid-template-columns: 350px 1fr;
    /* Highlights | Text */
    gap: 50px;
    align-items: start;
}

.highlight-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.highlight-box h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--color-background);
    padding-bottom: 10px;
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #555;
}

.highlight-list li i {
    color: var(--color-secondary);
    width: 20px;
}

.detail-text-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.detail-text-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.bring-list {
    margin-top: 20px;
    margin-bottom: 30px;
    padding-left: 20px;
}

.bring-list li {
    margin-bottom: 8px;
    color: #555;
}

/* Mobile Responsiveness for Detail Pages */
@media (max-width: 900px) {
    .detail-info {
        grid-template-columns: 1fr;
        /* Stack info on smaller screens */
        gap: 30px;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        /* Single column */
        height: auto;
        /* Allow height to grow */
    }

    .main-img-container {
        height: 300px;
        /* Smaller main image */
    }

    .sub-imgs-grid {
        height: auto;
        grid-template-rows: 150px 150px;
        /* Stacked rows for thumbnails */
    }

    .highlight-box {
        position: static;
        /* Remove sticky on mobile */
        margin-bottom: 30px;
    }

    .detail-text-content h2 {
        font-size: 1.8rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Logo Image Style */
.logo-img { 
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    /* Optional: Makes it circular if square */
}

/* Home Page Gallery */
.home-gallery {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
    position: relative;
    cursor: pointer;
}

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

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

/* Overlay Effect */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.gallery-overlay p {
    color: #fff;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Gallery Filter Styles */
.gallery-filter {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    border: 2px solid var(--color-secondary);
    background: transparent;
    color: var(--color-secondary);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.gallery-item.hide {
    display: none;
}

.gallery-item {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}