@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --transition: all 0.7s ease;
    --yellow: #f9d342;
    --dark: #292826;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
}

.btn {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 140px;
    display: block;
    margin: 15px auto;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    opacity: 0.85;
}

.flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1, h2, h3, h4, h5, h6 {
    padding: 8px 0;
}

.head-bottom p strong {
    color: white;
    opacity: 100%;
}

img {
    width: 100%;
    display: block;
}

@media (max-width: 500px) {
    body {
        font-size: 14px;
    }
}

/* Header */
.header {
    background: url("images/banner.jpg") center/cover no-repeat;
    min-height: 100vh;
   
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
}

.head-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-top span {
    cursor: pointer;
    letter-spacing: 2px;
    transition: color 0.4s ease, transform 0.4s ease;
}

.head-top span:hover {
    color: var(--yellow);
    transform: scale(1.1);
}

.head-bottom {
    flex: 1;
    text-align: center;
    width: 80vw;
    margin: 0 auto;
}

.head-bottom h2 {
    padding: 22px 0;
    font-size: 45px;
    border-bottom: 1px solid #fff;
    /* animation removed */
}

.head-bottom p strong {
    opacity: 0.7;
    font-size: 20px;
    margin: 45px auto;
    width: 60vw;
    /* animation removed */
}

