/* Google Fonts - Safari look එකට ගැලපෙන Font එකක් */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-green: #2d5a27; /* Dark Safari Green */
    --accent-gold: #d4a373;   /* Earthy Sand/Gold color */
    --text-dark: #1a1a1a;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9f9f9;
}

/* Navbar Container Styling */
.navbar {
    position: fixed;
    top: 20px; /* Floating effect එක සඳහා උඩින් ඉඩක් */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px; /* Capsule shape floating look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    transition: var(--transition);
}

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

/* Logo Styling */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px; /* Logo එකේ size එක */
    margin-right: 10px;
}

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

/* Nav Links Styling */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

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

/* Hover Effect - Simple Underline Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-green);
}

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

.nav-links a.active {
    color: var(--primary-green);
    font-weight: 700;
}

/* Book Now Button */
.btn-whatsapp {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: var(--accent-gold);
    transform: translateY(-3px); /* Floating hover effect */
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-green);
    transition: var(--transition);
}

/* Responsive Styling - Mobile */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* පසුව JS මගින් පෙන්වීමට */
    }
    
    .navbar {
        width: 95%;
        top: 10px;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
        margin-left: 15px;
    }
}

/* Hero Section Base Styles */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* ඔයා එවපු image_1.png එක මෙතනට replace කරන්න */
    background: url('image_1.png') no-repeat center center/cover;
    overflow: hidden;
}

/* Color Correction & Shading Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* කළු සහ තැඹිලි මිශ්‍ර premium shading එකක් */
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(45, 90, 39, 0.3) 50%, 
        rgba(212, 163, 115, 0.4) 100%
    );
    z-index: 1;
}

/* Hero Content Styling */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
    /* Floating entrance animation */
    animation: fadeInUpHero 1.2s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #d4a373; /* Gold color from logo */
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.highlight {
    color: #d4a373; /* Safari Gold */
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
    font-weight: 300;
}

