/*
Theme Name: Farmers Market Friend
Theme URI: https://www.farmersmarketfriend.com
Author: Antigravity AI
Author URI: https://www.farmersmarketfriend.com
Description: A clean, professional, and friendly single-page theme for Farmers Market Friend.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farmers-market-friend
*/

:root {
  --primary: #2E7D32;       /* Forest Green */
  --primary-hover: #1B5E20; /* Darker Green */
  --primary-light: #E8F5E9; /* Soft Mint Green */
  --secondary: #FBC02D;     /* Sunflower Yellow */
  --accent: #F57C00;        /* Carrot Orange */
  --bg: #FAF6EE;            /* Warm Cream */
  --white: #FFFFFF;
  --dark: #2D3748;
  --muted: #718096;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  background-color: rgba(250, 246, 238, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  font-size: 20px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links .btn-nav {
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.nav-links .btn-nav:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-size: 48px;
  color: var(--primary);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-download {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #1A202C;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: var(--shadow);
}

.btn-download:hover {
  transform: translateY(-2px);
  background-color: #2D3748;
}

.btn-download.apple {
  background-color: #000000;
}

.btn-download.apple:hover {
  background-color: #1A1A1A;
}

.btn-download .btn-icon {
  font-size: 24px;
}

.btn-download .btn-text {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.btn-download .btn-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #A0AEC0;
  font-weight: 500;
}

.btn-download .btn-store {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: rotate(0deg) scale(1.01);
}

/* Section Title */
.section-title-block {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title-block h2 {
  font-size: 36px;
  color: var(--primary);
  font-weight: 800;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon-wrapper {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.feature-text p {
  font-size: 15px;
  color: var(--muted);
}

.features-illustration {
  display: flex;
  justify-content: center;
}

.features-illustration img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Organizers Section */
.organizers {
  padding: 80px 0;
  background-color: var(--bg);
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.benefit-card {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-card-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary);
}

.benefit-card p {
  font-size: 15px;
  color: var(--muted);
}

/* Stats Callout Box */
.stats-banner {
  margin-top: 60px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.stat-item h4 {
  font-size: 40px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 14px;
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Call To Action Footer */
.cta-section {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  padding: 100px 0;
  text-align: center;
}

.cta-box {
  max-width: 720px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 40px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}

.cta-box .download-buttons {
  justify-content: center;
}

/* Footer links */
.site-footer {
  background-color: var(--dark);
  color: #E2E8F0;
  padding: 60px 0 30px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-size: 18px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-about p {
  color: #A0AEC0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links h3 {
  font-size: 15px;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #A0AEC0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid #4A5568;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #A0AEC0;
}

.footer-bottom a {
  color: #A0AEC0;
  text-decoration: none;
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .features-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .download-buttons {
    justify-content: center;
  }
  .hero-image {
    order: -1;
  }
  .stats-banner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-bottom a {
    margin: 0 10px;
  }
}
