/* styles.css */

:root {
  --primary-color: #5a1f17;       /* Exact match with logo background */
  --secondary-color: #D9B48F;     /* Soft tan */
  --accent-color: #3E1F1A;        /* Cocoa text */
  --background-color: #FDF3EC;    /* Warm ivory background */
  --highlight-color: #BF6F4A;     /* Muted terracotta highlight */
  --text-color: var(--accent-color);
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}

body {
  font-family: 'Lora', serif;
  font-weight: 600;  /* Stronger than 500 */
  color: var(--text-color);
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
}

/*Hero section*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
}

.logo img {
  height: 80px; /* Increased logo size */
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color); /* Toggle icon color matches logo background */
}

.nav-links {
  display: flex;
  list-style: none;
}


.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem; /* Add or increase font size */
}

.nav-links a:hover {
  text-decoration: underline;
}
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20vh;
  color: white;
  text-align: center;        
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* or use 'contain' for full image with possible gaps */
  z-index: -1;
}

.hero-overlay {
  background: none;
  padding: 0;
  border-radius: 0;
}

.hero-overlay h1 {
  font-size: 3rem;             /* Slightly smaller */
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.2rem;           /* Slightly smaller */
}

.section {
  padding: 1.5rem 1rem; /* Reduce vertical padding */
  background-color: #fff9f4;
  color: var(--text-color);
  text-align: center;
}

.section h2 {
  font-size: 1.8rem; /* Adjust as needed; default is usually 2rem or more */
  margin-bottom: 1rem;
}

.section:nth-child(even) {
  background-color: #f2e5dc;
}
/*about us section*/
.heading-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 12px;
}
.about-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.about-left {
  flex: 1 1 400px;
}
.about-side-img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-side-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.about-right-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1 1 400px;
}

.about-info-card {
  background-color: rgb(248, 236, 216);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* rooms section*/
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.room-block {
  background: white;
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.room-block h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.room-block p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.swiper {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Lightbox Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
}

.modal .swiper {
  height: 100%;
}

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/*Gallery section*/
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 2rem;
}

.gallery-item {
  flex: 1 1 250px;
  max-width: 300px;
  aspect-ratio: 4 / 3; /* Makes them look more like squares or landscape */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}


.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.amenities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.amenity-card {
   display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1.2rem;
  background-color: white;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 200px;
  max-width: 250px;
  text-align: left; /* Ensures text is left-aligned inside the box */
  justify-content: flex-start; /* Keeps icon + text aligned left together */
}

.amenity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.amenity-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


/*Contact section*/
.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  text-align: left;
}
.contact-info div {
  flex: 1;
  min-width: 250px;
}
.contact-info h3 {
  margin-bottom: 8px; /* Space between the heading and its text */
}

.contact-info p {
  margin-top: 0; /* Adjust if necessary */
  margin-bottom: 20px; /* Increase space below the paragraph */
}
.contact-info a {
  color: var(--text-color);
  text-decoration: underline;
}
.contact-info a:hover {
  color: blue;
}
.map {
   width: 100%;
   height: 300px;
   background: #ddd;
}
 

.form-container {
    max-width: 900px;
    margin: 40px auto;
    background: #fffaf5;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
  }

  .form-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #5a2a1e;
  }

  .form-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .form-col {
    flex: 1;
    min-width: 280px;
  }

  label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #4a1c0f;
  }

  input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 18px;
    box-sizing: border-box;
  }

input[type="date"],
textarea {
  text-align: center;
}


input[type="number"],
textarea {
  text-align: right;
}

  textarea {
    resize: vertical;
  }

  button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background: #5a2a1e;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  button:hover {
    background: #421f15;
  }



/*Footer*/
.footer {
 background: var(--accent-color);
 color: white;
  text-align: center;
  padding: 15px;
  position: relative;
  bottom: 0;
  width: 100%;
}
.footer a {
  color: #ffcc00;
  text-decoration: none;
}

/* Floating icons only on mobile */
.floating-contact {
  display: none;
}

/*Scroll up icon*/

#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  /* transform: translateX(-50%); */
}



#scrollToTop:hover {
  transform: scale(1.1);
}

