* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: #1a2234;
  background: #f7f3ec;
  overflow-x: hidden;
}

.top-header {
  background: #ffffff;
  min-height: 150px;
  position: relative;
  z-index: 10;
  margin-bottom: -2px;
}

.header-inner {
  max-width: 1250px;
  margin: auto;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
  position: relative;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.logo-img {
  width: 130px;
  height: auto;
  display: block;
  margin: 0 auto -25px;
}

.brand h1 {
  font-size: 42px;
  color: #111a31;
  font-weight: 400;
  letter-spacing: 6px;
}

.brand span {
  color: #c99b4f;
  font-size: 20px;
  letter-spacing: 6px;
}

.contact-btn,
.book-top {
  text-decoration: none;
  color: #111a31;
  font-weight: bold;
  font-size: 15px;
}

.contact-btn {
  padding: 15px 35px;
  background: #fff;
  border-bottom: 4px solid #767a83;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  position: absolute;
  right: 40px;
}

.book-top {
  background: #d1a65b;
  color: white;
  padding: 18px 38px;
  border-radius: 14px;
}

.main-nav {
  width: 80%;
  margin: 0 auto;
  background: #111827;
  min-height: 70px;
  border-radius: 0 0 34px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  position: relative;
  top: auto;
  z-index: 20;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.main-nav a {
  text-decoration: none;
  color: #d1a65b;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 24px 0 18px;
}

.main-nav a.active,
.main-nav a:hover {
  color: #fff;
  border-bottom: 3px solid #d1a65b;
}

.hero {
  background-image: url('images.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 120vh;
  margin-top: -68px;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.48), rgba(0,0,0,0.12));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 280px;
  margin-left: 9%;
  color: white;
  max-width: 540px;
}

.hero-content h2 {
  font-size: 52px;
  line-height: 1.15;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-content h3 {
  margin-top: 12px;
  font-size: 25px;
  font-family: Arial, sans-serif;
}

.hero-content p {
  margin: 25px 0;
  font-size: 18px;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: #d1a65b;
  padding: 18px 34px;
  border-radius: 30px;
  font-family: 'Times New Roman', Times, serif, ;
}

.booking-box {
  width: 82%;
  margin: -70px auto 60px;
  background: #111827;
  color: white;
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.1fr;
  gap: 18px;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.booking-item label {
  display: block;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
}

.booking-item input,
.booking-item select {
  width: 100%;
  padding: 17px;
  border: none;
  border-radius: 6px;
}

.booking-box button,
form button {
  border: none;
  background: #d1a65b;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  padding: 17px;
}

#bookingResult {
  grid-column: 1 / -1;
  text-align: center;
  font-family: Arial, sans-serif;
}

.section {
  padding: 80px 10%;
  text-align: center;
}

.section h2 {
  font-size: 38px;
  margin-bottom: 25px;
  color: #111827;
}

.section p {
  max-width: 850px;
  margin: 0 auto 20px;
  line-height: 1.8;
  font-family: Arial, sans-serif;
}

.dark-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
}

.dark-section h2 {
  color: #d1a65b;
}

.info-grid,
.card-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 35px;
}

.info-grid div,
.card,
.room-card,
.gallery-grid div {
  background: white;
  color: #111827;
  padding: 0px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  line-height: 1.8;
}

.dark-section .card {
  background: #1c2435;
  color: white;
  border: 1px solid rgba(209,166,91,0.4);
}

.card {
  transition: all 0.35s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  background: #24304a;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  border-color: #d1a65b;
}

.card h3,
.room-card h3 {
  color: #d1a65b;
  margin-bottom: 15px;
}

.facility-list {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.facility-list span {
  border: 1px solid #d1a65b;
  padding: 15px 25px;
  border-radius: 30px;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-grid div {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d1a65b, #111827);
  color: white;
  font-weight: bold;
  transition: all 0.35s ease;
  cursor: pointer;
}

.gallery-grid div:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0,0,0,0.35);
  background: linear-gradient(135deg, #e0b56d, #1b2740);
}

.form-section {
  background: #f7f3ec;
}

form {
  max-width: 850px;
  margin: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

form textarea {
  min-height: 55px;
}

#formMessage {
  margin-top: 20px;
  font-weight: bold;
}

.contact-section {
  background: white;
}

footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 25px;
  font-family: Arial, sans-serif;
}

