/* ============================================
   Frost & Co. — Desserts & Ice Cream Template CSS
   Prefix: fc-
   ============================================ */

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

:root {
  --fc-pink: #EC4899;
  --fc-pink-hover: #DB2777;
  --fc-lavender: #8B5CF6;
  --fc-mint: #10B981;
  --fc-warm: #FFFBF5;
  --fc-light: #FDF2F8;
  --fc-dark: #1F1F1F;
  --fc-text: #374151;
  --fc-muted: #6B7280;
  --fc-border: #F3E8FF;
  --fc-font-heading: 'Quicksand', 'Trebuchet MS', sans-serif;
  --fc-font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --fc-container: 1200px;
  --fc-radius: 16px;
  --fc-radius-sm: 10px;
  --fc-shadow: 0 4px 24px rgba(236, 72, 153, 0.08);
  --fc-shadow-lg: 0 12px 40px rgba(236, 72, 153, 0.12);
  --fc-transition: 0.3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--fc-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fc-text);
  background: var(--fc-warm);
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Demo Banner --- */
.fc-demo-banner {
  background: linear-gradient(135deg, var(--fc-pink), var(--fc-lavender));
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
}
.fc-demo-banner-inner { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.fc-demo-back { color: #fff; font-weight: 600; text-decoration: underline; }
.fc-demo-text { opacity: 0.9; }

/* --- Navigation --- */
.fc-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent;
  transition: background var(--fc-transition), box-shadow var(--fc-transition);
}
.fc-nav.fc-scrolled {
  background: rgba(255, 251, 245, 0.97);
  box-shadow: 0 2px 20px rgba(236, 72, 153, 0.1);
}
.fc-nav.fc-scrolled .fc-nav-logo { color: var(--fc-dark); }
.fc-nav.fc-scrolled .fc-nav-links a { color: var(--fc-text); }
.fc-nav.fc-scrolled .fc-hamburger-line { background: var(--fc-dark); }
.fc-nav-inner {
  max-width: var(--fc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.fc-nav-logo {
  font-family: var(--fc-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.fc-nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.fc-nav-links a {
  font-family: var(--fc-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color var(--fc-transition);
}
.fc-nav-links a:hover { color: var(--fc-pink); }
.fc-nav.fc-scrolled .fc-nav-links a:hover { color: var(--fc-pink); }
.fc-nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--fc-pink);
  color: #fff;
  font-family: var(--fc-font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--fc-transition);
}
.fc-nav-cta:hover { background: var(--fc-pink-hover); color: #fff; transform: scale(1.05); }

/* Hamburger */
.fc-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 30px; height: 22px;
  position: relative; z-index: 1001;
}
.fc-hamburger-line {
  display: block;
  width: 100%; height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: var(--fc-transition);
  position: absolute; left: 0;
}
.fc-hamburger-line:nth-child(1) { top: 0; }
.fc-hamburger-line:nth-child(2) { top: 9px; }
.fc-hamburger-line:nth-child(3) { top: 18px; }
.fc-hamburger.fc-active .fc-hamburger-line:nth-child(1) { top: 9px; transform: rotate(45deg); }
.fc-hamburger.fc-active .fc-hamburger-line:nth-child(2) { opacity: 0; }
.fc-hamburger.fc-active .fc-hamburger-line:nth-child(3) { top: 9px; transform: rotate(-45deg); }
.fc-hamburger.fc-active .fc-hamburger-line { background: var(--fc-dark); }

/* --- Buttons --- */
.fc-btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--fc-font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--fc-transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.fc-btn-primary {
  background: var(--fc-pink);
  color: #fff;
  border-color: var(--fc-pink);
}
.fc-btn-primary:hover { background: var(--fc-pink-hover); border-color: var(--fc-pink-hover); color: #fff; transform: translateY(-2px); }
.fc-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.fc-btn-secondary:hover { background: #fff; color: var(--fc-pink); }

/* --- Hero --- */
.fc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fc-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.fc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.45) 0%, rgba(139, 92, 246, 0.4) 100%);
}
.fc-hero-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 24px;
}
.fc-hero-title {
  font-family: var(--fc-font-heading);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.fc-hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  font-weight: 300;
}
.fc-hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Sections --- */
.fc-section { padding: 100px 0; }
.fc-section-title {
  font-family: var(--fc-font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--fc-dark);
  margin-bottom: 12px;
  text-align: center;
}
.fc-section-subtitle {
  font-size: 1.05rem;
  color: var(--fc-muted);
  max-width: 550px;
  margin: 0 auto 48px;
  text-align: center;
}

/* --- Menu --- */
.fc-menu-section { background: var(--fc-light); }
.fc-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
.fc-menu-card {
  background: #fff;
  border-radius: var(--fc-radius);
  overflow: hidden;
  box-shadow: var(--fc-shadow);
  transition: transform var(--fc-transition), box-shadow var(--fc-transition);
}
.fc-menu-card:hover { transform: translateY(-6px); box-shadow: var(--fc-shadow-lg); }
.fc-menu-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.fc-menu-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.fc-menu-card:hover .fc-menu-card-img-wrap img { transform: scale(1.06); }
.fc-menu-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--fc-pink), var(--fc-lavender));
  color: #fff;
  padding: 4px 14px;
  font-family: var(--fc-font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
}
.fc-menu-card-body { padding: 20px; }
.fc-menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.fc-menu-card-name {
  font-family: var(--fc-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fc-dark);
}
.fc-menu-card-price {
  font-family: var(--fc-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fc-pink);
}
.fc-menu-card-desc {
  font-size: 0.9rem;
  color: var(--fc-muted);
  line-height: 1.5;
}

