/* ============================================
   Crina Lăcrămioara Modiga — Website
   Palette: „Terracota vie” — bej #F5EDE4, măsliniu #8A9A5B, crem #FFF9F2, terracota #C1694F
   ============================================ */

:root {
  --bej: #F5EDE4;
  --maro: #8A9A5B;
  --maro-dark: #5C4033;
  --crem: #FFF9F2;
  --sage: #C1694F;
  --sage-dark: #A3543D;
  --text: #3A332C;
  --text-light: #6B6259;
  --border: #E8DBC9;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max-width: 1140px;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(92, 64, 51, 0.14);
  --shadow-hover: 0 8px 30px rgba(92, 64, 51, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--crem);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--maro-dark);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { color: var(--text); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--sage-dark);
  font-weight: 600;
}

/* ============ Buttons ============ */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-align: center;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--sage);
  color: var(--crem);
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--maro);
  color: var(--maro-dark);
}
.btn-outline:hover {
  background: var(--maro);
  color: var(--crem);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bej);
  color: var(--maro-dark);
  border-color: var(--bej);
}
.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-2px);
}

/* ============ Navbar ============ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--maro-dark);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--sage);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--maro-dark);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ Hero ============ */

.hero {
  padding: 170px 0 0;
  background: linear-gradient(180deg, var(--bej) 0%, var(--crem) 100%);
  overflow: hidden;
}

.hero-dark {
  background: var(--maro-dark);
  padding-top: 150px;
}

.hero.hero-dark h1,
.hero.hero-dark .subheadline {
  color: var(--crem);
}

.hero.hero-dark .subheadline {
  opacity: 0.88;
}

.hero-dark .btn-outline {
  border-color: var(--bej);
  color: var(--bej);
}

.hero-dark .btn-outline:hover {
  background: var(--bej);
  color: var(--maro-dark);
}

.hero-inner {
  max-width: 820px;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero .subheadline {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 660px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-split .hero-ctas {
  flex-wrap: nowrap;
  gap: 10px;
}

.hero-split .hero-ctas .btn {
  padding: 12px 16px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.hero-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: end;
  min-height: 78vh;
}

.hero-text {
  padding-bottom: 90px;
}

.hero-text h1 {
  margin-bottom: 24px;
}

.hero-text .subheadline {
  margin-bottom: 36px;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

.cutout-img {
  display: block;
  width: auto;
  height: 74vh;
  max-height: 720px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
  }

  .hero-text {
    padding-bottom: 50px;
    text-align: center;
  }

  .hero-text .hero-ctas {
    justify-content: center;
  }

  .cutout-img {
    height: 52vh;
    max-height: 420px;
    margin: 0 auto;
  }

  .hero-split .hero-ctas {
    flex-wrap: wrap;
  }

  .hero-split .hero-ctas .btn {
    white-space: normal;
  }
}

.page-hero {
  padding: 160px 0 70px;
  background: linear-gradient(180deg, var(--bej) 0%, var(--crem) 100%);
}

.page-hero .container {
  max-width: 840px;
}

.page-hero .intro {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--text-light);
}

/* ============ Sections ============ */

section {
  padding: 80px 0;
}

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

.section-narrow {
  max-width: 780px;
  margin: 0 auto;
}

.section-narrow p + p {
  margin-top: 18px;
}

.link-arrow {
  display: inline-block;
  margin-top: 22px;
  color: var(--sage-dark);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.link-arrow:hover {
  border-color: var(--sage-dark);
}

/* ============ Cards ============ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--crem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bej);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sage-dark);
  font-size: 1.3rem;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  flex-grow: 1;
}

.card .price {
  margin-top: 18px;
  font-weight: 700;
  color: var(--maro-dark);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.card .price-old {
  text-decoration: line-through;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  margin-right: 8px;
}

.card .btn {
  margin-top: 22px;
  align-self: flex-start;
}

.card .badge {
  display: inline-block;
  background: var(--sage);
  color: var(--crem);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
}

.card .tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

/* ============ Quote ============ */

.quote-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--maro-dark);
  font-style: italic;
  line-height: 1.5;
  position: relative;
}

