/* ===== FoodHero Base Styles ===== */
@font-face {
  font-family: 'Vazir';
  src: url('assets/fonts/vazir/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Vazir';
  src: url('assets/fonts/vazir/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
:root {
  --teal-900: #013436;
  --neutral-50: #ffffff;
}

body {
  font-family: 'Vazir', sans-serif;
  background-color: #F5F5F5;
  color: #212121;
  direction: rtl;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a { text-decoration: none; color: #056365; }
a:hover { color: #02494C; }

/* Header */
header { background-color: #FFF; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
header .site-logo { font-size: 1.5rem; font-weight: bold; color: #056365; }
header .site-nav a { margin-right: 1.5rem; font-weight: 500; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; background-color: #D5EFF0; padding: 4rem 2rem; text-align: right; }
.hero .hero-content { flex: 1 1 400px; margin-bottom: 2rem; }
.hero .hero-image { flex: 1 1 400px; text-align: center; }
.hero .hero-image img { max-width: 100%; border-radius: 12px; }
.hero h1 { font-size: 2.5rem; color: #013436; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 1.5rem; color: #424242; }
.hero .btn-primary { background-color: #FFC857; color: #212121; padding: 0.8rem 1.8rem; border-radius: 8px; font-weight: bold; transition: 0.3s; }
.hero .btn-primary:hover { background-color: #E0A736; }

/* Metrics */
.metrics { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; padding: 3rem 1rem; background-color: #FFF8E6; }
.metrics-card { flex: 1 1 250px; max-width: 300px; background-color: #FFF; padding: 1rem; border-radius: 16px; text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.metrics-card h3 { font-size: 1.5rem; color: #056365; margin-bottom: 0.5rem; }
.metrics-card p { color: #424242; }

.metrics-card img{width: 300px;height: 200px; border-radius: 2rem;}
/* Story */
.story { padding: 3rem 2rem; text-align: center; background-color: #F5F5F5; }
.story h2 { font-size: 2rem; color: #02494C; margin-bottom: 1rem; }
.story p { max-width: 700px; margin: auto; color: #424242; font-size: 1.1rem; }

/* Join / Newsletter */
.join { background-color: #3B8E93; padding: 3rem 2rem; text-align: center; color: #FFF; }
.join h2 { font-size: 2rem; margin-bottom: 1rem; }
.join input[type="email"] { padding: 0.8rem; width: 250px; border-radius: 6px; border: 1px solid #757575; margin-left: 0.5rem; }
.join button { padding: 0.8rem 1.5rem; background-color: #FFC857; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; color: #212121; }
.join button:hover { background-color: #E0A736; }

/* Blog */
.blog { padding: 3rem 1rem; text-align: center; }
.blog-posts { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.blog-post { background-color: #FFF; padding: 1rem; border-radius: 12px; width: 300px; box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.blog-post img { width: 100%; border-radius: 8px; margin-bottom: 1rem; }
.blog-post h3 a { color: #056365; }
.blog-post h3 a:hover { color: #02494C; }
.blog-post p { color: #424242; font-size: 1rem; margin-bottom: 1rem; }
.blog-post .btn-secondary { background-color: #FFC857; color: #212121; padding: 0.5rem 1rem; border-radius: 6px; text-decoration: none; }
.blog-post .btn-secondary:hover { background-color: #E0A736; }

/* Footer */
footer { background-color: #056365; color: #FFF; padding: 2rem; text-align: center; }
footer a { color: #FFF; margin: 0 0.5rem; }

/* Responsive */
@media (min-width: 768px) {
  .hero { flex-wrap: nowrap; text-align: right; }
}

/* Join Page */
.join-page { padding: 4rem 2rem; text-align: center; background-color: #3B8E93; color: #FFF; }
.join-page h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.join-page p { font-size: 1.2rem; margin-bottom: 2rem; }
.join-page .join-form { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* Movement Page */
.movement-page { padding: 4rem 2rem; text-align: center; background-color: #F5F5F5; }
.movement-page h1 { font-size: 2.5rem; color: #02494C; margin-bottom: 1rem; }
.movement-page p { font-size: 1.2rem; margin-bottom: 2rem; color: #424242; max-width: 700px; margin-left: auto; margin-right: auto; }
.movement-goals { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2rem; }
.goal-card { background-color: #FFF; padding: 2rem; border-radius: 12px; width: 250px; box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.goal-card h3 { color: #056365; margin-bottom: 0.5rem; }
.goal-card p { color: #424242; }

/* Stories Page */
.stories-page { padding: 4rem 2rem; text-align: center; }
.stories-page h1 { font-size: 2.5rem; margin-bottom: 2rem; }
.blog-posts { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.blog-post { background-color: #FFF; padding: 1rem; border-radius: 12px; width: 300px; box-shadow: 0 3px 10px rgba(0,0,0,0.08); text-align: right; }
.blog-post img { width: 100%; border-radius: 8px; margin-bottom: 1rem; }
.blog-post h3 a { color: #056365; text-decoration: none; }
.blog-post h3 a:hover { color: #02494C; }
.blog-post p { color: #424242; font-size: 1rem; margin-bottom: 1rem; }
.blog-post .btn-secondary { background-color: #FFC857; color: #212121; padding: 0.5rem 1rem; border-radius: 6px; text-decoration: none; }
.blog-post .btn-secondary:hover { background-color: #E0A736; }

/* Responsive */
@media (min-width: 768px) {
  .join-page .join-form { justify-content: center; }
  .movement-goals { flex-wrap: nowrap; }
  .blog-posts { justify-content: flex-start; }
}


.movement-section {
  background-color: #D5EFF0; /* Teal 100 */
  padding: 4rem 2rem;
  direction: rtl;
  font-family: 'Vazir', sans-serif;
  color: #02494C; /* Teal 700 */
  text-align: right;
}

.movement-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #013436; /* Teal 900 */
}

.movement-section .intro {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.movement-section .movement-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.movement-section .movement-content .cta {
  font-size: 1.2rem;
  font-weight: bold;
  color: #056365; /* Teal 500 */
}

@media (min-width: 768px) {
  .movement-section {
    padding: 6rem 4rem;
  }
  .movement-section h2 {
    font-size: 3rem;
  }
}



/* ================================
   FoodHero – Single Post
================================ */

.fh-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.fh-post {
  background: var(--neutral-50);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.fh-post-header {
  margin-bottom: 3rem;
  text-align: center;
}

.fh-post-title {
  font-size: 2.4rem;
  color: var(--teal-900);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.fh-post-meta {
  font-size: 0.9rem;
  color: var(--neutral-500);
}

.fh-post-thumbnail {
  margin-top: 2.5rem;
}

.fh-post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.fh-post-content {
  font-size: 1.15rem;
  line-height: 2;
  color: var(--neutral-700);
}

.fh-post-content p {
  margin-bottom: 1.5rem;
}

.fh-post-content h2 {
  margin: 3rem 0 1rem;
  font-size: 1.6rem;
  color: var(--teal-700);
}

.fh-post-content ul {
  padding-right: 1.2rem;
  margin-bottom: 2rem;
}

.fh-post-content li {
  margin-bottom: 0.7rem;
}


/* ================================
   FoodHero – Blog Archive
================================ */

.fh-archive {
  padding: 4rem 1.5rem;
}

.fh-archive-header {
  text-align: center;
  margin-bottom: 4rem;
}

.fh-archive-header h1 {
  font-size: 2.4rem;
  color: var(--teal-900);
}

.fh-archive-header p {
  color: var(--neutral-700);
  max-width: 600px;
  margin: 1rem auto 0;
}

.fh-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.fh-archive-card {
  background: var(--neutral-50);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.fh-archive-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.fh-archive-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.fh-archive-card p {
  flex-grow: 1;
  color: var(--neutral-700);
}

.fh-archive-card .btn-secondary {
  align-self: flex-start;
}


.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.page-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--teal-700);
}

.page-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--neutral-700);
}
.page-featured-image {
  margin-bottom: 2.5rem;
}

.page-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* ===== Mobile Hamburger Fix ===== */

.site-header {
  position: relative;
  z-index: 1000;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
}

.menu-toggle span {
      background-color: #013436; /* همون Teal 900 */

  display: block;
  width: 22px;
  height: 3px;
  background-color: var(--teal-900);
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--neutral-50);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    display: none;
    gap: 1.2rem;
  }

  .site-nav.active {
    display: flex;
  }
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.movement-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.movement-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.movement-text {
  max-width: 700px;
}

.movement-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #424242;
}

.movement-text .cta {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #056365;
}

.movement-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* دسکتاپ: دو ستون */
@media (min-width: 768px) {
  .movement-grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .movement-text {
    flex: 1 1 50%;
  }

  .movement-image {
    flex: 1 1 50%;
    text-align: center;
  }

  .movement-image img {
    max-width: 90%;
  }
}
.mailpoet_form input[type="email"] {
    flex:1;
    padding:8px;
    border:1px solid #02494C;
    border-radius:4px;
}
.mailpoet_form button {
    padding:8px 15px;
    border:none;
    background:#FFC857;
    color:#013436;
    border-radius:4px;
    cursor:pointer;
    font-weight:bold;
}
.mailpoet_form .mailpoet_success {
    color:#2E7D32; /* Success 500 */
    margin-top:5px;
}
.mailpoet_form .mailpoet_error {
    color:#D32F2F; /* Error 500 */
    margin-top:5px;
}

/* ===== Single Post ===== */

.fh-post {
  max-width: 720px;
  margin: 0 auto;
}

/* Thumbnail */
.fh-post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 20px;
}

/* Title */
.fh-post-title {
  font-size: 28px;
  line-height: 1.35;
  color: #212121;
  margin-bottom: 10px;
}

/* Meta */
.fh-post-meta {
  font-size: 14px;
  color: #757575;
  margin-bottom: 30px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Content typography */
.fh-post-content {
  font-size: 17px;
  line-height: 1.9;
  color: #212121;
}

.fh-post-content p {
  margin-bottom: 20px;
}

.fh-post-content h2 {
  font-size: 22px;
  margin: 40px 0 15px;
}

.fh-post-content h3 {
  font-size: 19px;
  margin: 30px 0 10px;
}

/* Images inside content */
.fh-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 25px 0;
}
