/* ===== HEADER CLEAN VERSION ===== */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: linear-gradient(to bottom, #f9fbf9, #eef5f0);
    padding-top: 85px; /* same as header height */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
}

/* Navigation */
header nav {
    display: flex;
    gap: 30px;
}

header nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

header nav a:hover {
    color: #d4af37;
}


.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    color: white;
}


.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #0a3d2e, #16a085);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Hover lift */
.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}


.btn:hover::after {
    animation: btnshine 0.8s forwards;
}

@keyframes btnshine {
    to { left: 120%; }
}



.section {
    padding: 60px 40px;
    text-align: center;
}

.dark {
    position: relative;
    background: url("images/whyvisit-bg.jpg") center/cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8); /* white overlay */
}


.dark > * {
    position: relative;
    z-index: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 18px;
}

@media (max-width: 1100px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ===== TRAVEL MOMENTS STYLE CARDS ===== */

.places-container {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    width: max-content;
}


/* Image container */
.card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

#places .places-container .card {
    width: 240px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow: 
        0 25px 55px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0,0,0,0.3);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.places-container .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.7);
}

/* Image zoom */
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img img {
    transform: scale(1.12);
}

/* Dark gradient overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.10), rgba(0,0,0,0));
    transform: translateY(60%);
    transition: transform 0.4s ease;
}

/* Slide-up text */
.card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.card-overlay p {
    font-size: 13px;
    line-height: 1.4;
}

.card-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
}

.card {
    text-decoration: none;
    color: inherit;
}


.places-container .card:hover .card-img::before {
    animation: shine 0.8s forwards;
}

@keyframes shine {
    to { left: 125%; }
}


/* Card container */
.places-container .card {
    width: 240px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.places-container .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.2);
}

/* Image wrapper */
.card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

/* Image zoom */
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img img {
    transform: scale(1.12);
}

/* Dark overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.20), rgba(0,0,0,0));
    transform: translateY(60%);
    transition: transform 0.4s ease;
}

/* Slide-up effect */
.card:hover .card-overlay {
    transform: translateY(0);
}

/* Title */
.card-overlay h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

/* Description */
.card-overlay p {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}

.price-box .lkr {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

input, textarea {
    margin: 10px 0;
    padding: 10px;
}

button {
    background: #0a3d2e;
    color: white;
    padding: 10px;
    border: none;
}

footer {
    background: #0a3d2e;
    color: #ffffff;
    padding: 70px 40px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #dcdcdc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: 0.3s ease;
}

.footer-col a:hover {
    color: #d4af37;
}

/* Support badge */
.support-badge {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 13px;
}

/* Review badge */
.review-badge {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,0.15);
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 13px;
}

.review-badge i {
    color: #d4af37;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    color: #ccc;
}


footer h4 {
    color: #ffffff;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.slides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    animation: slideShow 24s infinite;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}


@keyframes slideShow {
    10%   { transform: translateX(0); }
    14%  { transform: translateX(0); }

    16%  { transform: translateX(-100%); }
    30%  { transform: translateX(-100%); }

    32%  { transform: translateX(-200%); }
    46%  { transform: translateX(-200%); }

    48%  { transform: translateX(-300%); }
    62%  { transform: translateX(-300%); }

    64%  { transform: translateX(-400%); }
    78%  { transform: translateX(-400%); }

    80%  { transform: translateX(-500%); }
    100% { transform: translateX(-500%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content {
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0.05));
    top: 0;
    left: 0;
}

/* ===== Slide-in Animation for Hidden Historical Cards ===== */

.slide-hidden {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s ease;
    display: none;        /* ⭐ prevents empty gaps */
}

.slide-show {
    display: block;       /* shows card */
    opacity: 1;
    transform: translateX(0);
}

/* ===== Historical Highlights Styling ===== */

#places h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 450;
    letter-spacing: 1px;
    color: #1a1a1a;
}



#places > p {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 80;
    color: #444;
}


#places.section {
    padding-left: 20px;
    padding-right: 20px;
}

.places-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.places-container .card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.places-container .card.show {
    opacity: 1;
    transform: translateY(0);
}

.places-container .card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.2),
                0 0 20px rgba(10,61,46,0.25);
}

.arrow {
    background: #0a3d2e;
    color: white;
    border: none;
    font-size: 26px;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 5;
}

.arrow.left {
    margin-right: 10px;
}

.arrow.right {
    margin-left: 10px;
}

/* ===== Fix Arrow Positioning for Places Slider ===== */

