/* ============================================
   ROCKRIDGE OUTFITTERS — Main Stylesheet
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:        #f9f7f4;
  --color-text:      #1a1a1a;
  --color-muted:     #5c5c5c;
  --color-accent:    #b5572a;   /* warm rust/terracotta */
  --color-accent-dk: #8c3f1a;
  --color-nav-bg:    #1c2b1e;   /* deep forest green */
  --color-nav-text:  #e8e0d5;
  --color-nav-hover: #b5572a;
  --color-border:    #d9d3cb;
  --max-width:       1100px;
  --radius:          6px;
  --transition:      0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1rem;
}

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

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
}

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

/* ── Header / Nav ── */
header {
  background-color: var(--color-nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: var(--color-nav-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
}

.logo:hover,
.logo:focus-visible {
  color: var(--color-nav-hover);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: var(--color-nav-text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background-color: var(--color-nav-hover);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--color-nav-hover);
  font-weight: 600;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-nav-text);
  border-radius: var(--radius);
  color: var(--color-nav-text);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  font-size: 1.3rem;
  line-height: 1;
  transition: border-color var(--transition), color var(--transition);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--color-nav-hover);
  color: var(--color-nav-hover);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #2a3b2c;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 700px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #e8e0d5;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent-dk);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn-reserve {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  margin-left: 0.75rem;
}

.btn-reserve:hover,
.btn-reserve:focus-visible {
  background-color: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.hero-content .btn + .btn {
  margin-top: 0;
}

/* ── Sections ── */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section p {
  color: var(--color-muted);
  max-width: 65ch;
}

/* ── Cards Grid ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

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

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

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

.card-body {
  padding: 1.25rem;
}

.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: none;
}

/* ── Alternate section bg ── */
.section-alt {
  background-color: #ede8e0;
}

/* ── Page Header (inner pages) ── */
.page-hero {
  background-color: var(--color-nav-bg);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.page-hero p {
  color: #b0c2b3;
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

/* ── Contact Form ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

input,
select,
textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--transition);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(181,87,42,0.15);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-grid img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* ── Footer ── */
footer {
  background-color: var(--color-nav-bg);
  color: var(--color-nav-text);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.875rem;
}

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

footer a:hover {
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-nav-bg);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
  }

  .hero {
    min-height: 70vh;
  }

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

  .form-group.full {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }
}

/* ── Nav Reserve button (shared) ── */
.nav-reserve {
  background-color: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  padding: 0.45rem 1rem !important;
  font-weight: 600 !important;
}
.nav-reserve:hover,
.nav-reserve:focus-visible {
  background-color: var(--color-accent-dk) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ── Feature blocks (homepage) ── */
.feature-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.feature-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.feature-block:hover,
.feature-block:focus-visible {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.feature-block p {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: none;
}

/* ── Slider ── */
.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1a1a;
  margin-top: 2.5rem;
}

.slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.slider-viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slider-viewport img.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  background: rgba(181,87,42,0.8);
}

.slider-prev { left: 0.75rem; }
.slider-next { right: 0.75rem; }

.slider-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.slider-dots .sdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.slider-dots .sdot.active {
  background: #fff;
}

.slider-caption {
  background: var(--color-nav-bg);
  color: var(--color-nav-text);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  text-align: center;
  font-style: italic;
}

/* ── Our Work split ── */
.our-work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.our-work-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* ── About feature image ── */
.about-feature {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 3rem;
}

/* ── Service alternating rows ── */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row.reverse .service-img {
  order: 2;
}

.service-row.reverse .service-text {
  order: 1;
}

.service-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.service-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.price-list {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.925rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list .price {
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.price-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── Read More accordion ── */
details.read-more {
  margin-top: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

details.read-more summary {
  padding: 0.8rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: #f4efe8;
  color: var(--color-accent);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

details.read-more summary::-webkit-details-marker { display: none; }

details.read-more summary::before {
  content: '▶';
  font-size: 0.65rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

details.read-more[open] summary::before {
  transform: rotate(90deg);
}

details.read-more summary:hover {
  background: #ede5d8;
}

.read-more-content {
  padding: 1.25rem;
  background: #fdfaf6;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.read-more-content h4 {
  font-family: 'Playfair Display', serif;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.read-more-content .pkg-price {
  font-weight: 700;
  color: var(--color-accent);
}

/* ── Hunting methods ── */
.method-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.method-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.method-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.method-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  max-width: none;
}

/* ── Prep checklist ── */
.prep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.prep-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.prep-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.prep-col ul li {
  font-size: 0.875rem;
  color: var(--color-muted);
  padding-left: 1.1rem;
  position: relative;
}

.prep-col ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
  top: 0.05em;
}

.mnr-link-box {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.mnr-link-box a {
  font-weight: 600;
}

/* ── Responsive for new sections ── */
@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-row.reverse .service-img { order: 0; }
  .service-row.reverse .service-text { order: 0; }
  .our-work { grid-template-columns: 1fr; gap: 2rem; }
  .method-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .service-img img { height: 260px; }
  .about-feature { height: 260px; }
  .our-work-btns { flex-direction: row; flex-wrap: wrap; }
}
