/* =============================================
   PAGES.CSS — Page Layouts (Home, Custom Pages)
   Gigi's Sweets & Treats
   ============================================= */

/* ---- Page Switching ---- */
.page {
  display: none;
  animation: fadeIn 0.3s ease;
}
.page.active { display: block; }

/* ---- HOME: Hero ---- */
.hero {
  background: linear-gradient(135deg, #fff0f5 0%, #fce4ec 40%, #f3e5f5 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(244, 167, 185, 0.3), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(212, 184, 224, 0.3), transparent 70%);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; }

.hero h1 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--brown);
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--brown-light);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--mauve), var(--pink-deep));
  color: var(--white);
  border-radius: 40px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(192, 96, 128, 0.35);
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(192, 96, 128, 0.45);
}

/* ---- HOME: Feature Cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .icon { font-size: 2.4rem; margin-bottom: 12px; }
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--brown);
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--brown-light);
  line-height: 1.6;
}

/* ---- Page Title (Menu, etc.) ---- */
.page-title {
  text-align: center;
  padding: 50px 20px 20px;
}
.page-title h2 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--brown);
}
.page-title p {
  color: var(--brown-light);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* ---- Custom Content Pages ---- */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 40px 80px;
}
.content-page h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: var(--brown);
  margin-bottom: 20px;
}
.content-page p {
  color: var(--brown-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-page .editable-block {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow);
  margin-bottom: 24px;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .features-grid { padding: 30px 16px; }
  .content-page  { padding: 30px 20px 60px; }
  .hero          { padding: 50px 20px; }
}
