/* Bull Creek Outfitters — shared stylesheet */

:root {
  --color-bg: #fbf6ec;
  --color-bg-alt: #f0e8d4;
  --color-green-deep: #2f5233;
  --color-green: #4a7a3d;
  --color-green-light: #7fae5f;
  --color-blue: #3f8fa3;
  --color-blue-deep: #2c6577;
  --color-earth: #b5652e;
  --color-earth-light: #e8823c;
  --color-text: #33301f;
  --color-text-soft: #5b573f;
  --color-white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --shadow: 0 4px 14px rgba(47, 82, 51, 0.12);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--color-green-deep);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--color-blue-deep);
}

a:hover {
  color: var(--color-earth);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: transform 0.1s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-earth-light);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-earth);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-blue-deep);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-green);
  color: var(--color-green-deep);
}

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

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--color-green-deep);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem var(--space-3);
}

.site-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-logo:hover {
  color: var(--color-white);
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-white);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-white);
  margin: 5px 0;
  border-radius: 2px;
}

.main-nav {
  display: block;
}

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

.main-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.1rem;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--color-earth-light);
  color: var(--color-white);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .nav-bar {
    flex-wrap: wrap;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-bottom: 0.75rem;
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 44px;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, rgba(47, 82, 51, 0.08), rgba(255, 255, 255, 0));
  padding: var(--space-5) 0 var(--space-4);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-4);
  align-items: center;
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

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

.hero .tagline {
  font-size: 1.15rem;
  color: var(--color-text-soft);
}

.hero .cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

/* ---------- Sections ---------- */

section {
  padding: var(--space-4) 0;
}

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

.section-header {
  max-width: 700px;
  margin-bottom: var(--space-3);
}

/* ---------- Trip cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  flex: 1;
}

/* ---------- Notice / seasonal callout ---------- */

.notice {
  background: #fff4e0;
  border: 2px dashed var(--color-earth-light);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  flex-wrap: wrap;
}

.notice-icon {
  font-size: 2rem;
  line-height: 1;
}

.notice-content {
  flex: 1;
  min-width: 220px;
}

.notice h3 {
  margin-bottom: 0.4rem;
}

/* ---------- Tour detail sections ---------- */

.tour {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}

.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

@media (max-width: 700px) {
  .tour-grid {
    grid-template-columns: 1fr;
  }
}

.tour-fact {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
}

.tour-fact h4 {
  margin: 0 0 0.4rem 0;
  color: var(--color-green-deep);
  font-family: inherit;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tour-fact ul {
  margin: 0;
  padding-left: 1.2rem;
}

.price-tag {
  display: inline-block;
  background: var(--color-earth-light);
  color: var(--color-white);
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

/* ---------- Conditions page ---------- */

.conditions-block {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}

.conditions-block h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-info {
  background: var(--color-green-deep);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.contact-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info h2 {
  color: var(--color-white);
}

.contact-info a {
  color: #ffe4bf;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0 0;
}

.contact-info li {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4);
}

.form-field {
  margin-bottom: var(--space-2);
}

.form-field label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.35rem;
  color: var(--color-green-deep);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 2px solid #d8cfb3;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-bg);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid var(--color-blue);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.form-confirmation {
  margin-top: var(--space-2);
  padding: var(--space-2);
  background: #e4f3df;
  border: 2px solid var(--color-green-light);
  border-radius: var(--radius-sm);
  color: var(--color-green-deep);
  font-weight: bold;
  display: none;
}

.form-confirmation.visible {
  display: block;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--color-blue-deep);
  color: var(--color-white);
  text-align: center;
  border-radius: var(--radius);
  padding: var(--space-4);
}

.cta-band h2 {
  color: var(--color-white);
}

.cta-band p {
  color: #eaf6f9;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #22331f;
  color: #e4e4d8;
  padding: var(--space-4) 0 var(--space-3);
  margin-top: var(--space-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h2,
.site-footer h3 {
  color: var(--color-white);
  font-family: inherit;
  font-size: 1.1rem;
}

.site-footer a {
  color: #cfe8b7;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #b7c2ab;
}

/* ---------- Utility ---------- */

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

@media (max-width: 390px) {
  .container {
    padding: 0 1rem;
  }

  .card-grid,
  .tour-grid,
  .footer-grid {
    gap: 1rem;
  }

  .tour,
  .conditions-block,
  .contact-info,
  .contact-form-wrap {
    padding: 1.25rem;
  }
}
