/* Import Open Sans and Bellefair from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bellefair&family=Open+Sans:wght@300&display=swap');

/* Global settings */
body {
    font-family: 'Open Sans', sans-serif; /* Primary font: Open Sans */
    font-weight: 300; /* Light font weight */
    font-size: 14px;  /* Base font size */
    line-height: 22px; /* Line height */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar styles */
#navbar {
    display: flex;
    justify-content: space-between; /* Align logo and menu */
    align-items: center; /* Vertically center */
    padding: 10px 20px;
}

.logo-container {
    display: flex;
    align-items: center; /* Center logo vertically */
    margin-right: auto;  /* Pushes the logo to the left */
}

.logo-container img {
    width: 200px;  /* Set the width to a smaller value */
    height: auto;  /* Maintain aspect ratio */
}


/* Nav menu styles */
.nav-center {
    display: flex;
    justify-content: center; /* Centers the menu horizontally */
    align-items: center;     /* Vertically centers items */
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 10px; /* Reduce space between menu items */
    padding: 0;
    margin: 0;
}

.nav-menu li {
    position: relative; /* Allows dropdown to position below parent */
}

.nav-menu li:last-child {
    margin-right: 0; /* Ensure no extra space after the last item */
}

.nav-menu li a {
    font-family: 'Bellefair', serif;
    text-decoration: none;
    color: #333;
    padding: 10px;
    font-size: 1.0em; /* Adjust size as needed */
    position: relative; /* Positioning for the underline and arrow */
}

/* Underline for all links */
.nav-menu a {
    transition: color 0.3s ease, border-bottom 0.3s ease; /* Transition for hover effect */
    text-decoration: none; /* Remove default underline */
    color: #333; /* Link color */
    font-family: 'Open Sans', sans-serif; /* Use Open Sans for nav links */
    font-size: 14px; /* Set font size */
    font-weight: 300; /* Light font weight */
    line-height: 22px; /* Line height */
    padding: 10px 15px; /* Padding around links */
    position: relative; /* Positioning for the underline */
}

.nav-menu a:focus,
.nav-menu a:active {
    outline: none; /* Remove default outline */
}

.nav-menu a:after {
    content: ''; /* Create a pseudo-element for the underline */
    display: block; /* Make it a block element */
    height: 2px; /* Height of the underline */
    background: #3d2828; /* Color of the underline */
    width: 100%; /* Full width of the link */
    position: absolute; /* Positioning */
    left: 0; /* Align to the left */
    bottom: -5px; /* Position below the text */
    transform: scaleX(0); /* Initially hide the underline */
    transition: transform 0.3s ease; /* Transition effect */
}

.nav-menu a:hover:after,
.nav-menu a:focus:after,
.nav-menu a:active:after {
    transform: scaleX(1); /* Show the underline on hover or click */
}

.nav-menu a:hover {
    color: #a52a2a; /* Change color on hover */
}

/* Book Now button */
.book-button {
    background-color: #a52a2a; /* Button color */
    color: white; /* Button text color */
    font-family: 'Open Sans', sans-serif; /* Open Sans for buttons */
    font-size: 14px; /* Set font size */
    font-weight: 300; /* Light font weight */
    line-height: 22px; /* Set line height */
    padding: 10px 20px; /* Button padding */
    border-radius: 5px; /* Rounded corners */
    margin-left: auto; /* Push button to the right */
    transition: background-color 0.3s ease; /* Transition for hover effect */
}

.book-button:hover {
    background-color: #800000; /* Darker button color on hover */
}

/* Dropdown styles */
.nav-menu li {
    position: relative; /* Allows dropdown to position below parent */
}