/* Show Google Translate on all screen sizes */
/* Google Translate Styling - Visible on All Screens */
.translate-widget {
  padding: 4px 8px;
}

.goog-te-gadget {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-family: inherit !important;
}

.nav-links .translate-widget select {
  border: 1px solid #ccc;
  padding: 4px;
  border-radius: 5px;
  background: #fff;
  color: var(--primary-color);
  font-weight: bold;
}

/* Fix Google Translate dropdown scroll issue */
.goog-te-menu-frame.skiptranslate {
  z-index: 9999 !important;
  top: 100px !important;
  right: 10px !important;
  left: auto !important;
  width: auto !important;
  max-width: 90vw !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  max-height: 400px !important;
}

.goog-te-menu2 {
  max-height: 380px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}




/* Responsive Styles */

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-section {
    background: url('img/bg2.jpg') no-repeat center center/cover;
  }
  .nav-links a {
    color: #3d0303 !important; /* Dark cocoa or dark brown */
  }
  .nav-links a:hover {
    color: #5a1f17 !important; /* Optional: slightly different on hover */
  }
}


@media (min-width: 769px) {
  .close-btn {
    display: none !important;
  }
}
@media (max-width: 768px) {

  .hero-section {
    background: url('img/bg2.jpg') no-repeat center center/cover;
    height: 100vh;
    padding-top: 30vh;  /* was 10vh — now pushes text lower */
    padding-bottom: 2rem;
  
  }
  .menu-toggle {
    display: block;
  }

 .close-btn {
  position: absolute;
  top: 1rem;
  right: 2rem; /* Matches the .menu-toggle padding from navbar */
  list-style: none;
  z-index: 1001;
}

.close-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2b1a14;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}


  .navbar {
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent !important;
  box-shadow: none !important;
  z-index: 1000;
}

  .nav-links {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 999;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.nav-links.open {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

 .nav-links a {
    color: var(--primary-color); /* Ensure text is readable on white */
    text-shadow: none;
  }
  
  .nav-links li {
    margin: 10px 0;
  }
  .logo img {
    height: 60px;
    margin-bottom: 0.5rem;
  }
  .hero-overlay h1 {
    font-size: 1.5rem; /* Decreased font size for mobile */
  }
  .hero-overlay p {
    font-size: 0.9rem;
  }
  .section {
    padding: 2rem 1rem;
  }

  /*about section icon*/
.heading-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
}
  
.about-content-wrapper {
  gap: 0 !important;
}

.about-side-img {
  display: block;
  margin-bottom: 25px; /* removes unwanted gap */
  line-height: 0;      /* ensures no line space below the image */
}

.about-right-cards {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 8px; 

}

  /*Swiper*/
  .swiper {
    height: 200px;
  }

  /*Contact section*/
.contact-info { flex-direction: column; }

/*
  .form-row {
      flex-direction: column;
    }*/

/* Fix for floating icons not showing */
  .floating-contact {
    position: fixed;
    right: 12px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
  }

  .floating-contact .contact-icon img {
    width: 50px;
    height: 50px;
    padding: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .floating-contact .contact-icon img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  }

  /*Scroll up icon*/
   #scrollToTop {
    bottom: 20px;
    right: 12px;
    width: 45px;
    height: 45px;
    font-size: 20px;
    transform: none;
  }
}


@media (max-width: 480px) {
  .hero-section {
    height: 100vh;
    padding-top: 25vh;
    padding-bottom: 2rem;
    
  }
  .hero-overlay h1 {
    font-size: 1.4rem;
  }
  .hero-overlay p {
    font-size: 0.85rem;
  }
  .section {
    padding: 2rem 1rem;
  }
  .container {
    padding: 20px 10px;
    overflow-x: hidden;
  }

  .contact-info {
    flex-direction: column;
  }

  .contact-info div {
    width: 100%;
    min-width: auto;
  }

  .form-container {
    width: 100%;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-col {
    min-width: 100%;
  }

  input,
  textarea {
    font-size: 14px;
  }

  /* Fix long email or text overflow */
  .contact-info a,
  .contact-info p {
    word-break: break-word;
    overflow-wrap: anywhere;
  }


}



