/* ─── Everyday Family Finds ─── */
/* Palette extracted from logo: sage green + warm cream */

:root {
  --sage: #8B9E7E;
  --sage-dark: #6B7E5E;
  --sage-light: #A4B596;
  --cream: #F0E6D4;
  --cream-light: #F7F2EA;
  --cream-dark: #E0D4C0;
  --charcoal: #2D3436;
  --charcoal-light: #4A4A4A;
  --white: #FFFFFF;
  --coral: #D4785A;
  --coral-hover: #C06845;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--cream-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(139, 158, 126, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-logo {
  height: 40px;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav.scrolled .nav-logo {
  opacity: 1;
}

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

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* ─── Hero ─── */
.hero {
  background: var(--sage);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

.hero .subtitle {
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero .tagline {
  color: var(--cream-dark);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.hero-dots {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.7;
}

.hero-cta {
  display: inline-block;
  background: var(--cream);
  color: var(--sage-dark);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--cream);
  opacity: 0.6;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Sections ─── */
.section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--sage);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* ─── About ─── */
.about {
  background: var(--white);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about-tag {
  background: var(--cream);
  color: var(--sage-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ─── Social / Platforms ─── */
.platforms {
  background: var(--cream-light);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.platform-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.platform-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon svg {
  width: 28px;
  height: 28px;
}

.platform-icon.youtube { background: #FFE0E0; }
.platform-icon.youtube svg { fill: #FF0000; }

.platform-icon.tiktok { background: #E8E8E8; }
.platform-icon.tiktok svg { fill: #000000; }

.platform-icon.amazon { background: #FFF3E0; }
.platform-icon.amazon svg { fill: #FF9900; }

.platform-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.5;
}

/* ─── Contact ─── */
.contact {
  background: var(--white);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--cream-light);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(139, 158, 126, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.btn-submit {
  background: var(--sage);
  color: var(--cream);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.3px;
}

.btn-submit:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(139, 158, 126, 0.1);
  border-radius: 12px;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.contact-alt {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
}

.contact-alt p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 1rem;
}

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  color: var(--sage-dark);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-email:hover {
  background: var(--cream-dark);
  transform: translateY(-1px);
}

.btn-email svg {
  width: 18px;
  height: 18px;
  stroke: var(--sage-dark);
}

/* ─── Footer ─── */
.footer {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  padding: 3rem 2rem;
}

.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.85rem;
  opacity: 0.8;
}

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

.footer-links a {
  color: var(--cream);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-links svg {
  width: 22px;
  height: 22px;
}

/* ─── FAQ ─── */
.faq {
  background: var(--cream-light);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-item summary:hover {
  background: var(--cream-light);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--sage);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.faq-item a {
  color: var(--sage-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item a:hover {
  color: var(--sage);
}

/* ─── Screen reader only ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Nav logo as image ─── */
.nav-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

/* ─── Hero logo as image ─── */
.hero-logo {
  border-radius: 16px;
}

/* ─── Footer logo as image ─── */
.footer-logo {
  border-radius: 12px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav { padding: 0.75rem 1.25rem; }
  .nav-links { display: none; }

  .hero { min-height: 90vh; padding: 3rem 1.5rem; }
  .hero-logo { width: 150px; }

  .section { padding: 3.5rem 1.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .platform-grid { grid-template-columns: 1fr; max-width: 350px; }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: 1px; }
  .hero .subtitle { letter-spacing: 2px; }
  .about-tags { gap: 0.5rem; }
  .about-tag { font-size: 0.8rem; padding: 0.4rem 1rem; }
}
