/*
Theme Name: Magnolia Creative Socials
Theme URI: https://magnoliacreativesocials.com
Author: Sanctheon
Description: The Magnolia Creative Socials design, ported 1:1 from the original static page — olive, floral rose, and gold, with the layout carried by the theme so content edits can't break it.
Version: 1.0.0
Text Domain: magnolia
*/

/* ==========================================================================
   Magnolia Creative Socials — design system
   Palette pulled from the logo: olive green, floral rose, gold, cream.
   ========================================================================== */
:root {
  --olive:      #4a5d1f;
  --olive-deep: #3c4c17;
  --olive-soft: #67763a;
  --rose:       #a64958;
  --rose-soft:  #c47a86;
  --blush:      #f7e3e1;
  --blush-soft: #fbf1ee;
  --gold:       #c0932f;
  --gold-soft:  #e4c87f;
  --cream:      #fffdf9;
  --ink:        #43403a;
  --ink-soft:   #7a7468;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; }
a { color: var(--rose); }

/* ---------- header: olive green band, logo in an oval ---------- */
.mg-header {
  background:
    radial-gradient(ellipse 90% 65% at 50% -10%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(180deg, var(--olive-soft), var(--olive) 45%, var(--olive-deep));
  padding: 44px 16px 40px;
  text-align: center;
}
.mg-logo-oval {
  width: min(430px, 86vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 50%;
  padding: 10px;
  box-shadow:
    0 0 0 3px var(--gold),
    0 0 0 7px rgba(255,255,255,.35),
    0 18px 44px rgba(0,0,0,.35);
  overflow: hidden;
}
.mg-logo-oval img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* ---------- menu: floral pink text on white ---------- */
.mg-menu {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.97);
  border-bottom: 2px solid var(--gold-soft);
  box-shadow: 0 2px 14px rgba(74,93,31,.10);
}
body.admin-bar .mg-menu { top: 32px; }
@media (max-width: 782px) { body.admin-bar .mg-menu { top: 46px; } }
.mg-menu ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 12px;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 34px;
}
.mg-menu li { margin: 0; }
.mg-menu a {
  display: inline-block;
  padding: 14px 2px 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.mg-menu a:hover { color: var(--olive); border-bottom-color: var(--gold); }

/* ---------- main: white ground ---------- */
.mg-main { max-width: 1020px; margin: 0 auto; padding: 10px 20px 30px; }
.mg-tagline {
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.9rem, 5.5vw, 2.7rem);
  color: var(--olive);
  text-align: center;
  margin: 34px 0 4px;
}
.mg-intro {
  max-width: 680px;
  margin: 10px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.mg-rule {
  display: flex; align-items: center; gap: 14px;
  max-width: 420px; margin: 30px auto 6px;
  color: var(--gold);
}
.mg-rule::before, .mg-rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.mg-rule span { font-size: 1.05rem; }

.mg-section { padding: 34px 0 8px; scroll-margin-top: 76px; }
.mg-h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--olive-deep);
  text-align: center;
  margin: 0 0 4px;
  letter-spacing: .02em;
}
.mg-h2 .script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  color: var(--rose);
  font-size: 1.25em;
  letter-spacing: 0;
}
.mg-sub {
  text-align: center; color: var(--ink-soft);
  max-width: 640px; margin: 6px auto 0; font-size: .98rem;
}

.mg-cards { display: grid; gap: 22px; margin-top: 28px; }
@media (min-width: 760px) { .mg-cards { grid-template-columns: 1fr 1fr; } }
.mg-card {
  background: var(--cream);
  border: 1px solid var(--blush);
  border-top: 4px solid var(--gold-soft);
  border-radius: 14px;
  padding: 26px 26px 22px;
  box-shadow: 0 8px 26px rgba(74,93,31,.08);
}
.mg-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem; font-weight: 700;
  color: var(--rose);
  margin: 0 0 8px;
}
.mg-card p { margin: 0 0 10px; font-size: .97rem; }
.mg-card p:last-child { margin-bottom: 0; }
.mg-card .fine { color: var(--ink-soft); font-size: .9rem; font-style: italic; }

/* photograph frames (event photos to come) */
.mg-photo-slot {
  margin-top: 26px;
  border: 2px solid var(--gold-soft);
  border-radius: 14px;
  background:
    repeating-linear-gradient(45deg, #fdf6ec 0 14px, #fbf1ee 14px 28px);
  min-height: 190px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 22px;
  color: var(--ink-soft);
}
.mg-photo-slot .script {
  font-family: "Great Vibes", cursive;
  font-size: 1.8rem; color: var(--rose-soft);
}
.mg-photo-slot p { margin: 4px 0 0; font-size: .88rem; letter-spacing: .04em; }

/* about */
.mg-about { margin-top: 30px; align-items: center; }
.mg-portrait {
  border-radius: 50% 50% 14px 14px;
  border: 3px solid var(--gold-soft);
  box-shadow: 0 14px 34px rgba(74,93,31,.18);
  overflow: hidden;
  margin: 0;
}
.mg-portrait img { width: 100%; height: auto; display: block; }
.mg-about h3 {
  font-family: "Great Vibes", cursive; font-weight: 400;
  font-size: 2.3rem; color: var(--olive); margin: 0 0 6px;
}
.mg-about p { margin: 0 0 12px; font-size: .99rem; }
.mg-sign {
  font-family: "Great Vibes", cursive;
  font-size: 1.7rem; color: var(--rose); margin-top: 6px;
}

/* contact */
.mg-contact-card {
  margin-top: 28px;
  background: var(--blush-soft);
  border: 1px solid var(--blush);
  border-radius: 14px;
  padding: 30px 26px;
  text-align: center;
}
.mg-contact-card p { max-width: 560px; margin: 0 auto 10px; font-size: .99rem; }
.mg-contact-note { color: var(--ink-soft); font-size: .92rem; font-style: italic; }

/* ---------- inner pages ---------- */
.mg-page { padding-top: 26px; }
.mg-page-body { max-width: 760px; margin: 22px auto 0; font-size: 1rem; }
.mg-page-body h2, .mg-page-body h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--olive-deep);
}
.mg-page-body h3 { color: var(--rose); }
.mg-page-body img { border-radius: 12px; }
.mg-page-body figure { margin: 18px 0; }
.mg-page-body figcaption { color: var(--ink-soft); font-size: .88rem; text-align: center; margin-top: 6px; }

/* ---------- footer: pink gingham ribbon ---------- */
.mg-footer { margin-top: 46px; }
.mg-gingham {
  background-color: #f6c9cf;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.45) 50%, transparent 50%),
    linear-gradient(rgba(255,255,255,.45) 50%, transparent 50%);
  background-size: 34px 34px;
  border-top: 3px solid var(--gold-soft);
  border-bottom: 3px solid var(--gold-soft);
  padding: 20px 16px;
  text-align: center;
}
.mg-gingham .brand {
  font-family: "Great Vibes", cursive;
  font-size: 1.6rem; color: var(--olive-deep); display: block;
}
.mg-gingham .copy {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #7c3542; font-size: .95rem;
}

/* ---------- block editor alignment helpers ---------- */
.wp-block-image img { height: auto; }
.aligncenter { margin-left: auto; margin-right: auto; }
