/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  color: white;
  font-family: 'Poppins', sans-serif;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 50px;

  background: rgba(0, 0, 0, 0.3);   /* transparent */
  backdrop-filter: blur(10px);      /* 👈 MAIN BLUR */
  -webkit-backdrop-filter: blur(10px); /* Safari support */

  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
}

/* HERO SECTION */
.hero {
  position: relative;
  margin-top: 80px;
}

/* MAIN IMAGE */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* SLIDER BACKGROUND */
.slide {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  object-fit: cover;

  opacity: 0;
  transition: opacity 2s ease-in-out;

  z-index: -1;
}

.slide.active {
  opacity: 0.3;
}

/* BUTTON CENTER */
.hero-content {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

/* PREMIUM BUTTON */
.btn {
  background: linear-gradient(45deg, gold, #d4af37);
  color: black;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255,215,0,0.4);
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(255,215,0,0.7);
}

/* ROOMS */
#rooms {
  padding: 80px 20px;
  text-align: center;
}

.rooms {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.card {
  border: 1px solid gold;
  padding: 20px;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255,215,0,0.3);
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.4s;
}

.gallery img:hover {
  transform: scale(1.08);
}

/* BOOKING */
form {
  display: flex;
  flex-direction: column;
  width: 300px;
  margin: auto;
}

input, button {
  margin: 10px;
  padding: 10px;
}

/* MAP */
.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 12px 15px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* FADE ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media(max-width: 768px) {

  nav {
    flex-direction: column;
    text-align: center;
  }

  .rooms {
    flex-direction: column;
  }

  .gallery {
    grid-template-columns: repeat(2,1fr);
  }

  .hero-content {
    top: 70%;
  }
  form {
    background: #111;
    padding: 20px;
    border-radius: 10px;
  }
  
  input, select, button {
    border: none;
    border-radius: 5px;
  }
  
  button {
    background: gold;
    color: black;
    cursor: pointer;
  }
}
/* BOOKING SECTION */
.booking-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #0a0a0a, #111);
}

.booking-title {
  font-size: 36px;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
  color: gold;
}

/* FORM */
.booking-form {
  max-width: 400px;
  margin: auto;
  padding: 30px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255,215,0,0.3);
}

/* INPUT BOX */
.input-box {
  position: relative;
  margin-bottom: 25px;
}

.input-box input,
.input-box select {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  color: white;
  outline: none;
}

/* LABEL */
.input-box label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 14px;
  pointer-events: none;
  transition: 0.3s;
}

/* FLOAT EFFECT */
.input-box input:focus + label,
.input-box input:valid + label,
.input-box select:focus + label,
.input-box select:valid + label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: gold;
  background: #0a0a0a;
  padding: 0 5px;
}

/* BUTTON */
.book-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(45deg, gold, #d4af37);
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.book-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255,215,0,0.5);
}
.input-box input[type="date"] + label {
  top: -8px;
  font-size: 12px;
  color: gold;
}
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: gold;
  z-index: 2000;
}
nav.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.6);
}
.call-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: gold;
  color: black;
  padding: 12px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
}
html {
  scroll-behavior: smooth;
}
.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1.2s ease;
}
nav {
  border-bottom: 1px solid rgba(255,215,0,0.2);
}
.fixed-label {
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: gold;
  background: #0a0a0a;
  padding: 0 5px;
}