/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --navy:       #0d1f2d;
  --teal:       #1a7f6e;
  --teal-light: #22a08a;
  --white:      #ffffff;
  --off-white:  #f0ede8;
  --text-muted: rgba(255, 255, 255, 0.75);
  --overlay:    rgba(10, 20, 30, 0.52);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h: 64px;
  --transition: 0.3s ease;
}

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

html, body {
  height: 100%;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 100;
  gap: 1.5rem;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-light);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

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

/* Search bar */
.nav-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--teal-light);
  font-size: 0.85rem;
  pointer-events: none;
}

.search-wrapper input {
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  border-radius: 25px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  width: 260px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.search-wrapper input::placeholder {
  color: rgba(255,255,255,0.45);
}

.search-wrapper input:focus {
  border-color: var(--teal-light);
  background: rgba(255,255,255,0.12);
}

/* Buttons */
#btnSearch,
#btnClear {
  padding: 0.48rem 1.2rem;
  border-radius: 25px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

#btnSearch {
  background: var(--teal);
  color: var(--white);
}

#btnSearch:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

#btnClear {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

#btnClear:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-image: url('./Images/darkmoon_art-fantasy-3502188_1280.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

/* =====================
   SOCIAL SIDEBAR
   ===================== */
.social-sidebar {
  position: absolute;
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  z-index: 10;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}

.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.12);
}

/* =====================
   HERO CONTENT
   ===================== */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 620px;
  margin-left: 7rem;
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 0.9rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-description {
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

/* Book Now button */
.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.78rem 2rem;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.btn-book:hover {
  background: transparent;
  border-color: var(--teal-light);
  color: var(--teal-light);
  transform: translateY(-2px);
}

.btn-book i {
  font-size: 0.8rem;
  transition: transform var(--transition);
}

.btn-book:hover i {
  transform: translateX(4px);
}

/* =====================
   SCROLL HINT
   ===================== */
.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* =====================
   RESULTS SECTION
   ===================== */
.result-section {
  padding: 3rem 4rem 4rem;
  background: var(--navy);
  color: var(--white);
  min-height: 80px;
}

/* Header row */
.results-header {
  margin-bottom: 2rem;
}

.results-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #e8a040;
  margin-bottom: 0.4rem;
}

.results-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.results-label span {
  color: var(--teal-light);
  font-weight: 500;
  text-transform: capitalize;
}

.results-not-found {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.results-not-found strong {
  color: var(--white);
}

.results-not-found em {
  color: var(--teal-light);
  font-style: normal;
}

/* Card grid */
.results-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
}

/* Individual card */
.result-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  flex: 1 1 280px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

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

.result-card-body {
  padding: 1.2rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.result-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: center;
}

.result-card-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}

.result-card-time {
  font-size: 0.82rem;
  color: var(--teal-light);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.result-card-time i {
  font-size: 0.78rem;
}

/* =====================
   PAGE HERO (About & Contact)
   ===================== */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('./Images/darkmoon_art-fantasy-3502188_1280.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--nav-h) + 3rem);
  overflow: hidden;
}

.page-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 2rem 7rem 4rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

/* =====================
   ABOUT US — Description Box
   ===================== */
.about-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 1.8rem 2rem;
  max-width: 860px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.about-box p {
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.about-box p:last-child {
  margin-bottom: 0;
}

/* =====================
   ABOUT US — Team Section
   ===================== */
.team-section {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.team-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  flex-shrink: 0;
}

.team-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  flex: 1;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  transition: background var(--transition), transform var(--transition);
}

.team-card:hover .team-avatar {
  background: var(--teal);
  transform: scale(1.08);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.team-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.team-role {
  display: inline-block;
  padding: 0.3rem 1.1rem;
  background: var(--teal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 25px;
  letter-spacing: 0.04em;
}

/* =====================
   CONTACT US — Layout
   ===================== */
.contact-layout {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

.contact-left {
  flex-shrink: 0;
}

.contact-tagline {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

/* =====================
   CONTACT US — Form Box
   ===================== */
.contact-form-box {
  flex: 1;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  padding: 0.65rem 1rem;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
  transition: border-color var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal-light);
  background: rgba(255, 255, 255, 0.12);
}

.btn-submit {
  width: 100%;
  padding: 0.78rem;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}

.btn-submit:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 0.8rem 1.2rem;
    gap: 0.8rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .search-wrapper input {
    width: 180px;
  }

  .hero-content {
    margin-left: 5rem;
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .nav-search {
    flex-wrap: wrap;
  }

  .search-wrapper input {
    width: 100%;
  }

  .hero-content {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .social-sidebar {
    left: 0.6rem;
  }

  .result-section {
    padding: 2rem 1.5rem;
  }

  .page-content {
    padding: 1.5rem 1.8rem 3rem;
  }

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