/*
Theme Name: Tricia's Treats Starter
Theme URI: https://triciastreatsbakery.com/
Author: Tricia's Treats
Author URI: https://triciastreatsbakery.com/
Description: A lightweight, mobile-friendly starter theme for Tricia's Treats Bakery and roadside stand in Troy, Missouri.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tricias-treats-starter
Tags: food-and-drink, custom-logo, featured-images, responsive-layout
*/

:root {
  --tt-pink: #ef3f8f;
  --tt-pink-dark: #c92770;
  --tt-teal: #1ea8a0;
  --tt-teal-dark: #147d78;
  --tt-cream: #fff9f4;
  --tt-white: #ffffff;
  --tt-ink: #2f2930;
  --tt-muted: #6d6570;
  --tt-border: #eadce4;
  --tt-shadow: 0 12px 32px rgba(63, 42, 53, 0.12);
  --tt-radius: 24px;
  --tt-content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tt-ink);
  background: var(--tt-cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--tt-teal-dark); }
a:hover, a:focus { color: var(--tt-pink-dark); }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  z-index: 100000;
  background: #fff;
  color: #111;
}

.tt-wrap {
  width: min(calc(100% - 32px), var(--tt-content));
  margin-inline: auto;
}

.tt-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--tt-border);
  backdrop-filter: blur(10px);
}
.admin-bar .tt-site-header { top: 32px; }
.tt-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.tt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--tt-ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tt-brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--tt-pink), var(--tt-teal));
  box-shadow: 0 8px 18px rgba(239, 63, 143, 0.24);
  font-size: 17px;
}
.tt-brand-copy { display: grid; line-height: 1.08; }
.tt-brand-copy small {
  margin-top: 4px;
  color: var(--tt-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.custom-logo { max-height: 56px; width: auto; }
.tt-nav { display: flex; align-items: center; gap: 18px; }
.tt-nav a {
  color: var(--tt-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.tt-nav a:hover, .tt-nav a:focus { color: var(--tt-pink-dark); }

.tt-announcement {
  padding: 10px 16px;
  color: #fff;
  background: var(--tt-teal-dark);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.tt-announcement a { color: #fff; }

.tt-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(30, 168, 160, 0.16), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(239, 63, 143, 0.17), transparent 26%),
    linear-gradient(180deg, #fff, var(--tt-cream));
}
.tt-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -150px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 52px solid rgba(239, 63, 143, 0.08);
}
.tt-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 54px;
  align-items: center;
}
.tt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--tt-pink-dark);
  background: #fff0f7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tt-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}
.tt-hero h1 span { color: var(--tt-pink-dark); }
.tt-hero-lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--tt-muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}
.tt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--tt-pink-dark);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(201, 39, 112, 0.2);
}
.tt-button:hover, .tt-button:focus { color: #fff; background: #aa1f5d; }
.tt-button--secondary {
  color: var(--tt-teal-dark);
  background: #fff;
  border-color: var(--tt-teal);
  box-shadow: none;
}
.tt-button--secondary:hover, .tt-button--secondary:focus {
  color: #fff;
  background: var(--tt-teal-dark);
}
.tt-hero-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(234, 220, 228, 0.9);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--tt-shadow);
}
.tt-hero-card::before {
  content: "Fresh today";
  position: absolute;
  top: -14px;
  right: 22px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--tt-teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tt-hero-card h2 { margin: 0 0 18px; font-size: 25px; }
.tt-detail-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tt-detail-list li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.tt-detail-list strong { display: block; }
.tt-detail-list span { color: var(--tt-muted); }
.tt-icon { font-size: 21px; line-height: 1.4; }

.tt-section { padding: 72px 0; }
.tt-section--white { background: #fff; }
.tt-section-head { max-width: 720px; margin-bottom: 34px; }
.tt-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.tt-section-head p { margin: 0; color: var(--tt-muted); font-size: 18px; }

.tt-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tt-product {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(63, 42, 53, 0.06);
}
.tt-product:nth-child(2n) { border-top: 5px solid var(--tt-teal); }
.tt-product:nth-child(2n+1) { border-top: 5px solid var(--tt-pink); }
.tt-product h3 { margin: 0 0 8px; font-size: 22px; }
.tt-product p { margin: 0 0 18px; color: var(--tt-muted); }
.tt-product-price { margin-top: auto; color: var(--tt-pink-dark); font-size: 20px; font-weight: 900; }

.tt-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tt-step {
  padding: 28px;
  border-radius: var(--tt-radius);
  background: var(--tt-cream);
}
.tt-step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--tt-pink-dark);
  font-weight: 900;
}
.tt-step:nth-child(2) .tt-step-number { background: var(--tt-teal-dark); }
.tt-step h3 { margin: 0 0 8px; }
.tt-step p { margin: 0; color: var(--tt-muted); }

.tt-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--tt-pink-dark), #e8458c 55%, var(--tt-teal-dark));
  box-shadow: var(--tt-shadow);
}
.tt-contact-card h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.06; }
.tt-contact-card p { margin: 0; font-size: 18px; }
.tt-contact-card .tt-actions { justify-content: flex-end; }
.tt-contact-card .tt-button { color: var(--tt-pink-dark); background: #fff; box-shadow: none; }
.tt-contact-card .tt-button:hover, .tt-contact-card .tt-button:focus { color: #fff; background: var(--tt-ink); }

.tt-content {
  max-width: 820px;
  margin: 54px auto;
  padding: 34px;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius);
  background: #fff;
  box-shadow: var(--tt-shadow);
}
.tt-content h1 { line-height: 1.1; }
.tt-entry-meta { color: var(--tt-muted); font-size: 14px; }

.tt-site-footer {
  padding: 44px 0;
  color: #fff;
  background: var(--tt-ink);
}
.tt-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.tt-site-footer a { color: #fff; }
.tt-footer-title { margin: 0 0 6px; font-weight: 900; font-size: 20px; }
.tt-footer-copy { margin: 0; color: rgba(255,255,255,0.75); }
.tt-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 860px) {
  .admin-bar .tt-site-header { top: 46px; }
  .tt-nav { display: none; }
  .tt-hero { padding-top: 52px; }
  .tt-hero-grid, .tt-contact-card { grid-template-columns: 1fr; }
  .tt-products, .tt-steps { grid-template-columns: 1fr 1fr; }
  .tt-contact-card .tt-actions { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .tt-wrap { width: min(calc(100% - 24px), var(--tt-content)); }
  .tt-header-inner { min-height: 66px; }
  .tt-brand-mark { width: 40px; height: 40px; }
  .tt-brand-copy { font-size: 15px; }
  .tt-brand-copy small { font-size: 10px; }
  .tt-hero { padding: 42px 0 48px; }
  .tt-hero h1 { font-size: 47px; }
  .tt-hero-card { padding: 24px; }
  .tt-section { padding: 52px 0; }
  .tt-products, .tt-steps { grid-template-columns: 1fr; }
  .tt-footer-grid { grid-template-columns: 1fr; }
  .tt-actions, .tt-button { width: 100%; }
  .tt-content { margin: 28px 12px; padding: 24px; }
}
