/* === VARIABLES === */
:root {
  --primary: #ff6b6b;
  --primary-dark: #ff5252;
  --secondary: #4ecdc4;
  --dark: #2d3436;
  --gray-dark: #636e72;
  --gray-light: #b2bec3;
  --light: #f9f9f9;
  --white: #ffffff;
  --success: #00b894;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

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

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

ul,
ol {
  list-style-position: inside;
}

button {
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

input,
textarea,
select {
  font-family: inherit;
}

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  margin-top: -2rem;
  margin-bottom: 3rem;
  color: var(--gray-dark);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

/* === HEADER & NAVIGATION === */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-text a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.logo-text a:hover {
  color: var(--primary-dark);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.search-container {
  display: flex;
  align-items: center;
}

.search-container input {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 50px;
  width: 200px;
  font-size: 0.9rem;
}

.search-container button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* === HERO SECTION === */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 70px;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--transition);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* === FEATURED RECIPES === */
.featured-recipes {
  background-color: var(--light);
  padding: 5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--gray-dark);
  font-size: 1.1rem;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.view-all:hover {
  background-color: var(--primary-dark);
  transform: translateX(5px);
}

.view-all i {
  transition: transform 0.3s ease;
}

.view-all:hover i {
  transform: translateX(5px);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: var(--white);
  position: relative;
  max-width: 100%;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.recipe-image {
  height: 180px;
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 8px 8px 0 0;
}

.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.recipe-card:hover .recipe-image img {
  transform: scale(1.08);
}

.recipe-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.recipe-category {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(255, 107, 107, 0.3);
  z-index: 2;
}

.recipe-info {
  padding: 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recipe-info > a {
  flex: 1;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.25rem;
}

.recipe-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  color: var(--gray-dark);
  font-size: 0.85rem;
}

.recipe-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recipe-meta i {
  color: var(--primary);
  font-size: 1rem;
}

.recipe-description {
  color: var(--gray-dark);
  font-size: 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.recipe-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
  gap: 0.5rem;
}

.recipe-link.btn {
  flex: 1;
  padding: 0.4rem 0.75rem;
  height: 32px;
  font-size: 0.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 16px;
  border: none;
  transition: all 0.3s;
}

.recipe-link.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.recipe-link.btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  margin-left: 0.3rem;
}

.recipe-link.btn:hover i {
  transform: translateX(3px);
}

.share-button {
  width: 32px;
  height: 32px;
  min-width: 32px;
  font-size: 0.9rem;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
  color: var(--dark);
  border-radius: 50%;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-button:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
/* Timer*/
.recipe-timer {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.timer-display {
  font-size: 1.5em;
  font-weight: bold;
  font-family: monospace;
  color: #333;
  display: flex;
  align-items: center;
  gap: 5px;
}

.timer-controls {
  display: flex;
  gap: 5px;
  align-items: center;
}

.timer-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.timer-btn.start {
  background-color:var(--primary);
  color: white;
}

.timer-btn.pause {
  background-color: #ffc107;
  color: #333;
}

.timer-btn.reset {
  background-color: #dc3545;
  color: white;
}

.timer-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.timer-progress {
  flex: 1;
  height: 6px;
  background-color: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 10px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #28a745;
  transition: width 1s linear;
}

.timer-link {
  display: flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.timer-link:hover {
  color: #333;
}

.timer-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .recipe-timer {
      flex-wrap: wrap;
      padding: 8px;
  }
  
  .timer-display {
      font-size: 1.3em;
  }
  
  .timer-controls {
      order: 2;
      width: 100%;
      justify-content: center;
      margin-top: 5px;
  }
  
  .timer-btn {
      padding: 5px 10px;
      font-size: 0.85em;
  }

  .timer-progress {
      order: 1;
      width: 100%;
      margin: 5px 0;
  }
}
/* Add a loading animation for images */
.recipe-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recipe-image.loading::before {
  opacity: 1;
}

/* Enhance image display on recipe page */
.recipe-content .recipe-image {
  height: 400px;
  border-radius: 0;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .recipe-content .recipe-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .recipe-content .recipe-image {
    height: 200px;
  }
}

.recipe-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recipe-info > a {
  flex: 1;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.5rem;
}

.recipe-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.4;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
  font-size: 0.85rem;
}

.recipe-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recipe-meta i {
  color: var(--primary);
  font-size: 1rem;
}

.recipe-description {
  color: var(--gray-dark);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.recipe-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
  gap: 0.5rem;
}

.recipe-link.btn {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  line-height: 1;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 18px;
  border: none;
  transition: all 0.3s;
}

.recipe-link.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.recipe-link.btn i {
  transition: transform 0.3s ease;
}

.recipe-link.btn:hover i {
  transform: translateX(3px);
}

.share-button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  font-size: 1rem;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
  color: var(--dark);
  border-radius: 50%;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-button:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* === CATEGORIES === */
.categories {
  padding: 5rem 0;
}

.categories h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--dark);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.category-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-dark), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  color: var(--white);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
  display: block;
}

