/* Zâmbete Dulci și Culori pentru Suflet */

:root {
  --pink: #e84a8a;
  --pink-deep: #c2185b;
  --sky: #4fc3f7;
  --sky-deep: #0288d1;
  --grass: #66bb6a;
  --grass-deep: #2e7d32;
  --sun: #ffca28;
  --orange: #ff8a65;
  --ink: #2d3436;
  --ink-soft: #5a6568;
  --cream: #fff9f0;
  --white: #ffffff;
  --radius: 1.25rem;
  --shadow: 0 12px 40px rgba(45, 52, 54, 0.12);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --header-h: 4.25rem;
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(79, 195, 247, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 5%, rgba(232, 74, 138, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(102, 187, 106, 0.22), transparent 55%),
    linear-gradient(180deg, #e8f7fc 0%, var(--cream) 35%, #f0fff4 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sky-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pink-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(232, 74, 138, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: var(--pink);
  text-decoration: none;
  line-height: 1.25;
  max-width: 14rem;
}

.brand:hover {
  color: var(--pink-deep);
}

.brand span {
  display: block;
  color: var(--sky-deep);
  font-size: 0.85em;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--pink);
  border-radius: 0.75rem;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--pink-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(232, 74, 138, 0.12);
  color: var(--pink-deep);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(79, 195, 247, 0.55) 0%, rgba(102, 187, 106, 0.35) 45%, rgba(232, 74, 138, 0.4) 100%),
    url("../assets/flyer.jpeg") center / cover no-repeat;
  filter: saturate(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    rgba(255, 249, 240, 0.94) 0%,
    rgba(255, 249, 240, 0.82) 42%,
    rgba(255, 249, 240, 0.35) 100%
  );
}

.hero-content {
  padding-block: 3.5rem 4rem;
  max-width: 36rem;
  animation: riseIn 0.8s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.35rem);
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.hero-brand .line2 {
  display: block;
  color: var(--sky-deep);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(45, 52, 54, 0.15);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--pink-deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--sky-deep);
  border-color: var(--sky);
}

.btn-secondary:hover {
  color: var(--sky-deep);
  background: #e1f5fe;
}

.btn-ghost {
  background: transparent;
  color: var(--grass-deep);
  border-color: var(--grass);
}

.btn-copy {
  background: var(--grass);
  color: var(--white);
  border: none;
  font-size: 0.95rem;
  padding: 0.65rem 1.15rem;
}

.btn-copy:hover {
  background: var(--grass-deep);
  color: var(--white);
}

.btn-copy.is-copied {
  background: var(--sky-deep);
}

/* —— Sections —— */
.section {
  padding-block: 3.5rem 4rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--pink-deep);
}

.section-lead {
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.quote {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  background: linear-gradient(145deg, var(--sky), #81d4fa);
  color: var(--white);
  border-radius: 1.5rem 1.5rem 1.5rem 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  box-shadow: var(--shadow);
  animation: riseIn 0.7s ease both;
}

.quote::before {
  content: "“";
  position: absolute;
  top: -0.35rem;
  left: 0.75rem;
  font-size: 3.5rem;
  opacity: 0.35;
  line-height: 1;
}

.quote footer {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  opacity: 0.9;
}

.quote a {
  color: var(--white);
  font-weight: 700;
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Help preview / cards —— */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
}

.help-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.help-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  color: inherit;
}

.help-card h3 {
  font-size: 1.2rem;
  color: var(--sky-deep);
  margin-bottom: 0.4rem;
}

.help-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.help-card .icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  background: rgba(255, 202, 40, 0.35);
}

.help-card:nth-child(2) .icon {
  background: rgba(79, 195, 247, 0.35);
}

.help-card:nth-child(3) .icon {
  background: rgba(102, 187, 106, 0.35);
}

.help-card:nth-child(4) .icon {
  background: rgba(232, 74, 138, 0.25);
}

/* —— Flyer strip —— */
.flyer-section {
  padding-block: 2.5rem 4rem;
}

.flyer-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 202, 40, 0.6);
  max-width: 28rem;
  margin-inline: auto;
}

.flyer-frame img {
  width: 100%;
}

/* —— Page hero (inner) —— */
.page-hero {
  padding-block: 2.75rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--pink);
}

.page-hero p {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--ink-soft);
}

/* —— About —— */
.prose {
  max-width: 42rem;
  margin-inline: auto;
}

.prose h2 {
  color: var(--sky-deep);
  margin-top: 2rem;
}

.highlight-box {
  background: var(--white);
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.35rem 1.5rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow);
}

/* —— IBAN —— */
.iban-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px dashed var(--grass);
  margin-top: 2rem;
  text-align: center;
}

.iban-box .label {
  font-family: var(--font-display);
  color: var(--grass-deep);
  margin-bottom: 0.5rem;
}

.iban-code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  letter-spacing: 0.04em;
  word-break: break-all;
  color: var(--ink);
  margin: 0.75rem 0 1rem;
  font-weight: 700;
}

/* —— Contact —— */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 28rem;
  margin-inline: auto;
}

.contact-list li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-list .name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--pink-deep);
}

.contact-list a {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 0.85rem 1.35rem;
  background: #1877f2;
  color: var(--white) !important;
  border-radius: 999px;
  text-decoration: none !important;
  margin: 1.5rem auto;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s;
}

.social-link:hover {
  background: #0d65d9;
  transform: translateY(-3px);
}

.thanks {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--pink-deep);
  margin-top: 2.5rem;
  max-width: 32rem;
  margin-inline: auto;
}

/* —— Footer —— */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(46, 125, 50, 0.12));
  border-top: 2px solid rgba(102, 187, 106, 0.25);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.site-footer .brand-foot {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pink);
  margin-bottom: 0.35rem;
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-iban {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  word-break: break-all;
}

.footer-tag {
  font-family: var(--font-display);
  color: var(--grass-deep);
  font-style: italic;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Responsive —— */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid rgba(232, 74, 138, 0.2);
    padding: 0.75rem 1rem 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(255, 249, 240, 0.92) 0%,
      rgba(255, 249, 240, 0.88) 55%,
      rgba(255, 249, 240, 0.55) 100%
    );
  }

  .hero-content {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
