:root {
  --primary-color: #722f37;
  --secondary-color: #f8f4e8;
  --accent-color: #aa4452;
  --dark-accent: #5a252c;
  --text-color: #2c3e50;
  --light-bg: #f5f1e6;
  --dark-text: #1a1a1a;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --card-border-radius: 12px;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --gold-color: #D4AF37;
  --whatsapp-color: #25D366;
}

/* Global Styles */
body {
  font-family: 'Playfair Display', serif;
  background-color: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 70px; /* Space for fixed nav */
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  text-align: center;
  position: relative;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(114, 47, 55, 0.3);
  margin-bottom: 2rem;
}

h1:after, h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--accent-color), 
    transparent
  );
}

h1 { 
  font-size: clamp(2rem, 5vw, 4rem); 
}
h2 { 
  font-size: clamp(1.8rem, 4vw, 3rem); 
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem); 
}

/* Language Selector */
.language-selector {
  position: fixed;
  top: 30%;
  left: 10px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.2); 
  padding: 8px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.language-flag {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  opacity: 0.7;
}

.language-flag:hover {
  transform: scale(1.1);
  opacity: 1;
}

.language-flag.active {
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.language-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation */
.main-nav {
  background-color: var(--primary-color);
  padding: 0.8rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.nav-brand:hover {
  color: #FFD700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--gold-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: opacity 0.3s;
  padding: 0.5rem 0;
  position: relative;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.nav-links a:not(.nav-btn):after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--gold-color);
  transition: var(--transition);
}

.nav-links a:not(.nav-btn):hover:after {
  width: 100%;
}

.nav-links a.nav-btn {
  background-color: transparent;
  border: 2px solid var(--gold-color);
  color: var(--gold-color);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
}

.nav-links a.nav-btn:hover {
  background-color: var(--gold-color);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(114, 47, 55, 0.5), rgba(114, 47, 55, 0.5));  
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: -70px; /* Offset for fixed nav */
  padding-top: 70px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-background .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;  
  opacity: 0;
  transition: opacity 2s ease-in-out;
  filter: brightness(1.1) contrast(1.05);  
}

.hero-background .slide.active {
  opacity: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(114, 47, 55, 0.5);  
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--secondary-color);
  max-width: 800px;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-color);
  margin-bottom: 1rem;
  text-shadow: 
    0 0 10px rgba(212, 175, 55, 0.3),
    2px 2px 4px rgba(0, 0, 0, 0.3),
    -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from {
    text-shadow: 
      0 0 10px rgba(212, 175, 55, 0.3),
      2px 2px 4px rgba(0, 0, 0, 0.3),
      -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  }
  to {
    text-shadow: 
      0 0 20px rgba(212, 175, 55, 0.5),
      2px 2px 4px rgba(0, 0, 0, 0.3),
      -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  }
}

.hero-content p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--secondary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.pot-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto 2rem;
}

.pot-shape {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 12px solid transparent;
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(
      45deg, 
      var(--gold-color), #FBF5B7, var(--gold-color), #C9B037, var(--gold-color), #FFF8DC, var(--gold-color)
    ) border-box;
  position: relative;
  outline: 2px solid black;
}

.pot-shape::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  z-index: -1;
  border-radius: 50%;
  background: 
    repeating-conic-gradient(
      var(--gold-color) 0%, 
      #FFF8DC 5%, 
      #C9B037 10%, 
      var(--gold-color) 15%, 
      #FFF8DC 20%, 
      #C9B037 25%);
  background-size: 25% 25%;
  box-shadow: 
    inset 0 0 8px #8B6914,
    0 0 8px rgba(139, 105, 20, 0.6);
  opacity: 0.9;
}

.pot-shape::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 
    inset 0 0 6px 2px rgba(255, 215, 0, 0.5),
    inset 0 0 10px 4px rgba(184, 134, 11, 0.3);
  z-index: 1;
  pointer-events: none;
}

.pot-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.pot-shape:hover img {
  transform: scale(1.05);
}

.pot-handles {
  display: none;
}

/* Sections */
section {
  padding: 5rem 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-style: italic;
}

.service-card p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
}