@media (max-width: 900px) {
  .header-inner,
  .main-nav,
  .booking-box,
  .info-grid,
  .card-grid,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .main-nav {
    width: 95%;
    gap: 12px;
    padding: 18px;
  }

  .booking-box {
    width: 92%;
    display: grid;
  }

  .hero-content h2 {
    font-size: 38px;
  }
}

/* RESPONSIVE UNTUK HP */
@media (max-width: 768px) {
  .top-header {
    min-height: 120px;
  }

  .header-inner {
    height: 120px;
    padding: 0 15px;
    justify-content: center;
  }

  .brand {
    position: static;
    transform: none;
  }

  .logo-img {
    width: 70px;
    margin: 0 auto -15px;
  }

  .brand h1 {
    font-size: 32px;
    letter-spacing: 5px;
  }

  .brand span {
    font-size: 16px;
    letter-spacing: 8px;
  }

  .contact-btn {
    position: absolute;
    right: 12px;
    top: 78px;
    padding: 10px 18px;
    font-size: 12px;
  }

  .main-nav {
    width: 92%;
    margin: 0 auto;
    min-height: auto;
    padding: 18px 10px;
    gap: 18px;
    border-radius: 0 0 28px 28px;
  }

  .main-nav a {
    padding: 8px 0;
    font-size: 14px;
  }

  .hero {
    height: 100vh;
    margin-top: -20px;
    background-position: center;
  }

  .hero-content {
    padding-top: 210px;
    margin-left: 7%;
    max-width: 85%;
  }

  .hero-content h2 {
    font-size: 34px;
  }

  .hero-content h3 {
    font-size: 18px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .booking-box {
    width: 92%;
    margin: -35px auto 40px;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .info-grid,
  .card-grid,
  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 55px 6%;
  }

  .section h2 {
    font-size: 30px;
  }
}

/* NAVBAR HP SCROLL KE SAMPING */
@media (max-width: 768px) {

  .main-nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    display: flex;
    flex-wrap: nowrap;

    justify-content: flex-start;
    gap: 30px;

    padding: 16px 20px;

    white-space: nowrap;

    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 12px 0;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

}

/* FIX BIAR WEB TIDAK IKUT GESER KE SAMPING */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  max-width: 100%;
}

/* NAVBAR HP DOANG YANG BISA SCROLL SAMPING */
@media (max-width: 768px) {
  .main-nav {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;
    justify-content: flex-start;

    gap: 30px;
    padding: 15px 18px;

    position: relative;
    top: auto;
    border-radius: 0;

    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    max-width: none;
  }

  .hero {
    width: 100%;
    margin-top: 0;
  }

  .top-header {
    width: 100%;
    overflow: hidden;
  }
}

html, body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.room-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 0;
    cursor: pointer;
}

.room-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.room-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 25px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0)
    );
}

.room-overlay h3 {
    color: white;
    margin: 0;
    font-size: 28px;
    letter-spacing: 2px;
}

.room-card:hover img {
    transform: scale(1.08);
}

.room-card {
    margin-bottom: 20px;
}