.places-wrapper {
    position: relative;
    overflow: hidden;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0a3d2e;
    color: white;
    border: none;
    font-size: 26px;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 100;
}

.arrow.left { left: 5px; }
.arrow.right { right: 5px; }

.arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.place-hero img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center 30%;
}

.place-details {
    max-width: 900px;
    margin: auto;
    padding: 50px 20px;
    text-align: left;
}

.place-details h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 15px;
    margin: 25px 0;
}

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

.gallery img {
    width: 100%;
    border-radius: 12px;
}

.map-section {
    padding: 40px;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 20px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.whatsapp-float img {
    width: 35px;
}

.place-gallery {
    padding: 70px 40px;
    background: linear-gradient(to bottom, #f9fbf9, #eef5f0);
    text-align: center;
}

.place-gallery h2 {
    color: #0a3d2e;
    font-size: 28px;
    margin-bottom: 40px;
}

/* Masonry Style Layout */
.masonry-gallery {
    column-count: 3;
    column-gap: 15px;
}

.g-item {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 16px;
    break-inside: avoid;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

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

/* Zoom + Shine Effect */
.g-item:hover img {
    transform: scale(1.08);
}



/* Responsive */
@media (max-width: 900px) {
    .masonry-gallery { column-count: 2; }
}

@media (max-width: 600px) {
    .masonry-gallery { column-count: 1; }
}

/* ===== MODERN WHATSAPP BUTTON ===== */

.wa-modern {
    position: fixed;
    bottom: 25px;
    right: 25px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;

    font-weight: 600;
    font-size: 14px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    z-index: 9999;

    transition: all 0.35s ease;

    overflow: hidden;
}

/* Shine element */
.wa-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.7),
        transparent
    );
    transform: skewX(-20deg);
    pointer-events: none;
}

/* Animation */
@keyframes shineBtn {
    0%   { left: -80%; }
    100% { left: 130%; }
}
/* WhatsApp Glow Pulse */
@keyframes waGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37,211,102,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

/* Apply glow animation */
.wa-modern {
    animation: waGlow 2.8s infinite;
}

.wa-modern:hover {
    transform: translateY(-6px) scale(1.05);
}

/* ===== WHY CHOOSE US ===== */

.why-us {
    background: linear-gradient(to bottom, #ffffff, #f2f7f4);
}

.why-us h2 {
    font-size: 32px;
    color: #0a3d2e;
    margin-bottom: 10px;
}

.why-sub {
    color: #555;
    margin-bottom: 40px;
}

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

.why-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    transition: all 0.35s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.why-card i {
    font-size: 32px;
    color: #16a085;
    margin-bottom: 15px;
}

.why-card h3 {
    margin-bottom: 8px;
    color: #0a3d2e;
}

.why-card p {
    font-size: 14px;
    color: #666;
}

/* ===== STATS COUNTERS ===== */

.stat-card h2 {
    font-size: 42px;
    margin: 0;
    font-weight: 700;
    transition: text-shadow 0.3s ease;
}

/* Glow animation while counting */
.counter.glow {
    animation: glowPulse 1s infinite alternate;
}

@keyframes glowPulse {
    from {
        text-shadow: 0 0 8px rgba(255,255,255,0.4),
                     0 0 14px rgba(22,160,133,0.6),
                     0 0 20px rgba(22,160,133,0.4);
    }
    to {
        text-shadow: 0 0 14px rgba(255,255,255,0.7),
                     0 0 24px rgba(22,160,133,0.9),
                     0 0 34px rgba(22,160,133,0.6);
    }
}

/* ===== SERVICES SECTION ===== */

.services {
    background: #f7faf8;
}

.services h2 {
    font-size: 32px;
    color: #0a3d2e;
    margin-bottom: 10px;
}

.services-sub {
    color: #555;
    margin-bottom: 40px;
}

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

.service-card {
    background: white;
    padding: 28px 22px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: left;
    transition: all 0.35s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

.service-card h3 {
    margin-bottom: 10px;
    color: #0a3d2e;
}

.service-card ul {
    padding-left: 18px;
    margin: 10px 0 0;
}

.service-card li {
    font-size: 14px;
    margin-bottom: 6px;
    color: #555;
}

.tag {
    font-size: 13px;
    color: #16a085;
    margin-bottom: 8px;
    font-weight: 600;
}

.bg-section {
    background-image: url("../images/bg-main.jpg");
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.bg-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.bg-section > * {
    position: relative;
    z-index: 1;
}


.place-hero {
    position: relative;
}

.place-hero img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center 30%;
}

.hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.15));
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 8px;
    text-shadow: 0 5px 18px rgba(0,0,0,0.7);
}

