
/* =================================
   BLUEPALM MOUNTAIN RESORT
   OCEAN BREEZE THEME
================================= */

/* COLOR PALETTE
   Navy:       #123B55
   Ocean Blue: #267C91
   Mist:       #D9EEF0
   White:      #FFFFFF
   Soft Sand:  #D5A66B
*/


/* =================================
   GENERAL WEBSITE STYLING
================================= */

body {
    font-family: Arial, sans-serif;
    background-color: #D9EEF0;
    margin: 0;
    padding: 0;
    color: #333;
}


/* =================================
   MAIN HEADINGS
================================= */

h1 {
    color: #123B55;
    text-align: center;
}

h2 {
    color: #123B55;
    text-align: center;
}


/* =================================
   MAIN NAVIGATION BAR
================================= */

.main-nav {
    background-color: #123B55;
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-brand {
    color: #D9EEF0;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #D5A66B;
}

.nav-book {
    background-color: #267C91;
    color: white;
    padding: 11px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-book:hover {
    background-color: #D5A66B;
    color: #123B55;
}


/* =================================
   HERO HEADER
================================= */

.hero-header {
    width: 100%;
    min-height: 480px;

    background-image:
        linear-gradient(
            rgba(18, 59, 85, 0.45),
            rgba(18, 59, 85, 0.60)
        ),
        url("images/resort-background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}

.hero-overlay {
    padding: 40px 20px;
}

.resort-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.hero-header h1 {
    font-size: 38px;
    margin-bottom: 12px;
    color: white;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    padding: 14px 30px;
    background-color: #267C91;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-button:hover {
    background-color: #D5A66B;
    color: #123B55;
}


/* =================================
   RESERVATION SECTION
================================= */

.reservation-title {
    color: #123B55;
    text-align: center;
    font-size: 30px;
    margin-top: 45px;
    margin-bottom: 8px;
}

.reservation-description {
    text-align: center;
    color: #526873;
    margin-bottom: 30px;
    line-height: 1.6;
}


/* =================================
   RESERVATION FORM
================================= */

form {
    background-color: #FFFFFF;
    max-width: 850px;
    margin: 30px auto;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(18, 59, 85, 0.10);
    border: 1px solid #D9EEF0;
}

form label {
    display: block;
    font-weight: bold;
    color: #123B55;
    margin-top: 10px;
    margin-bottom: 5px;
}

form input,
form select {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    margin-bottom: 15px;
    border: 1px solid #C8D9DF;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    transition: 0.3s;
}

form input:focus,
form select:focus {
    outline: none;
    border-color: #267C91;
    box-shadow: 0 0 0 3px rgba(38, 124, 145, 0.15);
}


/* =================================
   SUBMIT RESERVATION BUTTON
================================= */

button {
    background-color: #123B55;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #267C91;
}

#submitButton {
    background-color: #123B55;
    color: white;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

#submitButton:hover {
    background-color: #267C91;
}


/* =================================
   ACCOMMODATION CARDS
================================= */

.accommodation-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.accommodation-card {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #C8D9DF;
    flex: 1;
    min-width: 150px;
    transition: 0.3s;
}

.accommodation-card h4 {
    color: #123B55;
    margin-top: 0;
}

.accommodation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(18, 59, 85, 0.10);
    border-color: #267C91;
}


/* =================================
   RESERVATION DETAILS
================================= */

#reservationDetails {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background-color: #F3FAFB;
    border: 1px solid #C8D9DF;
    border-radius: 10px;
    text-align: left;
}

#reservationDetails h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #123B55;
}

#reservationDetails p {
    padding: 8px 0;
    border-bottom: 1px solid #D9EEF0;
    font-size: 16px;
}


/* =================================
   HEADER STYLE
================================= */

.site-header {
    text-align: center;
    padding: 20px;
}


/* =================================
   RESERVATION MODAL
================================= */

#reservationModal {
    width: 600px;
    max-width: 90%;
    min-height: 300px;
    padding: 30px;
    border: none;
    border-radius: 12px;
    text-align: center;
    margin: auto;
}

#reservationModal::backdrop {
    background-color: rgba(18, 59, 85, 0.65);
}

