/* ===== My Crafty Lady Boutique — styles ===== */

:root {
  --sage: #5c7690;
  --sage-dark: #26324a;
  --sage-light: #eaf2fa;
  --wood: #7a3f37;
  --wood-dark: #40201c;
  --cream: #f7fafc;
  --coral: #8c4a40;
  --coral-dark: #6b352c;
  --teal: #4f6a80;
  --gold: #c9a662;
  --ink: #2c313c;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow: 0 14px 34px rgba(30, 40, 58, 0.16);
  --shadow-sm: 0 6px 16px rgba(30, 40, 58, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--sage-dark);
}

.script {
  font-family: 'Pacifico', cursive;
  color: var(--coral-dark);
  font-weight: 400;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--coral-dark);
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 2px solid var(--sage-dark);
}
.btn-outline:hover { background: var(--sage-dark); color: #fff; transform: translateY(-3px); }
.btn-light {
  background: #fff;
  color: var(--coral-dark);
}
.btn-light:hover { background: var(--gold); color: var(--wood-dark); transform: translateY(-3px); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 250, 252, 0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(247, 250, 252, 0.96);
  box-shadow: 0 4px 20px rgba(30,40,58,0.10);
  padding: 10px 0;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 58px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  border-radius: 10px;
  mix-blend-mode: multiply;
}
.site-header.scrolled .brand-logo { height: 46px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a { position: relative; color: var(--sage-dark); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--coral);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.icon-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-light);
  color: var(--sage-dark);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.icon-link:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-dark);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef5fb 0%, var(--cream) 55%, var(--sage-light) 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  z-index: 0;
}
.blob-1 { width: 340px; height: 340px; background: #dce9f7; top: -80px; right: -100px; }
.blob-2 { width: 220px; height: 220px; background: #d7e6e6; bottom: 40px; left: -80px; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: 20px;
}
.hero-copy h1 .script { display: block; font-size: clamp(2.6rem, 5vw, 4rem); }
.hero-copy p {
  font-size: 1.15rem;
  color: #4a5568;
  max-width: 480px;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sage-dark);
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }

.hero-visual {
  position: relative;
}
.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.collage-tall { grid-row: span 2; height: 100%; aspect-ratio: 3/4;}
.collage-a { aspect-ratio: 1/1; }
.collage-b { aspect-ratio: 1/1; }
.hero-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--sage-dark);
  z-index: 2;
}
.hero-badge .dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* ===== Section shells ===== */
section { position: relative; padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-head p { color: #4a5568; font-size: 1.05rem; margin-top: 14px; line-height: 1.6; }
.section-head.left { text-align: left; margin: 0 0 40px; }

.divider-wave {
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  background-repeat: repeat-x;
  background-size: 220px 60px;
  pointer-events: none;
}

/* ===== About ===== */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo--logo {
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--sage-light), #ffffff);
  padding: 48px;
}
.about-photo--logo > img:not(.about-tag) { width: 100%; height: auto; object-fit: contain; }
.about-photo img.about-tag {
  position: absolute;
  top: 22px; left: 22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  border: 2px solid #fff;
  z-index: 2;
}
.about-copy p { color: #4a5568; margin-bottom: 18px; line-height: 1.7; font-size: 1.05rem; }
.owners {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.owner-card {
  background: var(--sage-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  flex: 1;
  min-width: 200px;
}
.owner-card .name { font-family: 'Baloo 2', sans-serif; font-weight: 700; color: var(--sage-dark); font-size: 1.05rem; }
.owner-card .role { font-size: 0.85rem; color: var(--coral-dark); font-weight: 700; margin-top: 4px; }

/* ===== Shop categories ===== */
.shop { background: var(--sage-light); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.category-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.category-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover .category-media img { transform: scale(1.06); }
.category-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--coral);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.category-body { padding: 20px 22px 26px; }
.category-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.category-body p { color: #55606f; font-size: 0.92rem; line-height: 1.55; }

.category-grid.wide { grid-template-columns: repeat(4, 1fr); }
.category-grid.single { grid-template-columns: repeat(3, 1fr); }
.category-grid.single .category-card { grid-column: span 1; max-width: 420px; }
.category-grid.double { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
@media (max-width: 900px) {
  .category-grid.single { grid-template-columns: 1fr; }
  .category-grid.single .category-card { max-width: 480px; margin: 0 auto; }
  .category-grid.double { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ===== Maker blocks ===== */
.maker-block { margin-bottom: 56px; }
.maker-block:last-child { margin-bottom: 0; }
.maker-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(92, 118, 144, 0.18);
}
.maker-header h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  color: var(--sage-dark);
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
.maker-header .maker-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--coral-dark);
}
.maker-header p {
  color: #55606f;
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
  min-width: 220px;
}

/* ===== Custom orders ===== */
.custom {
  background: var(--sage-dark);
  color: #f7fafc;
  overflow: hidden;
}
.custom .section-head h2, .custom .section-head p { color: #f7fafc; }
.custom .section-head p { color: #c9d6e8; }
.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.custom-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.custom-photo img { width: 100%; object-fit: cover; }
.custom-list { display: flex; flex-direction: column; gap: 22px; }
.custom-item { display: flex; gap: 16px; align-items: flex-start; }
.custom-item .icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
}
.custom-item h4 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.custom-item p { color: #c9d6e8; font-size: 0.95rem; line-height: 1.55; }
.custom-actions { margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Gallery strip ===== */
.gallery { background: #fff; padding-top: 90px; padding-bottom: 90px; }
.gallery-track-wrap { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scrollGallery 42s linear infinite;
}
.gallery-track img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
@keyframes scrollGallery {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gallery-track-wrap:hover .gallery-track { animation-play-state: paused; }

/* ===== Visit ===== */
.visit { background: var(--cream); }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.visit-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-sm);
}
.visit-card h3 { font-size: 1.5rem; margin-bottom: 24px; }
.visit-row { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.visit-row .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
}
.visit-row h4 { font-size: 1rem; margin-bottom: 3px; color: var(--ink); font-family: 'Baloo 2', sans-serif; }
.visit-row p, .visit-row a { color: #55606f; font-size: 0.95rem; line-height: 1.5; }
.visit-row a:hover { color: var(--coral-dark); }
.social-row { display: flex; gap: 12px; margin-top: 10px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 340px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ===== Newsletter / CTA band ===== */
.cta-band {
  background: var(--coral);
  color: #fff;
  padding: 60px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.cta-band p { color: #f3e3de; font-size: 1rem; }

/* ===== Footer ===== */
footer {
  background: var(--wood-dark);
  color: #f1e6d9;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.footer-brand .script { color: #dcb0a0; font-size: 1.7rem; }
.footer-caps {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 3px;
  color: #cbb9a5;
}
.footer-col h4 { color: #f1e6d9; font-family: 'Baloo 2', sans-serif; font-size: 1rem; margin-bottom: 16px; }
.footer-col p, .footer-col a { color: #cbb9a5; font-size: 0.92rem; line-height: 1.7; display: block; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(241,230,217,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #b8a691;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .custom-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-grid, .category-grid.wide { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #f7fafc;
    padding: 10px 24px 22px;
    box-shadow: 0 12px 24px rgba(30,40,58,0.14);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  .nav-links.open { max-height: 340px; opacity: 1; padding: 14px 24px 24px; }
  .nav-links a { padding: 10px 0; width: 100%; font-size: 1.05rem; }
  .menu-toggle { display: flex; }
}

@media (max-width: 620px) {
  .maker-header { flex-direction: column; align-items: flex-start; }
  .maker-header h3 { width: 100%; }
  .container { padding: 0 20px; }
  section { padding: 70px 0; }
  .hero { padding-top: 130px; }
  .category-grid, .category-grid.wide { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .hero-badge { left: 10px; bottom: -20px; padding: 12px 16px; }
  .visit-card { padding: 28px; }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; min-width: 0; flex-shrink: 1; }
  .brand-logo { height: 44px; }
  .site-header.scrolled .brand-logo { height: 38px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 0.85rem; white-space: nowrap; }
}

@media (max-width: 400px) {
  .nav-cta .icon-link { display: none; }
}

/* ===== Email fallback toast ===== */
.email-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--sage-dark);
  color: #f7fafc;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  max-width: 90vw;
  text-align: center;
}
.email-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 480px) {
  .email-toast { font-size: 0.8rem; padding: 10px 16px; }
}