.hero-text p {
    font-size: 16px;
    opacity: 0.9;
}

.place-details {
    max-width: 900px;
    margin: auto;
    padding: 70px 25px;
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

.place-details h1 {
    display: none; /* avoid double title (hero already shows) */
}

.place-details p {
    margin-bottom: 22px;
}
.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.highlights span {
    background: #eef5f0;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    color: #0a3d2e;
}

.btn {
    margin-top: 20px;
    font-size: 17px;
}
.place-gallery {
    border-top: 1px solid #eaeaea;
    padding-top: 60px;
}

.g-item {
    border-radius: 18px;
}

.g-item img {
    transition: transform 0.6s ease;
}

.g-item:hover img {
    transform: scale(1.08);
}





#places .places-container .card {
    width: 240px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#places .places-container .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 75px rgba(0, 0, 0, 0.8);
}

#places .places-wrapper {
    padding: 40px 20px;
}

.about-section {
    background: #ffffff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: auto;
}

.about-image {
    overflow: hidden;
    border-radius: 16px;
    display: inline-block;
}

.about-image img {
    width: 80%;
    max-width: 200px;
    border-radius: 16px;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.2);
}

.about-image img {
    display: block;
}




.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #0a3d2e;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.about-section {
    background: #f8f9f8;
}


.about-section {
    position: relative;
    overflow: hidden;
    background: #f8f9f8;
}

.package-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.package-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0,0,0,0.7);
}




.price-box {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.price-box .lkr {
    font-size: 26px;
    font-weight: 700;
    color: #00ffcc;
}

.price-box .usd {
    font-size: 14px;
    color: #cccccc;
}


.book-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #0a3d2e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #16a085;
    transform: translateY(-3px);
}

.packages-bg {
    position: relative;
    background: url("images/packages-bg.jpg") center/cover no-repeat;
    color: #111;
}

/* Add overlay */
.packages-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6); /* <-- CONTROL OPACITY HERE */
    z-index: 0;
}

/* Keep content above overlay */
.packages-bg > * {
    position: relative;
    z-index: 1;
}




.packages-bg .card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
}

.packages-bg .card h3 {
    color: #000;
    font-weight: 700;
}

.packages-bg .card p,
.packages-bg .card li {
    color: #444;
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

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

@media (max-width: 900px) {
    .gallery-grid { column-count: 2; }
}

@media (max-width: 600px) {
    .gallery-grid { column-count: 1; }
}


.stats {
    background: #0a3d2e;
    padding: 80px 40px;
    color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    max-width: 1100px;
    margin: auto;
}

.stat-item h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #16a085;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}


.stats {
    background: #f4f8f6;
    color: #0a3d2e;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    font-weight: 300;   /* was 700 */
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}



.hero-content p,
#places > p,
.about-text p {
    font-weight: 300;
}

.packages-bg .price-box .lkr {
    color: #d4af37 !important;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(255,255,255,0.4);
}

.packages-bg .price-box .usd {
    color: #cccccc !important;
}


.journey-float {
    position: fixed;
    bottom: 100px;
    right: 25px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 14px 26px;
    border-radius: 50px;

    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #ffffff;

    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
    z-index: 99999;

    transition: all 0.35s ease;
    overflow: hidden;
}


/* Glow pulse */
@keyframes goldGlow {
    0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.6); }
    70% { box-shadow: 0 0 0 14px rgba(212,175,55,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

.journey-float {
    animation: goldGlow 3s infinite;
}


/* Hover effect */
.journey-float:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 25px 55px rgba(0,0,0,0.5);
}

/* Shine sweep */
.journey-float::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
}

.journey-float:hover {
    transform: translateY(-6px) scale(1.05);
}


@keyframes floatMove {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* ===== GENERAL PAGE ===== */

/* ===== LUXURY BACKGROUND FIX ===== */

.plan-page {
    position: relative;
    color: #f5f5f5;
}

/* Background Image */
.plan-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("images/luxury-bg.jpg") center/cover no-repeat;
    z-index: -2;
}





.plan-page .section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}


.plan-page h2 {
    text-align: center;
    color: #1b5e20;
    margin-bottom: 30px;
}

.plan-page h3 {
    color: #2e7d32;
}

/* ===== FORM CARD ===== */

.planner-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 750px;
    width: 100%;
}

/* ===== INPUTS ===== */

