/* =============================================
   ANANDALAY CONTENT MANAGER — FRONT-END STYLES
   Matches the colours/fonts of the main
   anandalay-one-page-website.html design.
============================================= */

:root {
  --acm-purple:       #3B2277;
  --acm-purple-mid:   #6B3FA0;
  --acm-purple-light: #F2ECF9;
  --acm-rose:         #C0607A;
  --acm-rose-light:   #FBF0F5;
  --acm-rose-mid:     #E8A4C0;
  --acm-cream:        #FAF8F5;
  --acm-dark:         #2C1A4A;
  --acm-mid:          #6B5B7A;
  --acm-border:       #E0D4EC;
  --acm-white:        #FFFFFF;
}

.acm-empty {
  color: var(--acm-mid);
  font-style: italic;
}

/* ── Buttons ───────────────────────────── */
.acm-events-grid .btn {
  display: inline-block;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-transform: uppercase;
  text-decoration: none;
}
.acm-events-grid .btn-primary {
  background: var(--acm-purple);
  color: var(--acm-white);
  border-color: var(--acm-purple);
}
.acm-events-grid .btn-primary:hover { background: var(--acm-purple-mid); border-color: var(--acm-purple-mid); color: var(--acm-white); }
.acm-events-grid .btn-rose {
  background: var(--acm-rose);
  color: var(--acm-white);
  border-color: var(--acm-rose);
}
.acm-events-grid .btn-rose:hover { background: #a8506a; border-color: #a8506a; color: var(--acm-white); }
.acm-events-grid .btn-outline-purple {
  background: transparent;
  color: var(--acm-purple);
  border-color: var(--acm-purple);
}
.acm-events-grid .btn-outline-purple:hover { background: var(--acm-purple); color: var(--acm-white); }

/* ── Events ────────────────────────────── */
.acm-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.acm-events-grid .event-card {
  background: var(--acm-white);
  border: 1px solid var(--acm-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.acm-events-grid .event-card:hover {
  box-shadow: 0 10px 32px rgba(192,96,122,0.15);
  transform: translateY(-3px);
}
.acm-events-grid .event-date-band {
  background: linear-gradient(135deg, var(--acm-purple), var(--acm-rose));
  padding: 20px 24px;
  color: var(--acm-white);
  display: flex;
  align-items: center;
  gap: 16px;
}
.acm-events-grid .event-day {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}
.acm-events-grid .event-month-time { font-size: 13px; line-height: 1.6; opacity: 0.9; }
.acm-events-grid .event-month-time strong { display: block; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.acm-events-grid .event-body { padding: 24px; }
.acm-events-grid .event-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acm-rose);
  margin-bottom: 8px;
  display: block;
}
.acm-events-grid .event-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--acm-dark);
  line-height: 1.3;
}
.acm-events-grid .event-body p { font-size: 13px; color: var(--acm-mid); line-height: 1.65; margin-bottom: 18px; }
.acm-events-grid .event-meta { display: flex; gap: 16px; font-size: 12px; color: var(--acm-mid); margin-bottom: 18px; flex-wrap: wrap; }
.acm-events-grid .event-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Testimonials ──────────────────────── */
.acm-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.acm-testimonials-grid .testi-card {
  background: var(--acm-white);
  border: 1px solid var(--acm-border);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
}
.acm-testimonials-grid .testi-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--acm-rose-mid);
  margin-bottom: 16px;
  display: block;
}
.acm-testimonials-grid .testi-text {
  font-size: 15px;
  color: var(--acm-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.acm-testimonials-grid .testi-stars { color: #E8A030; font-size: 16px; margin-bottom: 16px; }
.acm-testimonials-grid .testi-author { display: flex; align-items: center; gap: 14px; }
.acm-testimonials-grid .testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acm-purple-light), var(--acm-rose-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--acm-purple);
  flex-shrink: 0;
}
.acm-testimonials-grid .testi-name { font-weight: 700; font-size: 15px; color: var(--acm-dark); }
.acm-testimonials-grid .testi-location { font-size: 12px; color: var(--acm-mid); margin-top: 2px; }
.acm-testimonials-grid .testi-service {
  display: inline-block;
  margin-top: 4px;
  background: var(--acm-purple-light);
  color: var(--acm-purple-mid);
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Gallery ───────────────────────────── */
.acm-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 24px;
}
.acm-gallery-grid .gallery-item {
  border-radius: 10px;
  overflow: hidden;
  background: var(--acm-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  position: relative;
}
.acm-gallery-grid .gallery-item.tall { grid-row: span 2; min-height: 460px; }
.acm-gallery-grid .gallery-placeholder {
  text-align: center;
  padding: 32px;
  color: var(--acm-purple-mid);
}
.acm-gallery-grid .gallery-placeholder .ph-icon { font-size: 36px; margin-bottom: 12px; }
.acm-gallery-grid .gallery-placeholder p { font-size: 13px; line-height: 1.6; opacity: 0.75; }
.acm-gallery-grid .gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(59,34,119,0.75), transparent);
  color: var(--acm-white);
  padding: 20px 18px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Responsive ────────────────────────── */
@media (max-width: 900px) {
  .acm-events-grid, .acm-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .acm-events-grid, .acm-testimonials-grid { grid-template-columns: 1fr; }
  .acm-gallery-grid { grid-template-columns: 1fr 1fr; }
  .acm-gallery-grid .gallery-item.tall { grid-row: span 1; }
}
