/* Village Traveller — Starter Styles */
/* Color tokens */
:root {
  --desert: #f3e9dc;
  --sand: #e7d7c9;
  --maroon: #5a2a27;
  --gold: #c6a15b;
  --sage: #8aa899;
  --midnight: #0f1a1c;
  /* Reduced border-radius from 14px to 4px for more square edges */
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--midnight);
  background: linear-gradient(180deg, var(--desert), #fff);
  line-height: 1.6;
}
/* Subtle handmade paper texture using layered gradients */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px) 0 0 / 6px 6px,
    radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px) 3px 3px / 8px 8px;
  mix-blend-mode: multiply;
}
.sans {
  font-family: "Manrope", system-ui, sans-serif;
}
.serif {
  font-family: "Spectral", "Georgia", serif;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}
header.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--maroon);
}
/* Updated to use the provided hut logo image with transparent background */
.brand-logo {
  width: 50px;
  height: 50px;
  background-image: url("assets/hut-logo-no-bg.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Logo in header - matches white/transparent header background */
header .brand-logo {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 80 L80 80 L80 60 L70 60 L70 50 L30 50 L30 60 L20 60 Z' fill='%235a2a27'/%3E%3Cpath d='M15 50 L50 20 L85 50 L75 50 L50 30 L25 50 Z' fill='%235a2a27'/%3E%3Cpath d='M45 60 L55 60 L55 75 L45 75 Z' fill='rgba(255,255,255,0.9)'/%3E%3Cpath d='M20 80 L80 80' stroke='%235a2a27' stroke-width='2'/%3E%3C/svg%3E");
  background-color: rgba(255, 255, 255, 0.9);
}

.brand h1 {
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: .5px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}
/* Updated navigation styling to match Village Traveller text color */
nav a {
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  /* Reduced border-radius from 10px to 4px */
  border-radius: 4px;
}
nav a.cta {
  background: var(--maroon);
  color: white;
}
nav a:hover {
  background: rgba(90, 42, 39, 0.1);
}
nav a.cta:hover {
  opacity: 0.9;
}
button.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  padding: 8px;
}

/* Mobile nav */
@media (max-width: 840px) {
  nav ul {
    display: none;
    position: absolute;
    right: 14px;
    top: 64px;
    background: white;
    padding: 12px;
    /* Reduced border-radius from 12px to 4px */
    border-radius: 4px;
    box-shadow: var(--shadow);
    width: 70vw;
    max-width: 320px;
    flex-direction: column;
  }
  nav ul.open {
    display: flex;
  }
  button.nav-toggle {
    display: inline-flex;
  }
}

/* Added dropdown menu styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 8px 0;
  margin: 4px 0 0 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: rgba(90, 42, 39, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile dropdown styles */
@media (max-width: 840px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 8px;
    background: rgba(90, 42, 39, 0.05);
    border-radius: 4px;
  }

  nav ul.open .dropdown-menu {
    display: block;
  }

  .dropdown-toggle::after {
    content: none;
  }
}
/* </CHANGE> */

/* Updated hero section to completely separate image from text */
/* Further reduced padding to bring text much closer to hero image */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 70vh;
  min-height: 500px;
}

