/*
Theme Name: SideHoe
Theme URI: https://sidehoe.com
Author: New Jersey Creative LLC
Author URI: https://sidehoe.com
Description: A simple, lightweight custom landing page theme for SideHoe.
Version: 1.0
Text Domain: sidehoe
*/

/* Coming Soon Page Styles START */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.coming-soon {
    background-color: #f9f6f0;
    color: #3d6b3f;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.coming-soon h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #3d6b3f;
}

.coming-soon p {
    font-size: 1.25rem;
    margin-bottom: 10px;
    max-width: 600px;
}

.coming-soon a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.coming-soon a:hover {
    background-color: #3d6b3f;
}

.coming-soon .logo {
    margin-bottom: 40px;
    max-width: 250px;
    width: 100%;
    height: auto;
}


/* Original Template Styles */

.original-template-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px;
}

.original-template-container {
  max-width: 800px;
  width: 100%;
  padding: 20px;
  border-radius: 8px;
}


/* Coming Soon Page Styles END */

/* Base layout */
body {
  background-color: #f9f6f0;
  color: #000000;
}

.frontpage {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

/* Hero section */
.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

/* Top labels: Harvesting, Planting, Farmers Markets */
.top-labels {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.top-label {
  border: 2px solid #3d6b3f;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #3d6b3f;
}

.top-label ion-icon {
  margin-right: 0.5rem;
  color: #3d6b3f;
}

/* Section headers over green outlines */
.section-box {
  border: 2px solid #3d6b3f;
  border-radius: 8px;
  padding: 1rem;
  Padding-bottom: 2rem;
  margin-top: 3rem;
  position: relative;
  background-color: #ffffff;
}

.section-box h2 {
  position: absolute;
  top: -1.7rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3d6b3f;
  padding: 0.25rem 1rem;
  font-size: 1rem;
  color: #f9f6f0;
  font-weight: bold;
  border-radius: 40px;
}

.section-box p {
  font-size:1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #3d6b3f;
  font-weight: 700;
}

.feature-list ion-icon {
  color: #3d6b3f;
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  margin: 1rem;
  padding: 0.6rem 1.2rem;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 40px;
  font-weight: bold;
}

/* Info links */
.info-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.info-links a {
  color: #3d6b3f;
  text-decoration: underline;
  cursor: pointer;
}

/* Notes */
.note {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.note a {
  color: black;
}

/* Modal styles */
.modal {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #3d6b3f;
  border-bottom: none;
  padding: 2rem;
  transition: bottom 0.4s ease;
  z-index: 1000;
  max-height: 80vh;
  overflow-y: auto;
  text-align: left;
  max-width: 800px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin: auto;
}

.modal.active {
  bottom: 0;
}

.modal .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.action-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #3d6b3f;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
}

.btn-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-right {
  display: flex;
  align-items: center;
}

.btn-left ion-icon,
.btn-right ion-icon {
  font-size: 1.2rem;
}

.modal-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 1rem;
}

.modal-heading ion-icon {
  font-size: 1.6rem;
  color: #000000;
}

.modal a {
  color: #3d6b3f;
  text-decoration: underline;
  font-weight: bold;
}

.modal a:hover {
  text-decoration: none;
}


.site-footer {
  background-color: #724b30;
  color: #ffffff;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 2px solid #9b6740;
  padding-bottom: 1rem;
  max-width: 800px;
  margin: auto;
  margin-bottom: 2rem;
}

.logo-box {
  padding: 0.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.logo-box img {
  max-height: 60px;
  width: auto;
}

.phone-screenshot {
  padding: 0.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.phone-screenshot img {
  max-width: 380px;
  width: 100%;
  display: block;
  margin: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: none;
}

.footer-bottom .copyright {
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-fruits {
  display: flex;
  width: 100%;
  height: 260px;
  background-color: #f9f6f0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.fruit-left,
.fruit-right {
  flex: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.fruit-left {
  background-image: url('https://sidehoe.com/wp-content/uploads/2025/11/sidehoe-background-fruit-left.png');
  background-position: left center;
}

.fruit-right {
  background-image: url('https://sidehoe.com/wp-content/uploads/2025/11/sidehoe-background-fruit-right.png');
  background-position: right center;
}

.site-header {
  background-color: #3d6b3f;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left img {
  max-height: 25px;
  width: auto;
}

.header-right span {
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
}

.modal-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.modal-list li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}



/* Lost Password Styles */

.lost-password-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.lost-password-container {
  max-width: 520px;
  width: 100%;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #3d6b3f;
}

.lost-password-logo {
  max-width: 210px;
  width: 100%;
}

.lost-password-subtext {
}

.lost-password-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 18px;
}

.lost-password-button {
  background: #000;
  color: #fff;
  padding: 10px 15px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}

.lost-password-back {
  margin-top: 12px;
}

.lost-password-back a {
  text-decoration: none;
  font-size: 14px;
}


/* Form Styles */
/* Modal container */
#modal-join .registration-form {
  margin-top: 40px;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #3e5e3a;
}

.form-title-reg {
  background-color: #3e5e3a;
  padding: 10px;
  color: white;
  border-radius: 40px;
  margin-top: -40px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

/* Hide inactive form */
.registration-form.hidden {
  display: none;
}

/* Form inputs */
.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="password"],
.registration-form input[type="tel"],
.registration-form input[type="number"],
.registration-form input[type="file"],
.registration-form select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  box-sizing: border-box;
}

/* Select dropdown */
.registration-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201L5%205L9%201%22%20stroke%3D%22%233e5e3a%22%20stroke-width%3D%222%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 7px;
}

/* Role selector buttons */
.role-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.role-button {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid black;
  background-color: white;
  font-weight: 700;
  color: black;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.role-button:hover {
  background-color: black;
  color: white;
}

/* Location suggestions */
.suggestion-item {
  padding: 10px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-size: 15px;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}

/* Age note */
.age-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

/* Terms checkbox */
.registration-form label {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.registration-form label input[type="checkbox"] {
  margin-right: 8px;
}

/* Submit button */
.registration-form button[type="submit"] {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background-color: #3e5e3a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.registration-form button[type="submit"]:hover {
  background-color: #2f4a2b;
}



/* === Responsive Styles: max-width, descending order === */

/* Tablet / Small Desktop: up to 1024px */
@media screen and (max-width: 1024px) {
  .frontpage {
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p,
  .section-box p,
  .feature-list li {
    font-size: 1.2rem;
  }

  .section-box h2 {
    font-size: 1.1rem;
    top: -1.7rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .action-btn {
    font-size: 1rem;
    padding: 0.75rem 1.2rem;
  }

  .footer-links {
    gap: 1rem;
  }
}

/* Large Mobile / Small Tablet: up to 767px */
@media screen and (max-width: 767px) {
  .frontpage {
    padding: 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p,
  .section-box p,
  .feature-list li {
    font-size: 1.1rem;
  }

  .top-labels {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-box h2 {
    font-size: 1rem;
    top: -1.6rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .action-btn {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }

  .footer-fruits {
    height: 160px;
  }

  .footer-links {
    gap: 0.75rem;
  }
}

/* Small Mobile: up to 480px */
@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p,
  .section-box p,
  .feature-list li {
    font-size: 1rem;
  }

  .top-labels {
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-box h2 {
    font-size: 0.9rem;
    top: -1.5rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .action-btn {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  .footer-fruits {
    height: 120px;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