/* ===== PLAN PAGE LIGHT LUXURY CARD ===== */

.plan-page .planner-form {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    max-width: 750px;
    width: 100%;
}

.planner-form input,
.planner-form textarea,
.planner-form select {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.3s;
}

.planner-form input:focus,
.planner-form textarea:focus,
.planner-form select:focus {
    border-color: #2e7d32;
    outline: none;
    box-shadow: 0 0 5px rgba(46,125,50,0.3);
}


/* ===== PASSENGER BOX ===== */

#passengerDetails > div {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

/* ===== DAY BOX ===== */

#daysContainer > div {
    background: #f1f8e9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

/* ===== BUTTONS ===== */

.plan-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

/* WhatsApp Button */
button[onclick="sendWhatsApp()"] {
    background-color: #25D366;
    color: white;
}

button[onclick="sendWhatsApp()"]:hover {
    background-color: #1ebe5d;
}

/* Email Button */
button[onclick="sendEmail()"] {
    background-color: #1565c0;
    color: white;
}

button[onclick="sendEmail()"]:hover {
    background-color: #0d47a1;
}

/* Create Plan Button */
button[onclick="generateDays()"] {
    background-color: #2e7d32;
    color: white;
    margin-top: 10px;
}

button[onclick="generateDays()"]:hover {
    background-color: #1b5e20;
}

/* ===== ITINERARY SUMMARY ===== */

#itinerarySummary {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .planner-form {
        padding: 25px;
    }

    .plan-btn {
        width: 100%;
    }

}

/* ===== PLAN PAGE ONLY HEADING STYLE ===== */

.plan-page h1,
.plan-page h2,
.plan-page h3,
.plan-page h4,
.plan-page h5,
.plan-page h6 {
    color: #111;   /* black headings */
}

.plan-page p,
.plan-page label {
    color: #222;   /* dark grey text */
}



.plan-page .planner-form,
.plan-page .planner-form label,
.plan-page .planner-form h3 {
    color: #222;
}

.journey-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.journey-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}


nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #d4af37;
    transition: 0.3s ease;
}

nav a:hover {
    color: #d4af37;
}

nav a:hover::after {
    width: 100%;
}

footer {
    position: relative;
    background: linear-gradient(135deg, #0a3d2e, #062820);
    padding: 80px 40px 30px;
    color: #ffffff;
    overflow: hidden;
}

/* Glass container */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Headings */
.footer-col h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Text */
.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #dcdcdc;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
    transition: 0.3s ease;
}

/* Hover effect */
.footer-col a:hover {
    color: #d4af37;
    transform: translateX(4px);
}

/* Bottom line */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    color: #cccccc;
}

footer::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22,160,133,0.3), transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    animation: floatGlow 6s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    from { transform: translateY(0); }
    to { transform: translateY(30px); }
}

.plan-page {
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #f4f8f6,
        #e8f1ed,
        #fdfcf8
    );
    padding-top: 120px;
}

.plan-page .planner-form {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.6);
}

.plan-page h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0a3d2e;
    margin-bottom: 40px;
    position: relative;
}

.plan-page h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    display: block;
    margin: 12px auto 0;
    border-radius: 5px;
}

.planner-form input,
.planner-form textarea,
.planner-form select {
    background: rgba(255,255,255,0.9);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.planner-form input:focus,
.planner-form textarea:focus,
.planner-form select:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
}

