/* ==========================================================================
   LOVELY EVENTS & DECORATION — seo-sections.css
   Local-SEO additions to the home page only: Areas We Serve, FAQ,
   Testimonials (hidden until real reviews exist), the Contact map and the
   footer area links. Purely additive: reuses the site's existing tokens
   (--color-*, --font-*, --radius-*, --ease, --dur-*) and section patterns,
   and does not restyle any existing element.
   Loaded right after mobile.css; royal-buttons.css still loads last.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Areas We Serve (#areas)
   -------------------------------------------------------------------------- */
.areas-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .7rem;
}
@media (min-width: 700px)  { .areas-grid { grid-template-columns: repeat(3, 1fr); gap: .9rem; } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(4, 1fr); } }

.area-item {
  display: flex; align-items: center; gap: .45rem;
  min-height: 56px;
  padding: .6rem .6rem;
  background: #17171A;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.15;
  overflow-wrap: break-word;
}
.area-item .icon { width: 20px; height: 20px; color: var(--color-accent); }
.area-name { min-width: 0; }
.area-arrow { display: none; width: 16px; height: 16px; margin-left: auto; color: var(--color-secondary-light); opacity: .85; }

a.area-item--link {
  border-color: var(--color-border-gold);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
a.area-item--link:hover { border-color: var(--color-accent); background: #1d1d21; transform: translateY(-2px); }
a.area-item--link:hover .area-arrow { opacity: 1; }

@media (min-width: 700px) {
  .area-arrow { display: block; }
  .area-item { padding: .7rem 1.1rem; font-size: 1.25rem; gap: .75rem; }
}

/* Tamil introduction. Noto Sans Tamil comes from the Google Fonts link in
   <head>; system Tamil fonts take over if it can't load. */
.areas-ta {
  margin-top: 1.6rem;
  max-width: 62rem;
  padding: 1.2rem 1.3rem;
  background: rgba(23, 23, 26, .6);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  font-family: 'Noto Sans Tamil', 'Nirmala UI', 'Latha', 'Tamil Sangam MN', var(--font-body);
  color: var(--color-text-muted);
  font-size: .98rem;
  line-height: 1.95;
}
.areas-ta p { margin: 0; }
@media (min-width: 768px) { .areas-ta { padding: 1.6rem 2rem; font-size: 1.02rem; } }

/* --------------------------------------------------------------------------
   2. FAQ (#faq) — native <details>/<summary> accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--color-border-gold);
}
.faq-item { border-bottom: 1px solid var(--color-border-gold); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px;
  padding: .8rem .15rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
  line-height: 1.2;
  color: var(--color-text);
  transition: color var(--dur-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-q:hover, .faq-item[open] > .faq-q { color: var(--color-accent); }

.faq-toggle {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--color-border-gold);
  border-radius: 50%;
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.6px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a { padding: 0 .15rem 1.3rem; max-width: 70ch; }
.faq-a p { margin: 0; color: var(--color-text-muted); font-size: 1rem; line-height: 1.75; }
.faq-a a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 164, 92, .5);
  /* inline links: extend the tap area vertically toward 44px without moving text */
  padding-block: .55em;
}
.faq-a a:hover { color: #E9CF8E; text-decoration-color: currentColor; }

@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faq-in .35s var(--ease); }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------------------------
   3. Testimonials (#testimonials) — hidden until real reviews are added
   -------------------------------------------------------------------------- */
#testimonials[hidden] { display: none !important; }
.testimonials-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  margin: 0;
  background: #17171A;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-text);
}
.testimonial-card figcaption {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--color-border-gold);
  color: var(--color-text-muted);
  font-size: .85rem;
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   4. Contact map — below the existing card + form row
   -------------------------------------------------------------------------- */
.contact-map { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.map-frame {
  position: relative;
  height: 260px;
  background: var(--color-primary-alt);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.map-frame iframe {
  display: block;
  width: 100%; height: 100%;
  border: 0;
  color-scheme: dark;
}
@media (min-width: 768px) { .map-frame { height: 320px; } }

/* --------------------------------------------------------------------------
   5. Footer — Areas We Serve row (same link look as the other footer columns)
   -------------------------------------------------------------------------- */
.footer-areas {
  grid-column: 1 / -1;
  padding-top: 1.4rem;
  border-top: 1px solid var(--color-border-dark);
}
.footer-areas-list { display: flex; flex-wrap: wrap; column-gap: 1.6rem; row-gap: .1rem; }
.footer-areas-list a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  color: var(--color-text-muted);
  font-size: .92rem;
}
.footer-areas-list a:hover { color: var(--color-text); }
