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

body {
    background-color: #fcfcfc;
    color: #333;
    line-height: 1.6;
}

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

/* --- Hero Banner Style --- */
.packages-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img3.jpg'); /* පසුබිමට පින්තූරයක් */
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    color: white;
}

.packages-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

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

/* --- Section Title --- */
.yala-packages-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.subtitle {
    color: #d4a373;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.title {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-top: 10px;
}

/* --- Packages Grid Layout --- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* --- Individual Package Card --- */
.package-card {
    background: #ffffff;
    border-radius: 35px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-15px);
    border-color: #2d5a27;
    box-shadow: 0 30px 60px rgba(45, 90, 39, 0.12);
}

/* Featured / Best Value Card Style */
.package-card.featured {
    border: 3px solid #d4a373;
    background: #fff;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #d4a373;
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Header Inside Card */
.tour-type {
    font-size: 0.85rem;
    font-weight: 700;
    color: #d4a373;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-card h3 {
    font-size: 1.8rem;
    color: #2d5a27;
    margin: 5px 0;
}

.park-info {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
}

/* Pricing Style */
.price-box {
    background: #f9fbf9;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    border-left: 6px solid #d4a373;
}

.price-box .lkr {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    display: block;
}

.price-box .per-person {
    font-size: 0.9rem;
    color: #666;
}

/* Features List Styles */
.package-details p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #444;
}

.package-details i {
    color: #2d5a27;
    margin-right: 10px;
}

.inclusions {
    list-style: none;
    margin: 25px 0;
}

.inclusions li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #555;
}

/* Info Notes */
.request-note, .private-only {
    font-size: 0.85rem;
    font-weight: 600;
    color: #d4a373;
    font-style: italic;
    margin-bottom: 25px;
}

/* Booking Button Style */
.book-btn {
    display: block;
    text-align: center;
    padding: 18px;
    background: #f4f4f4;
    color: #2d5a27;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    margin-top: auto; /* බටන් එක හැමවිටම යටටම තල්ලු කිරීමට */
    transition: 0.3s;
}

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

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

.featured-btn:hover {
    background: #25d366; /* WhatsApp Green */
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .packages-hero h1 { font-size: 2.5rem; }
    .packages-grid { grid-template-columns: 1fr; }
    .package-card { padding: 30px 20px; }
}

/* --- Boat Safari Specific Styles --- */

.boat-safari-section {
    padding: 100px 0;
    background-color: #f0f7ff; /* ලා නිල් පැහැති පසුබිමක් (වතුරේ පාට) */
}

.boat-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fff;
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

/* Image Side */
.boat-image {
    flex: 1;
    position: relative;
    height: 400px;
}

.boat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.lake-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 700;
    color: #0066cc;
}

/* Info Side */
.boat-info-card {
    flex: 1.2;
}

.tour-tag {
    color: #0066cc;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.boat-header h3 {
    font-size: 2.2rem;
    color: #2d5a27;
    margin: 10px 0;
}

.boat-header p {
    color: #666;
    margin-bottom: 25px;
}

/* Price & Time Row */
.boat-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fbff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #e1ecf7;
    margin-bottom: 25px;
}

.b-price .currency {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    display: block;
}

.b-price .label {
    font-size: 0.85rem;
    color: #888;
}

.b-time {
    font-weight: 700;
    color: #2d5a27;
}

/* List Styling */
.boat-inclusions {
    list-style: none;
    margin-bottom: 30px;
}

.boat-inclusions li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #444;
}

.boat-inclusions i {
    color: #0066cc;
}

/* Button */
.boat-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0066cc; /* Boat Safari එකට නිල් පාට බටන් එකක් */
    color: #fff;
    padding: 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.boat-book-btn:hover {
    background: #25d366; /* WhatsApp Green on hover */
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .boat-wrapper {
        flex-direction: column;
        padding: 20px;
    }
    .boat-image {
        width: 100%;
        height: 300px;
    }
}

/* --- Bundala & Udawalawa Section Styles --- */

.extra-parks-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.extra-card {
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: 0.4s;
}

.extra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(45, 90, 39, 0.1);
}

.extra-img {
    position: relative;
    height: 280px;
}

.extra-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.park-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #d4a373;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.extra-content {
    padding: 40px;
}

.extra-content h3 {
    font-size: 1.8rem;
    color: #2d5a27;
    margin-bottom: 20px;
}

.extra-price {
    margin-bottom: 25px;
    padding: 15px 25px;
    background: #f9fbf9;
    border-radius: 20px;
    display: inline-block;
}

.extra-price .amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    display: block;
}

.extra-price .label {
    font-size: 0.85rem;
    color: #666;
}

.shift-info {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.shift-info p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #444;
}

.shift-info i {
    color: #d4a373;
    margin-right: 8px;
}

.extra-inclusions {
    list-style: none;
    margin-bottom: 35px;
}

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

.extra-inclusions i {
    color: #2d5a27;
}

.extra-btn {
    display: block;
    text-align: center;
    padding: 18px;
    background: #2d5a27;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    transition: 0.3s;
}

.extra-btn:hover {
    background: #1e3a1a;
    transform: scale(1.02);
}

/* Mobile Fix */
@media (max-width: 600px) {
    .extra-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Trust Section Styling --- */
.trust-section {
    padding: 60px 0;
    background: #2d5a27; /* Safari Green */
    color: white;
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.trust-item i {
    font-size: 2.5rem;
    color: #d4a373;
    margin-bottom: 20px;
}

.trust-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Smooth Scroll Fix --- */
html {
    scroll-behavior: smooth;
}

/* ===== Shared Navbar + Footer ===== */
body {
    padding-top: 120px;
}

.navbar {
    position: fixed;
    top: 20px;
    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;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

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

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d5a27;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a373;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2d5a27;
}

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

.btn-whatsapp {
    background: #2d5a27;
    color: #ffffff;
    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: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #d4a373;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
    margin-left: 15px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #2d5a27;
    transition: all 0.3s ease;
}

.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;
}


/* ===== 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;
    }
}


/* ===== Package Conversion Buttons ===== */
.book-btn,
.boat-book-btn,
.extra-book-btn {
    position: relative;
    overflow: hidden;
}
.book-btn:hover,
.boat-book-btn:hover,
.extra-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(45, 90, 39, 0.16);
}
.book-btn::before,
.boat-book-btn::before,
.extra-book-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}
.book-btn:hover::before,
.boat-book-btn:hover::before,
.extra-book-btn:hover::before {
    transform: translateX(120%);
}

.track-note{margin-top:14px;color:#666;font-size:.96rem;text-align:center;max-width:760px;margin-left:auto;margin-right:auto;}

.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;
    }
}