.dropdown {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown a {
    display: block; /* Stack dropdown items vertically */
    padding: 8px 12px; /* Padding for dropdown items */
    color: #333; /* Text color */
    text-decoration: none; /* Remove underline */
}

.dropdown a:hover {
    background-color: #f0f0f0; /* Change background on hover */
}

.nav-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Media queries for responsive design */

/* Adjust navbar for screens smaller than 768px */
@media (max-width: 768px) {
    #navbar {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the left */
        padding: 10px; /* Reduce padding */
    }

    .nav-menu {
        flex-direction: column; /* Stack menu items vertically */
        align-items: flex-start; /* Align items to the left */
        margin: 10px 0; /* Add some space between logo and menu */
        width: 100%; /* Full width for the nav menu */
    }

    .nav-menu li {
        margin: 5px 0; /* Vertical spacing for menu items */
        width: 100%; /* Full width for nav items */
    }

    .nav-menu a {
        padding: 10px 15px; /* Adjust padding for touch targets */
        text-align: center; /* Center-align text for mobile */
        width: 100%; /* Full width for links */
    }

    .logo-container img {
        max-height: 45px; /* Slightly larger logo size for mobile */
    }

    .book-button {
        width: 100%; /* Full width for button on small screens */
        padding: 10px; /* Increase padding for better touch target */
    }
}

/* Adjust navbar for screens smaller than 480px */
@media (max-width: 480px) {
    #navbar {
        padding: 5px; /* Further reduce padding */
    }

    .book-button {
        padding: 8px; /* Smaller button padding */
    }

    .logo-container img {
        max-height: 35px; /* Even smaller logo size for very small screens */
    }
}

/* Main Image Carousel */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 600px; /* Desired height */
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keep aspect ratio */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0; /* Initially hide images */
    transition: opacity 0.5s ease-in-out; /* Slightly longer transition */
    z-index: 1; /* Images behind overlay and arrow */
}

.slides img.active {
    opacity: 1; /* Display active image */
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    font-size: 2rem;
    padding: 10px;
    border-radius: 50%;
    z-index: 3; /* Arrows above all */
    transition: background 0.3s ease;
}

.arrow:hover {
    background: rgba(255, 255, 255, 1); /* Hover effect */
}

.left {
    left: 10px; /* Position left arrow */
}

.right {
    right: 10px; /* Position right arrow */
}

@media (max-width: 768px) {
    .slideshow-container {
        height: 400px; /* Smaller height for smaller devices */
    }
}

@media (max-width: 480px) {
    .slideshow-container {
        height: 250px; /* Smaller height for phones */
    }
}

/* Text section below the image */
/* Styling for the welcome text section */
#welcome-text {
    text-align: center; /* Center-align the text */
    color: #333; /* Set the text color to dark */
    margin: 40px 0; /* Margin to give space around the text */
    padding: 0 15%; /* Padding to limit the width of the text block */
    font-family: 'Times New Roman', serif; /* Use a serif font for a classic look */
    font-size: 18px; /* Set a font size that is slightly larger for readability */
    line-height: 1.8; /* Set a line height for better readability */
}

/* First paragraph (WELCOME TO) styling */
#welcome-text p:first-of-type {
    font-family: 'Bellefair', serif; /* Use Bellefair font for a unique header style */
    font-size: 1.5rem; /* Larger font size for emphasis */
    letter-spacing: 2px; /* Add letter spacing for a refined look */
    color: #333; /* Keep the text color dark */
    font-weight: normal;
    margin-bottom: 10px; /* Adjust margin */
}

/* Styling for the title (SIDDHARTHA) */

#welcome-text {
    text-align: center; /* Center-align the text */
    color: #333; /* Set the text color to dark */
    margin: 40px 0; /* Margin to give space around the text */
    padding: 0 10%; /* Reduce padding to allow more width for the text */
    font-family: 'Times New Roman', serif; /* Use a serif font for a classic look */
    font-size: 14px; /* Set a font size that is slightly larger for readability */
    line-height: 1.8; /* Set a line height for better readability */
    max-width: 900px; /* Increase the maximum width for the text */
    margin-left: auto; /* Center the text block */
    margin-right: auto; /* Center the text block */
}

/* First paragraph (WELCOME TO) styling */
#welcome-text p:first-of-type {
    font-family: 'Bellefair', serif; /* Use Bellefair font for a unique header style */
    font-size: 0.9rem; /* Larger font size for emphasis */
    letter-spacing: 2px; /* Add letter spacing for a refined look */
    color: #333; /* Keep the text color dark */
    font-weight: normal;
    margin-bottom: 3px; /* Reduce the bottom margin to decrease space between "WELCOME TO" and "SIDDHARTHA" */
}

