
/* VARIABLES */
:root {
  --primary: #0a2e4c;
  --accent: #c9a96e;
  --white: #fff;
  --text-dark: #222;
}

/* FONTS */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* LAYOUT */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(10, 46, 76, 0.95);
  color: var(--white);
  padding: 0.75rem 0;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.header.sticky {
  background-color: rgba(10, 46, 76, 0.99);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
}

.main-nav .nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.3s color;
}

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

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

.nav-link:hover::after {
  width: 100%;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: 0.3s transform, 0.3s opacity;
}

.mobile-menu {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 0;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu .nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 2rem;
}

.close-mobile-menu {
  display: block;
  width: 100%;
}

/* HERO */
.hero {
  height: 100vh;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(10, 46, 76, 0.8),
    rgba(10, 46, 76, 0.6)
  );
}

.hero-content {
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0 0 0.5rem 0;
}

.hero p {
  font-size: 1.1rem;
  margin: 0 0 1.5rem 0;
}

/* BUTTONS */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s background-color, 0.3s transform;
}

.btn:hover {
  background-color: #d4b578;
  transform: translateY(-2px);
}

.btn-fullwidth {
  width: 100%;
}

/* SECTION */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

/* ROOMS */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.room-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s transform, 0.3s box-shadow;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.room-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.room-info {
  padding: 1rem;
}

.room-info h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.gallery-item {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom‑in;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s transform;
}

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

/* CONTACT & MAP */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  padding-right: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
}

/* FORMS */
.booking-form-container {
  padding: 1.5
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 6px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  transition: 0.2s color;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-content h3 {
  margin-bottom: 1rem;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

#lightboxImg {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 6px;
}

/* STICKY HEADER */
.header.sticky {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #25d366;
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: 0.2s transform;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

/* ANIMATIONS – FADE IN ON SCROLL (basic) */
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s opacity, 0.6s transform;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE – 768px */
@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    top: 60px;
  }

  .hero {
    height: 80vh;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* RESPONSIVE – 480px */
@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .room-card img {
    height: 160px;
  }

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

  .modal-content {
    padding: 1.5rem;
    max-width: 420px;
  }
}

/* MOBILE MENU ANIMATION */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