.plan-btn {
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

button[onclick="sendWhatsApp()"] {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

button[onclick="sendWhatsApp()"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

button[onclick="sendEmail()"] {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
}

.plan-page .section {
    padding: 80px 20px;
}

.plan-page .planner-form {
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Social inside Contact */

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

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

.footer-social a:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-4px);
}

/* =========================================================
   CEEKAY TOURS — PREMIUM UI REFRESH (2026)
   Visual enhancement only; existing page logic is preserved.
   ========================================================= */
:root {
    --ink: #10201c;
    --muted: #60706a;
    --forest: #0b3b30;
    --forest-deep: #061d18;
    --emerald: #14745f;
    --gold: #d8b45c;
    --cream: #f7f4ec;
    --surface: #ffffff;
    --line: rgba(16, 32, 28, 0.11);
    --shadow: 0 22px 60px rgba(8, 35, 28, 0.12);
    --radius: 24px;
}

html { scroll-behavior: smooth; }
body {
    color: var(--ink);
    background: #f7faf8;
    overflow-x: hidden;
}
body:not(.plan-page) { padding-top: 82px; }

header {
    background: rgba(255, 255, 255, 0.91);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(10, 59, 48, 0.08);
    box-shadow: 0 8px 32px rgba(8, 35, 28, 0.06);
}
.header-container { min-height: 46px; }
.logo { color: var(--forest-deep); text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.logo img { width: auto; object-fit: contain; }
.logo span, .logo h2 { margin: 0; font-size: 1.05rem; }
header nav a { color: #31413c; font-size: .92rem; }
header nav a::after { background: var(--gold); }

.hero { height: min(790px, calc(100vh - 82px)); min-height: 580px; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.2s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(90deg, rgba(3, 22, 18, .82) 0%, rgba(3, 22, 18, .49) 47%, rgba(3, 22, 18, .12) 100%),
                linear-gradient(0deg, rgba(3, 22, 18, .42), transparent 50%);
}
.hero-content {
    position: relative; z-index: 3; height: 100%; max-width: 1240px; margin: 0 auto;
    padding: 0 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    text-align: left;
}
.hero-content::before {
    content: "PRIVATE · COMFORTABLE · LOCAL"; color: #f3d78f; font-size: .78rem;
    letter-spacing: .22em; font-weight: 600; margin-bottom: 20px;
}
.hero-content h1 { max-width: 820px; margin: 0; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.hero-content p { margin: 24px 0 0; max-width: 680px; font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-actions .btn { padding: 15px 25px; box-shadow: none; }
.hero-primary { background: var(--gold); color: #152019; }
.hero-secondary { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }

.section { padding: 100px max(28px, calc((100vw - 1240px) / 2)); }
.section > h2, .services > h2, .why-us > h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; margin: 0 0 18px; }
.section > p, .services-sub, .why-sub { max-width: 850px; margin: 0 auto 50px; color: var(--muted); }

.about-section { background: linear-gradient(180deg, #fff, #f7faf8); }
.about-container { max-width: 1240px; gap: clamp(38px, 7vw, 95px); }
.about-image { border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.about-image::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 20px; pointer-events: none; }
.about-text { text-align: left; }
.about-text h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); color: var(--forest-deep); letter-spacing: -.04em; }
.about-text p { color: #52625c; font-size: 1.04rem; }

.dark { background: linear-gradient(145deg, var(--forest-deep), #0c4739); }
.dark::before { background: radial-gradient(circle at 80% 10%, rgba(216,180,92,.17), transparent 38%); }
.dark h2 { color: #fff; }
.dark > p { color: rgba(255,255,255,.72); }
#places .places-wrapper { max-width: 1240px; }
#places .places-container .card { width: 285px; border-radius: 22px; box-shadow: 0 22px 55px rgba(0,0,0,.28); }
#places .card-img { height: 390px; }
#places .card-overlay { transform: none; padding: 90px 22px 22px; background: linear-gradient(to top, rgba(1,17,13,.92), rgba(1,17,13,0)); }
#places .card-overlay h3 { font-size: 1.15rem; line-height: 1.25; }
#places .card-overlay p { opacity: .78; }
.arrow { background: rgba(255,255,255,.95); color: var(--forest); box-shadow: 0 12px 30px rgba(0,0,0,.18); }

.services { background: var(--cream); }
.services-grid { max-width: 1240px; margin-inline: auto; gap: 22px; }
.service-card {
    position: relative; text-align: left; border: 1px solid rgba(10,59,48,.1); border-radius: var(--radius);
    background: rgba(255,255,255,.82); box-shadow: 0 15px 40px rgba(10,59,48,.07); overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: linear-gradient(var(--gold), var(--emerald)); }
.service-card h3 { color: var(--forest-deep); }
.service-card li { color: var(--muted); }

.packages-bg { background-image: linear-gradient(rgba(4,24,19,.85), rgba(4,24,19,.9)), url("images/packages-bg.jpg"); background-attachment: fixed; }
.packages-bg::before { display: none; }
.packages-bg .grid { max-width: 1240px; margin: 42px auto 0; }
.packages-bg .card {
    border: 1px solid rgba(255,255,255,.16); border-radius: 25px;
    background: rgba(255,255,255,.08); backdrop-filter: blur(14px); box-shadow: 0 25px 60px rgba(0,0,0,.23);
}
.package-card h3 { font-size: 1.32rem; }
.package-card ul { min-height: 150px; }
.price-box { border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }
.book-btn { background: var(--gold); color: #152019; border-radius: 999px; }

.why-us { background: #fff; }
.why-grid { max-width: 1240px; margin-inline: auto; gap: 20px; }
.why-card { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(8,35,28,.06); }
.why-card i { color: var(--gold); }

.stats { background: var(--forest-deep); }
.stats-container { max-width: 1100px; }
.stat-item { border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right: 0; }
.stat-item h2 { color: #f0cb76; }

#gallery { background: #f2f7f4; }
.gallery-grid { max-width: 1240px; margin: 40px auto 0; grid-template-columns: repeat(12,1fr); grid-auto-rows: 190px; }
.gallery-item { border-radius: 22px; box-shadow: var(--shadow); }
.gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 7; }
.gallery-item:nth-child(2), .gallery-item:nth-child(3) { grid-column: span 5; }

footer { background: #041712; }
.footer-container { max-width: 1240px; }
.footer-col h3 { color: #f2cf7d; }
.footer-bottom { border-top-color: rgba(255,255,255,.08); }
.wa-modern { box-shadow: 0 15px 34px rgba(16,120,79,.35); }
.journey-float { background: var(--gold); color: #132019; }

/* Planner */
.plan-page { padding-top: 82px; min-height: 100vh; background: linear-gradient(rgba(3,20,16,.78), rgba(3,20,16,.88)), url("images/landscape-banner.jpg") center/cover fixed; }
.plan-page::before { display: none; }
.planner-header { position: fixed; }
.planner-main { width: min(960px, calc(100% - 32px)); margin: 58px auto 90px; }
.planner-intro { color: white; text-align: center; margin-bottom: 35px; }
.planner-intro .eyebrow { display: inline-block; color: #f0ce7f; letter-spacing: .18em; font-size: .76rem; font-weight: 600; text-transform: uppercase; }
.planner-intro h1 { margin: 10px 0 12px; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.045em; }
.planner-intro p { max-width: 650px; margin: auto; color: rgba(255,255,255,.78); }
.plan-page .planner-form { width: auto; max-width: none; padding: clamp(26px, 5vw, 58px); border-radius: 30px; background: rgba(255,255,255,.96); box-shadow: 0 35px 90px rgba(0,0,0,.35); }
.form-section-title { display: flex; gap: 16px; align-items: flex-start; margin: 6px 0 28px; }
.form-section-title > span { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-weight: 700; }
.form-section-title h2 { margin: 0!important; text-align: left; font-size: 1.45rem!important; color: var(--forest-deep)!important; }
.form-section-title h2::after { display:none!important; }
.form-section-title p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.form-divider { height: 1px; background: var(--line); margin: 34px 0; }
.planner-form label { display: block; margin: 17px 0 7px; font-weight: 600; color: #30423b!important; }
.planner-form input, .planner-form textarea, .planner-form select { border: 1px solid #dbe5e0; border-radius: 13px; background: #f9fbfa; color: var(--ink); padding: 14px 15px; }
.planner-form input:focus, .planner-form textarea:focus, .planner-form select:focus { border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(20,116,95,.12); }
#passengerDetails > div, #daysContainer > div { border-radius: 17px; background: #f4f8f6; border: 1px solid #e0e9e5; }
#itinerarySummary { border-left: 4px solid var(--gold); background: #f8f4e9; border-radius: 12px; color: #35423d; }
.plan-btn, button[onclick="generateDays()"] { border-radius: 999px; font-weight: 700; padding: 13px 22px; box-shadow: none; }
button[onclick="generateDays()"] { background: var(--forest); }
button[onclick="sendWhatsApp()"] { background: #147d51; }

/* Destination detail pages */
body:not(.plan-page) > header > .logo { max-width: 1240px; margin: auto; padding: 18px 40px; display: flex; }
.place-hero { height: 62vh; min-height: 440px; }
.place-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(2,18,14,.75), rgba(2,18,14,.1)); }
.place-hero .hero-text { z-index: 2; }
.place-hero .hero-text h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.04em; }
.place-details { max-width: 970px; margin: auto; padding: 90px 30px; }
.place-details > h1 { color: var(--forest-deep); font-size: clamp(2rem,4vw,3.3rem); }
.place-details > p { white-space: pre-line; color: var(--muted); line-height: 1.9; }
.highlights span { border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 25px rgba(8,35,28,.06); }
.place-gallery { background: #f2f7f4; padding: 80px max(20px, calc((100vw - 1240px)/2)); }
.masonry-gallery { max-width: 1240px; margin: auto; }
.g-item { border-radius: 18px; overflow: hidden; }
.journey-btn { background: var(--forest); border-radius: 999px; }

@media (max-width: 800px) {
    body:not(.plan-page), .plan-page { padding-top: 70px; }
    .header-container { padding: 12px 18px; }
    .logo img { height: 39px; }
    .logo span { font-size: .9rem; }
    header nav { gap: 14px; }
    header nav a { font-size: .78rem; }
    .hero { min-height: 610px; height: calc(100vh - 70px); }
    .hero-content { padding: 0 24px; }
    .hero-content::before { font-size: .67rem; letter-spacing: .13em; }
    .hero-content h1 { font-size: clamp(2.65rem, 13vw, 4.1rem); }
    .section { padding: 74px 20px; }
    .about-text { text-align: center; }
    .packages-bg { background-attachment: scroll; }
    .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .gallery-item:nth-child(n) { grid-column: span 1; }
    .stats-container { grid-template-columns: 1fr 1fr; }
    .stat-item { border-right: 0; }
    .planner-main { margin-top: 35px; }
    .plan-page .planner-form { padding: 25px 20px; }
    body:not(.plan-page) > header > .logo { padding: 12px 18px; }
    .place-hero { min-height: 520px; }
}

@media (max-width: 520px) {
    header nav a:nth-child(2) { display: none; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { width: 100%; text-align: center; box-sizing: border-box; }
    #places .places-container .card { width: 78vw; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .stats-container { grid-template-columns: 1fr; }
    .stat-item { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .journey-float { display: none; }
    .wa-modern .wa-text { display: none; }
    .wa-modern { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
}

/* =========================================================
   WHY VISIT SRI LANKA — LAYOUT & CONTRAST FIX
   Keeps the existing slider logic unchanged.
   ========================================================= */
#places.section {
    padding: 96px max(28px, calc((100vw - 1240px) / 2));
    box-sizing: border-box;
}

#places h2 {
    color: #ffffff;
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

#places > p {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
    line-height: 1.75;
    max-width: 900px;
    margin: 0 auto 42px;
}

#places .places-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 54px 34px;
    box-sizing: border-box;
    overflow: hidden;
}

#places .places-container {
    gap: 22px;
    align-items: stretch;
}

#places .places-container .card {
    width: 266px;
    height: 370px;
    flex: 0 0 266px;
    border-radius: 22px;
    background: #ffffff;
    overflow: hidden;
}

#places .card-img {
    width: 100%;
    height: 100%;
}

#places .card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#places .card-overlay {
    inset: auto 0 0 0;
    min-height: 48%;
    padding: 92px 20px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: none;
    color: #ffffff;
    background: linear-gradient(
        to top,
        rgba(2, 18, 14, 0.96) 0%,
        rgba(2, 18, 14, 0.78) 48%,
        rgba(2, 18, 14, 0) 100%
    );
}

#places .card-overlay h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

#places .card-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 1;
}

#places .arrow {
    width: 48px;
    height: 58px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
}

#places .arrow.left { left: 2px; }
#places .arrow.right { right: 2px; }

@media (max-width: 1180px) {
    #places .places-container .card {
        width: 260px;
        flex-basis: 260px;
    }
}

@media (max-width: 800px) {
    #places.section {
        padding: 74px 20px;
    }

    #places .places-wrapper {
        padding: 22px 42px 28px;
    }

    #places .places-container .card {
        width: min(72vw, 300px);
        height: 390px;
        flex-basis: min(72vw, 300px);
    }

    #places .card-overlay p {
        font-size: 0.84rem;
    }
}

@media (max-width: 520px) {
    #places .places-wrapper {
        padding-inline: 35px;
    }

    #places .places-container .card {
        width: calc(100vw - 110px);
        height: 400px;
        flex-basis: calc(100vw - 110px);
    }

    #places .arrow {
        width: 38px;
        height: 52px;
        font-size: 21px;
        border-radius: 9px;
    }
}


/* ===== OTHER PACKAGES — layout and contrast correction ===== */
#packages.packages-bg {
    padding-top: 88px;
    padding-bottom: 96px;
    overflow: hidden;
    color: #ffffff;
}
#packages.packages-bg > h2 {
    color: #ffffff;
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
}
#packages.packages-bg > h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: var(--gold);
}
#packages.packages-bg .grid {
    width: 100%;
    max-width: 1240px;
    margin: 44px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}
