/* Gusto Latino Food — Global Styles */
/* Clean, light, warm — inspired by nuumobleas.com */

:root {
  --color-primary: #d4532a;      /* Warm terracotta red */
  --color-primary-dark: #b8431f;
  --color-secondary: #f4a81b;   /* Golden yellow */
  --color-bg: #ffffff;
  --color-bg-tinted: #fdf8f3;   /* Warm off-white */
  --color-text: #2c2416;
  --color-text-muted: #6b5e4a;
  --color-border: #e8dfd3;
  --color-accent: #2a9d8f;      /* Fresh green accent */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --container: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

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

/* Header */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 100;
  padding: 0.75rem 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
  color: var(--color-text);
}
.logo-text span { color: var(--color-primary); }
.main-nav {
  display: flex; align-items: center; gap: 1.5rem;
}
.main-nav a {
  color: var(--color-text);
  font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--color-primary); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #25d366; color: #fff !important;
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem;
}
.btn-whatsapp:hover { background: #1da851; }

.lang-switcher { display: flex; gap: 0.4rem; margin-left: 0.5rem; }
.lang-flag { font-size: 1.3rem; opacity: 0.5; transition: opacity 0.2s; }
.lang-flag.active, .lang-flag:hover { opacity: 1; }

.nav-toggle { display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-bg-tinted) 0%, #fef3e4 100%);
  text-align: center; padding: 5rem 1.5rem;
}
.hero__eyebrow {
  color: var(--color-primary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.85rem; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-heading);
  max-width: 750px; margin: 0 auto 1.25rem;
}
.hero__subtitle {
  color: var(--color-text-muted); font-size: 1.1rem;
  max-width: 600px; margin: 0 auto 2rem;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.8rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; transition: all 0.2s;
  text-align: center;
}
.btn--primary {
  background: var(--color-primary); color: #fff;
}
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn--outline {
  border: 2px solid var(--color-primary); color: var(--color-primary);
  background: transparent;
}
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--whatsapp { background: #25d366; color: #fff; border: none; }
.btn--whatsapp:hover { background: #1da851; color: #fff; }

/* Sections */
section { padding: 4rem 1.5rem; }
.section-title { text-align: center; margin-bottom: 0.75rem; }
.section-subtitle { text-align: center; color: var(--color-text-muted); max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* Features */
.features { background: var(--color-bg); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; max-width: var(--container); margin: 2rem auto 0;
}
.feature-card {
  background: var(--color-bg-tinted); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2rem;
  text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem; max-width: var(--container); margin: 0 auto;
}
.product-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card h4 { margin: 1rem 0 0.4rem; font-family: var(--font-heading); }
.product-card p { color: var(--color-text-muted); font-size: 0.9rem; }
.products-preview { background: var(--color-bg-tinted); }

/* Testimonials */
.testimonials { background: var(--color-bg-tinted); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: var(--container); margin: 2rem auto 0;
}
.testimonial-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow);
}
.testimonial-text { font-style: italic; font-size: 1rem; color: var(--color-text); margin-bottom: 0.75rem; }
.testimonial-name { color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }

/* Page Content (Chi Siamo, Shipping, Contact) */
.page-content { padding: 3rem 0; }
.page-title { text-align: center; margin-bottom: 2rem; }

/* About */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { margin-bottom: 1.25rem; color: var(--color-text-muted); line-height: 1.8; }
.about-highlights { margin: 2.5rem 0; display: grid; gap: 1.5rem; }
.highlight {
  background: var(--color-bg-tinted); border-left: 4px solid var(--color-primary);
  padding: 1.5rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.highlight h3 { margin-bottom: 0.4rem; }
.highlight p { color: var(--color-text-muted); }
.about-closing { font-weight: 500; font-size: 1.05rem; color: var(--color-text) !important; }

/* Shipping */
.shipping-content { max-width: 700px; margin: 0 auto; display: grid; gap: 1.5rem; }
.shipping-card {
  background: var(--color-bg-tinted); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2rem;
}
.shipping-offer {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff; border: none; text-align: center;
}
.shipping-offer h3 { color: #fff; }
.shipping-card h3 { margin-bottom: 0.75rem; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin: 2rem 0;
}
.contact-card {
  background: var(--color-bg-tinted); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
}
.contact-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.contact-card h3 { margin-bottom: 0.4rem; }
.social-section { text-align: center; margin-top: 2rem; }
.social-links-large { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; }
.social-btn {
  background: var(--color-bg-tinted); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 0.75rem 2rem; color: var(--color-text);
  font-weight: 500; transition: all 0.2s;
}
.social-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Footer */
.site-footer {
  background: #1a1510; color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; max-width: var(--container); margin: 0 auto;
}
.footer-col h4 { color: #fff; margin-bottom: 1rem; font-family: var(--font-heading); }
.footer-col p { margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--color-secondary); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.footer-social a { color: rgba(255,255,255,0.5); }
.footer-social a:hover { color: var(--color-secondary); }
.footer-bottom {
  text-align: center; padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    padding: 1.5rem; gap: 1rem; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 3rem 1.5rem; }
  .hero__cta { flex-direction: column; align-items: center; }
  section { padding: 2.5rem 1rem; }
}
