/*
Theme Name: Stacy's Fresh Cut Florals
Theme URI: https://example.com/
Author: OpenAI
Description: A custom WordPress theme built to match the supplied floral brand mockups and designed to work smoothly with Elementor.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: stacysfresh
*/

:root {
  --sf-bg: #f4efe7;
  --sf-paper: #f7f2ea;
  --sf-text: #262321;
  --sf-muted: #6d665f;
  --sf-line: #d4b05b;
  --sf-line-dark: #bc9441;
  --sf-accent: #9d7d3a;
  --sf-max: 1180px;
  --sf-shadow: 0 18px 50px rgba(33, 28, 20, 0.08);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--sf-text);
  background: var(--sf-bg);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sf-accent); }
img { max-width: 100%; height: auto; display: block; }
.site-main { min-height: 50vh; }
.container, .sf-container { width: min(calc(100% - 40px), var(--sf-max)); margin: 0 auto; }
.sf-section { padding: 64px 0; }
.sf-section-tight { padding: 38px 0; }
.sf-hero img,
.sf-banner img,
.sf-page-hero img { width: 100%; }
.sf-page-hero { position: relative; overflow: hidden; }
.sf-page-hero-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom, rgba(244,239,231,.15), rgba(244,239,231,.18));
}
.sf-page-hero-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(56px, 8vw, 132px);
  color: rgba(22,19,17,.85);
  text-align: center; padding: 0 20px; text-shadow: 0 2px 12px rgba(255,255,255,.45);
}
.sf-site-header {
  position: sticky; top: 0; z-index: 200; backdrop-filter: blur(10px);
  background: rgba(247,242,234,.88); border-bottom: 1px solid rgba(188,148,65,.25);
}
.sf-header-inner {
  width: min(calc(100% - 34px), 1240px); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  min-height: 84px;
}
.sf-brand { display: flex; align-items: center; gap: 14px; }
.sf-brand-mark {
  width: 56px; height: 56px; border-radius: 18px; border: 1.6px solid rgba(157,125,58,.55);
  display: grid; place-items: center; font-family: "Cormorant Garamond", serif; font-size: 34px;
  font-weight: 600; background: rgba(255,255,255,.55);
}
.sf-brand-name { font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.sf-nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.sf-nav a { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.sf-contact-mini { text-align: right; font-size: 15px; color: var(--sf-muted); }
.sf-contact-mini span { display: block; }
.sf-footer { background: #efe7db; border-top: 1px solid rgba(188,148,65,.25); }
.sf-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding: 56px 0; }
.sf-footer-title, .widget-title { text-transform: uppercase; font-size: 16px; letter-spacing: .1em; margin: 0 0 14px; }
.sf-copyright { border-top: 1px solid rgba(188,148,65,.2); padding: 16px 0 24px; font-size: 15px; color: var(--sf-muted); }
.sf-ornament { display: grid; gap: 10px; justify-items: center; margin-bottom: 28px; }
.sf-ornament-line { width: min(520px, 100%); height: 2px; background: linear-gradient(90deg, transparent 0%, var(--sf-line) 12%, var(--sf-line) 88%, transparent 100%); position: relative; }
.sf-ornament-line:before, .sf-ornament-line:after { content: ""; position: absolute; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--sf-line); }
.sf-ornament-line:before { left: 12%; } .sf-ornament-line:after { right: 12%; }
.sf-ornament-flourish { color: var(--sf-line); font-size: 26px; letter-spacing: .25em; line-height: 1; }
.sf-script-title {
  font-family: "Great Vibes", cursive; text-align: center; font-weight: 400; line-height: .95;
  font-size: clamp(54px, 7vw, 114px); margin: 0;
}
.sf-script-title-sm {
  font-family: "Great Vibes", cursive;
  text-align: left;
  font-weight: 400;
  line-height: .95;
  font-size: clamp(16px, 2vw, 30px);
  margin: 0;
}

.sf-title-subtext { text-align: center; font-size: clamp(24px, 2.2vw, 38px); }
.sf-intro { text-align: center; max-width: 820px; margin: 0 auto; }
.sf-three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.sf-card {
  background: rgba(255,255,255,.35); border: 2px solid rgba(212,176,91,.65); border-radius: 22px;
  padding: 26px; box-shadow: var(--sf-shadow); text-align: center;
}
.sf-frame { position: relative; }
.sf-frame:before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(212,176,91,.55); border-radius: 16px; pointer-events:none;
}
.sf-card h3, .sf-card h4 { margin: 0 0 8px; font-size: clamp(30px, 3vw, 40px); font-weight: 500; }
.sf-price { font-size: 34px; margin: 6px 0 14px; color: #3d352d; }
.sf-card p, .sf-card li { color: var(--sf-muted); font-size: 18px; }
.sf-button, button, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 999px;
  background: var(--sf-accent); color: white; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; border: 0;
}
.sf-button:hover { background: var(--sf-line-dark); color: white; }
.sf-pill-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.sf-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 34px; }
.sf-gallery-item img, .sf-circle img, .sf-arched img, .sf-hex img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 5px solid var(--sf-line);
  box-shadow: var(--sf-shadow); background: #fff;
}
.sf-circle img { border-radius: 50%; }
.sf-arched img { border-radius: 48% 48% 10% 10% / 18% 18% 8% 8%; }
.sf-hex img { clip-path: polygon(25% 6%, 75% 6%, 100% 28%, 100% 72%, 75% 94%, 25% 94%, 0 72%, 0 28%); }
.sf-hero-grid { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 34px; align-items: center; }
.sf-text-small { font-size: 18px; color: var(--sf-muted); }
/*
.sf-services-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
*/

