/* ===== NavBar ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.4s ease;

}

body {
    height: 100vh;
    background-color: var(--body-color);
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

/* ===== Root Variables ===== */
:root {
    --body-color: #E4E9F7;
    --nav-color: #204102;
    --text-color: #FFF;
    --sidebar-bg: #142a00;
    --sidebar-hover: #5b5c00;
}



/* ===== Navigation Bar ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--nav-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
}

/* ===== Logo Section ===== */
.logo-container {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    /* Center or adjust as needed for larger screens */
}

.logo-img {
    width: 250px;
    height: 90px;
    object-fit: cover;
}

.navLogo a {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
}

/* Shift logo to the left on small screens */
@media (max-width: 768px) {
    .logo-container {
        margin-right: 300px;
        /* Push logo to the left edge */
    }

    .nav-bar {
        justify-content: space-between;
        /* Ensures other nav items stay properly aligned */
    }
}

/* ===== Navigation Links ===== */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    padding: 20px 10px;
    font-family: "Poppins", sans-serif;
}

.nav-links li a:hover {
    opacity: 0.8;
}

/*------------------------Buttons-------------------------------*/
.button-book-now {
    font-size: 1rem;
    font-weight: bold;
    color: #2F411E;
    /* Dark green text */
    background-color: #FFFBED;
    /* Yellow background */
    padding: 10px 25px;
    border: none;
    /* No border */
    border-radius: 25px;
    /* Rounded edges */
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    /* Optional for font match */

}

/* Style for first letter capitalization */
.button-book-now::first-letter {
    text-transform: uppercase;
}

.button-book-now:hover {
    background-color: #FFEAAA;
    /* Slightly darker yellow on hover */
    color: #2F411E;
    /* Dark green text */
}

.button-book-now:active {
    background-color: #FFD247;
    /* Darker yellow-brown on click */
    color: #2F411E;
    /* Dark green text */
}

/* Contact Button */
.button-contact {
    font-size: 1rem;
    font-weight: bold;
    color: #FFFBED;
    /* Yellow text */
    background-color: transparent;
    /* Transparent background */
    padding: 10px 15px;
    border: 2px solid #FFFBED;
    /* Yellow border */
    border-radius: 25px;
    /* Rounded edges */
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    /* Optional for font match */
    text-transform: uppercase;
    /* Makes the text all caps */
    font-size: 15px;
    text-transform: none;
}

.button-contact:hover {
    border: 2px solid#FFEAAA;
    /* Yellow background on hover */
    color: #FFEAAA;
    /* Dark text on hover */
}

.button-contact:active {
    border: 2px solid #FFD247;
    /* Darker yellow on click */
    color: #FFD247;
    /* White text */
}

/* Style for first letter capitalization */
.button-contact::first-letter {
    text-transform: uppercase;
}

.nav-buttons {
    display: flex;
    /* Align buttons in a row */
    gap: 15px;
    /* Add space between buttons */
    justify-content: center;
    /* Center the buttons */
    align-items: center;
    /* Vertically align buttons */
}

/* Add margin to the buttons */
.button-book-now {
    margin-right: 50px;
    /* Space on the left for the Book Now button */
}

.button-book-now,
.button-contact {
    padding: 8px 50px;
    /* Makes buttons wider and thinner */
    border-radius: 20px;
    /* Keeps rounded edges */
}

@media (max-width: 790px) {
    .nav-links {
        display: none;
        /* Hide center links on small screens */
    }

    .nav-buttons {
        display: none;
        /* Hide buttons on small screens */
    }

    .sidebarOpen {
        display: block;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        font-family: "Poppins", sans-serif;
        /* Change font here */
        font-weight: 600;
        font-style: normal;
    }

    .menu {
        position: fixed;
        height: 100%;
        width: 300px;
        left: -300px;
        /* Initially hidden off-screen */
        top: 0;
        padding: 20px;
        background-color: var(--sidebar-bg);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 100;
        transition: all 0.4s ease;
    }

    nav.active .menu {
        left: 0;
        /* Slide in when active */
        font-family: "Poppins", sans-serif;
        /* Change font here */
    }

    .menu .logo-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-toggle .siderbarClose {
        font-size: 24px;
        cursor: pointer;
        color: var(--text-color);
    }

    .menu ul {
        padding-top: 30px;
    }

    .menu ul li {
        list-style: none;
        margin-top: 20px;
    }

    .menu ul li a {
        font-size: 17px;
        font-weight: 500;
        color: var(--text-color);
        text-decoration: none;
        padding: 10px 15px;
        display: block;
        border-radius: 5px;
    }

    .menu ul li a:hover {
        background-color: var(--sidebar-hover);
    }
}