.head-btn {
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
    border: 3px solid #fff;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
    padding: 13px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.head-btn:hover {
    background: transparent;
    transform: scale(1.05);
}

@media (max-width: 500px) {
    .head-btn {
        font-size: 17px;
    }
    .head-bottom h2 {
        font-size: 28px;
    }
    .head-bottom p strong {
        font-size: 17px;
        margin: 20px auto;
    }
}

/* Side Nav */
.sidenav {
    background: black;
    color: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 300px;
    padding: 20px;
    transition: right 0.7s ease;
    z-index: 10;
}

.sidenav.active {
    right: 0;
}



.navbar {
    margin-top: 50px;
    list-style: none;
    padding: 12px;
}

.navbar li a {
    color: #fff;
    text-transform: capitalize;
    text-decoration: none;
    padding: 15px 0;
    display: block;
    border-bottom: 0.5px solid rgba(249, 211, 66, 0.3);
    opacity: 0.8;
    letter-spacing: 1.5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar li a:hover {
    background-color: #dca22c;
    color: #000;
}

@media (max-width: 400px) {
    .sidenav {
        width: 100vw;
    }
}

/* Title */
.title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 30px;
    color: var(--yellow);
    border-bottom: 5px solid var(--dark);
    width: 235px;
    margin: 15px 0;
}

.sec-width {
    width: 85vw;
    margin: 0 auto !important;
}

/* Base styles for About page */
.about-page {
    background-color: white;
    color: black;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-page .header {
    background: none !important;
    background-color: white !important;
    color: black;
    min-height: auto;
    padding: 30px 25px;
}

.about-page .title {
    color: #8a6108;
    white-space: nowrap; /* prevent wrapping */
    overflow: hidden;    /* hide overflow if container is too small */
    text-overflow: ellipsis; /* add ... if it overflows */
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.about-page .site-link {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.about-page .site-link:hover {
    color: #dca22c;
}

.about-page .site-nav span {
    color: black;
}

.about-section .motto {
    font-style: italic;
    font-size: 18px;
    margin: 20px 0;
    color: #444;
    text-align: center;
    font-weight: 600;
}

.about-section .about-content {
    line-height: 1.7;
    margin-top: 10px;
    max-width: 800px;
}

.about-content {
    display: flex;
    flex-direction: column; /* stack vertically by default */
    gap: 30px;
    align-items: center;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.about-text p {
    margin-bottom: 1.5em;
}

.about-text p:last-child {
    margin-bottom: 3em; /* extra space before footer */
}

.about-image {
    width: 1000px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}



/* Services Section */
.services {
    padding: 60px 30px;
    background-color: #edecec;
    max-width: 1100px;
    margin: 60px auto 80px auto;
    border-radius: 8px;
}

.services .title h2 {
    text-transform: uppercase;
    color: #8a6108;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    padding: 0 10px;
}

.service {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.15);
}

.service-icon span {
    display: inline-block;
    font-size: 3rem;
    color: #8a6108;
    margin-bottom: 15px;
}

.service-content h2 {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn {
    background-color: #8a6108;
    color: white;
    border: none;
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: #dca22c;
}

/* Responsive adjustments for smaller devices */
@media (max-width: 1024px) {
    .about-image {
        width: 100%;
        padding: 0 15px;
    }

    .services-container {
        grid-template-columns: 1fr 1fr; /* keep two columns on tablets */
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 0 15px;
    }

    .services-container {
        grid-template-columns: 1fr; /* stack single column on mobile */
        padding: 0 15px;
        gap: 20px 0;
    }

    .service {
        padding: 20px 15px;
    }

    .about-text p {
        font-size: 1rem;
    }

    .service-content h2 {
        font-size: 1.1rem;
    }

    .service-content p {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-page .title {
        font-size: 1.5rem;
    }

    .motto {
        font-size: 1rem;
    }

    .services {
        padding: 40px 15px;
        margin: 40px 10px 60px 10px;
    }
}



/*Base styles of Bath & Facilities*/
.bath-image {
    display: flex;
    flex-wrap: wrap;          /* Allows wrapping on small screens */
    gap: 20px;                /* Equal spacing between images */
    justify-content: center; /* Center the image group */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.bath-image img {
    flex: 1 1 calc(50% - 10px); /* Two images in a row, with gap compensation */
    height: 400px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    width: 100%;               /* Ensures image fills its flex space */
    min-width: 280px;          /* Prevents shrinking too small on very narrow screens */
}

.bath-section {
    margin-bottom: 60px; /* Adds space between bath section and footer */
}

.bath-content:last-of-type {
    margin-bottom: 60px;
}

.cta-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px; /* adds space before footer */
}

.cta-button {
    display: inline-block;
    background-color: #8a6108;
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #dca22c;; /* slightly darker on hover */
}


/* Responsive fallback for smaller screens */
@media (max-width: 768px) {
    .bath-image img {
        flex: 1 1 100%;         /* Stack vertically on small screens */
        height: 250px;          /* Reduce height for better mobile UX */
    }
}


/*Base Styles for Suites*/
.suites-content {
    position: relative;
    margin-bottom: 40px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    color: #000;
    border: 2px solid #000;
}

/* Heart Icon Button */
.favorite-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: color 0.3s ease;
    padding: 0;
}

.favorite-btn:hover,
.favorite-btn:focus {
    color: #b9667e;
    outline: none;
}

/* Heart toggle effect */
.favorite-btn i.fas {
    display: none;
}
.favorite-btn.active i.far {
    display: none;
}
.favorite-btn.active i.fas {
    display: inline;
    color: #b9667e;
}

/* Suites Text Layout */
.suites-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Scrollable Image Gallery */
.suites-image {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgb(143, 21, 21) #000;
}

.suites-image img {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

/* Scrollbar Styling (Webkit) */
.suites-image::-webkit-scrollbar {
    height: 8px;
}
.suites-image::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
}
.suites-image::-webkit-scrollbar-thumb {
    background-color: #dd9644;
    border-radius: 10px;
}


.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.image-modal .modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

.image-modal .close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.image-modal .close-modal:hover {
    color: #292826;
}


/* Responsive Layout */
@media screen and (min-width: 768px) {
    .suites-text {
        flex-direction: row;
        align-items: center;
    }

    .suites-image {
        flex: 1;
    }

    .suites-text p {
        flex: 1;
        margin-left: 20px;
    }
}







/*Base Styles for Cuisines*/
.cuisines-content {
    margin-bottom: 40px;
    background-color: rgb(113, 17, 15);
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.cuisines-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cuisines-image img {
    width: 100%;
    max-width: 600px; /* Adjust max width */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Responsive for larger screens */
@media screen and (min-width: 768px) {
    .cuisines-text {
        flex-direction: row;
        align-items: center;
    }

    .cuisines-image {
        flex: 4;
    }

    .cuisines-text p {
        flex: 8;
        margin-left: 20px;
        margin-right: 20px;
    }
}






/* Transportation content area */
.transportation-section {
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: auto;
    background-color: rgba(220, 220, 220, 0.85);
    border-radius: 10px;
    color: #000;
}

.transportation-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #000;
}

.transportation-section p {
    line-height: 1.8;
    color: #000;
}





/*Contact Section*/
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: white;
  }
  
  /* Header */
  .header {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
  }
  .head-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .site-name .site-link {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
  }
  .site-nav span {
    color: white;
    cursor: pointer;
    font-weight: 600;
  }
  
  /* Banner section */
  .banner {
    height: 100vh;
    background: url('backgroundview.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* Contact Form */
  /* Contact form inside header */
/* Contact Section Container */
.contact-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

/* Form Container */
.form-container {
    background-color: rgba(255, 255, 255, 0.75); /* more translucent */
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.form-container h2 {
    color: #000; /* black text */
    font-size: 28px;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}


/* Form Fields */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus Effects */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Textarea */
.contact-form textarea {
    resize: none;
}

/* Button */
.cta-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.cta-btn:hover {
    background-color: #333;
}

/* --------------------------- */
/* Responsive Media Queries    */
/* --------------------------- */

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }

    .form-container {
        padding: 30px 20px;
        max-width: 100%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .cta-btn {
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px 15px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
    }

    .cta-btn {
        font-size: 14px;
        padding: 10px;
    }
}


/*Reservation*/
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    display: block;
    color: #000; /* Make label text black */
    font-weight: 600;
    margin: 10px 0 6px;
    text-align: left; /* Align label text to the left */
    font-size: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    color: #000;
}

.contact-form .error-message {
    color: #ea231c;
    font-size: 14px;
    margin-top: -12px;
    margin-bottom: 12px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.contact-form select {
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="5"><path fill="%23000" d="M0 0l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 5px;
}

.contact-form input[type="date"] {
    display:flex;
    width: 100%;
    box-sizing: border-box;
  }
  
  @media only screen and (max-width: 600px) {
    input[type="date"]::-webkit-inner-spin-button,
    input[type="date"]::-webkit-clear-button,
    input[type="date"]::-webkit-calendar-picker-indicator {
      display: none;
      -webkit-appearance: none;
    }
  }
  





/* footer */
.footer{
    background: black;
    color: #fff;
    text-align: center;
}
.footer-container{
    width: 85vw;
    margin: 0 auto;
    padding: 30px 0;
}
.footer-container p, .footer-container a, .footer-container span{
    opacity: 0.8;
}
.footer a{
    display: block;
    color: #fff;
    text-decoration: none;
}

.contact-item span{
    display: block;
}
@media(min-width: 900px){
    .footer-container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
}
@media(min-width: 1170px){
    .footer{
        text-align: left;
    }
    .footer-container{
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-container div:nth-child(1) p{
        padding-right: 20px;
    }
    .contact-item{
        display: grid;
        grid-template-columns: 10% 90%;
        margin-bottom: 15px;
        align-items: center;
    }
}

.showModal{
    position: fixed;
    background: transparent;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
}

.center-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.contact-simple p {
    margin: 8px 0;
    opacity: 0.85;
}
.contact-simple p:first-child {
    font-weight: bold;
    font-size: 18px;
    opacity: 1;
}



/* Final override for cancel button */
.cancel-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    padding: 15px;
    font-size: 1.5rem;
    color: white !important;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.4s ease, transform 0.4s ease;
}

.cancel-btn i {
    color: white !important;
}

.cancel-btn:hover {
    color: var(--yellow);
    transform: scale(1.1);
    opacity: 0.7;
}



