/* ============================================================
   CeeCee's Cakes and Confections — Bespoke Styles
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --cream: #FDF8F0;
  --rose-gold: #B76E79;
  --rose-gold-light: #d4979f;
  --blush: #F2D7D9;
  --chocolate: #3E2723;
  --champagne: #E8D5B7;
  --sage: #A8B89C;
  --sage-light: #c5d4bc;
  --white: #FFFFFF;
  --shadow-soft: 0 4px 24px rgba(62, 39, 35, 0.08);
  --shadow-card: 0 8px 32px rgba(62, 39, 35, 0.10);
  --shadow-float: 0 6px 20px rgba(183, 110, 121, 0.35);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  color: var(--chocolate);
  background-color: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--chocolate); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Confetti/Sprinkle Background Pattern --- */
.sprinkle-bg {
  position: relative;
}
.sprinkle-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 2px, var(--blush) 1px, transparent 1px),
    radial-gradient(circle 1.5px, var(--champagne) 1px, transparent 1px),
    radial-gradient(circle 1px, var(--sage-light) 0.8px, transparent 0.8px);
  background-size: 80px 80px, 60px 60px, 100px 100px;
  background-position: 10px 10px, 35px 45px, 60px 20px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.sprinkle-bg > * { position: relative; z-index: 1; }

/* --- SVG Scallop Divider --- */
.scallop-divider {
  width: 100%;
  height: 40px;
  display: block;
  margin: 0;
  line-height: 0;
}
.scallop-divider--flip { transform: scaleY(-1); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(183, 110, 121, 0.12);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-soft); }
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rose-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--chocolate);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose-gold);
  transition: width var(--transition);
}
.nav__links a:hover::after { width: 100%; }
.nav__links a:hover { color: var(--rose-gold); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--chocolate);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    background: var(--cream);
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  }
  .nav__links.open { right: 0; }
  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(62, 39, 35, 0.3);
    z-index: 99;
  }
  .nav__overlay.open { display: block; }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 50%, var(--champagne) 100%);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 3px, rgba(183, 110, 121, 0.15) 1.5px, transparent 1.5px),
    radial-gradient(circle 2px, rgba(232, 213, 183, 0.2) 1px, transparent 1px);
  background-size: 60px 60px, 45px 45px;
  background-position: 0 0, 22px 30px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  animation: heroFadeIn 1.2s ease-out;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rose-gold);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}
.hero__badge svg { width: 16px; height: 16px; fill: var(--rose-gold); }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-style: italic;
  color: var(--chocolate);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero__title span { color: var(--rose-gold); }
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--chocolate);
  opacity: 0.7;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-gold);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-float);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.hero__cta:hover {
  background: var(--chocolate);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(62, 39, 35, 0.3);
}

/* --- Section Utilities --- */
.section {
  padding: 80px 0;
}
.section--blush { background: var(--blush); }
.section--cream { background: var(--cream); }
.section--champagne { background: var(--champagne); }
.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__label {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--rose-gold);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--chocolate);
  font-style: italic;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--chocolate);
  opacity: 0.65;
  max-width: 600px;
  margin: 12px auto 0;
}

/* --- Gallery --- */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.gallery__filter {
  background: var(--white);
  border: 2px solid var(--blush);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--chocolate);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery__filter:hover,
.gallery__filter.active {
  background: var(--rose-gold);
  border-color: var(--rose-gold);
  color: var(--white);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.gallery__card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(62, 39, 35, 0.15);
}
.gallery__card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(0.9) brightness(1.02);
}
.gallery__card-body {
  padding: 20px;
}
.gallery__card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--rose-gold);
  margin-bottom: 6px;
}
.gallery__card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--chocolate);
}

/* --- Process / The CeeCee Experience --- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process__grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blush), var(--rose-gold), var(--blush));
  z-index: 0;
}
.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--blush);
}
.process__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--rose-gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process__num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-gold);
  margin-bottom: 8px;
}
.process__label {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--chocolate);
  margin-bottom: 8px;
}
.process__desc {
  font-size: 0.9rem;
  color: var(--chocolate);
  opacity: 0.7;
}
@media (max-width: 768px) {
  .process__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }
  .process__grid::before { display: none; }
}
@media (max-width: 480px) {
  .process__grid { grid-template-columns: 1fr; }
}

/* --- Meet CeeCee --- */
.about__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about__image-wrap {
  position: relative;
}
.about__image-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  filter: saturate(0.85) brightness(1.03) sepia(0.08);
}
.about__image-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--rose-gold);
  border-radius: var(--radius);
  z-index: -1;
}
.about__text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-style: italic;
  margin-bottom: 20px;
}
.about__text p {
  margin-bottom: 16px;
  opacity: 0.8;
}
.about__signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--rose-gold);
  margin-top: 20px;
}
@media (max-width: 768px) {
  .about__wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- Testimonial --- */
.testimonial {
  padding: 80px 0;
  background: var(--chocolate);
  color: var(--cream);
  text-align: center;
  position: relative;
}
.testimonial__quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: var(--rose-gold);
  line-height: 0.8;
  opacity: 0.6;
  display: block;
  margin-bottom: -20px;
}
.testimonial__text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.6;
  color: var(--cream);
}
.testimonial__author {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rose-gold);
  letter-spacing: 1px;
}
.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
}
.testimonial__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--rose-gold);
}

/* --- Stats Counter --- */
.stats {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 100%);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stats__item {}
.stats__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--rose-gold);
  font-weight: 700;
}
.stats__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--chocolate);
  opacity: 0.7;
  margin-top: 4px;
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Contact / Tell Us Your Vision --- */
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact__info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-style: italic;
  margin-bottom: 16px;
}
.contact__info p {
  margin-bottom: 24px;
  opacity: 0.8;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
}
.contact__detail svg {
  width: 24px;
  height: 24px;
  stroke: var(--rose-gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.contact__detail a { color: var(--chocolate); }
.contact__detail a:hover { color: var(--rose-gold); }

.contact__form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.form__group {
  margin-bottom: 20px;
}
.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--chocolate);
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--champagne);
  border-radius: var(--radius-sm);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  color: var(--chocolate);
  background: var(--cream);
  transition: border-color var(--transition);
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--rose-gold);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__submit {
  width: 100%;
  padding: 14px;
  background: var(--rose-gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.form__submit:hover {
  background: var(--chocolate);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .contact__wrap { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* --- Footer --- */
.footer {
  background: var(--chocolate);
  color: var(--cream);
  padding: 48px 0 24px;
  text-align: center;
}
.footer__logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--rose-gold);
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 24px;
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
}
.footer__links a {
  color: var(--cream);
  opacity: 0.7;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer__links a:hover { opacity: 1; color: var(--rose-gold); }
.footer__divider {
  width: 60px;
  height: 2px;
  background: var(--rose-gold);
  margin: 0 auto 20px;
  opacity: 0.4;
}
.footer__copy {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- Floating CTA --- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--rose-gold);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  animation: floatBounce 3s ease-in-out infinite;
  transition: background var(--transition);
  border: none;
}
.floating-cta:hover {
  background: var(--chocolate);
  color: var(--white);
  animation-play-state: paused;
}
.floating-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(62, 39, 35, 0.9);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 24px;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 16px 64px rgba(0,0,0,0.4);
  cursor: default;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 300;
}

/* --- Gallery mobile --- */
@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .gallery__filters { gap: 8px; }
  .gallery__filter { padding: 8px 16px; font-size: 0.8rem; }
}
@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