#reservationModal button {
    padding: 8px 16px;
    font-size: 14px;
    width: auto;
    margin: 5px;
    cursor: pointer;
}


/* =================================
   MOBILE RESPONSIVENESS
================================= */

@media screen and (max-width: 600px) {

    .main-nav {
        justify-content: center;
        text-align: center;
        padding: 18px 15px;
    }

    .nav-links {
        justify-content: center;
        gap: 15px;
    }

    .nav-brand {
        width: 100%;
    }

    .hero-header {
        min-height: 380px;
    }

    .hero-header h1 {
        font-size: 27px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .resort-logo {
        width: 120px;
    }

    form {
        width: 100%;
        max-width: 100%;
        padding: 22px;
        box-sizing: border-box;
    }

    .reservation-title {
        font-size: 25px;
    }

    .reservation-description {
        font-size: 14px;
        padding: 0 10px;
    }

    #reservationModal {
        width: 90%;
        padding: 20px;
        box-sizing: border-box;
    }
}


/* =================================
   ROOMS AND ACCOMMODATIONS
================================= */

.rooms-section {
    padding: 60px 5%;
    background-color: #F3FAFB;
    text-align: center;
}

.section-title {
    color: #123B55;
    font-size: 32px;
    margin-bottom: 12px;
}

.section-description {
    color: #526873;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.rooms-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.room-card {
    background-color: white;
    border-radius: 14px;
    overflow: hidden;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    box-shadow: 0 5px 20px rgba(18, 59, 85, 0.10);
    transition: 0.3s;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(18, 59, 85, 0.15);
}

.room-image {
    height: 220px;
    background-color: #D9EEF0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #267C91;
    font-weight: bold;
}

/* ROOM PHOTOS */

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-info {
    padding: 22px;
    text-align: left;
}

.room-info h3 {
    color: #123B55;
    margin-top: 0;
    font-size: 21px;
}

.room-info p {
    color: #526873;
    line-height: 1.6;
}


/* =================================
   AMENITIES SECTION
================================= */

.amenities-section {
    padding: 60px 5%;
    background-color: #FFFFFF;
    text-align: center;
}

.amenities-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.amenity-card {
    background-color: #F3FAFB;
    border-radius: 14px;
    overflow: hidden;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    box-shadow: 0 5px 20px rgba(18, 59, 85, 0.10);
    transition: 0.3s;
}

.amenity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(18, 59, 85, 0.15);
}

.amenity-image {
    height: 220px;
    background-color: #D9EEF0;
}

.amenity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.amenity-card h3 {
    color: #123B55;
    font-size: 21px;
    margin: 20px 15px 10px;
}

.amenity-card p {
    color: #526873;
    line-height: 1.6;
    padding: 0 20px 20px;
    margin: 0;
}


/* =================================
   POOL IMAGE SLIDER
================================= */

.pool-slider {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #D9EEF0;
}

.pool-slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pool-slide.active {
    display: block;
}

/* POOL SLIDER NAVIGATION BUTTONS */

.pool-slider .pool-prev,
.pool-slider .pool-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(18, 59, 85, 0.85);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    font-size: 18px;
    line-height: 1;

    z-index: 2;
}

.pool-slider .pool-prev {
    left: 10px;
}

.pool-slider .pool-next {
    right: 10px;
}

.pool-slider .pool-prev:hover,
.pool-slider .pool-next:hover {
    background-color: #267C91;
}

/* POOL IMAGE COUNTER */

.pool-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;

    background: rgba(18, 59, 85, 0.75);
    color: white;

    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;

    z-index: 2;
}

/* =================================
   POOL ENTRANCE RATES
================================= */

.pool-rates-section {
    padding: 70px 5%;
    background-color: #F3FAFB;
    text-align: center;
}

.pool-rate-card {
    max-width: 420px;
    margin: auto;
    padding: 35px 30px;
    background-color: white;
    border-radius: 16px;
    border: 1px solid #D9EEF0;
    box-shadow: 0 8px 30px rgba(18, 59, 85, 0.10);
    transition: 0.3s;
}

