/* BellaNapoliVigo.es Official Stylesheet - Core Web Vitals & SEO E-E-A-T Optimized */
:root {
  --napoli-red: #b91c1c;
  --napoli-red-dark: #991b1b;
  --oven-gold: #d97706;
  --basil-green: #15803d;
  --charcoal: #1c1917;
  --stone-dark: #292524;
  --stone-text: #332f2c;
  --stone-muted: #57534e;
  --cream-bg: #faf8f5;
  --white: #ffffff;
  --border-warm: #e7e5e4;
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 10px 28px rgba(28, 25, 23, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--stone-text);
  background-color: var(--cream-bg);
  line-height: 1.72;
}

body {
  overflow-x: hidden;
}

a {
  color: var(--napoli-red);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--napoli-red-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Utility Bar */
.topbar {
  background-color: var(--charcoal);
  color: #e7e5e4;
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 3px solid var(--napoli-red);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar a {
  color: #fde047;
  font-weight: 600;
}

/* Header & Navigation */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-logo img {
  height: 52px;
  width: auto;
  border-radius: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--napoli-red);
}

.btn-cta {
  background-color: var(--napoli-red);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25);
}

.btn-cta:hover {
  background-color: var(--napoli-red-dark);
  transform: translateY(-1px);
}

/* Breadcrumbs */
.breadcrumb-bar {
  background: #f5f2eb;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-warm);
  font-size: 0.88rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--stone-muted);
}

.breadcrumb-list li+li::before {
  content: "›";
  margin-right: 8px;
  color: #a8a29e;
}

/* Two-Column Content Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  margin: 36px auto;
}

.article-main {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-warm);
}

.category-badge {
  display: inline-block;
  background: rgba(185, 28, 28, 0.1);
  color: var(--napoli-red);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.article-title {
  font-size: 2.15rem;
  color: var(--charcoal);
  line-height: 1.28;
  margin-bottom: 18px;
  font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
}

/* E-E-A-T Meta Bar */
.eeat-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #faf8f5;
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  margin-bottom: 28px;
  font-size: 0.88rem;
}

.eeat-author-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eeat-author-mini img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.verified-badge {
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
}

/* Article Typography */
.article-content h2 {
  font-size: 1.55rem;
  color: var(--charcoal);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f5f2eb;
  font-family: Georgia, "Times New Roman", serif;
}

.article-content h3 {
  font-size: 1.24rem;
  color: var(--charcoal);
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
  font-size: 1.03rem;
  color: var(--stone-text);
}

.article-content ul, .article-content ol {
  margin: 0 0 22px 24px;
}

.article-content li {
  margin-bottom: 10px;
  font-size: 1.01rem;
}

.figure-block {
  margin: 28px 0;
  background: #faf8f5;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-warm);
}

.figure-caption {
  font-size: 0.85rem;
  color: var(--stone-muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Key Takeaways Box */
.key-takeaways {
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  color: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  margin: 26px 0;
  border-left: 5px solid var(--oven-gold);
}

.key-takeaways h3 {
  color: #fde047;
  margin-top: 0;
  margin-bottom: 14px;
}

.key-takeaways ul {
  margin-bottom: 0;
}

.key-takeaways li {
  color: #e7e5e4;
  margin-bottom: 8px;
}

/* Table of Contents */
.toc-box {
  background: #f5f2eb;
  border: 1px solid #d6d3d1;
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 0;
}

.toc-title {
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.toc-list {
  list-style: decimal;
  margin-left: 20px;
}

.toc-list li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Interactive Menu Filter & Cards */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  padding: 14px;
  background: #f5f2eb;
  border-radius: 10px;
}

.filter-btn {
  background: var(--white);
  border: 1px solid #d6d3d1;
  color: var(--charcoal);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--napoli-red);
  color: var(--white);
  border-color: var(--napoli-red);
}

/* Data Tables */
.table-responsive {
  overflow-x: auto;
  margin: 24px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.spec-table th {
  background: var(--charcoal);
  color: var(--white);
  text-align: left;
  padding: 13px 16px;
}

.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-warm);
  vertical-align: top;
}

.spec-table tr:nth-child(even) {
  background: #faf8f5;
}

.badge-diet {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 4px;
}

.badge-dop { background: #fef3c7; color: #92400e; }
.badge-veg { background: #dcfce7; color: #166534; }
.badge-sea { background: #e0f2fe; color: #075985; }
.badge-spicy { background: #fee2e2; color: #991b1b; }

/* Interactive Dining Budget Calculator */
.calc-card {
  background: #faf8f5;
  border: 2px solid var(--oven-gold);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.calc-field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.calc-field select, .calc-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--white);
}

.calc-result {
  margin-top: 20px;
  padding: 18px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.calc-price-big {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fde047;
}

/* Author Bio E-E-A-T Card */
.author-bio-card {
  display: flex;
  gap: 22px;
  background: #faf8f5;
  border: 1px solid var(--border-warm);
  border-left: 4px solid var(--napoli-red);
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 40px;
  align-items: flex-start;
}

.author-bio-card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* FAQ Items */
.faq-item {
  border: 1px solid var(--border-warm);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--white);
}

.faq-question {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.widget-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--napoli-red);
}

.price-list-mini {
  list-style: none;
}

.price-list-mini li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-warm);
  font-size: 0.9rem;
}

/* Homepage Hero & Cards */
.home-hero {
  background: linear-gradient(125deg, #1c1917 0%, #3b231a 100%);
  color: var(--white);
  padding: 64px 0;
  border-bottom: 4px solid var(--oven-gold);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 36px 0;
}

.model-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-warm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

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

.model-card img {
  border-radius: 0;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.model-card-body {
  padding: 22px;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #d6d3d1;
  padding: 56px 0 28px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a8a29e;
}

.footer-links a:hover {
  color: #fde047;
}

.footer-bottom {
  border-top: 1px solid #44403c;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #a8a29e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 960px) {
  .article-layout, .home-hero-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-main {
    padding: 24px;
  }
  .article-title {
    font-size: 1.65rem;
  }
  .author-bio-card {
    flex-direction: column;
  }
}