.facility-list span {
    border: 1px solid #d1a65b;
    padding: 15px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.facility-list span:hover {
    background: #d1a65b;
    color: #111827;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(209,166,91,0.4);
}

.facility-list span:active {
    transform: scale(0.95);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:14px 14px 0 0;
}

.card {
    background: #1c2435;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 30px;
}

.card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.offer-content {
    padding: 20px;
    text-align: center;
}

.offer-content h3 {
    color: #d1a65b;
    margin: 0;
    font-size: 28px;
}

.card {
    position: relative;
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;

    background: #d1a65b;
    color: #111827;

    padding: 10px 18px;
    border-radius: 25px;

    font-weight: bold;
    font-size: 14px;

    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.offers-section {
  background: radial-gradient(circle at top, #14223a, #07101f 70%);
  padding: 80px 5%;
}

.offers-section h2 {
  color: #d1a65b;
  font-size: 52px;
  margin-bottom: 20px;
}

.title-line {
  width: 220px;
  height: 1px;
  background: #d1a65b;
  margin: 0 auto 45px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.offer-card {
  background: linear-gradient(180deg, #071526, #0b1628);
  border: 1px solid #d1a65b;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
  transition: .35s ease;
}

.offer-card:hover {
  transform: translateY(-10px);
}

.offer-img-wrap {
  position: relative;
}

.offer-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.offer-ribbon {
  position: absolute;
  top: 0;
  right: 35px;
  background: #d1a65b;
  color: #07101f;
  padding: 18px 14px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

.offer-content {
  padding: 35px 30px;
  text-align: center;
}

.offer-icon {
  color: #d1a65b;
  font-size: 34px;
  margin-bottom: 18px;
}

.offer-content h3 {
  color: #d1a65b;
  font-size: 28px;
  margin-bottom: 22px;
}

.offer-content p {
  color: white;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.offer-btn {
  display: inline-block;
  background: #d1a65b;
  color: #07101f;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 30px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  transition: .3s;
}

.offer-btn:hover {
  background: #e7c27a;
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offers-section h2 {
    font-size: 40px;
  }
}

.event-section {
  background: #0f172a;
  padding: 70px 6%;
}

.event-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d1a65b;
}

.event-hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.event-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75),
    rgba(0,0,0,.15)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.event-overlay h2 {
  color: #d1a65b;
  font-size: 56px;
  margin-bottom: 20px;
}

.event-overlay p {
  color: white;
  max-width: 760px;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1.7;
}

.event-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 35px;
}

.event-box {
  background: #111827;
  border: 1px solid #d1a65b;
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  color: white;
  transition: .3s;
}

.event-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.event-box h3 {
  color: #d1a65b;
  font-size: 32px;
  margin-bottom: 15px;
}

.event-box p {
  font-family: Arial, sans-serif;
  line-height: 1.7;
  margin-bottom: 25px;
}

.event-box a {
  display: inline-block;
  background: #d1a65b;
  color: #111827;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 30px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

@media (max-width: 768px) {
  .event-hero img {
    height: 360px;
  }

  .event-overlay h2 {
    font-size: 36px;
  }

  .event-overlay p {
    font-size: 16px;
  }

  .event-options {
    grid-template-columns: 1fr;
  }
}

.gallery-section {
    padding: 80px 6%;
    background: linear-gradient(135deg,#071526,#10203b);
}

.gallery-section h2 {
    text-align: center;
    color: #d1a65b;
    font-size: 52px;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    border: 1px solid rgba(209,166,91,.3);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: .5s ease;
}

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

.gallery-item:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,.4);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 180px;
    }
}

.facilities-section {
    padding: 80px 6%;
    background: linear-gradient(135deg,#071526,#10203b);
}

.facilities-section h2 {
    text-align: center;
    color: #d1a65b;
    font-size: 52px;
    margin-bottom: 40px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.facility-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 280px;
    cursor: pointer;
    border: 1px solid rgba(209,166,91,.25);
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.facility-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.1)
    );

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-bottom: 25px;
}

.facility-overlay h3 {
    color: white;
    font-size: 28px;
    text-align: center;
}

.facility-card:hover img {
    transform: scale(1.1);
}

.facility-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

@media (max-width: 768px) {

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facility-card {
        height: 200px;
    }

    .facility-overlay h3 {
        font-size: 20px;
    }

}

.view-more-btn{
    display:inline-block;
    margin-top:25px;

    color:#d1a65b;
    text-decoration:none;

    font-size:18px;
    font-weight:600;
    letter-spacing:1px;

    transition:.3s ease;
}

.view-more-btn:hover{
    color:#f0c879;
    transform:translateX(8px);
}