/* ============================================
   EFFORTLESS LOVE - Website Styles
   Warm cream, red, and reddish-brown palette
   ============================================ */

:root {
  /* Colors */
  --cream: #faf6f1;
  --cream-warm: #f5f0e8;
  --red-primary: #c23a3a;
  --red-dark: #9e2d2d;
  --red-accent: #d64545;
  --brown-text: #5c4033;
  --brown-dark: #4a3428;
  --pink-subtle: #f8e8e8;
  --white: #ffffff;
  
  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-soft: 0 4px 20px rgba(92, 64, 51, 0.08);
  --shadow-lift: 0 8px 30px rgba(92, 64, 51, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--brown-text);
  background-color: var(--cream);
  background-image: url('assets/effortless-love-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(250, 246, 241, 0.75);
  pointer-events: none;
  z-index: 0;
}

body > *:not(.header) {
  position: relative;
  z-index: 1;
}

/* ========== Header & Navigation ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) var(--space-lg);
  background: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(92, 64, 51, 0.06);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.nav a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-text);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

.nav a:hover {
  color: var(--red-primary);
}

/* ========== Logo Section ========== */
.logo-section {
  padding: calc(80px + var(--space-2xl)) var(--space-lg) var(--space-xl);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container {
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brown-text);
  text-align: center;
}

.logo-text--top {
  font-size: 0.7rem;
  order: 1;
}

.logo-text--bottom {
  font-size: 0.85rem;
  order: 3;
}

.logo-svg {
  width: 100%;
  height: auto;
  display: block;
  order: 2;
}

.heart {
  fill: none;
  stroke: var(--brown-text);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.cross {
  fill: var(--brown-text);
}

.hand {
  fill: none;
  stroke: var(--brown-text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  padding: calc(80px + var(--space-xl)) var(--space-lg) var(--space-2xl);
  text-align: center;
  overflow: hidden;
}

.hero-bg-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
}

.bg-heart {
  position: absolute;
  font-size: 2rem;
  color: var(--pink-subtle);
  fill: var(--pink-subtle);
}

.bg-heart:nth-child(1) { top: 15%; left: 10%; }
.bg-heart:nth-child(2) { top: 25%; right: 15%; }
.bg-heart:nth-child(3) { top: 60%; left: 8%; }
.bg-heart:nth-child(4) { top: 70%; right: 12%; }
.bg-heart:nth-child(5) { top: 40%; left: 5%; }
.bg-heart:nth-child(6) { top: 50%; right: 8%; }

.bg-heart {
  color: #e8d4d4;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--brown-text);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.hero-intro {
  font-size: 1.125rem;
  color: var(--brown-text);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.hero--page {
  padding: calc(80px + var(--space-xl)) var(--space-lg) var(--space-xl);
}

.hero--page .hero-intro {
  margin-bottom: 0;
}

/* Primary Button */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn-primary {
  background: var(--red-primary);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-secondary {
  background: var(--white);
  color: var(--red-primary);
  border: 2px solid var(--red-primary);
}

.btn-secondary:hover {
  background: var(--red-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brown-text);
  border: 2px solid var(--brown-text);
}

.btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  transform: translateY(-2px);
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.instagram-icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.btn--large {
  padding: 1.25rem 2.75rem;
  font-size: 0.85rem;
}

.btn--block {
  margin-top: var(--space-lg);
  display: inline-block;
}

/* ========== Wavy Divider ========== */
.wave-divider {
  color: var(--red-dark);
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ========== Feature Section ========== */
.feature {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--cream-warm);
}

.feature-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--brown-text);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.feature-text {
  font-size: 1.125rem;
  color: var(--brown-text);
  margin-bottom: var(--space-lg);
  max-width: 400px;
}

.feature-hearts {
  display: flex;
  gap: var(--space-sm);
}

.solid-heart {
  font-size: 1.25rem;
  color: var(--red-primary);
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4c4b8;
}

.image-placeholder svg {
  width: 60%;
  height: auto;
}

.placeholder-heart {
  color: #e8ddd5;
}

/* Use a real image when available - uncomment img in HTML and add your image */
.feature-image img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  object-fit: cover;
  aspect-ratio: 1;
}

.feature-image:has(img) .image-placeholder {
  display: none;
}

/* ========== Section Blocks ========== */
.section {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--cream);
}

.section--alt {
  background: var(--cream-warm);
}

.section-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.section-inner--wide {
  max-width: 800px;
  text-align: left;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--brown-text);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.section-title--sub {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.section-text {
  font-size: 1.0625rem;
  color: var(--brown-text);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.section-text--lead {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 0;
}

.section-text--italic {
  font-style: italic;
  margin-top: calc(-1 * var(--space-sm));
}

/* ========== About ========== */
.about-content {
  margin-top: var(--space-md);
}

.about-list {
  list-style: none;
  margin-bottom: var(--space-lg);
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-xs);
}

.about-list li::before {
  content: '♥';
  position: absolute;
  left: 0;
  color: var(--red-primary);
  font-size: 0.75rem;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.value-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--white);
  color: var(--red-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 2rem;
  border: 1px solid rgba(194, 58, 58, 0.3);
}

/* ========== Donation ========== */
.donation-section .section-text {
  margin-bottom: var(--space-lg);
}

/* ========== Newsletter ========== */
.newsletter-form {
  max-width: 480px;
  margin: var(--space-xl) auto 0;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  min-width: 140px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brown-text);
  background: var(--white);
  border: 1px solid rgba(92, 64, 51, 0.2);
  border-radius: 4px;
  transition: border-color 0.2s var(--ease-out);
}

.newsletter-form input::placeholder {
  color: rgba(92, 64, 51, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--red-primary);
}

.ml-embedded {
  max-width: 520px;
  margin: var(--space-xl) auto 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Gallery (Event & Outreach Photos) ========== */
.section-inner--gallery {
  max-width: 1000px;
}

/* ========== Carousel / Slider ========== */
.carousel {
  margin-top: var(--space-xl);
  user-select: none;
  outline: none;
}

.carousel-viewport {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(92, 64, 51, 0.08);
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms var(--ease-out);
  will-change: transform;
}

.carousel-track.is-dragging {
  transition: none;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
}

.carousel-slide {
  /* Keeps a consistent “frame” while letting images fully fit */
  aspect-ratio: 16 / 9;
  background: var(--cream);
}

@media (max-width: 768px) {
  .carousel-slide {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    aspect-ratio: 1 / 1;
  }
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(92, 64, 51, 0.18);
  background: rgba(250, 246, 241, 0.92);
  color: var(--brown-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
  box-shadow: 0 8px 18px rgba(92, 64, 51, 0.14);
}

.carousel-arrow:hover {
  background: rgba(250, 246, 241, 0.98);
  transform: translateY(-50%) scale(1.03);
}

.carousel-arrow:focus-visible {
  outline: 2px solid rgba(194, 58, 58, 0.55);
  outline-offset: 3px;
}

.carousel-arrow--prev {
  left: 12px;
}

.carousel-arrow--next {
  right: 12px;
}

.carousel-arrow span {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--red-dark);
  margin-top: -2px;
}

.carousel-meta {
  margin-top: var(--space-md);
  display: grid;
  gap: var(--space-sm);
  justify-items: center;
}

.carousel-caption {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(92, 64, 51, 0.85);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(92, 64, 51, 0.22);
  background: rgba(250, 246, 241, 0.9);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.carousel-dot:hover {
  transform: scale(1.12);
  border-color: rgba(194, 58, 58, 0.55);
}

.carousel-dot.is-active {
  background: var(--red-primary);
  border-color: var(--red-primary);
}

/* ========== Footer ========== */
.footer {
  padding: var(--space-xl);
  text-align: center;
  font-size: 0.875rem;
  color: var(--brown-text);
  opacity: 0.9;
}

.footer a {
  color: var(--red-primary);
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

.footer p {
  margin-bottom: var(--space-xs);
}

.footer p:last-child {
  margin-bottom: 0;
  margin-top: var(--space-sm);
  opacity: 0.8;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nav {
    gap: var(--space-sm);
    flex-wrap: wrap;
  }
  
  .nav a {
    font-size: 0.6rem;
  }
  
  .feature-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .feature-text {
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-hearts {
    justify-content: center;
  }
  
  .feature-image {
    order: -1;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .newsletter-form input {
    width: 100%;
  }
  
  .newsletter-form .btn {
    width: 100%;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow span {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }
}