@media (min-width: 791px) {
    .sidebarOpen {
        display: none;
        /* Hide sidebar toggle on large screens */
    }

    .menu {
        display: none;
        /* Hide sidebar menu on large screens */
    }
}

@media (min-width: 300px) and (max-width: 600px) {
    .logo-container {
        left:0%;
         margin-right: 0px;
        
    }

    .nav-bar {
        justify-content: space-between;
    }
}
/* -----------------ICONS---------------------
/* Navigation link styling */
.nav-links li a {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    padding: 10px;
    gap: 10px;
    /* Space between icon and text */
    overflow: hidden;
    /* Hide the icon while it animates in */
}

/* Icon styling */
.nav-links .icon {
    width: 20px;
    height: 20px;
    transform: translateY(20px);
    /* Start below the link */
    opacity: 0;
    /* Initially hidden */
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Smooth animation */
}

/* Active icon */
.nav-links .icon.active {
    transform: translateY(0);
    /* Move into view */
    opacity: 1;
    /* Fully visible */
}

/* Hidden state (used for toggling) */
.nav-links .icon.hidden {
    transform: translateY(20px);
    opacity: 0;
}

/* -------------------------cards----------------------------- */

/* Separate testimonial section */
/* CSS */
.testimonial-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    background-color: rgb(22, 45, 0);
    margin-top: 0px;
}

/* Background SVG styling */
.background-flower {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    z-index: 0;
}

.left-flower {
    left: 0;
}

.right-flower {
    right: 0;
}

/* Cards container */
.cards-container {
    display: flex;
    flex-direction: row;
    /* Stack cards and text vertically */
    justify-content: center;
    align-items: center;
    gap:10px;
    position: relative;
    z-index: 2;
    transition: transform 1.5s ease-in-out;
    margin-top: 50px;
}

.cards-wrapper {
    display: flex;
    flex-direction: row;
    /* Horizontal alignment of cards */
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.card {
    background: #FFF1C6;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 20vw;
    height: 10vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    transition: transform 1.5s ease-in-out;
    position: relative;
}

.card h2 {
    margin-top: 10px;
    font-size: 30px;
    font-family: "Poppins", serif;
    font-weight: 1000;
    font-style: normal;
}

.card p {
    flex-grow: 1;
    padding: 20px 10px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: #3C5426;
    font-weight: 300;
    font-style: normal;
}

.stars {
    margin-bottom: 15px;
    color: gold;
}

/* Text below the cards */
.review-text {
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    margin-top: 10px;
    /* Space from cards */
}

.view-more {
    display: block;
    margin-top: 5px;
    color: gold;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

/* Hover effect for animation */
.cards-container:hover .card#card1 {
    transform: translateX(-150px);
}

.cards-container:hover .card#card2 {
    transform: translateX(150px);
}

/* Default Styling (for Large Screens) */
.background-flower {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    z-index: 0;
}

@media (max-width: 768px) {
    .background-flower {
        width: 80%;
        max-height: 170%;
    }

    .left-flower {
        left: -40%;
    }

    .right-flower {
        right: -40%;
    }

    .cards-container {
        overflow: hidden;
        max-width: 100%;
    }

    .card {
        width: 40%;
        height: 50%;
        transition: transform 0.8s ease-in-out;
    }

    .cards-container:hover .card#card1 {
        transform: translateX(-60px);
    }

    .cards-container:hover .card#card2 {
        transform: translateX(60px);
    }

    .card p {
        padding: 25px 20px;
        font-size: 16px;
    }
}

/* Overlap Effect */
.card#card1 {
    margin-right: -80px;
    z-index: 2;
}

.card#card2 {
    margin-left: -80px;
    z-index: 1;
}

.cards-container:hover .card#card1 {
    transform: translateX(-220px);
}

.cards-container:hover .card#card2 {
    transform: translateX(220px);
}

/* Small Screen Adjustments */
@media (max-width: 768px) {
    .card {
        width: 40%;
        height: 10%;
    }

    .card#card1 {
        margin-right: -40px;
    }

    .card#card2 {
        margin-left: -40px;
    }

    .cards-container:hover .card#card1 {
        transform: translateX(-90px);
    }

    .cards-container:hover .card#card2 {
        transform: translateX(90px);
    }
}

/* Golden Spark Styling */
.golden-spark {
    position: absolute;
    top: 80%;
    right: 80%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 223, 97, 0.76) 15%, rgba(255, 223, 97, 0.2) 50%, rgba(255, 223, 97, 0) 90%);
    border-radius: 50%;
    opacity: 0;
    filter: blur(130px);
    animation: pulse-glow 3s infinite alternate ease-in-out;
    transition: transform 2s ease-in-out, opacity 1.5s ease-in-out;
    z-index: -3;
}

