/*
Theme Name: Marisa Salgados
Description: Tema customizado para Marisa Salgados - Salgadinhos em Sorocaba e Votorantim
Version: 1.0
Author: Marisa Salgados
Text Domain: marisa-salgados
*/

/* Reset e Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Design System Colors - Marisa Salgados Brand */
:root {
  /* Brand Colors - All HSL format */
  --background: hsl(37, 78%, 96%); /* #FFF7EC warm cream background */
  --foreground: hsl(25, 45%, 27%); /* #8C5A2B warm brown text */
  
  --card: hsl(0, 0%, 100%); /* White cards */
  --card-foreground: hsl(25, 45%, 27%);
  
  /* Brand primary red */
  --primary: hsl(0, 77%, 51%); /* #E02020 brand red */
  --primary-foreground: hsl(0, 0%, 100%);
  
  /* Brand secondary yellow/golden */
  --secondary: hsl(48, 100%, 50%); /* #FFD600 brand yellow */
  --secondary-foreground: hsl(25, 45%, 27%);
  
  /* Warm golden accent */
  --accent: hsl(45, 100%, 47%); /* #FFB300 golden accent */
  --accent-foreground: hsl(0, 0%, 100%);
  
  /* Muted warm tones */
  --muted: hsl(37, 78%, 92%); /* Lighter warm background */
  --muted-foreground: hsl(25, 25%, 45%);
  
  --border: hsl(37, 30%, 85%);
  --input: hsl(37, 30%, 85%);
  --ring: hsl(0, 77%, 51%);
  
  /* Custom brand gradients */
  --gradient-warm: linear-gradient(135deg, hsl(48, 100%, 50%), hsl(45, 100%, 47%));
  --gradient-hero: linear-gradient(135deg, hsl(37, 78%, 96%) 0%, hsl(37, 78%, 92%) 50%, hsl(37, 78%, 88%) 100%);
  --gradient-cta: linear-gradient(135deg, hsl(0, 77%, 51%), hsl(0, 77%, 45%));
  
  /* Shadows with warm tints */
  --shadow-warm: 0 10px 30px -10px hsl(45, 100%, 47% / 0.3);
  --shadow-float: 0 5px 20px -5px hsl(45, 100%, 47% / 0.2);
  --shadow-glow: 0 0 40px hsl(48, 100%, 50% / 0.4);
  
  /* Animation easings */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: hsl(0, 77%, 45%);
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: white;
}

.btn-ifood {
  background: var(--gradient-warm);
  color: var(--primary-foreground);
}

.btn-ifood:hover {
  background: var(--gradient-cta);
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

/* Navigation */
.main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.main-navigation.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
}

.nav-menu a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  text-align: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  height: 200px;
  margin-bottom: 50px;
  filter: drop-shadow(var(--shadow-glow));
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 30px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.trust-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.trust-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.trust-icon {
  background: var(--secondary);
  padding: 12px;
  border-radius: 50%;
  color: white;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-hours {
  color: #666;
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: rgba(74, 74, 74, 0.8);
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.menu-item {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-warm);
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-10px);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item-content {
  padding: 25px;
}

.menu-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.menu-item p {
  color: rgba(74, 74, 74, 0.8);
  margin-bottom: 15px;
}

.menu-keyword {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
}

/* Contact Section */
.contact {
  background: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  background: var(--primary);
  color: white;
  padding: 10px;
  border-radius: 50%;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-warm);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Footer */
.main-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--primary-foreground);
  text-decoration: none;
  opacity: 0.9;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
  75% { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes parallax-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsl(var(--primary) / 0.3); }
  50% { box-shadow: 0 0 30px hsl(var(--primary) / 0.5); }
}

/* Animation utility classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-parallax-float {
  animation: parallax-float 8s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .nav-menu {
    display: none;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
}
