/*
Theme Name: Vedic Crystal India — Tools
Theme URI: https://vediccrystalindia.com
Author: Vedic Crystal India
Author URI: https://vediccrystalindia.com
Description: Minimal companion theme for tools.vediccrystalindia.com. Matches the colors, fonts, header and footer of the main Vedic Crystal India store (vediccrystalindia.com) so free tools like the Vedic Rashi Finder feel like part of the same brand.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: vci-tools
*/

/* ==========================================================================
   Brand tokens — color-picked directly from vediccrystalindia.com's live
   Shopify theme (its --color-background / --color-foreground / --color-button
   custom properties, and its "color-scheme-5" maroon section scheme), so
   this subdomain reads as the same brand rather than an approximation.
   ========================================================================== */
:root {
  --vci-cream:        #fbf3e9; /* body / section background */
  --vci-cream-header:  #f7e9d7; /* header background (slightly deeper) */
  --vci-maroon:        #7a1e3a; /* primary brand color — buttons, accents */
  --vci-maroon-dark:   #5a162b; /* hover state for maroon buttons */
  --vci-gold:          #dfaf67; /* secondary accent — CTA buttons, borders */
  --vci-navy:          #0b2e48; /* section headings on cream background */
  --vci-text:          #3a2e28; /* body copy */
  --vci-cream-text:    #fff9f0; /* text on maroon background */
  --vci-border:        #e6d9c4;

  --vci-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --vci-font-body: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { overflow-x: clip; }

body {
  margin: 0;
  background: var(--vci-cream);
  color: var(--vci-text);
  font-family: var(--vci-font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--vci-font-heading);
  color: var(--vci-navy);
  font-weight: 400;
  margin: 0 0 0.5em;
}

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

.vci-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Announcement bar ---------- */
.vci-announce {
  background: var(--vci-maroon);
  color: var(--vci-cream-text);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
}

/* ---------- Header ---------- */
.vci-header {
  background: var(--vci-cream-header);
  border-bottom: 1px solid var(--vci-border);
}
.vci-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.vci-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vci-logo img {
  height: 42px;
  width: auto;
}
.vci-logo-fallback {
  font-family: var(--vci-font-heading);
  font-size: 22px;
  color: var(--vci-maroon);
  line-height: 1.1;
}
.vci-logo-fallback small {
  display: block;
  font-family: var(--vci-font-body);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--vci-gold);
  font-weight: 700;
}
.vci-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vci-header__nav li { min-width: 0; }
.vci-header__nav a {
  color: var(--vci-text);
  opacity: 0.85;
}
.vci-header__nav a:hover { opacity: 1; color: var(--vci-maroon); }
.vci-header__badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vci-gold);
  font-weight: 700;
  border: 1px solid var(--vci-gold);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ---------- Page hero / eyebrow ---------- */
.vci-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vci-gold);
  margin-bottom: 8px;
}

/* ---------- Main content area ---------- */
.vci-main {
  padding: 48px 24px 64px;
}

/* ---------- Page (page.php / index.php) ---------- */
.vci-page__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.vci-page__title {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  margin: 0;
}
.vci-page__content {
  max-width: 720px;
  margin: 0 auto;
}
.vci-page__content p {
  margin: 0 0 1em;
}
.vci-page__content a {
  color: var(--vci-maroon);
  text-decoration: underline;
}
.vci-page__content img {
  border-radius: 12px;
}

/* Buttons, in case theme-level CTAs are used outside the plugin's own card */
.vci-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vci-maroon);
  color: var(--vci-cream-text);
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.vci-btn:hover { background: var(--vci-maroon-dark); }
.vci-btn--gold {
  background: var(--vci-gold);
  color: var(--vci-maroon-dark);
}

/* ---------- Join band (optional, used sparingly) ---------- */
.vci-band {
  background: var(--vci-maroon);
  color: var(--vci-cream-text);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 40px auto 0;
  max-width: 1052px;
}
.vci-band h3 { color: var(--vci-gold); margin-bottom: 4px; }
.vci-band p { margin: 0; opacity: 0.9; }

/* ---------- Footer ---------- */
.vci-footer {
  background: var(--vci-cream-header);
  border-top: 1px solid var(--vci-border);
  padding: 40px 24px 28px;
  margin-top: 48px;
}
.vci-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.vci-footer__brand .vci-logo-fallback { font-size: 20px; }
.vci-footer__tagline {
  margin-top: 10px;
  font-size: 13px;
  color: var(--vci-text);
  opacity: 0.75;
  max-width: 260px;
}
.vci-footer__links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.vci-footer__col h4 {
  font-family: var(--vci-font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vci-maroon);
  font-weight: 700;
  margin-bottom: 10px;
}
.vci-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vci-footer__col a {
  display: block;
  font-size: 14px;
  color: var(--vci-text);
  opacity: 0.8;
  margin-bottom: 8px;
}
.vci-footer__col a:hover { opacity: 1; color: var(--vci-maroon); }
.vci-footer__bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--vci-border);
  font-size: 12px;
  color: var(--vci-text);
  opacity: 0.6;
  text-align: center;
}

@media (max-width: 700px) {
  .vci-header__inner { flex-wrap: wrap; gap: 12px; }
  .vci-header__nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: 16px 20px; }
  .vci-footer__inner { flex-direction: column; }
  .vci-band { padding: 22px 20px; }
}