.quote-block blockquote::before {
  content: "\201C";
  display: block;
  font-size: 3.5rem;
  color: var(--sage);
  line-height: 0.5;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

/* ============ Testimonials ============ */

.testimonial-card {
  padding: 32px 28px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.6;
}

.testimonial-card::before {
  content: "\201C";
  display: block;
  font-size: 2.4rem;
  color: var(--sage);
  line-height: 0.6;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.testimonial-author {
  margin-top: 18px;
  font-weight: 700;
  color: var(--maro-dark);
  font-size: 0.9rem;
}

.testimonial-author span {
  font-weight: 400;
  color: var(--text-light);
  font-style: normal;
}

/* ============ Stats bar ============ */

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 34px;
  text-align: center;
  padding: 20px 0;
}

.stat-item {
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============ Footer CTA ============ */

.footer-cta {
  background: var(--maro);
  color: var(--crem);
  text-align: center;
  padding: 80px 0;
}

.footer-cta h2 {
  color: var(--crem);
  margin-bottom: 26px;
}

.footer-cta .btn-primary {
  background: var(--crem);
  color: var(--maro-dark);
}
.footer-cta .btn-primary:hover {
  background: var(--bej);
}

/* ============ Footer ============ */

footer.site-footer {
  background: var(--maro-dark);
  color: var(--bej);
  padding: 50px 0 26px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--crem);
  margin-bottom: 10px;
}

.footer-col p, .footer-col a {
  color: var(--bej);
  font-size: 0.92rem;
  opacity: 0.85;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--sage);
}

.footer-col h4 {
  color: var(--crem);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-col p + p {
  margin-top: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  opacity: 0.85;
  text-align: center;
}

.footer-bottom p {
  color: var(--bej);
}

.footer-bottom a {
  color: var(--bej);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
}

.footer-bottom a:hover {
  opacity: 1;
  color: var(--sage);
}

/* ============ Map embed ============ */

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  margin-top: 20px;
  filter: grayscale(20%) contrast(1.05);
}

/* ============ WhatsApp floating button ============ */

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--crem);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(139, 111, 94, 0.35);
  z-index: 998;
  transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
  background: var(--sage-dark);
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 720px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
}

/* ============ Lists (Despre) ============ */

.info-list {
  margin-top: 14px;
}

.info-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.info-list li:last-child {
  border-bottom: none;
}

.books-list {
  margin-top: 16px;
}

.books-list li {
  margin-bottom: 8px;
}

.books-list strong {
  color: var(--maro-dark);
}

/* ============ Accordion (Formare) ============ */

.accordion {
  margin-top: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  background: var(--crem);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}

.accordion-header:hover {
  background: var(--bej);
}

.accordion-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accordion-title .module-num {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
  font-weight: 700;
}

.accordion-title .module-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--maro-dark);
  font-weight: 600;
}

.accordion-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bej);
  color: var(--maro-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--sage);
  color: var(--crem);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-panel-inner {
  padding: 0 26px 26px;
}

.accordion-panel-inner .facilitator {
  font-size: 0.88rem;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.accordion-panel-inner ul {
  padding-left: 4px;
}

.accordion-panel-inner li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
}

.accordion-panel-inner li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* ============ Form (Contact) ============ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  margin-top: 50px;
  align-items: start;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--maro-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--crem);
  color: var(--text);
  transition: border-color 0.2s ease;
}

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

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

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.form-success {
  display: none;
  background: var(--sage);
  color: var(--crem);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-top: 20px;
  font-weight: 500;
}

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

.contact-info-box {
  background: var(--bej);
  border-radius: var(--radius);
  padding: 36px 30px;
}

.contact-info-box h3 {
  margin-bottom: 20px;
}

.contact-info-item {
  margin-bottom: 20px;
}

.contact-info-item .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item .value {
  font-size: 1.02rem;
  color: var(--text);
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--maro-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--maro);
  padding-bottom: 2px;
}

.contact-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  transition: color 0.2s ease;
}

.contact-icon-link:hover {
  color: var(--sage-dark);
}

.contact-icon-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--sage-dark);
}

/* ============ Photo frames & placeholders ============ */

.photo-frame {
  position: relative;
  background: var(--bej);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: var(--bej);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  text-align: center;
  padding: 24px;
}

.photo-placeholder svg {
  width: 34px;
  height: 34px;
  stroke: var(--maro);
  opacity: 0.55;
}

.photo-placeholder .ph-text {
  font-size: 0.88rem;
}

.photo-placeholder .ph-filename {
  font-family: monospace;
  font-size: 0.8rem;
  background: var(--crem);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--maro-dark);
}

.photo-portrait {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  margin: 0 auto 10px;
}

.photo-portrait .photo-placeholder,
.photo-portrait img {
  border-radius: 50%;
}

.photo-portrait img {
  object-position: 50% 15%;
}

.photo-wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 40px 0;
}

.photo-cabinet {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 4;
  margin: 40px auto;
}

.photo-book {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 20px;
}

/* ============ Fade-in animation ============ */

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

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

/* ============ Workshop date badge ============ */

.workshop-date {
  display: inline-block;
  background: var(--sage);
  color: var(--crem);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--crem);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 16px 24px;
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero, .page-hero {
    padding-top: 130px;
  }

  .card-grid,
  .card-grid.cols-2,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    gap: 26px;
  }

  section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}