/* Recipe Manager */
.recipe-manager {
  min-height: 100vh;
  padding-bottom: 4rem;
  background-color: var(--light-bg);
  background-image: linear-gradient(
    to bottom,
    var(--light-bg),
    rgba(248, 244, 232, 0.8)
  );
}

.recipe-nav {
  background-color: var(--primary-color);
  padding: 1rem 0;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 70px;
  z-index: 100;
}

.recipe-nav .nav-brand {
  font-size: 1.8rem;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

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

/* Enhanced Filters */
.enhanced-filters {
  background: white;
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filters-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filter-section {
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.filter-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: left;
  color: var(--primary-color);
}

.filters-row {
  display: flex;
  flex-wrap: column;
  gap: 1.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  flex: 1;
}

.filter-group label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.filter-group select {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: white;
  font-family: inherit;
  transition: border-color 0.3s;
}

.filter-group select:focus {
  border-color: var(--accent-color);
  outline: none;
}

/* View Options */
.view-options {
  display: flex;
  gap: 1rem;
}

.view-btn {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.view-btn:hover:not(.active) {
  background-color: var(--light-bg);
}

/* Recipe Stats */
.recipe-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stats-card {
  background-color: var(--light-bg);
  border-radius: var(--card-border-radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 200px;
}

.stats-card i {
  font-size: 2rem;
  color: var(--accent-color);
}

.stat-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.stat-info p {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}

/* Recipe Grid View */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.recipe-card {
  background: white;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.recipe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.recipe-card-content {
  padding: 1.5rem;
}

.recipe-card-content h3 {
  margin-bottom: 1rem;
  text-align: left;
}

.recipe-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.recipe-tag {
  background-color: var(--light-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  transition: background-color 0.3s;
}

.recipe-tag.recipe-type {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.recipe-card:hover .recipe-tag:not(.recipe-type) {
  background-color: #eee9d8;
}

.recipe-card-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Recipe List View */
.recipe-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recipe-list-item {
  background: white;
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow);
  display: flex;
  overflow: hidden;
  transition: transform 0.3s;
}

.recipe-list-item:hover {
  transform: translateY(-3px);
}

.recipe-list-img {
  width: 180px;
  min-width: 180px;
  height: 180px;
  overflow: hidden;
}

.recipe-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.recipe-list-item:hover .recipe-list-img img {
  transform: scale(1.05);
}

.recipe-list-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.recipe-list-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.recipe-list-details-left {
  flex: 2;
  min-width: 200px;
}

.recipe-list-details-right {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.recipe-list-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.recipe-list-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.recipe-list-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.recipe-list-meta i {
  color: var(--accent-color);
}

.recipe-list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.recipe-list-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.recipe-list-cost {
  font-weight: bold;
  color: var(--primary-color);
}

.recipe-list-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Recipe Table View */
.recipe-table-container {
  overflow-x: auto;
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow);
}

.recipe-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.recipe-table th, 
.recipe-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.recipe-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
}

.recipe-table tr:hover {
  background-color: var(--light-bg);
}

.recipe-table td:last-child,
.recipe-table th:last-child {
  text-align: center;
}

.recipe-table .recipe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.recipe-table .recipe-mini-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.3rem;
  border-radius: 10px;
  background-color: var(--light-bg);
  white-space: nowrap;
}

.table-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

/* Form Styles */
.form-container {
  background: white;
  border-radius: var(--card-border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.form-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: left;
  color: var(--accent-color);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.category-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.ingredients-container {
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
}

.ingredient-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 80px;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.add-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.75rem;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.add-btn:hover {
  background-color: var(--accent-color);
}

.ingredient-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 5px;
}

.ingredient-item {
  background-color: white;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid var(--accent-color);
  transition: transform 0.2s;
}

.ingredient-item:hover {
  transform: translateX(5px);
}

.ingredient-item button {
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 3px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.ingredient-item button:hover {
  background-color: #d32f2f;
}

.cost-summary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  font-weight: bold;
}

.cost-summary.total {
  background-color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.portions-info {
  margin-top: 1rem;
}

.photo-preview-container {
  margin-top: 1rem;
  max-width: 300px;
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.recipe-photo {
  width: 100%;
  height: auto;
  display: block;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.secondary-btn {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.primary-btn:hover {
  background-color: var(--accent-color);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.download-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.download-button:hover {
  background-color: var(--accent-color);
}

.order-button {
  background-color: var(--whatsapp-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.order-button:hover {
  background-color: #128C7E;
  transform: scale(1.05);
}

.action-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.action-button:hover {
  background-color: var(--accent-color);
}

.action-button.order-action {
  background-color: var(--whatsapp-color);
}

.action-button.order-action:hover {
  background-color: #128C7E;
}

/* Book Section */
.book-section {
  background-color: var(--light-bg);
}

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

.book-card {
  background: white;
  padding: 2rem;
  border-radius: var(--card-border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.book-card:hover {
  transform: translateY(-5px);
}

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

.book-title {
  font-style: italic;
  color: var(--primary-color);
  margin: 1rem 0;
  text-shadow: 1px 1px 3px rgba(114, 47, 55, 0.3);
  transition: color 0.3s ease;
}

.book-card:hover .book-title {
  color: var(--accent-color);
}

.book-description {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.book-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.amazon-badge {
  background-color: #FF9900;
  color: #000;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 0.5rem;
  transition: background-color 0.3s;
}

.book-card:hover .amazon-badge {
  background-color: #FF8C00;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 3rem 1rem 1rem;
}

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

.footer-section h3 {
  color: var(--gold-color);
  margin-bottom: 1rem;
  text-align: left;
}

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

.social-links a {
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--light-bg);
}

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

/* WhatsApp Bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.whatsapp-link {
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  font-size: 1.8rem;
  color: white;
}

.whatsapp-link:hover {
  transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes titleGlow {
  from {
    text-shadow: 
      0 0 10px rgba(212, 175, 55, 0.3),
      2px 2px 4px rgba(0, 0, 0, 0.3),
      -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  }
  to {
    text-shadow: 
      0 0 20px rgba(212, 175, 55, 0.5),
      2px 2px 4px rgba(0, 0, 0, 0.3),
      -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

/* No recipes message */
.no-recipes {
  background-color: white;
  padding: 2rem;
  text-align: center;
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow);
  font-style: italic;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .ingredient-form {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  #ingredientName {
    grid-column: span 2;
  }
  
  .recipe-list-item {
    flex-direction: column;
  }
  
  .recipe-list-img {
    width: 100%;
    height: 200px;
  }
  
  .recipe-list-details {
    flex-direction: column;
  }
  
  .recipe-list-details-right {
    align-items: flex-start;
    margin-top: 1rem;
  }
  
  .language-selector {
    top: 30%;
    left: 10px;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .language-selector {
    top: 30%;
    left: 10px;
    flex-direction: column;
    gap: 4px;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .recipe-nav-links {
    display: none;
  }
  
  .recipe-nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem;
    z-index: 1000;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .pot-container {
    width: 200px;
    height: 200px;
  }
  
  .recipe-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .filters-row {
    flex-direction: column;
  }
  
  .recipe-stats {
    flex-direction: column;
  }
  
  .view-options {
    flex-wrap: wrap;
  }
  
  .recipe-card-buttons,
  .recipe-list-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .book-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .language-selector {
    top: 30%;
    left: 5px;
    padding: 6px;
    gap: 3px;
  }
  
  .language-flag {
    width: 24px;
    height: 18px;
  }
  
  .pot-container {
    width: 150px;
    height: 150px;
  }
  
  .ingredient-form {
    grid-template-columns: 1fr;
  }
  
  #ingredientName {
    grid-column: auto;
  }
  
  .form-container {
    padding: 1rem;
  }
  
  .view-options {
    flex-wrap: wrap;
  }
  
  .view-btn {
    flex: 1;
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .recipe-card-content p {
    font-size: 0.9rem;
  }
  
  .form-categories {
    grid-template-columns: 1fr;
  }
  
  .recipe-table th, 
  .recipe-table td {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  .book-container {
    grid-template-columns: 1fr;
  }
}

/* Print styles */
@media print {
  .main-nav, 
  .recipe-nav, 
  .language-selector,
  .filters, 
  .button-group,
  .whatsapp-bubble,
  .footer {
    display: none !important;
  }
  
  body {
    background-color: white;
    padding-top: 0;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .recipe-card {
    break-inside: avoid;
  }
}