#packages.packages-bg .package-card {
    min-width: 0;
    min-height: 500px;
    padding: 30px 26px 28px;
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow: hidden;
    background: rgba(13, 43, 35, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}
#packages.packages-bg .package-card:hover { transform: translateY(-7px); }
#packages.packages-bg .package-card h3 {
    min-height: 64px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(1.18rem, 1.35vw, 1.42rem);
    line-height: 1.35;
}
#packages.packages-bg .package-card ul {
    min-height: 0;
    margin: 0 0 24px;
    padding-left: 21px;
    flex: 1;
}
#packages.packages-bg .package-card li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.96rem;
    line-height: 1.55;
}
#packages.packages-bg .package-card li::marker { color: var(--gold); }
#packages.packages-bg .price-box {
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
}
#packages.packages-bg .price-box .lkr {
    color: var(--gold);
    font-size: clamp(1.5rem, 1.9vw, 2rem);
    line-height: 1.15;
    white-space: nowrap;
}
#packages.packages-bg .price-box .usd {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    white-space: nowrap;
}
#packages.packages-bg .book-btn {
    align-self: flex-start;
    margin-top: 22px;
    padding: 12px 25px;
}
@media (max-width: 1180px) {
    #packages.packages-bg .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 820px;
        gap: 22px;
    }
    #packages.packages-bg .package-card { min-height: 455px; }
}
@media (max-width: 680px) {
    #packages.packages-bg {
        padding: 72px 20px 82px;
        background-attachment: scroll;
    }
    #packages.packages-bg .grid {
        grid-template-columns: 1fr;
        max-width: 430px;
        margin-top: 34px;
    }
    #packages.packages-bg .package-card {
        min-height: auto;
        padding: 28px 24px;
    }
    #packages.packages-bg .package-card h3 { min-height: 0; }
    #packages.packages-bg .package-card ul { margin-bottom: 20px; }
}

