/* ===== GENERAL STYLES ===== */
body {
    font-family: 'Ubuntu';
    margin: 0;
    padding: 0;
    background-color: #F5F1E9;
    color: #503D2B;
    text-align: center;
}

/* ===== HEADER SECTION ===== */
.header {
    background-color: #FFFFFF;
    padding: 20px;
}

.header img {
    height: 90px;
}

/* ===== NAVIGATION MENU ===== */
.nav-container {
    width: 100%;
    z-index: 1000;
}

.nav-menu {
    position: relative;
    width: 100%;
    background-color: #8B6F47;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 5px;
    margin: 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s;
}

.nav-menu a i {
    font-size: 24px;
    margin-bottom: 5px;
}

.nav-menu a:hover {
    color: #75CFFF;
}

/* ===== HERO SECTION ===== */
.hero {
    background: url('img/pool.jpg') no-repeat center center/cover;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 5px 5px 5px #A68660;
}

.hero h1 {
    font-size: 3em;
    margin-top: 3px;
    margin-bottom: 5px;
}

.hero h2 {
    font-size: 1.5em;
    margin-top: 0;
}

/* Special hero for contact page */
.contact-hero {
    background-image: url('img/lobby.png');
    height: 510px;
}

/* ===== CONTENT SECTIONS ===== */
.content {
    padding: 20px;
    text-align: center;
}

.section {
    max-width: 900px;
    margin: 10px auto;
    color: #503D2B;
    text-shadow: 2px 2px 5px #A68660;
}

.gallery {
    max-width: 900px;
    margin: 10px auto;
}

.gallery img {
    width: 100%;
    max-width: 500px;
    margin: 10px;
    border-radius: 10px;
}

/* ===== GOOGLE TRANSLATE WIDGET ===== */
#google_translate_element {
    margin: 10px auto;
    text-align: center;
    position: relative;
    right: 10px;
    top: 10px;
}

.goog-te-gadget {
    font-size: 16px !important;
    color: #75CFFF;
}

.goog-te-gadget select {
    background-color: #8B6F47;
    color: white;
    border: none;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
}

/* ===== DROPDOWN MENUS ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu li a:hover {
    background: #F5F1E9;
    color: #8B6F47;
}

/* ===== RESERVATION/ROOMS SECTION ===== */
.reservation-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 600px;
}

.reservation-item {
    padding: 20px;
    height: 100%;
}

.room-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
    height: 100%;
}

.room-amenities {
    flex: 1;
    text-align: left;
    padding-left: 20px;
}

.room-amenities h4 {
    font-size: 1.5em;
    color: #8B6F47;
    margin-bottom: 10px;
}

.room-amenities ul {
    list-style-type: none;
    padding: 0;
}

.room-amenities li {
    margin-bottom: 10px;
    color: #503D2B;
}

.room-gallery {
    flex: 1;
    max-width: 600px;
    padding-right: 20px;
    position: relative;
}

/* ===== SWIPER CAROUSELS ===== */
.swiper {
    width: 100%;
    height: 400px;
    margin: auto;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Room Carousel */
.room-carousel {
    height: 600px;
}

.room-carousel .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Gallery Carousel */
.gallery-carousel {
    height: 400px;
}

/* Navigation Buttons */
.gallery-carousel .swiper-button-next.gallery-next,
.gallery-carousel .swiper-button-prev.gallery-prev {
    color: #8B6F47;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.gallery-carousel .swiper-button-next.gallery-next {
    right: 0;
}

.gallery-carousel .swiper-button-prev.gallery-prev {
    left: 0;
}

.room-carousel .swiper-button-next,
.room-carousel .swiper-button-prev {
    color: #8B6F47;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.room-carousel .swiper-button-next {
    right: 20px;
}

.room-carousel .swiper-button-prev {
    left: 20px;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #503D2B;
    text-shadow: 2px 2px 5px #A68660;
}

.contact-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #8B6F47;
    text-shadow: 2px 2px 5px #A68660;
}

.contact-form input,
.contact-form textarea {
    width: 90%;
    padding: 10px;
    margin: 10px 10px;
    border: 1px solid #8B6F47;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form input[type="submit"] {
    background-color: #8B6F47;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form input[type="submit"]:hover {
    background-color: #75CFFF;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    text-shadow: 2px 2px 5px #A68660;
}

.faq-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #8B6F47;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.2em;
    color: #503D2B;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 1em;
    color: #503D2B;
}

/* ===== FOOTER SECTION ===== */
.footer {
    background-color: #8B6F47;
    color: white;
    padding: 5px 0;
    margin-top: 40px;
}

.footer .social-icons {
    margin-top: 10px;
}

.footer .social-icons a {
    color: white;
    text-decoration: none;
    font-size: 29px;
    margin: 0 5px;
    transition: color 0.3s;
}

.footer .social-icons a:hover {
    color: #75CFFF;
}

.footer a.footer-link {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.footer a.footer-link:hover {
    text-decoration: underline;
    color: #75CFFF;
}

/* ===== MESSAGES ===== */
.success-message {
    color: green;
    font-size: 1.2em;
    margin-top: 20px;
}

/* ===== AIRBNB CALENDAR ===== */
.airbnb-calendar {
    margin: 20px auto;
    text-align: center;
}

.airbnb-calendar iframe {
    width: 60%;
    height: 300px;
    border: none;
}

/* ===== PAYMENT SECTION ===== */
.payment-section {
    margin: 20px auto;
    text-align: center;
}

.payment-section h3 {
    margin-bottom: 15px;
}

#payment-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#payment-buttons button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #8B6F47;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

#payment-buttons button:hover {
    background-color: #75CFFF;
}

/* ===== DISCLAIMER ===== */
.disclaimer {
    margin: 20px auto;
    max-width: 800px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
}

/* Google reCAPTCHA size + center alignment */
.g-recaptcha {
    margin: 20px auto;
    transform: scale(1);
    transform-origin: center;
}

/* Force fields to display consistently */
.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.iti {
    width: 100%;
}

.iti input {
    width: 100%;
    padding-left: 45px; /* ensures text does not overlap flag */
    box-sizing: border-box;
}

/* Center the Google reCAPTCHA widget */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    width: 100%;
}

.g-recaptcha > div {
    transform: scale(0.95);
    transform-origin: center;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}

/* Wrapper to keep checkbox + text on one line and centered */
.marketing-opt {
    display: flex;
    justify-content: center;
    margin: 15px 0 25px;
}

/* Ensure checkbox + text stay on one line */
.marketing-opt label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Prevent text from dropping below checkbox */
.marketing-opt span {
    white-space: nowrap;
}

/* Styling for the Privacy Policy link */
.marketing-opt a {
    color: #8b6a3a;
    text-decoration: none;
    font-weight: bold;
}

.marketing-opt a:hover {
    text-decoration: underline;
}

/* -------- FIX FOR CHECKBOX BREAKING INTO TWO LINES -------- */
.marketing-opt {
    display: flex;
    justify-content: center;
    align-items: center;
}

.marketing-opt label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: left !important; /* override global center */
    flex-wrap: nowrap;
}

.marketing-opt span {
    white-space: nowrap;
    text-align: left !important; /* override global center */
}