/* Styling for the title (SIDDHARTHA) */
.siddhartha {
    font-family: 'Bellefair', serif;
    font-size: 2rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center; /* Tetap di tengah */
    position: relative;
}

.siddhartha::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #a52a2a;
    margin: 10px auto;
}

/* Styling for the paragraphs */
#welcome-text {
    max-width: 1200px; /* Lebar maksimum untuk seluruh blok teks */
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Semua teks dalam #welcome-text ditengah secara horizontal */
}

/* Styling khusus untuk "WELCOME TO" */
#welcome-text p:first-of-type {
    font-family: 'Bellefair', serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #333;
    font-weight: normal;
    margin-bottom: 3px;
    text-align: center; /* Tetap di tengah */
}

/* Styling untuk paragraf umum setelah SIDDHARTHA */
#welcome-text p {
    font-family: 'Times New Roman', serif;
    font-size: 1.0rem;
    line-height: 1.8;
    color: #333;
    max-width: 800px; /* Lebar teks paragraf */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    text-align: center; /* Rata tengah untuk paragraf */
}

/* Optional: Reduce the padding on smaller screens */
@media (max-width: 768px) {
    #welcome-text {
        padding: 0 5%; /* Reduce side padding on small screens */
        font-size: 1rem; /* Adjust font size for better readability */
    }

    .siddhartha {
        font-size: 2.5rem; /* Slightly smaller font size for the title on small screens */
    }
}
    
/* Special offer Section */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
}

.special-offers {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px;
    position: relative;
    background-color: rgba(0, 123, 255, 0.3);
    z-index: -1;
    margin-bottom: 50px; /* Tambahkan jarak bawah antar section */
}

.offer {
    width: 300px;
    height: 450px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.offer:hover {
    transform: scale(1.05); /* Sedikit perbesar saat hover */
}

.image-container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.offer-text {
    color: #fff;
    text-align: center;
    padding: 20px;
    width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.offer-text h3 {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.offer-text h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.offer-text p {
    font-size: 14px;
    margin-bottom: 20px;
}

.book-now {
    text-decoration: none;
    color: white;
    background-color: transparent;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid white;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    z-index: 1;
}

.book-now:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.image-container {
    background-image: url('path/to/your/image.jpg');
}

/* Atur judul section Special Offers dan Accommodation berada di tengah */
#special-offers h2, #accommodation h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

/* Accommodation Section */
#accommodation-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
    position: relative; /* Ensures that absolute-positioned elements inside are aligned properly */
}

#accommodation-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

/* Swiper Container Styling */
.swiper-container {
    max-width: 800px;  /* Limit the width of the swiper container */
    margin: 0 auto;    /* Center the swiper container */
    overflow: hidden;   /* Hide overflow to ensure clean cropping */
}
/* Swiper slide content */
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    position: absolute; /* Ensure buttons are placed relative to the swiper container */
    top: 50%;           /* Vertically center the buttons */
    transform: translateY(-50%); /* Centers them vertically */
    z-index: 10;        /* Makes sure buttons are in front of the slides */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better visibility */
    color: #fff;
    padding: 10px;
    border-radius: 50%;  /* Circular buttons */
    cursor: pointer;
}

.swiper-button-prev {
    left: 10px; /* Position to the left */
}

.swiper-button-next {
    right: 10px; /* Position to the right */
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #a52a2a; /* Change color on hover */
}

.swiper-wrapper {
    display: flex;
}

/* Individual card styling */
.accommodation-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    width: 100%;  /* Take full width of the swiper container */
    height: auto; /* Height adjusts automatically based on content */
}

/* Image styling */
.accommodation-card img {
    width: 100%;
    height: 500px; /* Increase this value for a taller image */
    object-fit: cover; /* Maintain aspect ratio while covering the area */
    border-radius: 10px; /* Keep the same border-radius */
    margin-bottom: 20px; /* Space below the image */
}