.category-card:hover i {
  transform: translateY(-5px);
  color: var(--white);
}

.category-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
  padding-bottom: 1rem;
}

.category-card:hover h3 {
  color: var(--white);
}

.category-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  transition: var(--transition);
}

.category-card:hover h3::after {
  width: 60px;
  background-color: var(--white);
}

/* === NEWSLETTER === */
.newsletter {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1495195134817-aeb325a55b65?w=1600&auto=format&fit=crop&q=60");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 0;
  color: var(--white);
  text-align: center;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.newsletter h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
}

.newsletter button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 500;
  transition: var(--transition);
}

.newsletter button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* === FOOTER === */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 4rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-section p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === RECIPE PAGE === */
.recipe-content {
  max-width: 1200px;
  margin: 90px auto 2rem;
  padding: 0 1.5rem;
}

.recipe-container {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.recipe-header {
  padding: 2rem;
  border-bottom: 1px solid #eee;
}

.recipe-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--gray-dark);
}

.recipe-details {
  padding: 2rem;
}

.ingredients,
.instructions,
.tips {
  margin-bottom: 2rem;
}

.ingredients h2,
.instructions h2,
.tips h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.ingredients ul {
  list-style-type: none;
}

.ingredients li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.ingredients li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

.instructions ol {
  counter-reset: item;
  list-style-type: none;
}

.instructions li {
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  position: relative;
  counter-increment: item;
}

.instructions li::before {
  content: counter(item);
  color: var(--white);
  background: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
}

/* Estilos para botões de ação das receitas */
.recipe-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  gap: 10px;
  width: 100%;
}

.recipe-card .recipe-actions {
  padding: 0;
  margin-top: auto;
}

/* Estilo para o botão de "Ver Receita" nos cards */
.recipe-link.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
  flex-grow: 1;
  justify-content: center;
}

.recipe-link.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  color: var(--white);
}

.recipe-link.btn i {
  transition: transform 0.3s ease;
}

.recipe-link.btn:hover i {
  transform: translateX(3px);
}

/* Estilos para botão de compartilhamento */
.share-button {
  background-color: var(--light);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-left: auto;
}

.share-button:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

/* Estilos específicos para página de receita única */
.recipe-content .recipe-actions {
  padding: 0 2rem 2rem;
  justify-content: flex-start;
  gap: 1rem;
}

.recipe-content .print-button,
.recipe-content .share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light);
  color: var(--dark);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  min-width: auto;
  width: auto;
  height: auto;
  margin-left: 0;
}

/* === ABOUT PAGE === */
.about-page,
.contact-page {
  margin-top: 70px;
}

.about-hero,
.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1556909212-d5b604d0c90d?w=1600&auto=format&fit=crop&q=60");
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.about-content,
.contact-content {
  max-width: 800px;
  padding: 0 1.5rem;
}

.about-content h1,
.contact-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-content p,
.contact-content p {
  font-size: 1.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.section-gradient {
  background-color: var(--light);
  padding: 5rem 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark);
}

.values-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card-base {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
}

.card-base:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.value-card,
.team-member {
  text-align: center;
}

.value-card h3,
.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.value-card p,
.team-member p {
  color: var(--gray-dark);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

/* === CONTACT PAGE === */
.contact-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1581600140682-79c57cb8a5d2?w=1600&auto=format&fit=crop&q=60");
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.submit-button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 500;
  width: 100%;
  transition: var(--transition);
}

.submit-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.info-card {
  text-align: center;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.info-card p {
  color: var(--gray-dark);
  line-height: 1.7;
}

/* === RECIPES PAGE === */
.recipes-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 80px auto 2rem;
  padding: 0 1.5rem;
}

.filters-section {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filters-container h2 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.filter-group {
  margin-bottom: 2rem;
}

.filter-group h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray-dark);
  font-weight: 500;
}

