@import url('https://fonts.googleapis.com/css?family=Cabin:500,600,700|Kanit:200,300,300i,400');

body, html {
  margin: 0;
  font-family:'Cabin', Helvetica, Arial, sans-serif ;font-size:17px;font-weight:normal;
}

.fade {
  animation: fadeEffect 1.5s ease;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* ===== TOP BAR (Desktop) ===== */
.top-bar {
  background:#2A3974;
  color: #fff;
  padding: 6px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px; height:25px;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icons a {
  color: #fff;
  margin-right: 10px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffdd00;
}

.contact-link, .phone-link {
  color: #fff;
  text-decoration: none;
}

/* ===== MOBILE BLACK BAR ===== */
.mobile-bar {
  display: none;
  background: #0a0a0a;
  color: #fff;
  padding: 10px 5%;
  height: 65px;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.mobile-bar a, .mobile-bar span {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.follow-toggle.active {
  background: #004b75;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-social {
  display: none;
  gap: 10px;
  align-items: center;
}

.mobile-social.active {
  display: flex;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0; background:#F8F9FC;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:3px 8%;
}

.logo {
  width:150px;
  object-fit: contain;
}
/*@media (max-width: 900px) {
  .logo {
    height: 70px;
  }
}
 Desktop Menu */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  position: relative;
  margin-left: 25px;
}

.nav-links a {
  color:#08205B;
  text-decoration: none;
  font-weight: 600;
  padding: 8px;
  transition: color 0.3s; font-size:20px;
}

.nav-links a:hover {
  color:#2A3974;
}
.nav-links a {
  position: relative;
  padding-bottom: 6px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background:#2A3974;
  transition: width 0.35s ease;
}
.nav-links a active { color:#E8741F;
}
.nav-links a:hover::after {
  width: 100%;
}
/* Dropdown (desktop) */
/* ---------- MEGA MENU (Desktop) ---------- */
.dropdown-content {
  position: absolute;
  left: 0;
  top:32px;
  width:200px;  /* wider like Hilton vacations */
  background: #fff;
  padding: 20px;
  display: none;
  grid-template-columns: 1fr;
  gap: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.dropdown:hover .dropdown-content {
  display: grid;
}

.dropdown-content a {
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 4px;
  color: #002856;
  transition: 0.25s;
}

.dropdown-content a:hover {
  background: #f3f7fe;
  color: #004b75;
}

/* Hamburger */
.menu-toggle {
  display: none;
  color:#071C32;
  font-size: 30px;
  cursor: pointer;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  height: 100vh;
  z-index: 999;
  overflow-y: auto;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  border-bottom: 1px solid #ddd;
}

.menu-logo {
  object-fit: contain;
}

.cancel-btn {
  font-size: 28px;
  cursor: pointer;
}

.mobile-menu-list {
  list-style: none;
  padding: 20px 8%;
  margin: 0;
}

.mobile-menu-list li {
  margin: 15px 0;
}

.mobile-menu-list a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.mobile-menu-list a:hover {
  color: #004b75;
}

/* Submenu (mobile) */
.dropdown-submenu {
  list-style: none;
  margin: 8px 0 0 15px;
  padding-left: 10px;
  display: none;
}

.dropdown-submenu li {
  margin: 8px 0;
}

.dropdown-submenu a {
  font-size: 15px;
  color: #333;
}

.dropdown-submenu.active {
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .top-bar { display: none; }
  .mobile-bar { display: flex; height:auto; }
  .menu-toggle { display: block; }
  .nav-links { display: none; }
}



/* Slideshow */
.slider-container {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* Overlay Text */
.text-overlay {
 position: absolute;
  top: 50%; /* Centers the text vertically */
  left: 50%; /* Centers the text horizontally */
  transform: translate(-50%, -50%); /* Adjust for exact centering */
  color: white;
  font-size:22px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  text-align: center;
  z-index: 10;
}

.book-now-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color:#ffdd00;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 15px;
  font-size: 18px;
  transition: background-color 0.3s, transform 0.3s;
  text-align: center;
}

.book-now-btn:hover {
  background-color:#2563eb; transform: scale(1.05);
}

/* Navigation Buttons */
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  font-size: 20px;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.prev-btn:hover, .next-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}






@media (max-width: 768px) {
  .slider-container {
    height: 300px; /* Adjusted height for mobile */
  }

  .text-overlay {
    font-size: 20px;
    bottom: 15px;
  }

  .book-now-btn {
    font-size: 16px;
    padding: 8px 15px;
  }

  .prev-btn, .next-btn {
    font-size: 24px;
    padding: 12px;
  }
}

/*amenities*/

  h2 {
    text-align: center;
    font-size: 2.1rem;
    margin:0px 0 50px 0;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .flip-card {
    height: 260px;
    perspective: 1000px;
  }
  .flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
  }
  .flip-card:hover .flip-inner,
  .flip-card:focus-within .flip-inner {
    transform: rotateY(180deg);
  }
  .front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 18px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  }
  .front {
    background: linear-gradient(135deg, #1b3281 0%, #598bc7 100%)
  }
  .back {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    transform: rotateY(180deg);
  }
  .front i {
    font-size: 2.8rem;
    margin-bottom: 16px; color:#fff;
  }
  .front h3 {
    font-size: 1.35rem; color:#fff;
    margin: 0;
  }
  .back p {
    font-size:1.3rem; color:#fff;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    padding: 0 10px;
  }
  @media (max-width: 480px) {
    .flip-card { height: 220px; }
    .front i { font-size: 2.4rem; }
    .front h3 { font-size: 1.2rem; }
    .back p { font-size: 0.9rem; }
  }
  
  
/*  Rooms*/

/* ROOMS SECTION */
.rooms-section {
  padding:40px 8%;
  background: #f8f9fc;
  text-align: center;
}

.rooms-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #1b3281;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.room-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.room-card:hover {
  transform: translateY(-10px);
}

.room-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.room-content {
  padding: 20px;
}

.room-content h3 {
  margin-bottom: 10px;
  color: #002856;
}

.room-content p {
  font-size: 15px;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ffdd00;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #1b3281;
  color: #fff;
}

/*Rooms*/

/* ATTRACTIONS SECTION */
.attractions-section {
  padding: 60px 8%;
  background: #ffffff;
  text-align: center;
}

.attractions-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #1b3281;
}

.attraction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.attraction-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.attraction-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Zoom */
.attraction-card:hover img {
  transform: scale(1.1);
}

/* Overlay */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  text-align: left;
  transition: 0.4s;
}

.overlay h3 {
  margin: 0;
  font-size: 20px;
}

.overlay p {
  font-size: 14px;
  margin-top: 5px;
}

/* Hover Effect */
.attraction-card:hover .overlay {
  background: rgba(0,0,0,0.85);
}




/* ATTRACTIONS SLIDER */
.attractions-slider {
  padding: 60px 8%;
  background: #f8f9fc;
  text-align: center;
}

.attractions-slider h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #1b3281;
}

.slider-wrapper {
  position: relative;
}

.attr-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.attr-slider::-webkit-scrollbar {
  display: none;
}

.attr-card {
  min-width: 280px;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: 0.4s;
}

.attr-card:hover {
  transform: translateY(-8px);
}

.attr-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.attr-info {
  padding: 15px;
  text-align: left;
}

.attr-info h3 {
  margin: 0;
  font-size: 18px;
  color: #002856;
}

.attr-info p {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

/* Buttons */
.attr-prev, .attr-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #1b3281;
  color: #fff;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.attr-prev { left: -10px; }
.attr-next { right: -10px; }

.attr-prev:hover, .attr-next:hover {
  background: #ffdd00;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .attr-prev, .attr-next {
    display: none;
  }
}