/* Floating Buttons */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-hero {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.btn-primary-hero {
    background: #2d5a27; /* Dark Safari Green */
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(45, 90, 39, 0.3);
}

.btn-secondary-hero {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Hover Effects (Floating & Shading) */
.btn-hero:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(212, 163, 115, 0.4);
}

.btn-primary-hero:hover {
    background: #d4a373;
}

.btn-secondary-hero:hover {
    background: #ffffff;
    color: #2d5a27;
}

/* Side Social Icons Floating */
.hero-social-sidebar {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    z-index: 3;
}

.hero-social-sidebar a {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(45, 90, 39, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    text-decoration: none;
    transition: 0.3s;
    opacity: 1;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.hero-social-sidebar a:hover {
    color: #ffffff;
    background: #d4a373;
    transform: translateY(-3px) scale(1.04);
}

/* Floating Animation Keyframes */
@keyframes fadeInUpHero {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; }
    .hero-social-sidebar { display: none; }
}

/* --- Booking Section Complete Styles --- */

.booking {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fdf9 0%, #f1f8f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Screen එකේ මැදටම ගන්න */
}

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

.booking-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* Vertical alignment එක මැදට ගන්න */
    justify-content: space-between;
    gap: 60px; /* පැති දෙක අතර පරතරය */
}

/* වම් පැත්තේ ඇති විස්තර (Text Side) */
.booking-info {
    flex: 1;
    min-width: 350px;
}

.booking-info .subtitle {
    color: #d4a373; /* Gold color */
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.booking-info .title {
    font-size: 3.5rem; /* ලොකුවට කැපී පෙනෙන්න */
    color: #2d5a27; /* Safari Green */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.booking-info .highlight {
    color: #d4a373;
}

.booking-info p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Contact අයිකන සහ විස්තර */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.method {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    color: #333;
}

.method i {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #25D366; /* WhatsApp Green */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* දකුණු පැත්තේ ඇති Form Card එක */
.booking-form-card {
    flex: 1;
    min-width: 400px;
    background: #ffffff;
    padding: 50px;
    border-radius: 40px; /* ලස්සන වටකුරු ගතියක් */
    box-shadow: 0 30px 60px rgba(45, 90, 39, 0.12);
    border: 1px solid rgba(45, 90, 39, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Floating Effect */
.booking-form-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(45, 90, 39, 0.2);
}

/* Form Input Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d5a27;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    font-size: 1rem;
    background: #fcfcfc;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: #2d5a27;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(45, 90, 39, 0.1);
}

/* Submit Button (WhatsApp Button) */
.btn-submit {
    width: 100%;
    padding: 20px;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-submit:hover {
    background: #1eb954;
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Responsive fixes for mobile devices */
@media (max-width: 992px) {
    .booking-info {
        text-align: center;
        margin-bottom: 40px;
    }
    .booking-info .title {
        font-size: 2.8rem;
    }
    .method {
        justify-content: center;
    }
    .booking-form-card {
        min-width: 100%;
        padding: 35px 25px;
    }
}

/* --- Why Choose Us - Complete Alignment Fix --- */

.features-section {
    padding: 100px 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center; /* මුළු Section එකම හරස් අතට මැදට ගන්න */
    align-items: center;
}

.features-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* එක යට එක එන විදිහට (Header එක උඩ, Grid එක පල්ලෙහා) */
    align-items: center;    /* සියල්ල මැදට align කරන්න */
}

/* Header එක මැදට ගැනීම */
.features-section .section-header {
    text-align: center;
    max-width: 700px;
    margin-bottom: 60px;
}

/* Grid එක හරියටම මැදට සකස් කිරීම */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    width: 100%; /* මුළු පළලම පාවිච්චි කරන්න */
    justify-content: center;
}

/* Card එකේ styling (කලින් ඒවාමයි, පොඩි වෙනස්කම් කිහිපයක් එක්ක) */
.feature-card {
    padding: 50px 30px;
    background: #f9fdf9;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(45, 90, 39, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center; /* Card එක ඇතුලේ දේවලුත් මැදට ගන්න */
}

/* Hover Effect */
.feature-card:hover {
    transform: translateY(-15px);
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(45, 90, 39, 0.1);
    border-color: #d4a373;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #2d5a27;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    margin-bottom: 30px;
    font-size: 2rem;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    background: #d4a373;
    transform: rotateY(180deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Mobile එකේදී එක පේළියට එක බැගින් */
        max-width: 400px;
    }
}

/* --- Final Premium Gallery Section CSS --- */

.gallery-section {
    padding: 100px 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    width: 100%;
}

.gallery-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    /* Title එක උඩට සහ Grid එක පල්ලෙහාට එන ලෙස සකස් කිරීම */
    display: flex;
    flex-direction: column;
    align-items: center; /* හරස් අතට සියල්ල මැදට */
}

/* Section Header (Title & Subtitle) මැදට ගැනීම */
.gallery-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.gallery-section .subtitle {
    color: #d4a373; /* Gold color */
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.gallery-section .title {
    font-size: 3rem;
    color: #2d5a27; /* Safari Green */
    font-weight: 800;
}

.gallery-section .highlight {
    color: #d4a373;
}

/* Gallery Grid - Blocks එකිනෙකට අමුණන මැජික් එක */
.gallery-grid {
    display: grid;
    /* තීරු ප්‍රමාණය screen එක අනුව ස්වයංක්‍රීයව සැකසේ */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 220px; /* පේළියක උස */
    grid-auto-flow: dense; /* හිස් තැන් පිරවීමේ ක්‍රමය */
    gap: 20px;
    width: 100%;
}

/* Individual Gallery Item */
.gallery-item {
    position: relative;
    border-radius: 30px; /* Premium Rounded Corners */
    overflow: hidden;
    background: #f8f8f8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Masonry Block Sizes (Balanced for 8 Images) --- */

/* උස පින්තූර (Tall blocks) */
.gallery-item.tall {
    grid-row: span 2;
}

/* පළල පින්තූර (Wide blocks) */
.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* පින්තූරය කොටුවට ගැලපෙන්න කැපීම */
    display: block;
    transition: transform 1s ease;
}

/* Hover Effects - Zoom & Shading */
.gallery-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(45, 90, 39, 0.15);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1); /* පින්තූරය ඇතුළතින් Zoom වීම */
    filter: brightness(0.8);
}

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

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

.gallery-overlay span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

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

/* Responsive Fixes */
@media (max-width: 992px) {
    .gallery-item.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .gallery-section .title {
        font-size: 2.5rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* Mobile එකේදී එක පේළියට එක බැගින් */
        grid-auto-rows: 250px;
    }
    .gallery-item.tall {
        grid-row: span 1;
    }
}

/* --- Safety & Experience Section: Complete Fixed CSS --- */

.safety-section {
    padding: 100px 0;
    background-color: #f9fdf9; /* Light Safari Green background */
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.safety-section .container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: row; /* හරස් අතට අයිතම දෙක තැබීම */
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 0 auto;
}

/* 1. Left Content Area */
.safety-content {
    flex: 1; /* ඉතිරි ඉඩෙන් සමාන ප්‍රමාණයක් ගැනීම */
    text-align: left;
}

.safety-content .subtitle {
    color: #d4a373;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.safety-content .title {
    font-size: 3rem;
    color: #2d5a27;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.safety-content .highlight {
    color: #d4a373;
}

.safety-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 1.05rem;
}

/* Points List */
.safety-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.point i {
    color: #2d5a27;
    font-size: 1.3rem;
}

.point span {
    font-weight: 500;
    color: #333;
}

/* 2. Right Image Area */
.safety-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative; /* Badge එක මේක ඇතුලේ තබා ගැනීමට */
}