.filter-group input[type="text"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

.filter-group label {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  cursor: pointer;
}

.filter-group input[type="checkbox"] {
  margin-right: 0.8rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.recipes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.recipes-header h2 {
  font-size: 2rem;
  color: var(--dark);
}

.recipes-count {
  color: var(--gray-dark);
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.recipes-grid .recipe-info {
  height: 100%;
}

/* Reduzir espaçamento em telas menores */
@media (max-width: 768px) {
  .recipe-image {
    height: 200px;
  }

  .recipe-info {
    padding: 0.8rem;
  }

  .recipe-info h3 {
    font-size: 1.1rem;
  }

  .recipe-description {
    -webkit-line-clamp: 3;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 480px) {
  .recipe-image {
    height: 180px;
  }

  .recipe-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .recipe-link.btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .share-button {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid #ddd;
  color: var(--dark);
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
}

.pagination-btn:hover:not(:disabled),
.pagination-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-dots {
  color: var(--gray-dark);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .recipes-page {
    grid-template-columns: 1fr;
  }

  .filters-section {
    position: static;
    margin-bottom: 2rem;
  }

  .recipe-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-container {
    flex-wrap: wrap;
  }

  .logo {
    flex: 1;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .search-container {
    width: 100%;
    order: 3;
    margin-top: 1rem;
  }

  .search-container input {
    width: 100%;
  }

  .hero {
    height: 70vh;
    margin-top: 70px;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .section-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .view-all {
    width: 100%;
    justify-content: center;
  }

  .recipe-grid,
  .category-grid,
  .values-grid,
  .team-grid,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .recipes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .recipe-card {
    max-width: 100%;
  }

  .recipe-image {
    height: 200px;
  }

  .recipe-meta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .recipe-info h3 {
    font-size: 1.2rem;
  }

  .category-card {
    padding: 2rem 1.5rem;
  }

  .category-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .category-card h3 {
    font-size: 1.3rem;
  }

  .newsletter form {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .about-hero,
  .contact-hero {
    height: 300px;
  }

  .about-content h1,
  .contact-content h1 {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .recipe-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .recipe-header {
    padding: 1.5rem;
  }

  .recipe-header h1 {
    font-size: 2rem;
  }

  .recipe-details {
    padding: 1.5rem;
  }

  .pagination {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .recipe-image {
    height: 180px;
  }

  .about-content h1,
  .contact-content h1 {
    font-size: 2rem;
  }

  .recipe-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .recipe-info {
    padding: 1.2rem;
  }

  .category-card {
    padding: 1.8rem 1.2rem;
  }

  .recipes-grid .recipe-link {
    width: 100%;
    justify-content: center;
  }

  .recipe-actions {
    flex-direction: row;
    gap: 8px;
  }

  .recipe-link.btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .share-button {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}

/* === PRINT STYLES === */
@media print {
  .header,
  .footer,
  .recipe-actions {
    display: none;
  }

  .recipe-content {
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

  .recipe-container {
    box-shadow: none;
  }
}

/* Mensagem de cópia */
.copy-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  z-index: 1000;
  animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Estilos para "Nenhuma receita encontrada" */
.no-results {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  grid-column: 1 / -1;
}

.no-results i {
  font-size: 4rem;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  display: block;
}

.no-results p {
  font-size: 1.2rem;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.clear-filters-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.clear-filters-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Correções para botões e ações */
.recipe-card .recipe-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recipe-card .recipe-info > a {
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.recipe-card .recipe-actions {
  width: 100%;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.recipe-link.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  flex-grow: 1;
  white-space: nowrap;
  text-align: center;
}

.recipe-link.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recipe-link.btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.recipe-link.btn:hover i {
  transform: translateX(3px);
}

/* Melhorar o botão de compartilhamento */
.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: none;
  border-radius: 50%;
  background-color: var(--light);
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-button:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(33, 33, 33, 0.95);
  color: #fff;
  padding: 1rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-content a {
  color: #4caf50;
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-accept,
.cookie-reject {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-accept {
  background-color: #4caf50;
  color: white;
}

.cookie-accept:hover {
  background-color: #45a049;
}

.cookie-reject {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* === PRIVACY POLICY PAGE === */
.privacy-policy-content {
  max-width: 1200px;
  margin: 100px auto 50px;
  padding: 0 1.5rem;
}

.privacy-policy-content h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 2rem;
  text-align: center;
}

.policy-section {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.policy-section h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.policy-section h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin: 1.5rem 0 1rem;
}

.policy-section p {
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-section ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-section li {
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy-footer {
  text-align: center;
  color: var(--gray-dark);
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
}

@media (max-width: 768px) {
  .privacy-policy-content {
    margin-top: 80px;
  }

  .privacy-policy-content h1 {
    font-size: 2rem;
  }

  .policy-section {
    padding: 1.5rem;
  }

  .policy-section h2 {
    font-size: 1.5rem;
  }

  .policy-section h3 {
    font-size: 1.2rem;
  }
}
