/* Deep Creek Adventures - Main Stylesheet
   Rustic badlands / western theme with wood-textured border
   Modern recreation of a late-1990s website */

:root {
  --brown-dark: #5c3d1e;
  --brown-medium: #8b6914;
  --brown-light: #c9a55c;
  --tan: #d4b896;
  --cream: #f5ecd7;
  --off-white: #faf7ef;
  --wood-dark: #6b4423;
  --wood-medium: #a67c52;
  --wood-light: #c9a57e;
  --text-dark: #3a2817;
  --text-medium: #5c4a32;
  --accent-gold: #c9a55c;
  --link-blue: #004488;
  --link-visited: #551a8b;
  --shadow-soft: rgba(92, 61, 30, 0.25);
  --shadow-strong: rgba(92, 61, 30, 0.45);
}

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

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d4b896' stroke-width='0.5' fill='none' opacity='0.3'/%3E%3C/svg%3E");
  min-height: 100vh;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brown-dark);
  color: var(--cream);
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* Outer wrapper with wood border effect */
.site-wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 15px;
}

/* Main content container with wood-textured scalloped border */
.main-frame {
  background: var(--off-white);
  border: 8px solid;
  border-image: linear-gradient(135deg, var(--wood-dark), var(--wood-medium), var(--wood-light), var(--wood-medium), var(--wood-dark)) 1;
  box-shadow: 0 8px 32px var(--shadow-soft), inset 0 0 20px rgba(201, 165, 92, 0.1);
  position: relative;
}

/* Inner wood grain texture overlay via pseudo element */
.main-frame::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  right: -14px;
  bottom: -14px;
  background: repeating-linear-gradient(
    90deg,
    var(--wood-dark) 0px,
    var(--wood-medium) 3px,
    var(--wood-light) 6px,
    var(--wood-medium) 9px,
    var(--wood-dark) 12px
  );
  z-index: -1;
  border-radius: 4px;
  box-shadow: 0 4px 16px var(--shadow-strong);
}

/* Scalloped edge decoration */
.main-frame::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid var(--accent-gold);
  pointer-events: none;
  z-index: 1;
}

/* Header / Logo section */
.site-header {
  text-align: center;
  padding: 30px 20px 10px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
  border-bottom: 3px double var(--brown-medium);
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.logo-deer {
  width: 80px;
  height: 80px;
  background: var(--brown-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 2px 8px var(--shadow-soft);
  border: 3px solid var(--accent-gold);
}

.logo-deer svg {
  width: 55px;
  height: 55px;
  fill: var(--cream);
}

.logo-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--brown-dark);
  font-size: 2.2em;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px var(--shadow-soft);
}

.logo-subtitle {
  font-style: italic;
  color: var(--brown-medium);
  font-size: 1.1em;
  margin-top: 5px;
  letter-spacing: 1px;
}

.tagline {
  font-size: 0.95em;
  color: var(--text-medium);
  margin-top: 8px;
  font-style: italic;
}

/* Navigation */
.main-nav {
  background: linear-gradient(180deg, var(--brown-dark) 0%, #4a2f15 100%);
  padding: 0;
  border-top: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav li {
  padding: 0;
}

.main-nav a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  padding: 12px 22px;
  font-family: Georgia, serif;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s;
  border-right: 1px solid rgba(201, 165, 92, 0.3);
}

.main-nav li:first-child a {
  border-left: 1px solid rgba(201, 165, 92, 0.3);
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  background: var(--brown-medium);
  color: var(--cream);
  outline: none;
}

.main-nav a:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: -2px;
}

/* Hero image */
.hero {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 4px solid var(--brown-medium);
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(92, 61, 30, 0.85));
  color: var(--cream);
  padding: 40px 30px 20px;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 1.8em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  margin-bottom: 5px;
}

.hero-overlay p {
  font-style: italic;
  font-size: 1em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Main content area */
.content {
  padding: 30px;
  background: var(--off-white);
}

.content h1,
.content h2,
.content h3 {
  color: var(--brown-dark);
  font-family: Georgia, serif;
  margin-bottom: 15px;
  line-height: 1.3;
}

.content h1 { font-size: 1.8em; }
.content h2 {
  font-size: 1.5em;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 6px;
  margin-top: 25px;
}
.content h3 {
  font-size: 1.2em;
  color: var(--brown-medium);
  margin-top: 20px;
}

.content p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.content a {
  color: var(--link-blue);
  text-decoration: underline;
}

.content a:visited {
  color: var(--link-visited);
}

.content a:hover {
  color: var(--brown-dark);
}

/* Two-column feature section */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 30px 0;
}

