﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #f4f3fb;
  --ink: #1d1b2e;
  --brand: #ef1e62;
  --brand-dark: #c1134b;
  --accent: #00d7c7;
  --hero-a: #2c2bd4;
  --hero-b: #5a35f0;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(25, 20, 60, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(20, 20, 50, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(20, 20, 50, 0.18));
}

.brand-name {
  font-size: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #ecebff;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #4c4b67;
  border-radius: 2px;
}

.nav a {
  text-decoration: none;
  color: #4c4b67;
  position: relative;
}

.nav a.active {
  color: var(--brand);
  font-weight: 600;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--brand);
}

.cta {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(239, 30, 98, 0.25);
  font-weight: 600;
}

.cta:hover { background: var(--brand-dark); }

.announce {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  background: #3b36d3;
  color: #e8e6ff;
  padding: 10px 6vw;
  gap: 16px;
  font-size: 14px;
}

.badge {
  background: var(--accent);
  color: #003b38;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.hero {
  background: linear-gradient(160deg, rgba(40, 38, 120, 0.6), rgba(62, 45, 160, 0.65)),
    url("imagini/imagine18.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 120px 6vw 90px;
  min-height: 80vh;
}

.hero-inner {
  display: flex;
  justify-content: center;
}

.hero-title h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.1;
  margin: 40px 0 18px;
  letter-spacing: 1.4px;
  max-width: 720px;
  text-align: center;
}


.ghost {
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.cta.large {
  padding: 12px 28px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(8, 125px);
  grid-template-rows: 125px 125px 125px;
  grid-template-areas:
    "left-top . center center center center . right-top"
    "left-bottom . center center center center . right-bottom"
    "bottom-1 bottom-2 bottom-3 bottom-4 bottom-5 bottom-6 bottom-7 bottom-8";
  gap: 12px;
  padding-top: 16px;
  align-content: center;
}

.tile {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.65), transparent 60%);
}

.tile img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 12px rgba(20, 20, 50, 0.2));
}

.tile-left-top { grid-area: left-top; }
.tile-right-top { grid-area: right-top; }
.tile-left-bottom { grid-area: left-bottom; }
.tile-right-bottom { grid-area: right-bottom; }
.tile-bottom-1 { grid-area: bottom-1; }
.tile-bottom-2 { grid-area: bottom-2; }
.tile-bottom-3 { grid-area: bottom-3; }
.tile-bottom-4 { grid-area: bottom-4; }
.tile-bottom-5 { grid-area: bottom-5; }
.tile-bottom-6 { grid-area: bottom-6; }
.tile-bottom-7 { grid-area: bottom-7; }
.tile-bottom-8 { grid-area: bottom-8; }
.tile-bottom-7 { grid-area: bottom-7; }
.tile-bottom-8 { grid-area: bottom-8; }

.tile-center {
  grid-area: center;
  text-align: center;
  padding: 0 12px;
  display: grid;
  place-items: center;
  z-index: 2;
}


