/*
Theme Name: Endometriosis Diet Plan
Theme URI: https://4weekendometriosisdietplanpdf.com
Author: Endometriosis Diet Plan
Author URI: https://4weekendometriosisdietplanpdf.com
Description: A clean and professional WordPress theme for the 4-week endometriosis diet plan landing page.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: endometriosis-diet-plan
Tags: landing-page, responsive, accessibility, custom-logo, custom-menu
*/

:root {
  --color-primary: #0F766E;
  --color-primary-soft: #A7C7A3;
  --color-accent: #F87171;
  --color-accent-soft: #E9D5FF;
  --color-bg: #FFF8F3;
  --color-surface: #FFFFFF;
  --color-text: #1F2937;
  --color-muted: #475569;
  --color-border: #D6D3D1;
}

/* Global */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

button,
input[type="submit"],
button[type="submit"] {
  cursor: pointer;
}

.site-header,
.site-footer {
  width: 100%;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.06);
}

.header-inner,
.footer-inner,
.page-content {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-links-row {
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.footer-meta-row {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 1.5rem;
}

.footer-meta-row p {
  margin: 0.25rem 0;
}

.site-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-title a {
  color: var(--color-primary);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  background: var(--color-primary);
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover,
.primary-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.12);
}

.hero-copy .primary-button {
  margin-top: 1.5rem;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  padding: 1rem 0;
}

.hero-copy h1,
.hero-copy h2,
.hero-copy h3 {
  margin-top: 0;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 45rem;
}

.hero-bullets-title {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero-bullets {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--color-text);
}

.hero-bullets li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.hero-copy p,
.section p,
.faq dd,
.faq dt {
  margin: 1rem 0;
}

.hero-copy p:last-of-type,
.section p:last-of-type {
  margin-bottom: 0;
}

.hero-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 15px 40px rgba(15, 118, 110, 0.05);
}

.hero-panel h3 {
  margin-top: 0;
}

.hero-panel .price-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}

.section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(31, 41, 55, 0.08);
}

.section h2,
.section h3 {
  color: var(--color-text);
}

.section h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.section h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.feature-grid,
.benefits-grid,
.list-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
}

.grid-card h3 {
  margin-top: 0;
}

.page-body {
  max-width: 940px;
  margin: 0 auto;
}

.contact-form,
.response-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label,
.response-form label {
  font-weight: 700;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea,
.response-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 41, 55, 0.16);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  color: var(--color-text);
}

.contact-notice {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-notice.success {
  background: rgba(167, 199, 163, 0.18);
  color: #1f4b3a;
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.contact-notice.error {
  background: rgba(248, 215, 218, 0.18);
  color: #7f1d1d;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.cta-panel {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(15,118,110,0.12), rgba(232,213,255,0.22));
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 1.75rem;
  text-align: center;
}

.cta-panel h2 {
  margin-bottom: 1rem;
}

.cta-panel .primary-button {
  margin-top: 1rem;
}

.hero-copy .primary-button {
  margin-top: 1.5rem;
}

.legal-grid {
  display: grid;
  gap: 1.5rem;
}

.legal-card,
.page-body .legal-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 22px 45px rgba(15, 118, 110, 0.06);
}

.page-body h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.legal-card h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.legal-card p {
  margin: 0.75rem 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.legal-summary {
  background: linear-gradient(180deg, rgba(248, 215, 218, 0.35), rgba(255, 248, 243, 0.95));
  border: 1px solid rgba(167, 199, 163, 0.35);
  padding: 2rem;
  border-radius: 1.75rem;
  box-shadow: 0 22px 50px rgba(15, 118, 110, 0.06);
  margin-bottom: 2rem;
}

.faq dt {
  font-weight: 700;
  margin-top: 1rem;
}

.faq dd {
  margin-left: 0;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.footer-links a {
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid rgba(31, 41, 55, 0.12);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  background: rgba(15, 118, 110, 0.08);
  color: var(--color-primary);
}

.footer-note {
  padding: 2rem 0;
  text-align: center;
  color: var(--color-muted);
}

@media (max-width: 860px) {
  .hero-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-title,
  .primary-button {
    width: 100%;
    text-align: center;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
