/* ========================================
   CSS Custom Properties - Design System
   ======================================== */

:root {
  /* Primary Color Palette - Warm Orange/Red for Food Site */
  --color-primary: #E8470A;
  --color-primary-dark: #C73E0A;
  --color-primary-light: #FFF0EB;
  --gradient-primary: linear-gradient(135deg, #E8470A 0%, #C73E0A 100%);
  --shadow-primary: rgba(232, 71, 10, 0.3);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;

  /* Neutral Colors */
  --color-text-primary: #1A202C;
  --color-text-secondary: #4A5568;
  --color-text-muted: #718096;
  --color-border: #E2E8F0;
  --color-bg-light: #F7FAFC;
}

/* ========================================
   Base Styles
   ======================================== */

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text-primary);
}

main {
  flex: 1;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-primary);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom Navigation Styles */
.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: white !important;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-icon-btn {
  background: transparent;
  border: none;
  padding: 0;
}

.search-icon-btn:hover {
  opacity: 0.7;
}

.brand-text {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-link-custom {
  color: #2D3748;
  font-weight: 500;
  padding: 0.5rem 0.875rem !important;
  margin: 0 0.125rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link-custom:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.nav-link-custom.active {
  color: var(--color-primary) !important;
  background-color: var(--color-primary-light);
  font-weight: 600;
}

.language-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1.5px solid var(--color-border);
  background: white;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1;
  transition: all 0.25s ease;
  padding: 0;
}

.language-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

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

/* Language Dropdown */
.language-dropdown-btn {
  border: 1.5px solid var(--color-border);
  background: white;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  transition: all 0.25s ease;
}

.language-dropdown-btn:hover,
.language-dropdown-btn:focus,
.language-dropdown-btn.show {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  box-shadow: none;
}

.language-dropdown-btn .dropdown-toggle::after {
  margin-left: 0.3em;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

/* Navbar User Avatar Icon */
.nav-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.1rem;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
}

.nav-user-avatar:hover,
a:hover .nav-user-avatar {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Navbar Custom Buttons */
.btn-site-primary {
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 6px;
}

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

.btn-outline-site {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 6px;
}

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

/* Hero Gradient Section */
.hero-gradient-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero-gradient-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.min-vh-70 {
  min-height: 70vh;
}

/* Compact Hero Styles */
.hero-compact {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

/* Hero Search Bar */
.hero-search-bar {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  padding-top: 1rem;
}

.hero-search-form {
  width: 100%;
}

.hero-search-container {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.hero-search-container:focus-within {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.hero-search-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  background: transparent;
  color: #1A202C;
  min-width: 0;
}

.hero-search-input::placeholder {
  color: #718096;
}

.hero-search-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--shadow-primary);
}

.hero-search-btn:hover {
  background: linear-gradient(135deg, #C73E0A 0%, #E8470A 100%);
  transform: translateX(2px);
  box-shadow: 0 6px 16px var(--shadow-primary);
}

/* Hero Food Icons - Dekoratif */
.hero-food-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-food-icon {
  font-size: 1.75rem;
  display: inline-block;
  opacity: 0.85;
  animation: heroIconFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.hero-food-icon--featured {
  font-size: 2.5rem;
  opacity: 1;
  animation-duration: 2.5s;
}

.hero-food-icon:nth-child(1) { animation-delay: 0s; }
.hero-food-icon:nth-child(2) { animation-delay: 0.3s; }
.hero-food-icon:nth-child(3) { animation-delay: 0.6s; }
.hero-food-icon:nth-child(4) { animation-delay: 0.9s; }
.hero-food-icon:nth-child(5) { animation-delay: 1.2s; }

@keyframes heroIconFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@media (max-width: 576px) {
  .hero-food-icon { font-size: 1.4rem; }
  .hero-food-icon--featured { font-size: 2rem; }
}

/* Compact Hero Title */
.hero-title-compact {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Compact Hero Description */
.hero-description-compact {
  font-size: 1rem;
  opacity: 0.95;
  line-height: 1.5;
  max-width: 500px;
}

/* Compact Stats Card */
.recipe-stats-card-compact {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2rem 2rem;
  text-align: center;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  transition: all 0.3s ease;
}

.recipe-stats-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stats-number-compact {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-title-compact {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.stats-subtitle-compact {
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Responsive Compact Hero */
@media (max-width: 991px) {
  .hero-title-compact {
    font-size: 1.875rem;
  }
  
  .stats-number-compact {
    font-size: 2.5rem;
  }
  
  .recipe-stats-card-compact {
    padding: 1.5rem 1.5rem;
    min-width: 200px;
  }
}

@media (max-width: 767px) {
  .hero-compact {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }
  
  .hero-search-bar {
    margin-bottom: 1rem;
  }
  
  .hero-search-container {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 0.75rem;
  }
  
  .hero-search-icon {
    margin-right: 0.5rem;
  }
  
  .hero-search-input {
    flex: 1;
    min-width: 150px;
    padding: 0.5rem 0.25rem;
    font-size: 0.9rem;
  }
  
  .hero-search-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
  }
  
  .hero-title-compact {
    font-size: 1.5rem;
  }
  
  .hero-description-compact {
    font-size: 0.9rem;
  }
  
  .stats-number-compact {
    font-size: 2rem;
  }
  
  .stats-title-compact {
    font-size: 0.9rem;
  }
  
  .recipe-stats-card-compact {
    padding: 1.25rem 1.25rem;
  }
}

/* Hero Title Styles */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-highlight {
  background: rgba(255, 255, 255, 0.3);
  padding: 0 15px;
  border-radius: 10px;
  color: #1A202C;
  font-weight: 800;
}

.hero-main {
  display: inline-block;
  animation: fadeInUp 0.6s ease-out;
}

.hero-description {
  font-size: 1.125rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* Hero Action Buttons */
.btn-hero-search {
  background: white;
  color: #1A202C;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--color-primary);
}

.btn-hero-filter {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-hero-filter:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

/* Recipe Stats Card */
.recipe-stats-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  transition: all 0.3s ease;
}

.recipe-stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stats-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.stats-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Content Section Spacing */
.container {
  max-width: 1200px;
}

section {
  margin-bottom: 4rem;
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .stats-number {
    font-size: 3rem;
  }
  
  .recipe-stats-card {
    padding: 2rem 2rem;
    min-width: 240px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .btn-hero-search,
  .btn-hero-filter {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-hero-filter {
    margin-top: 0.5rem;
    margin-left: 0 !important;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-actions .btn {
    width: 100%;
    margin: 0.25rem 0 !important;
  }
  
  .min-vh-70 {
    min-height: auto;
  }
  
  .stats-number {
    font-size: 2.5rem;
  }
  
  .stats-title {
    font-size: 1.1rem;
  }
  
  .recipe-stats-card {
    padding: 2rem 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-shadow {
  transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Modern Card Design - Category Cards */
.category-card {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  height: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.category-card-img-container {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--gradient-primary);
}

.category-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-card-img-container img {
  transform: scale(1.08);
}

.category-card-icon {
  font-size: 5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.95;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.category-card-body {
  padding: 2rem 1.75rem;
}

.category-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 1rem;
  text-align: center;
}

.category-card-description {
  color: #4A5568;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5rem;
  min-height: 48px;
}

.category-card-stats {
  display: flex;
  justify-content: space-around;
  padding: 1.25rem 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 1.5rem;
}

.category-stat-item {
  text-align: center;
  flex: 1;
}

.category-stat-label {
  display: block;
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 0.5rem;
}

.category-stat-number-alt {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.category-stat-stars {
  display: block;
  color: #F59E0B;
  font-size: 1.2rem;
}

.category-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.category-card-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.category-card-rating .stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.category-card-btn {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  width: 100%;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.category-card-btn:hover {
  background: linear-gradient(135deg, #C73E0A 0%, #E8470A 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px var(--shadow-primary);
}

/* Recipe Card Design */
.recipe-card {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.recipe-card-img-container {
  height: 220px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.recipe-card-img-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.recipe-card-img-container::after {
  content: 'Tarifi Gör';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  pointer-events: none;
}

.recipe-card:hover .recipe-card-img-container::before {
  opacity: 1;
}

.recipe-card:hover .recipe-card-img-container::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.recipe-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.recipe-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: white;
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.recipe-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.recipe-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  min-height: 2.8rem;
}

.recipe-card-description {
  color: #4A5568;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.85rem;
  flex-shrink: 0;
}

.recipe-card-meta {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid #E2E8F0;
  margin-bottom: auto;
  gap: 0.5rem;
  flex-shrink: 0;
}

.recipe-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  flex: 1;
}

.recipe-meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 71, 10, 0.1) 0%, rgba(199, 62, 10, 0.1) 100%);
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.recipe-card:hover .recipe-meta-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.recipe-meta-text {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  line-height: 1.2;
}

.recipe-meta-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 71, 10, 0.1) 0%, rgba(199, 62, 10, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.recipe-card:hover .recipe-meta-icon-circle {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.recipe-meta-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A202C;
  line-height: 1;
}

.recipe-meta-label {
  display: block;
  font-size: 0.8rem;
  color: #718096;
  font-weight: 500;
  text-transform: lowercase;
}

.recipe-card-btn {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  width: 100%;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-shrink: 0;
}

.recipe-card-btn:hover {
  background: linear-gradient(135deg, #C73E0A 0%, #E8470A 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px var(--shadow-primary);
}

/* Section Headers */
.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  color: #4A5568;
  font-size: 1.1rem;
}

/* Category Hero Banner */
.category-hero-banner {
  background: var(--gradient-primary);
  padding: 5rem 0;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.category-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Recipe Hero Banner */
.recipe-hero-banner {
  background: var(--gradient-primary);
  padding: 4rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.recipe-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.recipe-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.recipe-hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 0;
}

.category-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.category-hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .category-hero-banner {
    padding: 3rem 0;
    margin-bottom: 2rem;
  }
  
  .category-hero-title {
    font-size: 2rem;
  }
  
  .category-hero-subtitle {
    font-size: 1rem;
  }
  
  .recipe-hero-banner {
    padding: 2.5rem 0;
    margin-bottom: 2rem;
  }
  
  .recipe-hero-title {
    font-size: 1.75rem;
  }
  
  .recipe-hero-subtitle {
    font-size: 1rem;
  }
}

/* Category Header */
.category-header {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 3rem 2rem;
}

/* View All Button */
.btn-outline-primary {
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

/* Modern Pagination Styles */
.pagination-modern {
  gap: 0.5rem;
}

.pagination-modern .page-item {
  margin: 0;
}

.pagination-modern .page-link {
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  color: #2D3748;
  font-weight: 600;
  padding: 0.625rem 1rem;
  min-width: 45px;
  text-align: center;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-modern .page-link:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-primary);
}

.pagination-modern .page-item.active .page-link {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px var(--shadow-primary);
  transform: translateY(-2px);
}

.pagination-modern .page-item.disabled .page-link {
  background: #F7FAFC;
  border-color: #E2E8F0;
  color: #CBD5E0;
  cursor: not-allowed;
  box-shadow: none;
}

.pagination-modern .page-item.disabled .page-link:hover {
  background: #F7FAFC;
  color: #CBD5E0;
  transform: none;
}

/* Pagination responsive */
@media (max-width: 576px) {
  .pagination-modern {
    gap: 0.25rem;
  }
  
  .pagination-modern .page-link {
    padding: 0.5rem 0.75rem;
    min-width: 40px;
    font-size: 0.875rem;
  }
}

/* Modern Search Form Styles */
.search-form {
  margin-top: 2rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.search-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.search-container:focus-within {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.search-icon {
  color: var(--color-primary);
  margin: 0 0.75rem 0 0.5rem;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  background: transparent;
  color: #1A202C;
}

.search-input::placeholder {
  color: #718096;
}

.search-clear {
  background: #F7FAFC;
  border: none;
  color: #4A5568;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.search-clear:hover {
  background: #FED7D7;
  color: #C53030;
  transform: rotate(90deg);
}

.search-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px var(--shadow-primary);
}

.search-button:hover {
  background: linear-gradient(135deg, #C73E0A 0%, #E8470A 100%);
  transform: translateX(2px);
  box-shadow: 0 6px 16px var(--shadow-primary);
}

/* Modern Breadcrumb Styles */
.breadcrumb-modern {
  background: linear-gradient(135deg, rgba(232, 71, 10, 0.08) 0%, rgba(199, 62, 10, 0.08) 100%);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(232, 71, 10, 0.1);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: white;
  box-shadow: 0 2px 8px rgba(232, 71, 10, 0.1);
  transition: all 0.3s ease;
}

.breadcrumb-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-primary);
}

.breadcrumb-link svg {
  flex-shrink: 0;
}

.breadcrumb-separator {
  color: #718096;
  display: flex;
  align-items: center;
}

.breadcrumb-current {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: var(--gradient-primary);
  box-shadow: 0 4px 12px var(--shadow-primary);
}

/* Breadcrumb Responsive */
@media (max-width: 576px) {
  .breadcrumb-modern {
    padding: 0.75rem 0;
  }
  
  .breadcrumb-list {
    gap: 0.35rem;
  }
  
  .breadcrumb-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .breadcrumb-link span {
    display: none;
  }
  
  .breadcrumb-link svg {
    width: 18px;
    height: 18px;
  }
  
  .breadcrumb-current {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .breadcrumb-separator svg {
    width: 14px;
    height: 14px;
  }
}

/* Search Results Alert */
.alert {
  border-radius: 12px;
}

/* Responsive Search */
@media (max-width: 767px) {
  .search-form {
    margin-top: 1.5rem;
  }
  
  .search-container {
    padding: 0.4rem 0.5rem;
  }
  
  .search-icon {
    margin: 0 0.5rem 0 0.25rem;
  }
  
  .search-input {
    padding: 0.65rem 0.25rem;
    font-size: 0.9rem;
  }
  
  .search-input::placeholder {
    font-size: 0.85rem;
  }
  
  .search-button {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .search-clear {
    width: 32px;
    height: 32px;
    margin-right: 0.25rem;
  }
}

@media (max-width: 480px) {
  .search-container {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 0.75rem;
  }
  
  .search-icon {
    order: 1;
  }
  
  .search-input {
    order: 2;
    flex: 1;
    min-width: 0;
  }
  
  .search-clear {
    order: 3;
  }
  
  .search-button {
    order: 4;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem;
  }
}

/* ========================================
   MODERN FOOTER STYLES - SEO Optimized
   ======================================== */

/* Footer Main Container */
.modern-footer {
  position: relative;
  background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
  color: #E2E8F0;
  margin-top: 5rem;
  overflow: hidden;
}

/* Decorative Wave Effect */
.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  color: #F7FAFC;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* Footer Content */
.footer-content {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
}

/* Footer Brand Section */
.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-description {
  color: #CBD5E0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Social Media Links */
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

/* Footer Section Titles */
.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #CBD5E0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--color-primary);
}

.footer-links a:hover {
  color: white;
  padding-left: 1.5rem;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* Newsletter Section */
.footer-newsletter-text {
  color: #CBD5E0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-newsletter-form {
  margin-bottom: 1.5rem;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 50px 0 0 50px;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 0.2rem var(--shadow-primary);
  outline: none;
}

.newsletter-input::placeholder {
  color: #A0AEC0;
}

.newsletter-btn {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 50px 50px 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #C73E0A 0%, #E8470A 100%);
  color: white;
  transform: translateX(2px);
  box-shadow: 0 4px 12px var(--shadow-primary);
}

/* App Store Badges */
.footer-apps {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app-badge {
  transition: all 0.3s ease;
  display: inline-block;
}

.app-badge:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.app-badge img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-copyright {
  color: #CBD5E0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-copyright strong {
  color: white;
  font-weight: 600;
}

/* Footer Legal Links */
.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links li {
  position: relative;
}

.footer-legal-links li:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -0.55rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links a {
  color: #CBD5E0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.footer-legal-links a:hover {
  color: white;
  border-bottom-color: var(--color-primary);
}

/* Responsive Footer Design */
@media (max-width: 991px) {
  .footer-wave svg {
    height: 50px;
  }
  
  .footer-content {
    padding-top: 3rem;
  }
  
  .footer-title {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 767px) {
  .modern-footer {
    margin-top: 3rem;
  }
  
  .footer-wave svg {
    height: 40px;
  }
  
  .footer-content {
    padding-top: 2.5rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
    justify-content: center;
    text-align: center;
  }
  
  .footer-description {
    text-align: center;
    font-size: 0.9rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-title {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links a {
    justify-content: center;
  }
  
  .footer-newsletter-text {
    text-align: center;
  }
  
  .footer-apps {
    justify-content: center;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .footer-legal-links {
    margin-top: 1rem;
    gap: 0.75rem;
  }
  
  .footer-legal-links li:not(:last-child)::after {
    right: -0.4rem;
  }
}

@media (max-width: 576px) {
  .footer-wave svg {
    height: 30px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-links a {
    font-size: 0.875rem;
  }
  
  .footer-legal-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  .footer-legal-links li:not(:last-child)::after {
    display: none;
  }
  
  .newsletter-input {
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
  }
  
  .newsletter-btn {
    padding: 0.65rem 1.25rem;
  }
  
  .newsletter-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
  .modern-footer {
    /* Already dark by default */
  }
}

/* Print Styles */
@media print {
  .modern-footer {
    background: white;
    color: black;
  }
  
  .footer-wave,
  .footer-social,
  .footer-newsletter-form,
  .footer-apps {
    display: none;
  }
}

/* ========================================
   City SEO Content Styles
   ======================================== */

.city-seo-content {
  margin: 2rem 0;
  line-height: 1.7;
}

.city-seo-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f4a261;
  color: #2d3748;
}

.city-seo-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
}

.city-seo-content p {
  margin-bottom: 1rem;
  color: #4a5568;
}

.city-seo-content ul,
.city-seo-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.city-seo-content li {
  margin-bottom: 0.5rem;
}

.city-seo-content a {
  color: #E8470A;
  text-decoration: underline;
}

.city-seo-content a:hover {
  color: #C73E0A;
}

@media (max-width: 768px) {
  .city-seo-content h2 {
    font-size: 1.3rem;
  }

  .city-seo-content h3 {
    font-size: 1.1rem;
  }
}