/* ============================================
   Cookies By Hallie — Main Stylesheet
   Fun, colorful, warm & inviting brand
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Nunito:wght@400;600;700;800&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  --pink:        #FF6BB5;
  --pink-light:  #FFD6EC;
  --pink-dark:   #E0508F;
  --yellow:      #FFD93D;
  --yellow-light:#FFF8D6;
  --purple:      #C77DFF;
  --purple-light:#EDD9FF;
  --mint:        #06D6A0;
  --mint-light:  #D0FFF3;
  --coral:       #FF8C42;
  --coral-light: #FFE5D0;
  --white:       #FFFFFF;
  --off-white:   #FFFAF7;
  --dark:        #2D2D2D;
  --gray:        #6B6B6B;
  --gray-light:  #F5F5F5;
  --border:      #E8E8E8;
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover:0 8px 32px rgba(0,0,0,0.15);
  --radius:      16px;
  --radius-sm:   8px;
  --radius-lg:   32px;
  --font-display:'Pacifico', cursive;
  --font-body:   'Nunito', sans-serif;
  --transition:  all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.6;
  font-size: 16px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; }

.display {
  font-family: var(--font-display);
  color: var(--pink);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--pink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-logo span { font-size: 1.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--dark);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--pink-light);
  color: var(--pink-dark);
}

.nav-links .btn-nav {
  background: var(--pink);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
}

.nav-links .btn-nav:hover {
  background: var(--pink-dark);
  color: var(--white);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255,107,181,0.4);
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,181,0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--pink);
  border: 2.5px solid var(--pink);
}
.btn-secondary:hover {
  background: var(--pink-light);
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(255,217,61,0.4);
}
.btn-yellow:hover {
  background: #f0c800;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* --- Cookie Placeholder Images --- */
.cookie-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: var(--pink-light);
}
.cookie-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cookie-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  gap: 0.3rem;
}
.cookie-placeholder p {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Placeholder color variants */
.ph-pink  { background: var(--pink-light); }
.ph-yellow{ background: var(--yellow-light); }
.ph-purple{ background: var(--purple-light); }
.ph-mint  { background: var(--mint-light); }
.ph-coral { background: var(--coral-light); }

/* --- Price Badge --- */
.price-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
}

/* --- Tag / Chip --- */
.tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--pink-light);
  color: var(--pink-dark);
}

/* --- Wavy Section Divider --- */
.wave-top {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}
.wave-bottom {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}

/* --- Footer --- */
footer {
  background: var(--dark);
  color: #ccc;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--pink);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #aaa;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--pink); }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 1.2rem;
  transition: var(--transition);
}
.social-icon:hover { background: var(--pink); color: white; }

.footer-copy {
  font-size: 0.85rem;
  color: #666;
}

/* --- Form Styles --- */
.form-group {
  margin-bottom: 1.4rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,107,181,0.15);
}

textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* --- Alert / Banner --- */
.alert {
  padding: 1rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.alert-success { background: var(--mint-light); color: #027a5a; border-left: 4px solid var(--mint); }
.alert-error   { background: #ffe4e4; color: #b00020; border-left: 4px solid #ff4d4d; }
.alert-info    { background: var(--yellow-light); color: #7a5800; border-left: 4px solid var(--yellow); }

/* --- Responsive --- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 0.25rem;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .form-row { grid-template-columns: 1fr; }
}