.feature-card {
  background: var(--cream);
  border: 2px solid var(--tan);
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-soft);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 3px solid var(--brown-dark);
  margin-bottom: 15px;
}

.feature-card h2 {
  font-size: 1.4em;
  border-bottom: none;
  margin-top: 0;
  padding-bottom: 0;
  color: var(--brown-dark);
}

.feature-card p {
  text-align: left;
  font-size: 0.95em;
}

.feature-card .btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(180deg, var(--brown-medium) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  padding: 10px 24px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--accent-gold);
  border-radius: 4px;
  box-shadow: 0 3px 0 var(--wood-dark), 0 5px 8px var(--shadow-soft);
  letter-spacing: 1px;
  transition: all 0.15s;
}

.feature-card .btn:hover {
  background: linear-gradient(180deg, var(--brown-dark) 0%, #3a2410 100%);
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--wood-dark), 0 3px 5px var(--shadow-soft);
  color: var(--cream);
}

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

/* Image gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 25px 0;
}

.gallery-grid .g2 { grid-template-columns: repeat(2, 1fr); }

.gallery-item {
  overflow: hidden;
  border: 3px solid var(--brown-dark);
  box-shadow: 0 3px 8px var(--shadow-soft);
  background: var(--brown-dark);
}

.gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  font-size: 0.85em;
  color: var(--text-medium);
  text-align: center;
  padding: 4px;
  background: var(--cream);
  font-style: italic;
}

/* Info box (pricing / details) */
.info-box {
  background: var(--cream);
  border: 2px solid var(--brown-medium);
  border-left: 6px solid var(--accent-gold);
  padding: 20px;
  margin: 25px 0;
  box-shadow: 0 3px 10px var(--shadow-soft);
}

.info-box strong {
  color: var(--brown-dark);
}

.info-box .season {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--brown-dark);
  margin-bottom: 10px;
  display: block;
}

.info-box .price {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--brown-dark);
  margin-bottom: 10px;
}

/* Contact box */
.contact-box {
  background: var(--cream);
  border: 3px double var(--brown-medium);
  padding: 20px;
  margin: 30px 0 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-size: 0.95em;
}

.contact-box h3 {
  margin-top: 0;
  border-bottom: 1px solid var(--tan);
  padding-bottom: 5px;
}

.contact-box a {
  color: var(--link-blue);
}

/* Testimonial block */
.testimonial {
  background: var(--cream);
  border: 2px solid var(--tan);
  padding: 25px;
  margin: 25px 0;
  font-style: italic;
  position: relative;
  box-shadow: 0 3px 10px var(--shadow-soft);
}

.testimonial::before {
  content: """;
  font-size: 4em;
  color: var(--accent-gold);
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial p {
  position: relative;
  z-index: 1;
  padding-left: 20px;
}

.testimonial .attribution {
  text-align: right;
  font-weight: bold;
  font-style: normal;
  color: var(--brown-dark);
  margin-top: 15px;
  font-size: 0.9em;
}

/* Links list */
.links-list {
  list-style: none;
  margin: 20px 0;
}

.links-list li {
  padding: 12px 15px;
  border-bottom: 1px solid var(--tan);
  background: var(--cream);
  margin-bottom: 5px;
  border-left: 4px solid var(--accent-gold);
}

.links-list a {
  font-weight: bold;
  font-size: 1.05em;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--brown-dark) 0%, #3a2410 100%);
  color: var(--cream);
  padding: 20px 30px;
  text-align: center;
  font-size: 0.85em;
  border-top: 4px solid var(--accent-gold);
}

.site-footer .footer-nav {
  margin-bottom: 10px;
}

.site-footer .footer-nav a {
  color: var(--tan);
  text-decoration: none;
  margin: 0 10px;
}

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

.site-footer .copyright {
  font-size: 0.8em;
  color: var(--tan);
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .logo-title {
    font-size: 1.6em;
  }

  .logo-deer {
    width: 60px;
    height: 60px;
  }

  .logo-deer svg {
    width: 40px;
    height: 40px;
  }

  .main-nav a {
    padding: 10px 16px;
    font-size: 0.9em;
  }

  .content {
    padding: 20px;
  }

  .hero-overlay h1 {
    font-size: 1.3em;
  }

  .hero-overlay {
    padding: 20px 15px 10px;
  }

  .hero-overlay p {
    font-size: 0.85em;
  }
}

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

  .logo-title {
    font-size: 1.3em;
    letter-spacing: 1px;
  }

  .main-nav a {
    padding: 8px 12px;
    font-size: 0.85em;
  }

  .content h1 { font-size: 1.4em; }
  .content h2 { font-size: 1.2em; }

  .info-box .price {
    font-size: 1.2em;
  }
}