.sf-services-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.sf-services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sf-list-clean { list-style: none; padding: 0; margin: 0; }

/*
.sf-service-row { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(38,35,33,.35); }
.sf-service-title { font-size: clamp(28px, 3vw, 42px); }
*/

.sf-service-row {
  display: flex;
  flex-direction: column;   /* stack title + text */
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.sf-script-title-sm {
  margin-bottom: 4px;
}

.sf-service-content {
  width: 100%;
}

.sf-service-content p {
  margin: 0;
  max-width: 100%;
}

.sf-service-title {
  all: unset; /* or just remove old flex-basis rules */
}


.sf-service-row:last-child { border-bottom: 0; }

.sf-contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 40px; align-items: center; }
.sf-bouquet-list { display: grid; gap: 44px; }
.sf-bouquet-item { display: grid; grid-template-columns: 220px 190px 1fr; gap: 28px; align-items: center; }
.sf-bouquet-item:nth-child(even) { grid-template-columns: 190px 1fr 220px; }
.sf-bouquet-item:nth-child(even) .sf-bouquet-photo { order: 3; }
.sf-bouquet-item:nth-child(even) .sf-bouquet-name { order: 1; }
.sf-bouquet-item:nth-child(even) .sf-bouquet-desc { order: 2; }
.sf-bouquet-name h3 { margin: 0 0 8px; font-size: clamp(30px, 3vw, 44px); font-weight: 500; }
.sf-bouquet-desc { padding-bottom: 16px; border-bottom: 1px solid rgba(38,35,33,.45); }
.sf-bundles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sf-bundle-card { min-height: 100%; }
.sf-bundle-card h3 { font-family: "Great Vibes", cursive; font-size: clamp(42px, 4vw, 66px); line-height: 1; }
.sf-center { text-align: center; }
.sf-mb-0 { margin-bottom: 0; }
.sf-mt-0 { margin-top: 0; }
.sf-note { font-size: 16px; color: var(--sf-muted); font-style: italic; }
.sf-lead { font-size: clamp(23px, 2vw, 34px); }
.sf-page-header-space { padding-top: 24px; }
.page-template-template-elementor-fullwidth .site-main, .elementor-page .site-main { padding: 0; }
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--sf-max); }
.elementor-widget-heading .elementor-heading-title { font-family: "Cormorant Garamond", serif; }

@media (max-width: 1100px) {
  .sf-footer-grid, .sf-services-grid, .sf-contact-grid, .sf-hero-grid { grid-template-columns: 1fr; }
  .sf-bouquet-item, .sf-bouquet-item:nth-child(even) { grid-template-columns: 1fr; }
  .sf-bouquet-item:nth-child(even) .sf-bouquet-photo,
  .sf-bouquet-item:nth-child(even) .sf-bouquet-name,
  .sf-bouquet-item:nth-child(even) .sf-bouquet-desc { order: initial; }
}
@media (max-width: 900px) {
  .sf-three-col, .sf-gallery-grid, .sf-bundles { grid-template-columns: 1fr; }
  .sf-header-inner { grid-template-columns: 1fr; padding: 12px 0; }
  .sf-brand, .sf-nav, .sf-contact-mini { justify-content: center; text-align: center; }
  .sf-nav { gap: 14px; }
}

.sf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.sf-brand {
  display: inline-flex;
  align-items: center;
  z-index: 1002;
}

.sf-brand img {
  display: block;
  max-height: 90px; /* adjust as needed */
  width: auto;
}

.sf-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
}

.sf-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 0 auto;
  background: #333;
  border-radius: 3px;
  transition: all 0.25s ease;
}

.sf-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sf-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.sf-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* desktop stays unchanged */
@media (min-width: 981px) {
  .sf-nav {
    display: block;
  }
}

/* phones and small tablets */
@media (max-width: 980px) {
  .sf-menu-toggle {
    display: flex;
  }

  .sf-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 1001;
  }

  .sf-nav.is-open {
    display: block;
  }

  .sf-nav ul,
  .sf-nav {
    margin: 0;
    padding-left: 0;
    list-style: none;
  }

  .sf-nav li {
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .sf-nav li:last-child {
    border-bottom: 0;
  }

  .sf-nav a {
    display: block;
    padding: 14px 0;
    width: 100%;
  }

  /* in case desktop menu uses flex */
  .sf-nav > ul,
  .sf-nav .menu {
    display: block !important;
  }
}

