/* El Pailón Panamá — Cocina Panameña Saludable */
/* Custom styles on top of Skeleton CSS */

:root {
  --terracota: #C1440E;
  --crema: #FFF5E6;
  --ocre: #D4A017;
  --texto: #3a3a3a;
  --blanco: #ffffff;
  --gris-suave: #f5f0eb;
}

/* Reset & Base */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-weight: 700;
  color: var(--terracota);
}

a { color: var(--terracota); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ocre); }

img { max-width: 100%; height: auto; display: block; }

/* Navigation */
.site-nav {
  background: var(--terracota);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--crema);
  padding: 12px 0;
}

.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.nav-links li a {
  display: block;
  color: var(--crema);
  font-family: 'Josefin Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 16px 18px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(0,0,0,.15);
  color: var(--blanco);
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--crema); margin: 4px 0; border-radius: 2px; transition: .3s; }

@media (max-width: 600px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--terracota);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.1); }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--terracota) 0%, #a33a0c 100%);
  color: var(--crema);
  text-align: center;
  padding: 80px 20px 70px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--crema);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero h1 {
  color: var(--crema);
  font-size: 2.8rem;
  margin-bottom: 16px;
  text-shadow: 1px 1px 4px rgba(0,0,0,.2);
}

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: .95;
}

.hero .btn-cta {
  display: inline-block;
  background: var(--ocre);
  color: var(--blanco);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background .2s, transform .2s;
}
.hero .btn-cta:hover { background: #b8900f; transform: translateY(-2px); }

/* Sections */
.section { padding: 60px 0; }
.section--alt { background: var(--gris-suave); }
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: #777;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.card {
  background: var(--blanco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  max-width: 420px;
  flex: 1 1 300px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-top: 0; font-size: 1.3rem; }
.card-body p { font-size: .95rem; }

/* Benefits */
.benefits-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.benefit-item {
  text-align: center;
  flex: 1 1 200px;
  max-width: 280px;
  padding: 24px;
}
.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.benefit-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit-item p { font-size: .9rem; color: #666; }

/* Recipe page */
.recipe-card {
  background: var(--blanco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  margin-bottom: 40px;
}
.recipe-card img { width: 100%; height: 300px; object-fit: cover; }
.recipe-content { padding: 30px; }
.recipe-content h2 { margin-top: 0; }
.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .85rem;
  color: #888;
}
.recipe-meta span { display: flex; align-items: center; gap: 5px; }

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
}
.nutrition-table th,
.nutrition-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: .9rem;
}
.nutrition-table th { background: var(--gris-suave); font-family: 'Josefin Sans', sans-serif; font-weight: 600; }
.nutrition-table tr:last-child td { border-bottom: none; }

.ingredients-list, .steps-list {
  padding-left: 20px;
}
.ingredients-list li, .steps-list li {
  margin-bottom: 6px;
  font-size: .95rem;
}

.health-tip {
  background: linear-gradient(135deg, #fff8ed, #fff5e6);
  border-left: 4px solid var(--ocre);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 20px 0;
  font-size: .95rem;
}
.health-tip strong { color: var(--ocre); }

/* About page */
.about-hero {
  background: linear-gradient(135deg, var(--terracota) 0%, #a33a0c 100%);
  color: var(--crema);
  text-align: center;
  padding: 60px 20px 50px;
}
.about-hero h1 { color: var(--crema); font-size: 2.4rem; }

.about-content { max-width: 720px; margin: 0 auto; }
.about-content p { margin-bottom: 18px; font-size: 1.02rem; }
.about-content h2 { margin-top: 40px; }

.values-grid { display: flex; flex-wrap: wrap; gap: 24px; margin: 30px 0; }
.value-item {
  flex: 1 1 200px;
  background: var(--blanco);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  text-align: center;
}
.value-item h3 { font-size: 1rem; margin-bottom: 8px; }
.value-item p { font-size: .9rem; color: #666; }

/* CTA section */
.cta-section {
  background: var(--terracota);
  color: var(--crema);
  text-align: center;
  padding: 50px 20px;
}
.cta-section h2 { color: var(--crema); font-size: 1.8rem; margin-bottom: 12px; }
.cta-section p { font-size: 1.05rem; margin-bottom: 24px; opacity: .9; }
.cta-section .btn-cta {
  display: inline-block;
  background: var(--ocre);
  color: var(--blanco);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background .2s;
}
.cta-section .btn-cta:hover { background: #b8900f; }

/* Footer */
.site-footer {
  background: #2c1810;
  color: rgba(255,245,230,.7);
  text-align: center;
  padding: 30px 20px;
  font-size: .85rem;
}
.site-footer a { color: var(--ocre); }

/* FAQ */
.faq-item { margin-bottom: 20px; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 6px; cursor: pointer; }
.faq-item p { font-size: .95rem; color: #555; }

/* Responsive */
@media (max-width: 750px) {
  .hero { padding: 50px 16px 45px; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.6rem; }
  .card img { height: 180px; }
  .recipe-card img { height: 200px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.6rem; }
  .nav-logo { font-size: 1.3rem; }
}
