*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #020617;
  --bg-alt: #050816;
  --card: rgba(15, 23, 42, 0.95);
  --accent: #fbbf24;
  --accent-soft: rgba(251, 191, 36, 0.14);
  --accent-strong: #f59e0b;
  --text: #f9fafb;
  --muted: #a1a1aa;
  --border-subtle: rgba(148, 163, 184, 0.28);
  --radius-lg: 18px;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.65);
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #020617, #020617 40%, #020617 100%);
}

/* Layout */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0 5.5rem;
}

.section.alt {
  background: radial-gradient(circle at top right, #020617 0, #020617 55%);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.section-header {
  text-align: center;
}

.section-header.left {
  text-align: left;
}

.section-intro {
  margin: 0.75rem auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.section-header.left .section-intro {
  margin-left: 0;
}

.section-footer-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Typography */

.eyebrow {
  letter-spacing: 0.21em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

h1, h2, h3 {
  margin: 0.25rem 0;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.12rem;
}

/* Header / nav */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.86));
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6));
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav {
  position: relative;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: transform 0.2s ease-out;
}

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

.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Language selector */

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease-out, color 0.16s ease-out;
}

.lang-btn.active {
  background: radial-gradient(circle at top left, var(--accent-strong), var(--accent));
  color: #0f172a;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: none;
  padding: 0;
  margin-left: 1rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease, translate 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  translate: 0 3px;
}

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

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  translate: 0 -3px;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/pathaya-hotel.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.05);
  transition: transform 8s ease-out;
}

.hero.fade-in-on-load.loaded .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.96) 60%, #020617 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4.5rem;
  max-width: 640px;
}

.hero-subtitle {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 2.4rem;
}

/* Buttons */

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, background 0.16s ease-out, border-color 0.16s ease-out;
}

.btn.primary {
  background: radial-gradient(circle at top left, var(--accent-strong), var(--accent));
  color: #0f172a;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.95);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn.ghost:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.75);
}

.btn.fullwidth {
  width: 100%;
}

/* Hero meta */

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  font-size: 0.8rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-size: 0.68rem;
  margin-bottom: 0.25rem;
}

.meta-value {
  font-weight: 500;
}

/* Cards & grids */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.room-card h3 {
  margin-bottom: 0.3rem;
}

.room-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.room-list {
  margin: 0.8rem 0 0.75rem;
  padding-left: 1.1rem;
  color: #e5e7eb;
  font-size: 0.9rem;
  line-height: 1.6;
}

.room-list li + li {
  margin-top: 0.15rem;
}

.room-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Restaurant */

.restaurant-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: start;
}

.restaurant-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.restaurant-item h3 {
  margin-bottom: 0.15rem;
}

.restaurant-item p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.restaurant-sidecard h3 {
  margin-bottom: 0.8rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.45);
}

.small-text {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: start;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.contact-details h3 {
  margin-bottom: 0.3rem;
}

.contact-details p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

label {
  font-size: 0.82rem;
  color: var(--muted);
}

input,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.6rem 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out, background 0.16s ease-out;
}

textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.45);
}

.form-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: #020617;
  padding: 1.6rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Animations / reveal */

.fade-in-on-load {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-on-load.loaded {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* Responsive */

@media (max-width: 960px) {
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restaurant-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-meta {
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
    --header-height: 64px;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .header-right {
    gap: 0.75rem;
  }

  .main-nav ul {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 18px;
    padding: 0.75rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  }

  .main-nav.open ul {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-toggle {
    display: block;
  }

  .lang-switcher {
    display: none;
  }

  .hero {
    align-items: flex-end;
  }

  .hero-content {
    padding: 2.9rem 0 3.5rem;
  }

  .hero-meta {
    border-radius: 14px;
    padding: 0.85rem 0.85rem;
  }

  .room-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .restaurant-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }
}
