:root {
  --deep-green: #1b4332;
  --medium-green: #2d6a4f;
  --light-green: #40916c;
  --accent: #d4a373;
  --accent-hover: #c49363;
  --off-white: #f8f9fa;
  --light-bg: #f1f3f5;
  --dark-text: #212529;
  --muted: #6c757d;
  --surface: #ffffff;
  --border: #dee2e6;
  --border-radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  background: var(--off-white);
  line-height: 1.6;
}

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

a:hover {
  color: var(--deep-green);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--deep-green);
  color: var(--off-white);
  padding: 0.5rem 1rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: var(--deep-green);
  color: var(--off-white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 0.05em;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: rgba(248, 249, 250, 0.85);
  font-weight: 500;
  padding: 0.25rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

nav a:hover,
nav a:focus {
  color: var(--off-white);
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

nav a[aria-current="page"] {
  color: var(--off-white);
}

nav a[aria-current="page"]::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--deep-green);
  color: var(--off-white);
}

.btn-primary:hover {
  background: var(--medium-green);
  color: var(--off-white);
}

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

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border-color: var(--off-white);
}

.btn-outline:hover {
  background: var(--off-white);
  color: var(--deep-green);
}

.btn-outline:focus-visible {
  outline: 3px solid var(--off-white);
  outline-offset: 2px;
}

.btn-accent {
  background: var(--accent);
  color: #1b4332;
  border-color: var(--accent);
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #1b4332;
}

.btn-accent:focus-visible {
  outline: 3px solid var(--deep-green);
  outline-offset: 2px;
}

/* Hero */
.hero {
  background-image: linear-gradient(135deg, rgba(27,67,50,0.6) 0%, rgba(45,106,79,0.45) 60%, rgba(58,125,92,0.35) 100%),
                    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--off-white);
  padding: 5rem 0;
  text-align: center;
}

.hero-image {
  display: none;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero .btn + .btn {
  margin-left: 1rem;
}

.hero-image {
  margin-top: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-title {
  font-size: 2rem;
  color: var(--deep-green);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro section */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-grid img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.intro-grid h2 {
  font-size: 1.75rem;
  color: var(--deep-green);
  margin-bottom: 1rem;
}

.intro-grid p {
  margin-bottom: 1rem;
}

/* Highlights / Cards grid */
.highlights-grid,
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.25rem;
  color: var(--deep-green);
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--light-bg);
  font-size: 0.9rem;
}

.card-meta .price {
  font-weight: 700;
  color: var(--deep-green);
  font-size: 1.1rem;
}

.card-meta .duration {
  color: var(--muted);
}

.eco-badge {
  display: inline-block;
  background: #d8f3dc;
  color: var(--deep-green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: var(--off-white);
  padding: 3rem 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-banner p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--deep-green);
}

.form-group .required {
  color: #c1121f;
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ced4da;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--surface);
}

.form-control:focus {
  outline: none;
  border-color: var(--medium-green);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: auto;
}

.contact-info {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info h2 {
  font-size: 1.5rem;
  color: var(--deep-green);
  margin-bottom: 1.5rem;
}

.contact-info dl {
  display: grid;
  gap: 1.25rem;
}

.contact-info dt {
  font-weight: 700;
  color: var(--medium-green);
  margin-bottom: 0.2rem;
}

.contact-info dd {
  color: var(--muted);
  line-height: 1.5;
}

.contact-info .eco-commitment {
  margin-top: 2rem;
  padding: 1.25rem;
  background: #d8f3dc;
  border-radius: var(--border-radius);
}

.contact-info .eco-commitment p {
  color: var(--deep-green);
  font-weight: 500;
}

/* Footer */
footer {
  background: var(--deep-green);
  color: rgba(248, 249, 250, 0.8);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

footer h3 {
  color: var(--off-white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.9rem;
  line-height: 1.6;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul a {
  color: rgba(248, 249, 250, 0.7);
  font-size: 0.9rem;
}

footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(248, 249, 250, 0.15);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--medium-green);
  outline-offset: 2px;
}

/* ========== TABLET (768px - 1023px) ========== */
@media (max-width: 1023px) {
  .highlights-grid,
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-grid img {
    order: -1;
  }

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

  section {
    padding: 3.5rem 0;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

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

  .contact-info {
    order: -1;
  }

  footer .container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  footer .container > :first-child {
    grid-column: 1 / -1;
  }
}

/* ========== MOBILE (max-width: 767px) ========== */
@media (max-width: 767px) {
  header .container {
    flex-direction: column;
    gap: 0.75rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 3rem 1rem;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .hero .btn + .btn {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .highlights-grid,
  .tours-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  section {
    padding: 2.5rem 0;
  }

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

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

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .page-banner {
    padding: 2rem 0;
  }

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

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

  .container {
    padding: 0 1.25rem;
  }

  .card-body {
    padding: 1.25rem;
  }
}