/* Move spark when cards animate */
.cards-container:hover .golden-spark {
    transform: translateX(80vw) translateY(-10vh);
    opacity: 0.6;
}

/* Glow effect */
@keyframes pulse-glow {
    0% {
        opacity: 0.3;
        filter: blur(8px);
    }

    100% {
        opacity: 0.5;
        filter: blur(12px);
    }
}

/* Remove golden effect on small screens */
@media (max-width: 768px) {
    .golden-spark {
        display: none;
    }
}

/*------------------------------------------boat section----------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
}

/* Section for the slider - prevents overlap */
.slider-section {
    width: 100vw;
    height: calc(100vh - 70px);
    /* Adjust height to leave space at the top */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Keeps slider in its section */
}

/* Slider container - full width & height minus top spacing */
.slider-container {
    width: 100vw;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Each slide covers full slider area */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

/* Images touch left, right, and bottom but not top */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title & Text Styling */
.title,
.text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
}

/* Overlay in the center of the slide */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 87%;
    /* Adjust width as needed */
    height: 90%;
    /* Adjust height as needed */
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent gray */
    z-index: 2;
    /* Ensures it is above the image */
    border-radius: 50px;
    /* Optional rounded corners */
    padding: 30px;
    /* Add padding so text stays inside */
}

/* Ensure title and text apply to every slide */
.slide .title,
.slide .text {
    left: 60px;
    /* Move to the left */
    transform: none;
    /* Remove center alignment */
    text-align: left;
    color: white;
}

/* Ensure spacing between title and text */
.slide .title {
    position: absolute;
    top: 100px;
    /* Increase spacing from top */
    left: 60px;
    font-size: 27px;
    max-width: 80%;
    /* Prevent long titles from expanding */
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    /* Prevents title from affecting layout */

}

/* Ensure text is positioned below title */
.slide .text {
    position: absolute;
    top: 160px;
    /* Adjust to be below title */
    left: 60px;
    font-size: 16px;
    width: 50%;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #FFF1C6;

}

/* RESPONSIVE STYLES: Increase Font Size on Large Screens */
@media screen and (min-width: 1024px) {
    .slide .title {
        font-size: 35px;
        /* Increase title font size */
        margin-left: 60px;
    }

    .slide .text {
        font-size: 20px;
        /* Increase text font size */
        width: 60%;
        /* Expand text width if needed */
        margin-left: 60px;
        top: 170px;
    }

    /* Increase the width of the overlay on large screens */
    .overlay {
        width: 93%;
        /* Adjust width as needed */
        height: 88%;
        /* Optional: Adjust height too */
        left: 50%;
    }
}

/* Animation for title sliding in from right */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation for title sliding out to the left */
@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Adjust SVG images */
.slide img[alt="Kerala Cuisine"],
.slide img[alt="Campfire"],
.slide img[alt="Travel Guide"] {
    position: absolute;
    right: 10%;
    /* Align to the right */
    bottom: 28%;
    /* Adjust vertical positioning */
    width: 220px;
    /* Adjust size */
    height: 250px;
    opacity: 0.9;
    /* Slight transparency */
    z-index: 10;
    /* Ensure it appears above other elements */
    transition: transform 0.8s ease, opacity 0.5s ease;
}

/* Ensure slide container is positioned correctly */
.slider-container {
    position: relative;
}

/* Increase SVG size on large screens */
@media screen and (min-width: 1200px) {

    .slide img[alt="Kerala Cuisine"],
    .slide img[alt="Campfire"],
    .slide img[alt="Travel Guide"] {
        width: 350px;
        /* Increase size for large screens */
        height: 350px;
    }
}

/* Slide-in animation from bottom */
.svg-slide-in {
    animation: slideIn 0.7s ease-in-out forwards;
}

/* Slide-out animation to top */
.svg-slide-out {
    animation: slideOut 0.7s ease-in-out forwards;
}

/* Slide-in from the bottom */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Slide-out to the top */
@keyframes slideOut {
    from {
        opacity: 0.9;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

.boat-image {
    position: absolute;
    top: 160px;
    /* Keep current vertical position */
    right: 50%;
    /* Keep current horizontal position */
    width: 150px;
    /* Default size for small screens */
    height: auto;
    opacity: 0.9;
    z-index: 10;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

@media screen and (min-width: 1440px) {
    .boat-image {
        width: 750px !important;
        /* Keep it very small on extra-large screens */
        right: 75%;
        /* Keep current horizontal position */
    }
}

.dropbox {
    position: relative;
    width: 100%;
    /* Ensure proper width */
    overflow: hidden;
}

#boat {
    position: absolute;
    left: 0;
    transition: transform 0.5s ease-in-out;
}

/* Boat Animation */
@keyframes boatMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(20px);
    }
}