/* Card content */
.card-content {
    padding: 0 20px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.card-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

/* Button styling */
.offer-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #a52a2a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.offer-button:hover {
    background-color: #800000;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #a52a2a;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 50%;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(128, 0, 0, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swiper-container {
        max-width: 100%;
    }

    /* Adjust card size for smaller screens */
    .accommodation-card {
        width: 100%; /* Full width on smaller screens */
        height: auto; /* Height adjusts automatically */
    }
}


/* Experience Section */
#experience-section {
    text-align: center;
    padding: 50px 20px;
}

#experience-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #000000;
}

.experience-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.experience-card {
    width: 300px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

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

.image-overlay {
    position: relative;
}

.image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.image-overlay:hover img {
    transform: none; /* No zoom effect */
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-overlay:hover .text-overlay {
    opacity: 1;
}

/* Experience description */
.experience-description {
    margin: 40px auto;
    width: 80%;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* More Details Button */
.more-details-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 30px;
    background-color: #a52a2a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.more-details-button:hover {
    background-color: #800000;
}

  
/* Newsletter Section */
    #newsletter-section {
        padding: 60px 20px;
        background-color: #fff;
        text-align: center;
    }
    
    .newsletter-container h2 {
        font-family: 'Times New Roman', serif;
        font-size: 24px;
        color: #3a3a3a;
        letter-spacing: 1px;
        margin-bottom: 10px;
        border-bottom: 2px solid #fefefe; /* Light underline */
        display: inline-block;
        padding-bottom: 5px;
    }
    
    .newsletter-container p {
        font-family: Arial, sans-serif;
        color: #777;
        margin-bottom: 20px;
    }
    
    .newsletter-form {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .newsletter-form input[type="text"],
    .newsletter-form input[type="email"] {
        padding: 12px; /* Slightly larger padding for touch targets */
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    
    .subscribe-button {
        background-color: #b20000;
        color: white;
        padding: 12px 20px; /* Slightly larger padding for better touch target */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
    }
    
    .subscribe-button:hover {
        background-color: #900000;
    }
    
    /* Image Slider */
    .image-slider {
        display: flex;
        justify-content: center;
        margin-top: 30px;
        overflow: hidden;
    }
    
    .slide {
        margin: 0 10px;
    }
    
    .slide img {
        width: 200px; /* Adjust as per design */
        height: auto;
        border-radius: 5px;
    }
    
    @media (max-width: 768px) {
        .newsletter-form {
            flex-direction: column;
        }
    
        .image-slider {
            flex-direction: column;
        }
    
        .slide img {
            width: 100%;
            margin-bottom: 10px;
        }
    }

    /* Book Now Section */
#book-now-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #ccc;
}

#book-now-section h2 {
    font-family: 'Times New Roman', serif;
    font-size: 24px;
    color: #3a3a3a;
    letter-spacing: 1px;
    margin-bottom: 5px;
    border-bottom: 2px solid #ffffff; /* Underline */
    display: inline-block;
    padding-bottom: 5px;
}

#book-now-section p {
    font-family: Arial, sans-serif;
    color: #777;
    margin: 10px 0;
}

.certified-badge img {
    width: 150px; /* Adjust size to match the design */
}

.booking-form {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.booking-form input[type="date"],
.booking-form input[type="text"] {
    padding: 12px; /* Slightly larger padding for touch targets */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
}

.availability-button {
    background-color: #b20000;
    color: white;
    padding: 12px 20px; /* Increased padding for better touch experience */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.availability-button:hover {
    background-color: #900000;
}

/* Footer Section */
#footer-section {
    padding: 30px 20px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    text-align: center;
}

#footer-section .social-media {
    margin-bottom: 20px;
}

#footer-section .social-media p {
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #777;
}

#footer-section .social-media a {
    margin: 0 10px;
    font-size: 24px;
    color: #3a3a3a;
    text-decoration: none;
}

#footer-section .footer-logo img {
    width: 50px;
    margin: 20px 0;
}

#footer-section .footer-bottom {
    margin-top: 20px;
}

#footer-section .footer-bottom p {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #777;
    margin: 5px 0;
}

#footer-section .footer-links a {
    color: #3a3a3a;
    text-decoration: none;
    margin: 0 10px;
}

#footer-section .footer-links a:hover {
    color: #b20000;
}