/*
 Theme Name:   Air-light Child
 Theme URI:    https://evergreenfarm.us
 Description:  Child theme for Air-light
 Author:       Evergreen Farm
 Template:     air-light
 Version:      1.0.0
 Text Domain:  air-light-child
*/

/* ==========================================================================
   MOBILE NAV OVERRIDE
   ========================================================================== */

:root {
  --color-background-menu-items: rgb(27 94 32 / 0.92);
  --color-background-menu-items-active: rgb(27 94 32 / 0.92);
}

/* ==========================================================================
   COMMON BASE
   ========================================================================== */

.ef-page {
  font-family: Georgia, 'Times New Roman', serif;
  color: #2d2d2d;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.ef-hero {
  background: linear-gradient(135deg, #1a3a0e 0%, #2d5a1b 50%, #3a7022 100%);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.ef-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.18;
  border-radius: 12px;
}

.ef-hero * {
  position: relative;
  z-index: 1;
}

.ef-hero h1 {
  color: #ffffff;
  font-size: 2.2em;
  font-family: Georgia, serif;
  font-weight: 700;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.ef-hero .hero-tagline {
  color: #c8e6a0;
  font-size: 17px;
  font-family: Georgia, serif;
  font-style: italic;
  margin: 0 0 28px 0;
  line-height: 1.6;
}

.ef-hero .hero-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.ef-hero .hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.ef-hero .badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-family: Georgia, serif;
}

/* Home hero: slightly more padding + background image */
.home-hero {
  padding: 60px 40px;
}

.home-hero::before {
  background: url('https://www.evergreenfarm.us/wp-content/uploads/2024/09/01.jpg') center/cover no-repeat;
}

.home-produce-section {
  margin-bottom: 48px;
}

/* Planting hero: softer greens */
.planting-hero {
  background: linear-gradient(135deg, #2d5a27 0%, #4a8c3f 50%, #6aaa5e 100%);
}

.planting-hero h1 {
  letter-spacing: -0.5px;
}

.planting-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05em;
  margin: 0;
  font-style: italic;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.ef-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-family: Georgia, serif;
  font-weight: bold;
  border: none;
}

.ef-btn.is-primary {
  background: #f5a623;
  color: #1a3a0e;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
}

.ef-btn.is-outline {
  background: transparent;
  color: #fff;
  font-weight: normal;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.ef-btn.is-green {
  background: #5a8a3c;
  color: #fff;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.ef-btn.is-green:hover {
  background: #3a6a20;
}

.ef-btn-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */

.ef-section-title {
  font-size: 22px;
  font-family: Georgia, serif;
  color: #2d5a1b;
  font-weight: bold;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #a8d570;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ef-section-title.is-large {
  font-size: 1.6em;
  border-bottom-color: #4a8c3f;
  border-bottom-width: 2px;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

/* Season headers (produce & planting) */
.ef-season-header {
  font-size: 20px;
  font-family: Georgia, serif;
  font-weight: bold;
  color: #2d5a1b;
  margin: 36px 0 16px 0;
  padding: 10px 18px;
  background: linear-gradient(90deg, #e8f5d4, #f5fbee);
  border-left: 5px solid #5a8a3c;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   GRIDS
   ========================================================================== */

.ef-grid {
  display: grid;
  gap: 16px;
}

.ef-grid.is-3-col {
  grid-template-columns: repeat(3, 1fr);
}

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

.ef-grid.is-steps {
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .ef-grid.is-3-col {
    grid-template-columns: 1fr 1fr;
  }

  .ef-grid.is-2-col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.ef-card {
  background: #fff;
  border: 1px solid #e0efd0;
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ef-card.is-centered {
  text-align: center;
}

.ef-card .card-emoji {
  font-size: 34px;
  display: block;
  margin-bottom: 8px;
}

.ef-card h3 {
  font-size: 15px;
  font-family: Georgia, serif;
  color: #2d5a1b;
  font-weight: bold;
  margin: 0 0 6px 0;
}

.ef-card p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
  font-family: Georgia, serif;
}

/* Produce item cards (with image) */
.ef-card.is-product {
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.ef-card.is-product:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ef-card.is-product .card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.ef-card.is-product .card-img-placeholder {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #e8f5d4, #c8e6a0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.ef-card.is-product .card-body {
  padding: 14px 14px 16px;
}

.ef-card.is-product .card-body h3 {
  margin: 0 0 5px 0;
}

.ef-card.is-product .card-body p {
  color: #555;
  margin: 6px 0 0 0;
}

.ef-card .season-tag {
  display: inline-block;
  background: #e8f5d4;
  color: #3a6a1a;
  font-size: 12px;
  font-family: Georgia, serif;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: bold;
}

/* Horizontal card (year-round items) */
.ef-card.is-horizontal {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ef-card.is-horizontal img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.ef-card.is-horizontal .card-emoji {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #e8f5d4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.ef-card.is-horizontal h3 {
  font-size: 14px;
  margin: 0 0 4px 0;
}

.ef-card.is-horizontal p {
  font-size: 12px;
  line-height: 1.4;
}

/* ==========================================================================
   INFO CARDS (planting page)
   ========================================================================== */

.ef-info-card {
  background: #f9f6ef;
  border: 1px solid #e8dfc8;
  border-radius: 8px;
  padding: 20px 18px;
}

.ef-info-card.is-green {
  border-left: 4px solid #4a8c3f;
}

.ef-info-card.is-orange {
  border-left: 4px solid #d4892a;
}

.ef-info-card.is-purple {
  border-left: 4px solid #7b5ea7;
}

.ef-info-card .card-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.ef-info-card .card-label {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.ef-info-card.is-green .card-label {
  color: #4a8c3f;
}

.ef-info-card.is-orange .card-label {
  color: #d4892a;
}

.ef-info-card.is-purple .card-label {
  color: #7b5ea7;
}

.ef-info-card .card-text {
  font-size: 0.95em;
  color: #444;
  line-height: 1.5;
}

/* ==========================================================================
   STEP ITEMS (planting page)
   ========================================================================== */

.ef-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ef-step.is-tip {
  background: #fffbf0;
  border-color: #f0d89a;
}

.ef-step-number {
  background: #4a8c3f;
  color: white;
  font-size: 1em;
  font-weight: 700;
  border-radius: 50%;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ef-step.is-tip .ef-step-number {
  background: #d4892a;
  font-size: 1.1em;
}

.ef-step-text {
  font-size: 0.98em;
  line-height: 1.7;
  color: #333;
}

/* ==========================================================================
   NOTICE / ANNOUNCEMENT BANNERS
   ========================================================================== */

.ef-notice {
  background: linear-gradient(135deg, #fff8e6 0%, #fff3d0 100%);
  border: 2px solid #f5a623;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: Georgia, serif;
}

.ef-notice .notice-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.ef-notice h3 {
  font-size: 17px;
  font-family: Georgia, serif;
  color: #7a4a00;
  font-weight: bold;
  margin: 0 0 6px 0;
}

.ef-notice p {
  font-size: 14px;
  color: #5a3800;
  margin: 0;
  line-height: 1.6;
  font-family: Georgia, serif;
}

.ef-notice strong {
  color: #5a3400;
}

/* ==========================================================================
   WARNING BOX (planting page)
   ========================================================================== */

.ef-warning {
  background: #fff5f5;
  border: 1px solid #fcc;
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 32px;
}

.ef-warning h3 {
  font-size: 1.3em;
  color: #c0392b;
  margin: 0 0 18px 0;
  font-weight: 700;
}

.ef-warning-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #f5c6c6;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95em;
  color: #555;
}

.ef-warning-item .warning-icon {
  color: #e74c3c;
  font-size: 1.1em;
  font-weight: 700;
}

/* ==========================================================================
   CTA SECTIONS
   ========================================================================== */

.ef-cta {
  background: linear-gradient(135deg, #2d5a1b, #4a8a2a);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 8px;
}

.ef-cta h2 {
  color: #fff;
  font-size: 24px;
  font-family: Georgia, serif;
  margin: 0 0 10px 0;
}

.ef-cta p {
  color: #c8e6a0;
  font-size: 15px;
  font-family: Georgia, serif;
  margin: 0 0 24px 0;
}

/* ==========================================================================
   ABOUT SECTION (home)
   ========================================================================== */

.ef-about {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  background: #f9fbf6;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #e0efd0;
}

.ef-about img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ef-about-text h2 {
  color: #2d5a1b;
  font-size: 24px;
  font-family: Georgia, serif;
  margin: 0 0 12px 0;
}

.ef-about-text p {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 10px 0;
  font-family: Georgia, serif;
}

@media (max-width: 640px) {
  .ef-about {
    flex-direction: column;
  }

  .ef-about img {
    width: 100%;
    height: 220px;
  }
}

/* ==========================================================================
   PHOTO GRID (home)
   ========================================================================== */

.ef-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.ef-photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  .ef-photo-grid {
    grid-template-columns: 1fr;
  }

  .ef-hero h1 {
    font-size: 26px;
  }
}

/* ==========================================================================
   DIRECTION PAGE
   ========================================================================== */

.ef-map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  margin-bottom: 32px;
}

.ef-map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

.ef-address-box {
  background: #f5f9f0;
  border-left: 5px solid #5a8a3c;
  padding: 18px 24px;
  border-radius: 6px;
  margin-bottom: 32px;
}

.ef-address-box h3 {
  margin: 0 0 6px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5a8a3c;
}

.ef-address-box p {
  margin: 0;
  font-size: 17px;
  color: #333;
  font-weight: bold;
}

.ef-directions-title {
  font-size: 20px;
  font-weight: bold;
  color: #3a5a22;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c8e6a0;
}

.ef-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.ef-steps-list li {
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #e0efd0;
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.ef-steps-list li::before {
  content: counter(step-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: #5a8a3c;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
  margin-right: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ef-steps-list .step-text {
  flex: 1;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.ef-steps-list .step-dist {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.ef-map-link {
  text-align: center;
  margin-top: 24px;
}

.planting-section {
  margin-bottom: 40px;
}

@media (max-width: 640px) {
  .planting-info-grid.ef-grid.is-3-col {
    grid-template-columns: 1fr;
  }

  .ef-warning .ef-grid.is-2-col {
    grid-template-columns: 1fr;
  }
}
