/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* Body Styling */
body {
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #012c60;
  padding: 15px 50px;
  color: white;
  height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo */
.header-logo {
  width: 260px;
  transition: all 0.3s ease;
}

.header-logo img {
  width: 90%;
  height: auto;
  display: block;
  margin-top: 10px;
}

/* Navigation Links */
.header-links {
  display: flex;
  gap: 20px;
}

.header-links h1 {
  margin: 0;
  font-size: 1.1rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Apply transition correctly to the entire link */
.header-links h1 a {
  text-decoration: none;
  color: white;
  display: inline-block; /* Ensures transform works properly */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.header-links h1 a:hover {
  color: #e2ae3f;
  transform: scale(1.1); /* Smooth zoom-in effect */
}

/* Hide Menu Toggle Checkbox */
.menu-toggle {
  display: none;
}

/* Menu Icon */
.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .header-logo {
    position: absolute;
    left: 20px;
  }

  header {
    height: 80px;
    padding: 15px 50px;
  }

  /* Show Menu Icon */
  .menu-icon {
    display: block;
  }

  /* Hide Navigation Links Initially */
  .header-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 0;
    background: #012c60;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .header-links h1 {
    margin: 10px 0;
  }

  /* Show Dropdown When Checkbox is Checked */
  .menu-toggle:checked + .menu-icon + .header-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: -34px;
  }
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* Body Styling */
body {
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #012c60;
  padding: 15px 50px;
  color: white;
  height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo */
.header-logo {
  width: 260px;
  transition: all 0.3s ease;
}

.header-logo img {
  width: 90%;
  height: auto;
  display: block;
  margin-top: 10px;
}

/* Navigation Links */
.header-links {
  display: flex;
  gap: 20px;
}

.header-links h1 {
  margin: 0;
  font-size: 1.1rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Apply transition correctly to the entire link */
.header-links h1 a {
  text-decoration: none;
  color: white;
  display: inline-block; /* Ensures transform works properly */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.header-links h1 a:hover {
  color: #e2ae3f;
  transform: scale(1.1); /* Smooth zoom-in effect */
}

/* Hide Menu Toggle Checkbox */
.menu-toggle {
  display: none;
}

/* Menu Icon */
.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .header-logo {
    position: absolute;
    left: 20px;
  }

  header {
    height: 80px;
    padding: 15px 50px;
  }

  /* Show Menu Icon */
  .menu-icon {
    display: block;
  }

  /* Hide Navigation Links Initially */
  .header-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 0;
    background: #012c60;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .header-links h1 {
    margin: 10px 0;
  }

  /* Show Dropdown When Checkbox is Checked */
  .menu-toggle:checked + .menu-icon + .header-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: -34px;
  }
}

/* Top Banner Container */
.top-banner {
  width: 100%;
  height: 65vh; /* Default desktop height */
  background-color: #012c60;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Carousel Container */
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

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

.slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  margin-top: 50px; /* Desktop top spacing */
  display: block;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Navigation Arrows */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 5px;
  cursor: pointer;
  border-radius: 30%;
  z-index: 3;
  user-select: none;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Dots for Carousel */
.dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active,
.dot:hover {
  background-color: #e2ae3f;
}

/* ✅ Tablet View */
@media (max-width: 1024px) {
  .top-banner {
    height: 55vh;
  }

  .slide {
    margin-top: 35px;
  }
}

/* ✅ Mobile View */
@media (max-width: 768px) {
  .top-banner {
    height: 43vh;
  }

  .slide {
    margin-top: 30px;
  }
}

/* ✅ Extra Small Devices */
@media (max-width: 480px) {
  .top-banner {
    height: 35vh;
  }

  .slide {
    margin-top: 3dvh;
  }
}
.banner-whatsapp-btn {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #012c60;
  color: white;
  padding: 12px 50px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  font-size: 20px;
  white-space: nowrap;
  border: 1px solid #ffffff;
}

/* Hover effect */
.banner-whatsapp-btn:hover {
  background-color: #e2ae3f;
}

/* ✅ Tablet screens */
@media (max-width: 1024px) {
  .banner-whatsapp-btn {
    font-size: 18px;
    padding: 10px 20px;
    top: 85%;
  }
}

/* ✅ Mobile screens */
@media (max-width: 768px) {
  .banner-whatsapp-btn {
    font-size: 16px;
    padding: 8px 16px;
    top: 80%;
  }
}

/* ✅ Extra small screens */
@media (max-width: 480px) {
  .banner-whatsapp-btn {
    font-size: 14px;
    padding: 7px 14px;
    top: 80%;
  }
}

/*deals section*/
.deals-section {
  max-width: 1200px;
  margin: auto;
  padding: 25px 20px;
  font-family: "Segoe UI", sans-serif;
}

/* Deal Tabs Container */
.deals-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Individual Deal Tab */
.deal-tab {
  padding: 12px 24px;
  background-color: #012c60;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  text-transform: uppercase;
  font-size: 18px;
}

.deal-tab:hover {
  background-color: #e2ae3f;
  color: #012c60;
}

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
  .deals-tabs {
    gap: 30px;
  }

  .deal-tab {
    font-size: 16px;
    padding: 10px 18px;
  }
}

/* Small Screens (Mobiles) */
@media (max-width: 768px) {
  .deals-tabs {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .deal-tab {
    width: 80%;
    text-align: center;
    font-size: 16px;
  }
}

/* Extra Small Screens */
@media (max-width: 480px) {
  .deal-tab {
    font-size: 14px;
    padding: 8px 14px;
  }
}

/* Deal Cards Wrapper */
.deal-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.deal-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  width: 100%;
  border: 1px solid #aaaaaa;
}

.deal-image {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.deal-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #012c60;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
}

.deal-info {
  padding: 20px;
  position: relative;
}

.price-corner {
  position: absolute;
  top: 70px;
  right: 50px;
  z-index: 2;
  display: flex;
  flex-direction: column; /* 👈 Makes old and new prices stack vertically */
  align-items: flex-end; /* 👈 Align text to the right */
}

.old-price {
  text-decoration: line-through;
  color: #000000;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px; /* 👈 space between old and new */
}

.new-price {
  color: #d62828;
  font-weight: 800;
  font-size: 38px;
  margin: 0; /* remove any left margin */
}

.countdown-corner {
  position: absolute;
  top: 170px; /* same vertical position as price-corner */
  right: 50px; /* same horizontal position as price-corner */
  z-index: 3;
  display: flex;
  flex-direction: row; /* changed from column to row */
  align-items: center; /* vertically center items */
  gap: 10px;
  background: rgba(
    255,
    255,
    255,
    0.9
  ); /* slightly transparent bg for readability */

  min-width: 90px;
}

.time-number {
  font-size: 2rem; /* slightly smaller to fit corner */
  color: #012c60;
  font-weight: bold;
  padding: 5px 10px;
  border: 2px solid #051d3a;
  border-radius: 8px;
  min-width: 50px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.time-label {
  font-size: 0.8rem;
  margin-top: 3px;
  color: #555;
  text-align: center;
}

/* 🔁 Tablet & below */
@media (max-width: 768px) {
  .price-corner {
    top: 80px;
    right: 20px;
  }

  .old-price {
    font-size: 20px;
  }

  .new-price {
    font-size: 24px;
  }

  .countdown-corner {
    top: 160px;
    right: 20px;
    padding: 6px 10px;
    gap: 6px;
  }

  .time-number {
    font-size: 16px;
    min-width: 40px;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .price-corner {
    top: 45px;
    right: 10px;
  }

  .old-price {
    font-size: 16px;
  }

  .new-price {
    font-size: 20px;
  }

  .countdown-corner {
    top: 95px;
    right: 0px;
    /* REMOVE flex-direction: column */
    flex-direction: column; /* 👈 Ensures it stays horizontal */
    align-items: center; /* 👈 Aligns items in the middle */
    gap: 6px; /* 👈 Adds spacing between items */
    padding: 6px 8px;
  }

  .time-number {
    font-size: 14px;
    min-width: 40px;
    padding: 4px 6px;
  }

  .time-label {
    font-size: 0.7rem;
  }
}

.deal-info h3 {
  font-size: 22px;
  color: #012c60;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.deal-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.deal-features li {
  list-style: none;
  margin-bottom: 6px;
  color: #333;
}

.deal-features li::before {
  content: "\2714\0020";
  color: green;
}

.deal-progress {
  background: #ddd;
  height: 10px;
  border-radius: 5px;
  margin: 10px 0;
  overflow: hidden;
  width: 60%;
}

.deal-progress-bar {
  height: 100%;
  background: #012c60;
}

.deal-actions {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.btn-details,
.btn-book {
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none; /* Remove underline */
}

.btn-details {
  background-color: transparent;
  color: #012c60;
  border: 2px solid #012c60;
}

.btn-book {
  background: #e2ae3f;
  color: #000;
}

.btn-details:hover {
  background-color: #012c60;
  color: #fff;
}

.btn-book:hover {
  background-color: #012c60;
  color: #fff;
}

@media (min-width: 768px) {
  .deal-card {
    flex-direction: row;
  }

  .deal-image {
    flex: 1;
    height: auto;
  }

  .deal-info {
    flex: 2;
  }
}

/* footer */
footer {
  background: url("https://dxk1acp76n912.cloudfront.net/images/homepage/waterma.png")
    no-repeat center center;
  background-size: cover;
  color: #ffffff;
  padding: 30px 20px; /* Adjust padding as needed */
  text-align: center;
  margin-top: 40px;
}

/* Footer Logo */
.footer-logo {
  position: relative; /* Changed from absolute to relative */
  padding: 10px;
  width: 140px; /* Adjusted the width as per your requirement */
  height: auto; /* Keeps the aspect ratio of the logo */
  margin: 0 auto;
  font-weight: bold;
  margin-top: 40px;
}

.footer-logo img {
  width: 240%; /* Ensure the image fills the container */
  height: auto;
  margin-top: -300px !important;
  margin-left: -80px;
}
.footer-social {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;
  gap: 20px;
  font-size: 1.4rem;
  text-align: center;
  margin-top: -5px !important;
}

.footer-social a {
  color: white;
}

/* Footer Content Section */
.footer-content {
  max-width: 1200px;
  margin: auto;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 10px;
  gap: 5;
  text-align: center; /* Ensure text is centered */
}

.footer p a {
  color: #ffffff;
  text-decoration: none;
}

.footer p a:hover {
  text-decoration: none;
}

.footer p a:active {
  color: #f0a500; /* Optional color change on click */
}

.payment-box {
  background-color: white;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1px 0; /* Add some vertical padding */
  text-align: center;
  box-sizing: border-box;
  height: 60px;
}

.inline-payment-icons {
  display: inline-flex;
  flex-wrap: wrap; /* Wrap on small screens */
  justify-content: center;
  gap: 15px;
  align-items: center;
  opacity: 1;
}

/* Base icon size for large screens */
.inline-payment-icons img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.inline-payment-icons img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments */

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991px) {
  .inline-payment-icons img {
    height: 45px; /* Slightly smaller icons */
  }
}

/* Small devices (mobiles, less than 768px) */
@media (max-width: 768px) {
  .inline-payment-icons img {
    height: 45px; /* Smaller icons for small screens */
  }

  .payment-box {
    padding: 8px 5px; /* Less padding on very small screens */
    height: 60px;
  }
}

/* Very small devices (extra small phones, less than 480px) */
@media (max-width: 479px) {
  .inline-payment-icons {
    gap: 10px; /* Less gap on very small screens */
  }

  .inline-payment-icons img {
    height: 32px; /* Smallest icons */
  }
  .payment-box {
    height: 50px;
  }
}
/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 20px 10px; /* Adjust padding for smaller screens */
    height: auto; /* Remove fixed height for flexibility */
    font-size: 14px; /* Slightly smaller font size for mobile */
    flex-direction: column; /* Stack elements vertically */
  }

  .footer-logo {
    position: relative; /* Changed from absolute to relative */
    padding: 10px;
    width: 140px; /* Adjusted the width as per your requirement */
    height: auto; /* Keeps the aspect ratio of the logo */
    margin: 0 auto;
    margin-top: 40px;
  }

  .footer-logo img {
    width: 240%; /* Ensure the image fills the container */
    height: auto;
    margin-top: -300px !important;
    margin-left: -80px;
  }

  .footer-social {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    text-align: center;
  }

  .footer-social a {
    color: white;
  }

  /* Footer Content Adjustments */
  .footer-content {
    font-size: 14px; /* Adjust text size for mobile */
    margin-top: 20px; /* Reduce margin-top */
    line-height: 1.5;
  }
}
