/* Category Boxes on Hero Banner */
.category-boxes {
    margin-top: 8px;
    margin-bottom: 8px;
}
.category-box {
    padding: 10px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 18px;
    background: #fff;
    color: #2e8b57;
    box-shadow: 0 2px 12px rgba(60,180,120,0.10);
    border: 2px solid #43cea2;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    letter-spacing: 0.5px;
    display: inline-block;
}
.category-box.hills {
    background: linear-gradient(135deg, #2d5016 0%, #56ab2f 50%, #a8e063 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: 0.8px;
}
.category-box.hills::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.category-box.hills:hover {
    background-position: 100% 100%;
    box-shadow: 0 6px 20px rgba(86, 171, 47, 0.4);
}
.category-box.beaches {
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    color: #fff;
    border: none;
}
.category-box.nature {
    background: linear-gradient(90deg, #f7971e 0%, #ffd200 100%);
    color: #fff;
    border: none;
}
.category-box.culture {
    background: linear-gradient(90deg, #ff5858 0%, #f09819 100%);
    color: #fff;
    border: none;
}
.category-box:hover {
    box-shadow: 0 4px 24px rgba(60,180,120,0.18);
    filter: brightness(1.08);
    transform: translateY(-2px) scale(1.04);
}
/* Decorative underline for Desired Vacation Spots heading */
.vacation-heading {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}
.vacation-heading::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #43cea2 0%, #2e8b57 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(60,180,120,0.15);
    margin-top: 4px;
}
/* Desired Vacation Spots image uniform height and hover effect */
.vacation-spots-img {
    height: 260px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 12px;
}

.position-relative:hover .vacation-spots-img {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(60, 180, 120, 0.25);
    filter: brightness(1.1) saturate(1.2);
}

.position-relative {
    overflow: hidden;
    border-radius: 12px;
}
/* Vacation Spots overlay styling */
.vacation-spot-name {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    color: #fff;
    background: rgba(0,0,0,0.5);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 8px 0;
    border-radius: 0 0 12px 12px;
    letter-spacing: 1px;
}
/* Gradient border for swiper slides */
.slide-gradient-border {
    border: 1px solid #2e8b57;
    padding: 3px;
    border-radius: 28px;
    /* background: linear-gradient(90deg, #2e8b57 0%, #43cea2 100%); */
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    /* Add internal padding for content spacing */
    box-sizing: border-box;
    padding-bottom: 18px;
    padding-top: 18px;
    padding-left: 18px;
    padding-right: 18px;
}

/* Ensure card fits inside border */
.slide-gradient-border .card {
    border-radius: 24px;
    height: 100%;
}

/* Explore More button */
.explore-btn {
    border-radius: 30%;
    background: linear-gradient(90deg, #2e8b57 0%, #43cea2 100%);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(46,139,87,0.12);
    transition: background 0.3s, transform 0.2s;
}
.explore-btn:hover {
    background: linear-gradient(90deg, #43cea2 0%, #2e8b57 100%);
    transform: scale(1.08);
}
.sticky-navbar.my-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #2e8b57 0%, #43cea2 100%) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, padding 0.3s;
}

.sticky-navbar.my-nav.navbar-scrolled {
    background: linear-gradient(90deg, #2e8b57 0%, #43cea2 100%) !important;
    /* Green to teal gradient */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: background 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.swiper-slide .card-img-top {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s, box-shadow 0.3s;
}

.swiper-slide:hover .card-img-top {
    transform: scale(1.08) rotate(-2deg);
    filter: brightness(1.08) saturate(1.15) contrast(1.05);
    box-shadow: 0 8px 32px rgba(46, 139, 87, 0.18);
    z-index: 3;
}

.swiper-slide {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.swiper-slide:hover {
    transform: scale(1.04);
    z-index: 2;
    box-shadow: 0 12px 36px rgba(46, 139, 87, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
}

.hero-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0 !important;
    padding-top: 0 !important;
    color: #fff !important;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-section .hero-overlay {
    position: relative;
    z-index: 3;
}

.hero-section .navbar-brand {
    color: #fff !important;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 4px 16px rgba(46,139,87,0.18), 0 1px 2px rgba(0,0,0,0.12);
    padding: 0.2em 0.6em;
    border-radius: 12px;
    transition: font-size 0.3s, text-shadow 0.3s;
}
.hero-section .navbar-brand:hover {
    font-size: 2.35rem;
    text-shadow: 0 8px 32px rgba(46,139,87,0.28), 0 2px 8px rgba(0,0,0,0.18);
}
.hero-section .nav-link,
.hero-section .navbar-toggler,
.hero-section .display-4,
.hero-section .lead,
.hero-section .btn {
    color: #fff !important;
}

@keyframes floatYbg {
    0% {
        background-position-y: 0;
    }

    100% {
        background-position-y: -24px;
    }
}



.navbar-placeholder {
    width: 100%;
    display: block;
}

header {
    background: #2e8b57;
    color: #fff;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
}

header h1 {
    margin: 0 0 0.5rem 0;
}

.main-content {
    margin-top: 6rem;
}

body {
    font-family: Arial, sans-serif;
    background: #f8f9fa;
    color: #222;
}

.hero-section {
    background: url('./images/banner.png') center/cover no-repeat, #e9f5ee;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section .container {
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 139, 87, 0.25);
    z-index: 1;
}

.card-img-top {

    /* Swiper styles for cards */
    .mySwiper {
        padding: 40px 0;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: stretch;
        height: auto;
    }

    .swiper-slide .card {
        width: 100%;
        max-width: 350px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: #2e8b57;
    }

    .swiper-pagination-bullet-active {
        background: #2e8b57;
    }

    height: 200px;
    object-fit: cover;
}

.card {
    box-shadow: 0 8px 32px rgba(46, 139, 87, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 80%, #e9f5ee 100%);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}

.card:hover {
    box-shadow: 0 16px 48px rgba(46, 139, 87, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px) scale(1.04);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    filter: brightness(0.95) saturate(1.1);
}

.card-body {
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    background: rgba(255, 255, 255, 0.85);
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    position: relative;
}

.card-title {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.card-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(90deg, #2e8b57 60%, #6fdc8c 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35em 0.9em;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(46, 139, 87, 0.12);
    letter-spacing: 0.04em;
    z-index: 2;
}

footer {
    /* Footer styling handled by Bootstrap classes */
}

/* Section backgrounds and headings */
.section-hills {
    /* background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
    color: #fff; */
    box-shadow: 0 8px 32px rgba(88, 175, 60, 0.12);
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    transition: background-image 0.6s ease-in-out;
}

.section-hills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 1;
}

.hills-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 1;
    border-radius: 2.5rem;
}

.section-hills h2,
.section-hills .swiper {
    position: relative;
    z-index: 2;
}

.section-hills h2 {
    margin-top: 3rem;
    margin-bottom: 0;
    padding: 0 2rem;
}

.section-hills .swiper {
    margin-top: auto;
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 2rem;
}

.section-hills .swiper-wrapper {
    width: 100%;
}

.hills-heading {
    letter-spacing: 2px;
    font-size: 2.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.section-nature {
    /* background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    color: #fff; */
    box-shadow: 0 8px 32px rgba(247, 151, 30, 0.12);
}
.nature-heading {
    letter-spacing: 2px;
    font-size: 2.2rem;
    text-shadow: 0 2px 8px rgba(247, 151, 30, 0.18);
}

.section-cultural {
    /* background: linear-gradient(135deg, #ff5858 0%, #f09819 100%);
    color: #fff; */
    box-shadow: 0 8px 32px rgba(255, 88, 88, 0.12);
}
.cultural-heading {
    letter-spacing: 2px;
    font-size: 2.2rem;
    text-shadow: 0 2px 8px rgba(255, 88, 88, 0.18);
}

.section-beaches {
    /* background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    color: #fff; */
    box-shadow: 0 8px 32px rgba(24, 90, 157, 0.12);
}
.beaches-heading {
    letter-spacing: 2px;
    font-size: 2.2rem;
    text-shadow: 0 2px 8px rgba(24, 90, 157, 0.18);
}

.section-nature, .section-cultural, .section-beaches {
    margin-bottom: 2.5rem;
    padding: 2.5rem 1.5rem;
    border-radius: 2.5rem;
}

.section-hills {
    margin-bottom: 2.5rem;
    border-radius: 2.5rem;
}

@media (max-width: 768px) {
    .section-nature, .section-cultural, .section-beaches {
        padding: 1.2rem 0.5rem;
        border-radius: 1.2rem;
    }
    .section-hills {
        border-radius: 1.2rem;
    }
    .hills-heading, .nature-heading, .cultural-heading, .beaches-heading {
        font-size: 1.4rem;
    }
}

.view-all-btn {
    background: linear-gradient(90deg, #43cea2 0%, #2e8b57 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px !important;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(60,180,120,0.15);
    padding: 0.75rem 3rem;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 1px;
}
.view-all-btn:hover {
    background: linear-gradient(90deg, #2e8b57 0%, #43cea2 100%);
    color: #fff !important;
    transform: scale(1.06);
    box-shadow: 0 8px 32px rgba(60,180,120,0.22);
}

.custom-offbeat-card {
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 80%, #e9f5ee 100%);
    box-shadow: 0 8px 32px rgba(46,139,87,0.15), 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
}
.custom-offbeat-card:hover {
    box-shadow: 0 16px 48px rgba(46,139,87,0.22), 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-8px) scale(1.04);
}
.card-img-top-wrapper {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}
.card-img-top {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    filter: brightness(0.97) saturate(1.1);
}
.custom-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5em 1.2em;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(46,139,87,0.12);
    background: linear-gradient(90deg, #2e8b57 60%, #43cea2 100%);
    color: #fff;
    letter-spacing: 0.04em;
    z-index: 2;
}

#place-detail-content {
    margin-top: 7rem !important;
}

/* Hills section swiper slides - hide text on hover and show only background image */
.northSwiper .swiper-slide:hover .card-body {
    display: none;
}

.northSwiper .swiper-slide:hover .card-img-top {
    height: 100%;
    border-radius: 22px;
    max-height: 400px;
}

.northSwiper .card {
    background: transparent;
}

.northSwiper .card-img-top {
    height: 100%;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    object-fit: cover;
}

.northSwiper .slide-image-container {
    height: 280px;
}

.southSwiper .slide-image-container,
.culturalSwiper .slide-image-container,
.beachSwiper .slide-image-container {
    height: 220px;
}

.northSwiper .slide-gradient-border {
    padding: 0;
    margin-bottom: 0;
    border: none;
}

.northSwiper .card {
    box-shadow: 0 4px 16px rgba(46, 139, 87, 0.2);
    border: none;
}

/* Slide image container and title overlay */
.slide-image-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 22px;
    width: 100%;
    height: 100%;
}

.slide-image-container .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.9) 100%);
    color: #fff;
    padding: 2rem 1rem 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    opacity: 1;
    transition: all 0.4s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 3;
}

.swiper-slide:hover .slide-title-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,1) 100%);
    padding: 2.5rem 1rem 1.5rem;
    font-size: 1.35rem;
}

.slide-description-overlay {
    display: none;
}

.northSwiper .slide-title-overlay {
    font-size: 1.2rem;
    padding: 1.5rem 0.8rem 0.8rem;
}

.northSwiper .slide-description-overlay {
    font-size: 0.9rem;
}

.southSwiper .slide-title-overlay,
.culturalSwiper .slide-title-overlay,
.beachSwiper .slide-title-overlay {
    font-size: 1.1rem;
    padding: 1.2rem 0.8rem 0.8rem;
}

.southSwiper .slide-description-overlay,
.culturalSwiper .slide-description-overlay,
.beachSwiper .slide-description-overlay {
    font-size: 0.85rem;
}

/* Description paragraph styling */
.desc {
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 0 1rem;
    transition: all 0.3s ease-in-out;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}