/*
Theme Name: Hello Elementor Child — Artelligence
Theme URI: https://artelligence.in
Description: Child theme of Hello Elementor. Loads Inter + Artelligence brand helper styles for the Elementor-built homepage (hero tiles, client logos, badges, quote mark).
Author: Artelligence
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ============================================================
   Brand tokens (mirror of the original styles.css :root)
   ============================================================ */
:root {
  --art-accent:   #d02c91;
  --art-accent-2: #7c3aed;
  --art-text:     #111827;
  --art-muted:    #6b7280;
}

body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* Headline accent — wrap the accented words in <span class="art-em"> */
.art-em { color: var(--art-accent); font-style: italic; }

/* Uploaded site logo in the nav (Customizer → Site Identity → Logo) */
.nav__logo-img { height: 36px; width: auto; display: block; }
/* And the same logo reused in the footer (renders smaller on dark bg) */
.footer__logo .nav__logo-img { height: 32px; }

/* ============================================================
   HERO — 3-col gradient tile grid (rendered via an HTML widget)
   ============================================================ */
.art-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}
.art-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.art-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.art-tile svg { width: 32px; height: 32px; opacity: .9; }
.art-tile--1 { background: linear-gradient(145deg, #d02c91, #9b1b6c); }
.art-tile--2 { background: linear-gradient(145deg, #7c3aed, #5b21b6); }
.art-tile--3 { background: linear-gradient(145deg, #0ea5e9, #0369a1); }
.art-tile--4 { background: linear-gradient(145deg, #f59e0b, #d97706); }
.art-tile--5 { background: linear-gradient(145deg, #10b981, #059669); }
.art-tile--6 { background: linear-gradient(145deg, #6366f1, #4338ca); }

/* ============================================================
   QUOTE / PHILOSOPHY — big quotation icon
   ============================================================ */
.art-quote-icon { width: 48px; height: 48px; color: var(--art-accent); margin: 0 auto 24px; }
.art-quote-icon svg { width: 100%; height: 100%; }

/* ============================================================
   SERVICE CARD bits
   ============================================================ */
.art-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(208,44,145,.12), rgba(124,58,237,.12));
  color: var(--art-accent); margin-bottom: 20px;
}
.art-card-icon svg { width: 28px; height: 28px; }
.art-badge {
  display: inline-block;
  background: var(--art-accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}

/* ============================================================
   INSIGHT (testimonial) bits
   ============================================================ */
.art-quote-mark {
  font-size: 64px; line-height: .7; font-weight: 800;
  color: var(--art-accent); opacity: .25; font-family: Georgia, serif;
  user-select: none; margin-bottom: 8px;
}
.art-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  background: linear-gradient(135deg, var(--art-accent), var(--art-accent-2));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
}
.art-author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.art-author-name { font-weight: 700; color: var(--art-text); margin: 0; line-height: 1.3; }
.art-author-role { font-size: 14px; color: var(--art-muted); margin: 0; }

/* ============================================================
   CLIENTS — logo strip
   ============================================================ */
.art-client-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 48px;
}
.art-clogo { opacity: .6; filter: grayscale(30%); transition: opacity .35s, filter .35s, transform .35s; }
.art-clogo:hover { opacity: 1; filter: none; transform: scale(1.04); }
.art-clogo svg { width: 160px; height: 60px; }

/* ============================================================
   FOOTER bits
   ============================================================ */
.art-footer-logo { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.art-footer-logo .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; margin-right: 2px;
  background: linear-gradient(135deg, var(--art-accent), var(--art-accent-2));
}
.art-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; color: #fff;
  background: rgba(255,255,255,.08); transition: background .35s;
}
.art-social-link:hover { background: var(--art-accent); }

/* ============================================================
   FOOTER WIDGET AREAS — make native blocks (Appearance → Widgets)
   inherit the dark-footer look so the design stays consistent.
   ============================================================ */
.footer__widget { margin: 0; }

/* Headings (e.g. a Heading block used as a column title) */
.footer__nav .footer__widget :is(h1,h2,h3,h4,h5,h6),
.footer__nav .wp-block-heading {
  color: rgba(255,255,255,.9); font-size: 15px; font-weight: 700;
  letter-spacing: .02em; margin: 0 0 16px;
}

/* List blocks → match the original footer link columns */
.footer__nav .wp-block-list { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px; }

/* All footer block links */
.footer .footer__widget a,
.footer__nav .wp-block-list a {
  font-size: 14px; color: rgba(255,255,255,.45);
  text-decoration: none; transition: color .25s;
}
.footer .footer__widget a:hover,
.footer__nav .wp-block-list a:hover { color: rgba(255,255,255,.9); }

/* Brand area: paragraphs muted, logo image sized, socials styled */
.footer__brand .footer__widget p { font-size: 14px; color: rgba(255,255,255,.4); }
.footer__brand .footer__widget .wp-block-image img { width: 200px; height: auto; }
.footer__brand .wp-block-social-links { gap: 8px; margin-top: 14px; }
.footer__brand .wp-block-social-link { background: rgba(255,255,255,.08); }
.footer__brand .wp-block-social-link:hover { background: var(--art-accent); }
