/* Theme colors inspired by the logo image */
:root {
    --primary: #2e4d1c; /* deep jungle green */
    --secondary: #e3b04b; /* gold/yellow from wildlife */
    --accent: #6bbf59; /* lighter green */
    --background: #f5f5f2; /* off-white background */
    --text: #222;
    --light-bg: #fff;
    --shadow: rgba(46,77,28,0.1);
    --transition: all 0.3s ease;
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 2rem;
    text-align: center;
}

/* Modern Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(46, 77, 28, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    transition: var(--transition);
}

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

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    object-fit: cover;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
}

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

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

.nav-links a:hover {
    background: rgba(227, 176, 75, 0.2);
    color: var(--secondary);
}

.nav-links a:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    text-align: center;
    padding: 8rem 1rem 5rem 1rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Images/Hero image.webp') center/cover no-repeat;
    opacity: 0.7;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(46,77,28,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.hero-features span {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.cta-btn {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(227,176,75,0.3);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227,176,75,0.4);
}

.cta-btn:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(107,191,89,0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Tours Section */
#tours {
    padding: 5rem 0;
    background: var(--background);
}

.tour-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tour-card {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(107,191,89,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tour-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.tour-card:hover .tour-image {
    transform: scale(1.05);
}

.tour-card:first-child .tour-image {
    object-position: 50% 40%; /* Center more on the monkey's face */
}

.tour-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.tour-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.whatsapp-btn {
    display: inline-block;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(37,211,102,0.3);
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
}

.whatsapp-btn:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Gallery */
#gallery {
    padding: 5rem 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(107,191,89,0.2);
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    filter: brightness(0.98) contrast(1.05);
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.07);
    box-shadow: 0 10px 25px var(--accent);
    filter: brightness(1.05) contrast(1.1);
}

/* Testimonials */
#testimonials {
    padding: 5rem 0;
    background: var(--accent);
    color: var(--primary);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonials blockquote {
    background: var(--light-bg);
    color: var(--primary);
    border-left: 5px solid var(--secondary);
    border-radius: 10px;
    padding: 1.5rem;
    font-style: italic;
    box-shadow: 0 5px 15px rgba(46,77,28,0.1);
    transition: var(--transition);
    position: relative;
}

.testimonials blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

.testimonials blockquote:hover {
    transform: translateY(-3px);
}

.testimonials span {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var (--primary);
    font-style: normal;
}

.flag {
    font-size: 1.5em;
    vertical-align: middle;
    margin-left: 0.3em;
}

/* About Section */
#about {
    padding: 5rem 0;
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text {
    padding: 2rem;
}

.about-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    flex: 1;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background: var(--light-bg);
}

.enhanced-contact {
    background: linear-gradient(120deg, var(--background) 60%, var(--accent) 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px var(--shadow);
    padding: 2.5rem 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 12px var(--shadow);
    padding: 2rem;
    margin-bottom: 1rem;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.social-media {
    margin-top: 2rem;
    text-align: left;
}

.social-media h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.social-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-align: center;
    min-width: 120px;
}

.social-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.social-btn.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: #fff;
}

.social-btn.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 175, 69, 0.4);
}

.social-btn.tripadvisor {
    background: var(--primary);
    color: #fff;
}

.social-btn.tripadvisor:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-btn:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.social-icon {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2em;
    margin-right: 0.5em;
    vertical-align: middle;
}

.social-btn.facebook::before, .social-links a[title="Facebook"]::before {
    font-family: 'Font Awesome 6 Brands';
    content: "\f09a";
    font-size: 1.2em;
    margin-right: 0.5em;
    vertical-align: middle;
}
.social-btn.instagram::before, .social-links a[title="Instagram"]::before {
    font-family: 'Font Awesome 6 Brands';
    content: "\f16d";
    font-size: 1.2em;
    margin-right: 0.5em;
    vertical-align: middle;
}

.social-btn .social-icon, .social-links .social-icon {
    display: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--background);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-form label {
    font-weight: 500;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 2px solid rgba(107,191,89,0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107,191,89,0.1);
}

.contact-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.contact-form button:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.contact-form button:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.map-section {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 12px var(--shadow);
    padding: 2rem;
    margin-bottom: 1rem;
}

#backToTop {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 2px 8px var(--shadow);
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

#backToTop:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}

#backToTop:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Footer */
footer {
    background: var(--primary);
    color: #fff;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
    padding: 2rem 0 0 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0 1rem;
}

.footer-section:first-child {
    align-items: flex-start;
    text-align: left;
}

.footer-section:nth-child(2) {
    align-items: center;
    text-align: center;
}

.footer-section:last-child {
    align-items: flex-end;
    text-align: right;
}

.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section ul li a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.social-links a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-section {
        align-items: center !important;
        text-align: center !important;
        padding: 0;
    }
    .footer-logo {
        align-self: center;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .about-content { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .hero { padding: 6rem 1rem 3rem 1rem; min-height: auto; }
    .hero h1 { font-size: 2.2rem; }
    .hero-features { flex-direction: column; gap: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .tour-list { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .testimonials { grid-template-columns: 1fr; }
    .stats { justify-content: center; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-features span { font-size: 0.9rem; }
}
