/* ============================================
   KFC MENU WITH PRICES UK 2026 — STATIC SITE CSS
   Elegant, responsive, mobile-first design
   Brand palette: Deep Red, Gold, Black, Cream White
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --kfc-red: #8B1E1E;
  --kfc-red-dark: #6B1515;
  --kfc-red-light: #A82A2A;
  --kfc-gold: #C9A84C;
  --kfc-gold-light: #E5C87A;
  --kfc-cream: #FDF8F0;
  --kfc-charcoal: #1A1A1A;
  --kfc-gray: #6B6B6B;
  --kfc-light-gray: #F3EFE9;
  --kfc-border: #EAE5DB;
  --shadow-soft: 0 8px 32px rgba(139, 30, 30, 0.08);
  --shadow-medium: 0 12px 40px rgba(139, 30, 30, 0.12);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--kfc-cream);
  color: var(--kfc-charcoal);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid var(--kfc-border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(139, 30, 30, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--kfc-charcoal);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--kfc-red), var(--kfc-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(139, 30, 30, 0.25);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--kfc-gold);
}

.logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--kfc-red-dark);
}

.logo-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kfc-gray);
  margin-top: -2px;
}

/* Desktop Nav */
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--kfc-charcoal);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--kfc-red);
  transition: width 0.25s ease;
  border-radius: 1px;
}

.nav-links a:hover { color: var(--kfc-red); }
.nav-links a:hover::after { width: 100%; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--kfc-red);
  margin: 5px 0;
  border-radius: 1px;
  transition: 0.3s;
}

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(253, 248, 240, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--kfc-border);
  padding: 24px;
  box-shadow: var(--shadow-medium);
}

.mobile-nav.active { display: block; }

.mobile-nav ul { list-style: none; }
.mobile-nav li { margin-bottom: 14px; }
.mobile-nav a {
  text-decoration: none;
  color: var(--kfc-red-dark);
  font-weight: 600;
  font-size: 1rem;
  display: block;
  padding: 6px 0;
}

/* ============================================
   HERO / INTRO
   ============================================ */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--kfc-red-dark) 0%, var(--kfc-red) 60%, var(--kfc-red-light) 100%);
  color: #fff;
  padding: 120px 24px 100px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-2v2h2v4h2v-4h2v-2h-2zm0-30V0h-2v4h-2v2h2v4h2V6h2V4h-2zM6 34v-4H4v4H2v2h2v4h2v-4h2v-2H6zM6 4V0H4v4H2v2h2v4h2V6h2V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--kfc-gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--kfc-gold-light);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}

/* Quick Price Summary Cards */
.quick-prices {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: -60px auto 0;
  padding: 0 24px;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.quick-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--kfc-border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.quick-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kfc-red);
  font-weight: 700;
  margin-bottom: 8px;
}

.quick-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--kfc-charcoal);
  line-height: 1.1;
}

.quick-card .price span {
  font-size: 1rem;
  color: var(--kfc-gray);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.content-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}

/* Section Headers */
.section-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--kfc-gold);
  display: inline-block;
  width: 100%;
}

.section-header h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--kfc-red-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-header h2 .icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2em;
  vertical-align: middle;
}

.section-sub {
  font-style: italic;
  color: var(--kfc-gray);
  font-size: 1.05rem;
  margin-top: 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Paragraphs & Text */
.prose p {
  margin-bottom: 18px;
  color: #333;
  font-size: 0.98rem;
}

.prose strong {
  color: var(--kfc-red-dark);
  font-weight: 600;
}

/* ============================================
   TABLES
   ============================================ */

.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--kfc-border);
  box-shadow: 0 2px 12px rgba(139, 30, 30, 0.04);
  margin-bottom: 32px;
  background: #fff;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 520px;
}

.table-wrap thead {
  background: linear-gradient(135deg, var(--kfc-red-dark), var(--kfc-red));
  color: #fff;
}

.table-wrap th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table-wrap td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--kfc-border);
  color: #2a2a2a;
}

.table-wrap tbody tr:hover { background: #faf8f3; }

.table-wrap tbody tr:last-child td { border-bottom: none; }

/* Highlight prices in tables */
.table-wrap .price-cell {
  font-weight: 700;
  color: var(--kfc-red);
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
}

/* Calorie cell */
.table-wrap .cal-cell {
  color: var(--kfc-gray);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-list { list-style: none; }

.faq-item {
  background: #fff;
  border: 1px solid var(--kfc-border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(139, 30, 30, 0.03);
  transition: box-shadow 0.2s, transform 0.2s;
}

.faq-item:hover {
  box-shadow: 0 6px 20px rgba(139, 30, 30, 0.08);
  transform: translateY(-2px);
}

.faq-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--kfc-red-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: 700;
}

.faq-item p {
  color: #333;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ============================================
   CALLOUT / TIP BOXES
   ============================================ */

.tip-box {
  background: linear-gradient(135deg, #fff8e7, #fff);
  border-left: 4px solid var(--kfc-gold);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin: 28px 0;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.06);
}

.tip-box .tip-label {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--kfc-gold);
  font-size: 1.1rem;
  margin-bottom: 6px;
  display: block;
}

.tip-box p { margin: 0; font-size: 0.92rem; color: #333; }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--kfc-charcoal);
  color: rgba(255,255,255,0.85);
  padding: 60px 24px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.footer-links h4 {
  color: var(--kfc-gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--kfc-gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--kfc-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(139, 30, 30, 0.35);
  transition: transform 0.2s, background 0.2s;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--kfc-red-dark); transform: translateY(-3px); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 80px 20px 60px; }
  .hero h1 { font-size: 2rem; }
  .quick-cards { grid-template-columns: 1fr 1fr; }
  .content-wrapper { padding: 50px 18px 40px; }
  .table-wrap th, .table-wrap td { padding: 10px 12px; font-size: 0.8rem; }
  .faq-item { padding: 18px 20px; }
  .footer-inner { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .back-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .quick-cards { grid-template-columns: 1fr; }
  .logo-text { font-size: 1.2rem; }
  .hero-subtitle { font-size: 1.05rem; }
}
