/* ===== CSS Variables ===== */
:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --accent: #c9a227;
  --accent-dark: #a8861e;
  --gold: #d4af37;
  --white: #ffffff;
  --off-white: #f8f5f0;
  --gray: #6b7280;
  --dark: #111827;
  --text: #374151;
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__subtitle {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 15px;
}

.section__desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: var(--primary);
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(26, 26, 46, 0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 1px;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(22,33,62,0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero__title span {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__desc {
  max-width: 500px;
  margin: 0 auto 35px;
  font-size: 1.05rem;
  opacity: 0.9;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero__scroll a {
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about__content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.about__content p {
  margin-bottom: 15px;
  color: var(--gray);
}

.about__features {
  margin: 25px 0;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

.about__features i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ===== Rooms ===== */
.rooms {
  background: var(--white);
}

.rooms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.room-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.room-card.featured {
  border: 2px solid var(--accent);
}

.room-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.room-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.room-card__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.room-card__body {
  padding: 25px;
}

.room-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.room-card__type {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.room-card__desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.room-card__price {
  margin-bottom: 18px;
}

.room-card__price .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.room-card__price .per {
  color: var(--gray);
  font-size: 0.9rem;
}

.rooms__note {
  text-align: center;
  margin-top: 40px;
  color: var(--gray);
}

.rooms__note i {
  color: var(--accent);
  margin-right: 6px;
}

/* ===== Gallery ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 15px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* ===== Amenities ===== */
.amenities {
  background: var(--primary);
  color: var(--white);
}

.amenities .section__subtitle {
  color: var(--accent);
}

.amenities .section__title {
  color: var(--white);
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.amenity {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}

.amenity:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.amenity__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.amenity h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.amenity p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact__info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 25px;
}

.contact__item {
  display: flex;
  gap: 18px;
  margin-bottom: 25px;
}

.contact__item i {
  width: 45px;
  height: 45px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact__item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact__item p,
.contact__item a {
  color: var(--gray);
}

.contact__item a:hover {
  color: var(--accent);
}

.payment-info {
  margin-top: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.payment-info h4 {
  color: var(--primary);
  margin-bottom: 15px;
}

.payment-info .bank {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.payment-info .bank:last-child {
  margin-bottom: 0;
}

.contact__form-wrap {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact__form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 25px;
}

.form__group {
  margin-bottom: 18px;
}

.form__group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.9rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--off-white);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form__note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--accent);
}

.footer__brand p {
  opacity: 0.8;
}

.footer__tagline {
  margin-top: 10px;
  font-style: italic;
  color: var(--accent);
}

.footer__links h4,
.footer__contact h4 {
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.footer__links a {
  opacity: 0.8;
  display: block;
  margin-bottom: 10px;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer__contact p {
  margin-bottom: 10px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__contact i {
  color: var(--accent);
  width: 18px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__close:hover {
  color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__image img {
    height: 350px;
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--primary);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }

  .nav__menu.show {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 25px;
  }

  .nav__toggle,
  .nav__close {
    display: block;
  }

  .nav__close {
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .rooms__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery__item.large {
    grid-column: span 2;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__contact p {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery__item.large {
    grid-column: span 1;
  }

  .contact__form-wrap {
    padding: 25px 20px;
  }
}