/* =========================================================
   STATS SECTION — CONTRAST, FIT & RESPONSIVE LAYOUT FIX
   Keeps the existing counter values and JavaScript unchanged.
   ========================================================= */
.stats {
    position: relative;
    overflow: hidden;
    padding: 82px 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(224, 184, 91, .10), transparent 34%),
        linear-gradient(135deg, #031f18 0%, #082e24 55%, #0d3b2e 100%);
    color: #ffffff;
}

.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.025), transparent 35%, rgba(255,255,255,.018));
}

.stats-container {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255,255,255,.035);
    box-shadow: 0 24px 60px rgba(0,0,0,.20);
    backdrop-filter: blur(8px);
}

.stat-item {
    min-width: 0;
    padding: 48px 24px 44px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.13);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item h2,
.stat-card h2 {
    margin: 0 0 13px;
    color: #f2c967;
    font-size: clamp(2.65rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.035em;
    text-shadow: 0 8px 24px rgba(242, 201, 103, .16);
}

.stat-item p {
    margin: 0;
    color: rgba(255,255,255,.90);
    font-size: clamp(.92rem, 1.2vw, 1.05rem);
    line-height: 1.45;
    font-weight: 400;
    opacity: 1;
}

@media (max-width: 900px) {
    .stats {
        padding: 68px 22px;
    }

    .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-item {
        border-right: 1px solid rgba(255,255,255,.13);
        border-bottom: 1px solid rgba(255,255,255,.13);
    }

    .stat-item:nth-child(2n) {
        border-right: 0;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 520px) {
    .stats {
        padding: 52px 16px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .stat-item,
    .stat-item:nth-child(2n),
    .stat-item:nth-last-child(-n+2) {
        padding: 35px 20px 32px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.13);
    }

    .stat-item:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   HERO SLIDER RELIABILITY FIX
   Prevents the legacy horizontal animation from moving the
   entire slide layer off-screen while the fade slider runs.
   ========================================================= */
.hero .slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    animation: none !important;
    transform: none !important;
    background: #0b241d;
}

.hero .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1.2s ease, visibility 0s linear 1.2s;
    transform: none !important;
}

.hero .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity 1.2s ease, visibility 0s linear 0s;
}

.hero .slide:first-child {
    visibility: visible;
}

.hero .slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}


/* ===== V6: CLEAN LOGO-ONLY HEADER ===== */
.logo {
    flex-shrink: 0;
    text-decoration: none;
}
.header-container .logo img,
.planner-header .logo img {
    height: 55px;
    width: auto;
    display: block;
}
body:not(.plan-page) > header > .logo img {
    height: 55px;
}
@media (max-width: 768px) {
    .header-container .logo img,
    .planner-header .logo img,
    body:not(.plan-page) > header > .logo img {
        height: 44px;
    }
}