.image-card {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.image-card img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    border: 12px solid #ffffff; /* White Premium Frame */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    display: block;
}

/* --- Floating Experience Badge (Fixed Positioning) --- */
.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -40px; /* පින්තූරයෙන් යාන්තමට එළියට පන්නා තැබීම */
    background: #2d5a27;
    color: #ffffff;
    padding: 25px 30px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(45, 90, 39, 0.3);
    z-index: 10;
    animation: floatingEffect 3s ease-in-out infinite;
}

.experience-badge h3 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 800;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.85rem;
    margin: 8px 0 0 0;
    color: #fff;
    opacity: 0.9;
    white-space: nowrap; /* අකුරු කැඩෙන්නේ නැති වෙන්න */
}

/* Floating Animation */
@keyframes floatingEffect {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Mobile & Tablet Responsive */
@media (max-width: 992px) {
    .safety-section .container {
        flex-direction: column; /* එක යට එක එන ලෙස */
        text-align: center;
    }

    .safety-content {
        margin-bottom: 60px;
    }

    .safety-points {
        align-items: flex-start;
        max-width: 450px;
        margin: 0 auto;
        text-align: left;
    }

    .safety-image {
        justify-content: center;
    }

    .experience-badge {
        left: 50%;
        transform: translateX(-50%); /* Mobile වලදී මැදට ගැනීම */
        bottom: 10px;
    }
}

/* --- Booking CTA Section Styles --- */

.booking-cta {
    padding: 60px 0 100px; /* Footer එකට උඩින් ලස්සන ඉඩක් තැබීම */
    display: flex;
    justify-content: center;
}

.booking-cta .container {
    width: 90%;
    max-width: 1100px;
}

.cta-card {
    background: linear-gradient(135deg, #1e3a1a 0%, #2d5a27 100%); /* Deep Safari Green Gradient */
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(45, 90, 39, 0.3);
}

/* Background එකට පොඩි ලස්සනක් දෙන්න (Light Effect) */
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-title .highlight {
    color: #d4a373; /* Gold highlight */
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 35px;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    font-size: 1rem;
}

.btn-whatsapp {
    background-color: #25d366; /* WhatsApp Green */
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-call {
    background-color: #ffffff;
    color: #2d5a27;
}

.btn-call:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cta-card {
        padding: 50px 25px;
    }
    .cta-title {
        font-size: 2rem;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Final Footer CSS with Location Fix --- */


.footer {
    background-color: #111111;
    padding: 80px 0 30px;
    color: #ffffff;
    border-top: 5px solid #2d5a27;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

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

.footer-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-box h4 {
    color: #d4a373;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-logo span { color: #d4a373; }

.about-box p {
    color: #999;
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2d5a27;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: #d4a373;
}

.contact-box ul {
    list-style: none;
    padding: 0;
}

.contact-box ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-box i {
    color: #d4a373;
    width: 20px;
}

.footer-map,
.footer .map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
    line-height: 0;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

body.menu-open {
    overflow: hidden;
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 10px 50px;
    background: rgba(45, 90, 39, 0.95);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
    color: #ffffff;
}

.navbar.scrolled .nav-links a::after {
    background: #ffffff;
}

.navbar.scrolled .bar {
    background-color: #ffffff;
}

.navbar.scrolled .btn-whatsapp {
    background: #ffffff;
    color: #2d5a27;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
    body {
        padding-top: 100px;
    }

    .navbar {
        width: 95%;
        top: 10px;
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 24px;
        padding: 16px 18px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        display: block;
        padding: 12px 8px;
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links,
    .contact-box ul li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
    }

    .logo img {
        height: 42px;
    }

    .btn-whatsapp {
        padding: 9px 16px;
        font-size: 0.82rem;
    }
}


.footer-location-link,
.contact-location-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-location-link:hover,
.contact-location-link:hover {
    color: #d4a373;
}

.map-open-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.map-open-link:hover {
    background: #d4a373;
    color: #1f1f1f;
    border-color: #d4a373;
}

.contact-map-link {
    margin-top: 18px;
    color: #2d5a27;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.contact-map-link:hover {
    color: #1f1f1f;
}

html {
    scroll-behavior: smooth;
}

body.menu-open {
    overflow: hidden;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 10px 50px;
    background: rgba(45, 90, 39, 0.95);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
    color: #ffffff;
}

.navbar.scrolled .nav-links a::after {
    background: #ffffff;
}

.navbar.scrolled .bar {
    background-color: #ffffff;
}

.navbar.scrolled .btn-whatsapp {
    background: #ffffff;
    color: var(--primary-green);
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.safety-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

@media (max-width: 992px) {
    .nav-links.active {
        display: flex;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 24px;
        padding: 16px 18px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }

    .nav-links.active li {
        margin: 0;
    }

    .nav-links.active a {
        display: block;
        padding: 12px 8px;
    }

    .navbar {
        overflow: visible;
    }

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

    .navbar.scrolled .nav-links.active {
        background: rgba(45, 90, 39, 0.98);
    }

    .navbar.scrolled .nav-links.active a {
        color: #ffffff;
    }

    .safety-wrapper {
        flex-direction: column;
    }
}


.footer-location-link,
.contact-location-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-location-link:hover,
.contact-location-link:hover {
    color: #d4a373;
}

.map-open-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.map-open-link:hover {
    background: #d4a373;
    color: #1f1f1f;
    border-color: #d4a373;
}

.contact-map-link {
    margin-top: 18px;
    color: #2d5a27;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.contact-map-link:hover {
    color: #1f1f1f;
}


/* ===== Sticky WhatsApp Button ===== */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.55rem;
    box-shadow: 0 18px 35px rgba(37, 211, 102, 0.28);
    z-index: 1200;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 22px 40px rgba(37, 211, 102, 0.34);
}
.floating-whatsapp::after {
    content: 'WhatsApp';
    position: absolute;
    right: 68px;
    white-space: nowrap;
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: all 0.3s ease;
}
.floating-whatsapp:hover::after {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 768px) {
    .floating-whatsapp {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 14px;
    }
    .floating-whatsapp::after {
        display: none;
    }
}

.tripadvisor-icon {
    width: 30px;
    height: 30px;
    display: block;
    flex-shrink: 0;
}

.tripadvisor-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.hero-social-sidebar .tripadvisor-icon {
    width: 32px;
    height: 32px;
}

.social-links .tripadvisor-icon,
.social-icons .tripadvisor-icon {
    width: 28px;
    height: 28px;
}


@media (max-width: 992px) {
    .navbar,
    .navbar.scrolled {
        top: 10px;
        width: 95%;
        max-width: 95%;
        border-radius: 32px;
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.96);
    }

    .navbar.scrolled .logo-text,
    .navbar.scrolled .nav-links a,
    .navbar.scrolled .bar {
        color: inherit;
        background-color: #2d5a27;
    }

    .navbar.scrolled .btn-whatsapp {
        background: #2d5a27;
        color: #ffffff;
    }

    .navbar.scrolled .nav-links.active {
        background: rgba(255, 255, 255, 0.98);
    }

    .navbar.scrolled .nav-links.active a {
        color: #1a1a1a;
    }

    .navbar.scrolled .nav-links a::after {
        background: #d4a373;
    }
}

/* ===== Mobile stability fixes: Home page ===== */
html,
body {
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 100svh;
        padding: 120px 0 72px;
        background-position: center center;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 22px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 7vw, 3.5rem);
        line-height: 1.12;
    }

    .hero-description {
        font-size: 1.02rem;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .hero-btns {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-hero {
        min-width: 0;
    }

    .booking {
        min-height: auto;
        padding: 80px 0;
    }

    .booking-wrapper,
    .safety-wrapper,
    .safety-section .container {
        gap: 36px;
    }

    .booking-info,
    .safety-content,
    .safety-image,
    .booking-form-card {
        min-width: 0;
        width: 100%;
    }

    .booking-info {
        margin-bottom: 0;
    }

    .booking-info .title,
    .features-section .title,
    .gallery-section .title,
    .safety-content .title,
    .cta-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .method span,
    .point span,
    .feature-card p,
    .gallery-overlay span,
    .footer-box p,
    .contact-box ul li,
    .map-open-link {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-box,
    .about-box,
    .contact-box,
    .map-box {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 92px;
    }

    .navbar,
    .navbar.scrolled {
        border-radius: 24px;
        padding: 10px 14px;
    }

    .navbar .container {
        gap: 10px;
    }

    .logo a {
        min-width: 0;
    }

    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.6px;
    }

    .logo img {
        height: 38px;
        margin-right: 8px;
    }

    .btn-whatsapp {
        padding: 8px 14px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .nav-cta {
        gap: 8px;
    }

    .hero {
        padding: 112px 0 64px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2.5px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 0.96rem;
        margin-bottom: 24px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
    }

    .booking,
    .features-section,
    .gallery-section,
    .safety-section,
    .booking-cta,
    .footer {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .booking-info {
        text-align: left;
    }

    .booking-info .title,
    .features-section .title,
    .gallery-section .title,
    .safety-content .title,
    .cta-title {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.2;
    }

    .booking-info p,
    .safety-content p,
    .cta-description {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .method {
        justify-content: flex-start;
        align-items: flex-start;
        gap: 14px;
    }

    .method i {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .booking-form-card {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .form-group input,
    .form-group select,
    .btn-submit {
        font-size: 1rem;
        min-height: 52px;
    }

    .feature-card,
    .cta-card {
        padding-left: 22px;
        padding-right: 22px;
    }

    .gallery-grid {
        gap: 16px;
    }

    .gallery-item,
    .gallery-grid {
        border-radius: 22px;
    }

    .image-card {
        border-radius: 24px;
    }

    .experience-badge {
        right: 14px;
        bottom: 14px;
        padding: 18px 16px;
    }

    .footer {
        margin-top: 60px;
        padding-bottom: 28px;
    }

    .footer-wrapper {
        gap: 28px;
    }

    .footer-bottom {
        margin-top: 34px;
        padding-top: 18px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 88px;
    }

    .navbar,
    .navbar.scrolled {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        top: 8px;
        padding: 9px 12px;
        border-radius: 20px;
    }

    .logo-text {
        font-size: 0.82rem;
        max-width: 108px;
        line-height: 1.1;
    }

    .logo img {
        height: 34px;
    }

    .btn-whatsapp {
        padding: 7px 10px;
        font-size: 0.72rem;
    }

    .menu-toggle {
        margin-left: 8px;
    }

    .nav-links.active {
        top: calc(100% + 10px);
        padding: 14px;
        border-radius: 18px;
    }

    .hero {
        min-height: 100svh;
        padding: 108px 0 56px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.3rem);
    }

    .hero-description {
        font-size: 0.92rem;
    }

    .booking,
    .features-section,
    .gallery-section,
    .safety-section,
    .booking-cta {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .booking .container,
    .features-section .container,
    .gallery-section .container,
    .safety-section .container,
    .footer .container {
        width: min(92%, 100% - 24px);
    }

    .booking-info .title,
    .features-section .title,
    .gallery-section .title,
    .safety-content .title,
    .cta-title {
        font-size: clamp(1.62rem, 8.4vw, 2rem);
    }

    .booking-form-card,
    .feature-card,
    .cta-card,
    .image-card {
        border-radius: 20px;
    }

    .feature-card {
        padding: 28px 18px;
    }

    .floating-whatsapp {
        right: 12px;
        bottom: 12px;
    }
}
