/* ============================================
   Cricket Frog Hollow — Brand Stylesheet
   Palette: cream, sage, wetland green, amber,
            charcoal brown, blue-gray
   ============================================ */

/* --- Prototype Watermark --- */
body::after {
  content: "PROTOTYPE";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-family: var(--font-body);
  font-size: 12vw;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(59, 48, 40, 0.06);
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}

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

:root {
  --cream:         #F4F1E8;
  --cream-dark:    #E8E3D4;
  --sage:          #7A8B6A;
  --sage-light:    #9DAE8B;
  --wetland:       #3B4A2C;
  --wetland-light: #4D5E3A;
  --amber:         #C49A3C;
  --amber-light:   #D4B060;
  --charcoal:      #2E3328;
  --charcoal-mid:  #4A5240;
  --bluegray:      #8A9B88;
  --bluegray-light:#B5C4AE;
  --white:         #FDFCF8;
  --text:          #2A2E24;
  --text-light:    #5E6555;

  --font-heading: 'Libre Baskerville', 'Georgia', serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;

  --max-width:    1120px;
  --gap:          2rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--wetland);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--amber); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Navigation --- */
.site-nav {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 64px;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-nav__brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: invert(1) brightness(0.9);
  transition: filter 0.2s;
}
.site-nav__brand:hover img {
  filter: invert(1) brightness(1);
}
.site-nav__brand span {
  display: inline-block;
}
.site-nav__brand:hover { color: var(--amber-light); }

.site-nav__links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

.site-nav__links a {
  color: var(--bluegray-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--cream);
  border-bottom-color: var(--amber);
}

/* Hamburger */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--cream);
  height: 2px;
  width: 24px;
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after  { top:  7px; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero--home {
  background: linear-gradient(
    160deg,
    var(--sage) 0%,
    var(--sage-light) 35%,
    var(--bluegray-light) 70%,
    var(--cream-dark) 100%
  );
  min-height: 85vh;
}

.hero--page {
  background: linear-gradient(
    160deg,
    var(--charcoal-mid) 0%,
    var(--sage) 60%,
    var(--sage-light) 100%
  );
  min-height: 45vh;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 2rem 1.5rem;
}

.hero__logo {
  display: block;
  max-width: 280px;
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.25));
}

.hero h1 {
  color: var(--wetland);
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
}

.hero__tagline {
  color: var(--charcoal-mid);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero__intro {
  color: var(--charcoal);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero__cta {
  display: inline-block;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}
.hero__cta:hover {
  background: var(--amber-light);
  color: var(--charcoal);
  transform: translateY(-1px);
}

/* Decorative mist overlay */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--cream), transparent);
  z-index: 1;
}

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

.section--alt {
  background: var(--cream-dark);
}

.section--dark {
  background: var(--charcoal);
  color: var(--cream);
}
.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}
.section--dark a { color: var(--amber-light); }
.section--dark a:hover { color: var(--amber); }

.section--accent {
  background: var(--wetland);
  color: var(--cream);
}
.section--accent h2 { color: var(--cream); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section--dark .section__header p,
.section--accent .section__header p {
  color: var(--bluegray-light);
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

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

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

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(59,48,40,0.06);
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(59,48,40,0.1);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Dark section cards */
.section--dark .card {
  background: var(--charcoal-mid);
}
.section--dark .card h3 { color: var(--cream); }
.section--dark .card p { color: var(--bluegray-light); }

/* --- Image Placeholder / Progressive Image --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--bluegray-light) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wetland);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.9rem;
  min-height: 240px;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  z-index: 1;
}

.img-placeholder--tall { min-height: 360px; }
.img-placeholder--short { min-height: 160px; }

/* --- Pricing Table --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.pricing-table th {
  background: var(--wetland);
  color: var(--cream);
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--cream-dark);
}

.pricing-table tr:nth-child(even) td {
  background: var(--white);
}

.pricing-table tr:hover td {
  background: var(--cream-dark);
}

/* --- Package Cards --- */
.package {
  border-left: 4px solid var(--amber);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.package__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.package__price {
  color: var(--amber);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.package__desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Feature List --- */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-size: 0.6rem;
  top: 0.75rem;
}

/* --- Seasonal Banner --- */
.season-bar {
  background: var(--wetland);
  color: var(--cream);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- Blockquote / Pull Quote --- */
.pullquote {
  border-left: 4px solid var(--amber);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--white);
  border-radius: 0 6px 6px 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.6;
}

/* --- Two-column text+image --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}
.split--reverse > * {
  direction: ltr;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: var(--bluegray-light);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--bluegray-light);
}
.site-footer a:hover {
  color: var(--amber-light);
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-mid);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--charcoal-mid);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--bluegray-light);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--wetland);
  box-shadow: 0 0 0 3px rgba(61,90,62,0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover {
  background: var(--amber-light);
}

/* --- Package Cards --- */
.card--package {
  display: flex;
  flex-direction: column;
}
.card--package .feature-list {
  flex: 1;
}
.card__duration {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.card__price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wetland);
  margin-top: 0.75rem;
}
.card__cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.55rem 1.5rem;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s;
  text-align: center;
}
.card__cta:hover {
  background: var(--amber-light);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split  { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 640px) {
  html { font-size: 15px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav__brand {
    font-size: 1rem;
  }
  .site-nav__brand img {
    width: 36px;
    height: 36px;
  }

  /* Mobile nav */
  .nav-toggle-label { display: block; }
  .site-nav__links {
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .site-nav__links a {
    display: block;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--charcoal-mid);
  }
  .nav-toggle:checked ~ .site-nav__links {
    max-height: 400px;
  }

  .hero h1 { font-size: 2rem; }
  .hero__logo { max-width: 200px; }
  .hero--home { min-height: 70vh; }
  .hero--page { min-height: 35vh; }
  .section { padding: 3rem 0; }
}