/* --- Catering --- */
.fc-catering-section { background: var(--fc-warm); }
.fc-catering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.fc-catering-content p { color: var(--fc-text); margin-bottom: 16px; line-height: 1.8; }
.fc-catering-list {
  list-style: none;
  margin-bottom: 28px;
}
.fc-catering-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--fc-text);
}
.fc-catering-list li::before {
  content: "🍦";
  position: absolute;
  left: 0;
}
.fc-catering-img img {
  width: 100%; height: 100%; min-height: 380px;
  object-fit: cover;
  border-radius: var(--fc-radius);
}

/* --- About --- */
.fc-about-section { background: var(--fc-light); }
.fc-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.fc-about-img img {
  width: 100%; height: 100%; min-height: 380px;
  object-fit: cover;
  border-radius: var(--fc-radius);
}
.fc-about-content p { color: var(--fc-text); margin-bottom: 16px; line-height: 1.8; }
.fc-about-content .fc-section-title { text-align: left; }

/* --- Locations --- */
.fc-locations-section { background: var(--fc-warm); }
.fc-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.fc-location-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
  border-top: 4px solid var(--fc-pink);
}
.fc-location-name {
  display: block;
  font-family: var(--fc-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fc-dark);
  margin-bottom: 8px;
}
.fc-location-info { color: var(--fc-muted); font-size: 0.92rem; }
.fc-hours-list {
  list-style: none;
  margin-top: 8px;
}
.fc-hours-list li { padding: 2px 0; font-size: 0.9rem; color: var(--fc-text); }

/* --- Gallery --- */
.fc-gallery-section { background: var(--fc-light); }
.fc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fc-gallery-item {
  border-radius: var(--fc-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.fc-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.fc-gallery-item:hover img { transform: scale(1.08); }

/* --- Reviews --- */
.fc-reviews-section {
  background: linear-gradient(135deg, var(--fc-pink), var(--fc-lavender));
  color: #fff;
}
.fc-reviews-section .fc-section-title { color: #fff; }
.fc-reviews-section .fc-section-subtitle { color: rgba(255,255,255,0.85); }
.fc-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.fc-review-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: var(--fc-radius);
  border: 1px solid rgba(255,255,255,0.2);
}
.fc-review-stars { color: #FDE68A; font-size: 1.1rem; margin-bottom: 16px; }
.fc-review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
  margin-bottom: 20px;
  font-style: italic;
}
.fc-review-author { font-weight: 600; font-size: 0.95rem; }

/* --- FAQ --- */
.fc-faq-section { background: var(--fc-warm); }
.fc-faq-list { max-width: 800px; margin: 0 auto; }
.fc-faq-item {
  border-bottom: 1px solid var(--fc-border);
}
.fc-faq-question {
  width: 100%;
  background: none; border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--fc-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fc-dark);
  text-align: left;
  transition: color var(--fc-transition);
}
.fc-faq-question:hover { color: var(--fc-pink); }
.fc-faq-icon {
  font-size: 1.4rem;
  color: var(--fc-pink);
  transition: transform var(--fc-transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.fc-faq-item.fc-active .fc-faq-icon { transform: rotate(45deg); }
.fc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.fc-faq-item.fc-active .fc-faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.fc-faq-answer p { color: var(--fc-muted); line-height: 1.7; }

/* --- Footer --- */
.fc-footer {
  background: var(--fc-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.fc-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.fc-footer-heading {
  font-family: var(--fc-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.fc-footer ul { list-style: none; }
.fc-footer ul li { margin-bottom: 8px; }
.fc-footer ul a { color: rgba(255,255,255,0.7); }
.fc-footer ul a:hover { color: var(--fc-pink); }
.fc-footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* --- Scroll Reveal --- */
.fc-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fc-reveal.fc-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .fc-hamburger { display: block; }
  .fc-nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 251, 245, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }
  .fc-nav-links.fc-open { display: flex; }
  .fc-nav-links a { font-size: 1.4rem; color: var(--fc-dark) !important; }
  .fc-nav-cta { display: none; }
  .fc-hero-title { font-size: 2.8rem; }
  .fc-hero-ctas { flex-direction: column; align-items: center; }
  .fc-catering-grid, .fc-about-grid { grid-template-columns: 1fr; }
  .fc-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-reviews-grid { grid-template-columns: 1fr; }
  .fc-locations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .fc-gallery-grid { grid-template-columns: 1fr; }
  .fc-footer-grid { grid-template-columns: 1fr; }
  .fc-menu-grid { grid-template-columns: 1fr; }
}
