/* YathraNest — Base Styles
   Nature / travel-inspired premium palette
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap");

html {
  overflow-x: clip;
}

:root {
  --primary: #346356;
  --primary-dark: #24483e;
  --primary-light: #4f8272;
  --accent: #346356;
  --accent-dark: #24483e;
  --background: #f3f2ee;
  --surface: #ffffff;
  --text: #15211d;
  --muted: #5a635f;
  --border: #e4e2dc;
  --border-strong: #cac8c0;
  --success: #346356;
  --error: #b42318;
  --overlay: rgba(20, 20, 20, 0.5);
  --shadow-sm: 0 1px 3px rgba(20, 20, 20, 0.05);
  --shadow-md: 0 12px 40px rgba(20, 20, 20, 0.08);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --container: 1120px;
  --container-wide: 1280px;
  --header-h: 80px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --transition: 0.2s ease;
}

iconify-icon {
  display: inline-block;
  vertical-align: -0.15em;
  color: inherit;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--wide {
  max-width: var(--container-wide);
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin-top: 0.75rem;
}

.text-muted {
  color: var(--muted);
}

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

/* Layout sections */
.section {
  padding-block: 3.5rem;
}

.section--tight {
  padding-block: 2.5rem;
}

.section--alt {
  background: var(--surface);
}

.section--soft {
  background: #f0efe9;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header--center .section-lead {
  margin-inline: auto;
}

.section-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 242, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header--modern {
  border-bottom: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.site-header--modern .site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.site-header--modern .nav-desktop {
  justify-self: center;
}

.site-header--modern .header-actions {
  justify-self: end;
}

.site-header--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.site-header--hero .site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.site-header--hero .logo {
  color: var(--hero-ink, #1d3f36);
  font-size: 1.35rem;
}

.site-header--hero .nav-item__btn {
  color: var(--hero-ink, #1d3f36);
}

.site-header--hero .nav-desktop > a {
  color: var(--hero-ink, #1d3f36);
}

/* Full brand lockup — sized by height so the aspect ratio stays intact. */
.logo__img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.site-header--hero .logo__img {
  height: 42px;
}

.logo__img--text {
  height: 34px;
}

/* Square mark used where the lockup would be too wide or sits on dark ground. */
.logo__badge {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
}

.nav-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-item__btn:hover,
.nav-item.is-active .nav-item__btn,
.nav-item__btn[aria-current="true"] {
  color: var(--primary);
  background: rgba(52, 99, 86, 0.08);
}

.nav-item__btn svg,
.nav-item__btn iconify-icon {
  width: 0.9em;
  height: 0.9em;
  transition: transform var(--transition);
}

.nav-item__btn[aria-expanded="true"] svg,
.nav-item__btn[aria-expanded="true"] iconify-icon {
  transform: rotate(180deg);
}

.nav-item__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 0.45rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(21, 45, 39, 0.14);
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.nav-item__menu[hidden] {
  display: none;
}

.nav-item__menu a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-item__menu a:hover,
.nav-item__menu a[aria-current="page"] {
  background: rgba(52, 99, 86, 0.08);
  color: #346356;
}

.nav-toggle--circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1d3f36;
  color: #fff;
  border: none;
}

.nav-toggle--circle .nav-toggle__bars span {
  background: #fff;
}

.nav-toggle--circle[aria-expanded="true"] {
  background: #14302a;
}

.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
  padding: 0.35rem 0;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-menu-trigger__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-menu-trigger__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.logo--centered {
  justify-self: center;
}

.header-link {
  display: none;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.header-link:hover {
  color: var(--primary);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

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

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--primary);
  background: rgba(52, 99, 86, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.nav-menu-trigger.nav-toggle {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
}

.site-header:not(.site-header--modern) .nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--surface);
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

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

.nav-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
}

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-drawer__links a {
  color: var(--text);
  font-weight: 500;
  padding: 0.875rem 0.75rem;
  border-radius: var(--radius-sm);
}

.nav-drawer__links a:hover,
.nav-drawer__links a[aria-current="page"] {
  background: rgba(52, 99, 86, 0.08);
  color: var(--primary);
}

.nav-drawer__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.nav-drawer__label {
  padding: 0.4rem 0.75rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-drawer__label:not(:first-child) {
  margin-top: 0.4rem;
  border-top: 1px solid var(--border);
  padding-top: 0.7rem;
}

.nav-drawer__phone {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

/* Breadcrumb */
.breadcrumb {
  padding-block: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--border-strong);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* Page hero */
.page-hero {
  padding-block: 2.5rem 2rem;
  background: linear-gradient(180deg, #eef4f1 0%, var(--background) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  max-width: 40rem;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.0625rem;
}

.page-hero--media {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--primary-dark) center / cover no-repeat;
  border-bottom: none;
}

.page-hero--media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 32, 28, 0.25) 0%, rgba(23, 32, 28, 0.72) 100%);
}

.page-hero--media .page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 3rem;
  max-width: 42rem;
}

.page-hero--media h1,
.page-hero--media p {
  color: #fff;
}

.page-hero--media p {
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: #16302a;
  color: #c3cfc9;
  padding-block: 3.5rem 2rem;
  margin-top: auto;
}

.site-footer a {
  color: #d8e2dd;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

/* The mark ships with its own green ground, so lift it off the dark footer. */
.footer-brand .logo__badge {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: #a8b5ae;
  max-width: 18rem;
  margin-bottom: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9375rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9375rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #a8b5ae;
}

.footer-credit {
  width: 100%;
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: #fff;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.highlight-list li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-dark);
  background: rgba(52, 99, 86, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--muted);
}

.disclaimer {
  font-size: 0.8125rem;
  color: var(--muted);
  background: #f0efe9;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 2rem;
}

.map-placeholder {
  background: #e8ece9;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 1.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(233, 162, 59, 0.18);
  color: #8a5a0a;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.5rem 0 0.75rem;
}

.meta-row strong {
  color: var(--text);
  font-weight: 600;
}