.hero-image {
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* New section for hero content below the image */
/* Further reduced padding to bring text much closer to hero image */
.hero-content-section {
  padding: 15px 0;
  background: linear-gradient(180deg, var(--desert), #fff);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 20px;
  letter-spacing: .4px;
  color: var(--maroon);
}

.hero-content p.lead {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  margin: 0 auto 30px;
  max-width: 58ch;
  color: var(--midnight);
}

.badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.badge {
  padding: 8px 16px;
  /* Reduced border-radius from 999px to 6px for less rounded badges */
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: white;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero {
    height: 50vh;
    min-height: 400px;
  }

  /* Further reduced mobile padding for much closer spacing */
  .hero-content-section {
    padding: 10px 0;
  }
}

.card-grid {
  margin: 60px 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.card {
  grid-column: span 4;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.card .pad {
  padding: 16px 18px 20px;
}
.card h3 {
  margin: 0 0 6px;
}
.card p {
  margin: 0 0 12px;
}
.card .tag {
  display: inline-block;
  font-size: .8rem;
  background: var(--sand);
  padding: 4px 10px;
  /* Reduced border-radius from 999px to 6px */
  border-radius: 6px;
}
.card a.button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  /* Reduced border-radius from 12px to 4px */
  border-radius: 4px;
  background: var(--maroon);
  color: white;
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 960px) {
  .card {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .card {
    grid-column: span 12;
  }
}

.section {
  padding: 40px 0;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.kicker {
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: .8rem;
}
.hr {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent);
  margin: 24px 0;
  border: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.quote {
  background: linear-gradient(180deg, #fff, var(--desert));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px;
  font-size: 1.05rem;
}
.quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  opacity: 0.8;
}

.form {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Added enhanced form layout styles for booking form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--maroon);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Enhanced button states for form submission */
button.primary {
  background: var(--maroon);
  color: white;
  border: 0;
  padding: 12px 16px;
  /* Reduced border-radius from 12px to 4px */
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

button.primary:hover {
  opacity: 0.9;
}

button.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-loading {
  display: none;
}

button.primary.loading .btn-text {
  display: none;
}

button.primary.loading .btn-loading {
  display: inline;
}

label {
  display: block;
  font-weight: 700;
  margin: 10px 0 6px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  /* Reduced border-radius from 12px to 4px */
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

/* Added focus states for better form UX */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.1);
}

/* Added form success/error message styles */
.form-message {
  padding: 15px;
  /* Reduced border-radius from 12px to 4px */
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-message.success {
  background: rgba(138, 168, 153, 0.1);
  color: var(--sage);
  border: 1px solid rgba(138, 168, 153, 0.3);
}

.form-message.error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Added styles for city subpages */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--maroon);
}
.breadcrumb a {
  color: var(--maroon);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.hero-city {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 20px 0 10px;
  color: var(--maroon);
}
.hero-content .lead {
  font-size: 1.2rem;
  color: var(--midnight);
  opacity: 0.8;
}
.hero-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chakra-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  /* Reduced border-radius from 999px to 6px */
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.chakra-symbol {
  font-size: 1.2rem;
}

.city-content {
  max-width: 800px;
  margin: 0 auto;
}
.city-content section {
  margin: 40px 0;
}
.city-content h2 {
  color: var(--maroon);
  margin-bottom: 20px;
}

.chakra-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.chakra-info h3 {
  margin: 0 0 10px;
  color: var(--maroon);
}
.color-swatch {
  width: 40px;
  height: 40px;
  /* Reduced border-radius from 50% to 6px for more square color swatches */
  border-radius: 6px;
  margin: 10px 0;
  box-shadow: var(--shadow);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.experience-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.experience-card h3 {
  color: var(--maroon);
  margin: 0 0 10px;
}

.next-city-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--maroon);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
}
.next-city-link:hover {
  opacity: 0.9;
}

.completion-message {
  background: linear-gradient(135deg, var(--gold), var(--sage));
  color: white;
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  margin: 30px 0;
}
.completion-message h3 {
  margin: 0 0 15px;
}

@media (max-width: 768px) {
  .hero-city {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .chakra-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

footer {
  margin-top: 40px;
  background: var(--midnight);
  color: #edebe6;
  padding: 30px 0;
}
footer a {
  color: #edebe6;
  text-decoration: none;
}
footer .cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Logo in footer - matches dark midnight background */
footer .brand-logo {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 80 L80 80 L80 60 L70 60 L70 50 L30 50 L30 60 L20 60 Z' fill='%23edebe6'/%3E%3Cpath d='M15 50 L50 20 L85 50 L75 50 L50 30 L25 50 Z' fill='%23edebe6'/%3E%3Cpath d='M45 60 L55 60 L55 75 L45 75 Z' fill='%230f1a1c'/%3E%3Cpath d='M20 80 L80 80' stroke='%23edebe6' stroke-width='2'/%3E%3C/svg%3E");
  background-color: var(--midnight);
}

/* Added smaller logo size for footer */
footer .brand-logo {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  footer .cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  footer .cols {
    grid-template-columns: 1fr;
  }
}
footer .brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
small.copy {
  display: block;
  margin-top: 16px;
  opacity: 0.7;
}