.t1 { background: #ffd966; }
.t2 { background: #8fe9ff; }
.t3 { background: #ff9ad0; }
.t4 { background: #91f0c8; }
.t5 { background: #fff1a8; }
.t6 { background: #b9b3ff; }
.t7 { background: #ffb36a; }
.t8 { background: #7de1ff; }
.t9 { background: #ffc4f2; }
.t10 { background: #9af0ff; }

.stats {
  margin-top: 500px;
  background: #ffffff;
  color: #1c1a33;
  border-radius: 20px;
  padding: 26px 6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  box-shadow: 0 20px 40px rgba(18, 14, 45, 0.2);
  transform: translateY(32px);
}

.stat {
  text-align: center;
  padding: 12px 0;
  border-right: 1px solid #ecebff;
}

.stat:last-child { border-right: none; }

.stat-value {
  font-size: 28px;
  font-weight: 700;
}

.stat-label {
  color: #6b6985;
  font-size: 14px;
  margin-top: 6px;
}

.contact {
  background: #f6f4ff;
  padding: 80px 6vw 90px;
}

.contact-inner {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(18, 14, 45, 0.12);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  padding: 36px;
  align-items: start;
}

.contact-info h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 2.8vw, 40px);
  margin: 0 0 16px;
  color: #1d1b2e;
}

.contact-info p {
  margin: 0 0 10px;
  color: #4c4b67;
  font-size: 15px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #4c4b67;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #e4e2f1;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  background: #faf9ff;
}

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

.contact-form .cta {
  justify-self: start;
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.open { display: flex; }
  .hero-inner { flex-direction: column; }
  .tile-grid {
    grid-template-columns: repeat(8, 92px);
    grid-template-rows: 92px 92px 92px;
    grid-template-areas:
      "left-top . center center center center . right-top"
      "left-bottom . center center center center . right-bottom"
      "bottom-1 bottom-2 bottom-3 bottom-4 bottom-5 bottom-6 bottom-7 bottom-8";
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .announce { grid-template-columns: 1fr; }
  .tile-grid {
    grid-template-columns: repeat(4, 70px);
    grid-template-rows: repeat(6, 70px);
    grid-template-areas:
      "left-top . . right-top"
      "center center center center"
      "left-bottom . . right-bottom"
      "bottom-1 bottom-2 bottom-3 bottom-4"
      "bottom-5 bottom-6 bottom-7 bottom-8"
      ". . . .";
  }
  .tile-center { padding: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid #ecebff; }
  .stat:last-child { border-bottom: none; }
  .contact {
    padding: 60px 6vw 70px;
  }

  .contact-inner {
    padding: 24px;
  }
}

.about {
  background: #f6f4ff;
  color: #1d1b2e;
  padding: 60px 6vw 80px;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(18, 14, 45, 0.12);
}

.about-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 3vw, 46px);
  margin: 0 0 16px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #3e3b57;
  margin: 0 0 16px;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(20, 20, 50, 0.15);
}

@media (max-width: 960px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .about {
    padding: 40px 6vw 60px;
  }

  .about-hero {
    padding: 24px;
  }

  .about-gallery img {
    height: 140px;
  }
}

.gallery-page {
  background: #f6f4ff;
  color: #1d1b2e;
  padding: 60px 6vw 90px;
}

.gallery-hero {
  background: linear-gradient(135deg, #ffffff, #f0eeff);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 18px 36px rgba(18, 14, 45, 0.12);
  margin-bottom: 32px;
}

.gallery-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 3vw, 46px);
  margin: 0 0 12px;
}

.gallery-hero p {
  margin: 0;
  color: #3e3b57;
  font-size: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 26px rgba(20, 20, 50, 0.16);
}

.reviews {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 18px 36px rgba(18, 14, 45, 0.12);
}

.reviews-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 2.6vw, 36px);
  margin: 0 0 8px;
}

.reviews-header p {
  margin: 0 0 24px;
  color: #4c4b67;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.review-card {
  background: #f7f5ff;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.review-photo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffb3d9, #9ee8ff);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #1d1b2e;
  overflow: hidden;
}

.review-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.review-card p {
  margin: 0;
  color: #5a5872;
  font-size: 14px;
}

.review-form {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.review-form h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.review-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #4c4b67;
}

.review-form input,
.review-form textarea {
  border: 1px solid #e4e2f1;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  background: #faf9ff;
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .gallery-page {
    padding: 40px 6vw 70px;
  }

  .gallery-hero {
    padding: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews {
    padding: 24px;
  }
}

.donate-page {
  background: #f6f4ff;
  padding: 60px 6vw 90px;
  color: #1d1b2e;
}

.donate-card {
  max-width: 640px;
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(18, 14, 45, 0.12);
}

.donate-card h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 3vw, 46px);
  margin: 0 0 12px;
  color: #4f7f76;
}

.donate-card p {
  margin: 0 0 24px;
  color: #3e3b57;
  line-height: 1.6;
}

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

.donate-group h2,
.donate-group label {
  display: block;
  font-size: 14px;
  color: #3e3b57;
  margin: 0 0 10px;
  font-weight: 600;
}

.donate-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.option {
  border: 1px solid #d8d5e9;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px 10px;
  font-size: 15px;
  cursor: pointer;
}

.option.active {
  border-color: #f3b42a;
  background: #fff6dd;
}

.donate-group textarea {
  width: 100%;
  border: 1px solid #d8d5e9;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  background: #faf9ff;
  resize: vertical;
}

.count {
  text-align: right;
  font-size: 12px;
  color: #6b6985;
  margin-top: 6px;
}

.donate-submit {
  width: 100%;
  margin-top: 10px;
  background: #f3b42a;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(243, 180, 42, 0.3);
}

.donate-submit:hover {
  background: #d99912;
}

@media (max-width: 560px) {
  .donate-page {
    padding: 40px 6vw 70px;
  }

  .donate-card {
    padding: 24px;
  }

  .donate-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.books {
  background: #f6f4ff;
  color: #1d1b2e;
  padding: 60px 6vw 80px;
}

.books-hero {
  background: linear-gradient(135deg, #ffffff, #f3f0ff);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 18px 36px rgba(18, 14, 45, 0.12);
  margin-bottom: 32px;
}

.books-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 3vw, 46px);
  margin: 0 0 12px;
}

.books-hero p {
  margin: 0;
  color: #3e3b57;
  font-size: 16px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.book-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 30px rgba(18, 14, 45, 0.12);
}

.book-cover {
  height: 160px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffb3d9, #9ee8ff);
  color: #1d1b2e;
  font-weight: 700;
  font-size: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.book-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.book-card p {
  margin: 0;
  color: #5a5872;
  font-size: 14px;
}

@media (max-width: 960px) {
  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .books {
    padding: 40px 6vw 60px;
  }

  .books-hero {
    padding: 24px;
  }

  .books-grid {
    grid-template-columns: 1fr;
  }
}
.mobile-nav {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid #ecebff;
  padding: 16px 6vw 20px;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  text-decoration: none;
  color: #4c4b67;
  font-weight: 500;
}

.mobile-nav .cta {
  display: inline-block;
  text-align: center;
}
