/* ============================================
   Rose-Annes Candy Shop — style.css
   ============================================ */

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

:root {
  --pink:       #ff3e8a;
  --pink-light: #ff6aaa;
  --pink-dark:  #d4006b;
  --teal:       #3ecfae;
  --teal-dark:  #2aaa8e;
  --purple:     #a06fdc;
  --purple-dark:#7c4cb5;
  --blue-light: #b3e5fc;
  --yellow:     #ffe54c;
  --orange:     #ff9a2e;
  --bg-light:   #fff9f0;
  --text-dark:  #1a1a2e;
  --text-mid:   #444466;
  --white:      #ffffff;
  --shadow-pop: 0 8px 32px rgba(255,62,138,0.18);
  --radius-lg:  20px;
  --radius-xl:  32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   STRIPE BANNER (top decorative bar)
   ============================================ */
.stripe-banner {
  width: 100%;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    #ff3e8a 0px, #ff3e8a 28px,
    #3ecfae 28px, #3ecfae 56px,
    #ffe54c 56px, #ffe54c 84px,
    #a06fdc 84px, #a06fdc 112px,
    #ff9a2e 112px, #ff9a2e 140px,
    #ff6aaa 140px, #ff6aaa 168px,
    #b3e5fc 168px, #b3e5fc 196px
  );
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: var(--pink);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}
.logo-img:hover { transform: rotate(-3deg) scale(1.08); }

.main-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  color: var(--white);
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 50px;
  transition: background 0.22s, color 0.22s, transform 0.18s;
  text-transform: uppercase;
}
.nav-link:hover, .nav-link.active {
  background: var(--white);
  color: var(--pink);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
}

.hero-bg-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    #ffe9f3 0px, #ffe9f3 18px,
    #fff9f0 18px, #fff9f0 36px
  );
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ---- Mosaic ---- */
.hero-mosaic {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mosaic-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--pink);
  box-shadow: var(--shadow-pop);
  aspect-ratio: 4/3;
}
.mosaic-main .mosaic-img { width: 100%; height: 100%; object-fit: cover; }

.mosaic-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mosaic-small {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--teal);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  aspect-ratio: 1;
  transition: transform 0.25s;
}
.mosaic-small:hover { transform: scale(1.04) rotate(1deg); }
.mosaic-small.frame-pink  { border-color: var(--pink); }
.mosaic-small.frame-teal  { border-color: var(--teal); }
.mosaic-small.frame-purple { border-color: var(--purple); }
.mosaic-small .mosaic-img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Welcome Card ---- */
.hero-welcome-card {
  background: var(--blue-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 4px solid var(--teal);
  box-shadow: 0 8px 30px rgba(62,207,174,0.18);
}

.welcome-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2.8rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.08);
}

.welcome-body {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.feature-list li {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tagline-big {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--purple);
  text-shadow: 1px 2px 0 rgba(0,0,0,0.08);
}

/* ============================================
   MARQUEE TICKER
   ============================================ */
.marquee-wrap {
  background: var(--pink-dark);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-track span {
  display: inline-block;
  padding: 0 32px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.04em;
  border-right: 3px solid rgba(255,255,255,0.25);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 80px 0;
  background: var(--white);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-img-col { position: relative; }

.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 6px solid var(--teal);
  box-shadow: 10px 10px 0 var(--yellow), 14px 14px 0 var(--pink);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: var(--pink);
  border: 4px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka One', cursive;
  font-size: 0.85rem;
  color: var(--white);
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(255,62,138,0.35);
  animation: badge-spin 6s linear infinite;
}

@keyframes badge-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Fredoka One', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: #e0faf4;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-eyebrow.light {
  color: var(--white);
  background: rgba(255,255,255,0.2);
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: var(--pink);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }

.about-text-col p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  margin-top: 8px;
}

.btn-pink {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(255,62,138,0.3);
}
.btn-pink:hover {
  background: var(--pink-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(255,62,138,0.4);
}

/* ============================================
   SELECTION SECTION
   ============================================ */
.selection-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.stripe-bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    #ff3e8a 0px, #ff3e8a 30px,
    #d4006b 30px, #d4006b 60px
  );
  z-index: 0;
}

.selection-section .section-inner {
  position: relative;
  z-index: 1;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.candy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 3px solid transparent;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.candy-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: var(--pink);
  box-shadow: 0 14px 36px rgba(255,62,138,0.18);
}
.candy-card:nth-child(2n):hover { transform: translateY(-8px) rotate(1deg); }

.card-icon {
  font-size: 3rem;
  margin-bottom: 14px;
  display: block;
  animation: icon-bounce 2s ease-in-out infinite;
}
.candy-card:nth-child(2) .card-icon { animation-delay: 0.3s; }
.candy-card:nth-child(3) .card-icon { animation-delay: 0.6s; }
.candy-card:nth-child(4) .card-icon { animation-delay: 0.9s; }
.candy-card:nth-child(5) .card-icon { animation-delay: 1.2s; }
.candy-card:nth-child(6) .card-icon { animation-delay: 1.5s; }

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.candy-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--pink);
  margin-bottom: 10px;
}
.candy-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================
   GIFTS SECTION
   ============================================ */
.gifts-section {
  padding: 80px 0;
  background: #fff3f8;
}

.gifts-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 36px;
}

.gift-text p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.gift-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.gift-perks li {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.gift-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 5px solid var(--purple);
  box-shadow: 8px 8px 0 var(--pink-light), 12px 12px 0 var(--teal);
}

.gift-img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform 0.4s ease;
}
.gift-img:hover { transform: scale(1.04); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text-dark);
  color: var(--white);
  padding-top: 0;
}

.footer-stripe {
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #ff3e8a 0px, #ff3e8a 28px,
    #3ecfae 28px, #3ecfae 56px,
    #ffe54c 56px, #ffe54c 84px,
    #a06fdc 84px, #a06fdc 112px,
    #ff9a2e 112px, #ff9a2e 140px
  );
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: var(--yellow);
  margin-bottom: 14px;
}

.footer-col p, .footer-col address {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  font-style: normal;
}

.footer-col a {
  color: var(--teal);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--yellow); }

.hours-table {
  font-size: 0.88rem;
  border-collapse: collapse;
  width: 100%;
}
.hours-table td {
  padding: 3px 8px 3px 0;
  color: rgba(255,255,255,0.8);
  vertical-align: top;
}
.hours-table td:first-child {
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 110px;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.15));
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: var(--pink-light);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero-grid       { grid-template-columns: 1fr; }
  .about-grid      { grid-template-columns: 1fr; }
  .gifts-grid      { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: repeat(2, 1fr); }
  .cards-grid      { grid-template-columns: repeat(2, 1fr); }
  .about-img-wrap  { max-width: 480px; margin: 0 auto; }
  .gift-img-wrap   { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 70px; left: 0; right: 0; background: var(--pink-dark); padding: 16px; z-index: 998; }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .cards-grid   { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .welcome-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .hero { padding: 32px 0; }
  .about-section, .selection-section, .gifts-section { padding: 56px 0; }
}