.pool-rate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(18, 59, 85, 0.15);
}

.pool-rate-card h3 {
    color: #123B55;
    font-size: 23px;
    margin-top: 0;
}

.pool-price {
    color: #267C91;
    font-size: 55px;
    font-weight: bold;
    margin: 20px 0 5px;
}

.pool-rate-label {
    color: #D5A66B;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pool-rate-card p:last-child {
    color: #526873;
    line-height: 1.7;
    margin-top: 20px;
}

/* =================================
   CONTACT & LOCATION
================================= */

.contact-section {
    padding: 70px 5%;
    background-color: #FFFFFF;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: auto;
}

.contact-card {
    background-color: #F3FAFB;
    padding: 30px;
    border-radius: 16px;
    flex: 1;
    min-width: 260px;
    max-width: 430px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(18, 59, 85, 0.08);
}

.contact-card h3 {
    color: #123B55;
    font-size: 22px;
    margin-top: 0;
}

.contact-card p {
    color: #526873;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-button {
    display: inline-block;
    background-color: #267C91;
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.contact-button:hover {
    background-color: #123B55;
}

/* =================================
   WEBSITE FOOTER
================================= */

.site-footer {
    background-color: #123B55;
    color: white;
    padding: 55px 5% 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding-bottom: 40px;
}

.footer-brand,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-brand h2 {
    color: white;
    font-size: 23px;
}

.footer-container h3 {
    color: #D5A66B;
    margin-bottom: 18px;
}

.footer-container p {
    color: #D9E8ED;
    line-height: 1.8;
}

.footer-links a {
    display: block;
    color: #D9E8ED;
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #D5A66B;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 18px 0;
}

.footer-bottom p {
    color: #D9E8ED;
    font-size: 13px;
    margin: 0;
}

/* MOBILE FOOTER */

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 25px;
    }
}

/* =================================
   PHOTO GALLERY
================================= */

.gallery-section {
    padding: 70px 5%;
    background-color: #FFFFFF;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: auto;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(18, 59, 85, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* TABLET */

@media (max-width: 900px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 230px;
    }
}

/* =================================
   PHOTO LIGHTBOX
================================= */

.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

#lightbox-image {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

.gallery-lightbox button {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    top: 25px;
    right: 30px;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.gallery-lightbox button:hover {
    background: #267C91;
}

/* =================================
   FLOATING BOOK NOW BUTTON
================================= */

.floating-book-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    background: linear-gradient(135deg, #267C91, #123B55);
    color: white;
    padding: 15px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(18, 59, 85, 0.35);
    transition: all 0.3s ease;
}

.floating-book-btn:hover {
    transform: translateY(-4px);
    background: #D5A66B;
    color: #123B55;
    box-shadow: 0 8px 25px rgba(18, 59, 85, 0.4);
}

/* MOBILE POSITION */

@media (max-width: 600px) {
    .floating-book-btn {
        bottom: 18px;
        right: 15px;
        padding: 13px 23px;
        font-size: 14px;
    }
}


/* =================================
   RESERVATION STATUS CHECKER
================================= */

.status-section {
    padding: 70px 5%;
    background-color: #F3FAFB;
    text-align: center;
}

.status-container {
    max-width: 500px;
    margin: auto;
    padding: 35px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(18, 59, 85, 0.10);
    text-align: left;
}

#status-check-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#status-check-form label {
    color: #123B55;
    font-weight: bold;
    margin-top: 8px;
}

#status-check-form input {
    width: 100%;
    padding: 13px;
    border: 1px solid #D9E8ED;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

#status-check-form input:focus {
    border-color: #267C91;
    box-shadow: 0 0 0 3px rgba(38, 124, 145, 0.10);
}

#status-check-form button {
    margin-top: 12px;
    padding: 14px;
    background-color: #267C91;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#status-check-form button:hover {
    background-color: #123B55;
}

#status-result {
    margin-top: 10px;
}

#status-check-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#status-result {
    font-weight: bold;
    line-height: 1.6;
}

.status-pending {
    color: #B7791F;
}

.status-approved {
    color: #218838;
}

.status-cancelled,
.status-error {
    color: #C0392B;
}

