/* Dans Egg Stand — Global Styles */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #fdf6e3;
  --shell: #f5e6c8;
  --egg: #fffef5;
  --yolk: #f0a500;
  --yolk-dark: #d4920a;
  --brown: #5c4033;
  --brown-light: #8b6914;
  --brown-dark: #3e2723;
  --text: #3e2723;
  --text-light: #6d4c41;
  --radius: 8px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--yolk-dark);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--brown); }

/* ——— NAV ——— */

.navbar {
  background: var(--brown-dark);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  color: var(--cream);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand .egg-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--shell);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--cream);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ——— HERO ——— */

.hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 50%, var(--brown-light) 100%);
  color: var(--cream);
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(240,165,0,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(240,165,0,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--shell);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-eggs {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5rem;
}

/* ——— BUTTONS ——— */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn-primary {
  background: var(--yolk);
  color: var(--brown-dark);
  box-shadow: 0 4px 12px rgba(240,165,0,0.4);
}

.btn-primary:hover {
  background: var(--yolk-dark);
  box-shadow: 0 6px 16px rgba(240,165,0,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--yolk);
  border: 2px solid var(--yolk);
}

.btn-outline:hover {
  background: var(--yolk);
  color: var(--brown-dark);
}

/* ——— SECTIONS ——— */

.section {
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.section-alt {
  background: var(--shell);
}

.section-alt .section {
  /* content already constrained */
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--brown-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* ——— CARDS ——— */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--egg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--brown-dark);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card .price {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--yolk-dark);
}

/* ——— FEATURE LIST ——— */

.features {
  list-style: none;
  max-width: 500px;
  margin: 0 auto;
}

.features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
}

.features li::before {
  content: '\2713';
  color: var(--yolk);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ——— STATS ——— */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 2rem 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yolk-dark);
  line-height: 1.2;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ——— TESTIMONIAL ——— */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--egg);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--yolk);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.testimonial p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown);
}

/* ——— FORM ——— */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--brown);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--egg);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--yolk);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-card {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--yolk);
}

.contact-info-card p,
.contact-info-card li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--shell);
}

.contact-info-card ul {
  list-style: none;
}

.contact-info-card li {
  padding: 0.4rem 0;
}

.contact-info-card .info-icon {
  margin-right: 0.5rem;
}

/* ——— FAQ ——— */

.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 2rem 1.25rem 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--yolk-dark);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--yolk);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ——— CTA BANNER ——— */

.cta-banner {
  background: linear-gradient(135deg, var(--yolk) 0%, var(--yolk-dark) 100%);
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: var(--brown);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cta-banner .btn {
  background: var(--brown-dark);
  color: var(--cream);
}

.cta-banner .btn:hover {
  background: #2c1a14;
}

/* ——— FOOTER ——— */

.footer {
  background: var(--brown-dark);
  color: var(--shell);
  padding: 2.5rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--shell);
  opacity: 0.8;
  line-height: 1.6;
}

.footer h4 {
  color: var(--yolk);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.4rem;
}

.footer ul a {
  color: var(--shell);
  opacity: 0.8;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.footer ul a:hover {
  opacity: 1;
  color: var(--cream);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ——— PAGE HEADER ——— */

.page-header {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: var(--cream);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--shell);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ——— ABOUT TIMELINE ——— */

.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--yolk);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  background: var(--yolk);
  border-radius: 50%;
  border: 3px solid var(--cream);
  transform: translateX(-5px);
}

.timeline-item h3 {
  font-size: 1.05rem;
  color: var(--brown-dark);
  margin-bottom: 0.25rem;
}

.timeline-item .year {
  font-size: 0.85rem;
  color: var(--yolk-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ——— PROCESS STEPS ——— */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step {
  padding: 1.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--yolk);
  color: var(--brown-dark);
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.05rem;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ——— RESPONSIVE ——— */

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--brown-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— ANIMATION ——— */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
