/* Ana değişkenler */
:root {
  --primary: #ff6b6b;
  --secondary: #ffa5a5;
  --accent: #4ecdc4;
  --light: #f7fff7;
  --dark: #2d3142;
  --primary-dark: #e05050;
}

/* Genel stiller */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* Bağlantılar için renk ayarı */
a {
  color: #ff6b6b; /* "Tarif Hakkında" başlığıyla aynı pembe/kırmızı renk */
  text-decoration: none; /* Alt çizgiyi kaldırır */
  transition: color 0.3s ease; /* Renk değişimi için yumuşak geçiş */
}

/* Fare üzerine geldiğinde renk değişimi (opsiyonel) */
a:hover {
  color: #e05050; /* Biraz daha koyu ton */
}

/* Ziyaret edilmiş bağlantılar için de aynı renk (opsiyonel) */
a:visited {
  color: #ff6b6b;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr)); /* Minimum genişliği artırdım */
    gap: 30px; /* Boşluğu biraz daha artırdım */
    margin-bottom: 40px;
    max-width: 1200px; /* Maksimum genişlik ekledim */
    margin-left: auto;
    margin-right: auto;
}

.recipe-photo {
    width: 100%;
    height: 100%;
    padding-bottom: 44%; /* 4:3 aspect ratio */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.recipe-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-photo:hover img {
    transform: scale(1.05);
}

/* Büyük ekranlarda bile sadece 2 sütun gösterme seçeneği */
@media (min-width: 1201px) {
    .photos-grid {
        grid-template-columns: repeat(2, minmax(450px, 1fr)); /* Sadece 2 sütun, daha büyük */
    }
}

/* Orta boy ekranlar için */
@media (max-width: 1200px) {
    .photos-grid {
        grid-template-columns: repeat(2, minmax(400px, 1fr));
    }
}

/* Küçük ekranlar için */
@media (max-width: 900px) {
    .photos-grid {
        grid-template-columns: 2fr; /* Tek sütun */
        max-width: 600px; /* Tek sütun için daha küçük maksimum genişlik */
    }
    
    .recipe-photo {
        padding-bottom: 66.67%; /* 3:2 en-boy oranı, daha geniş görünüm */
    }
}

.site-title::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('site-icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 5px;
  vertical-align: middle;
}

/* Kapsayıcı */
.recipe-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
/* Benzer Tarifler için yatay düzen CSS stilleri */
.benzer-tarifler-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.benzer-tarif-kart {
    width: calc(33.33% - 10px);
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.benzer-tarif-kart:hover {
    transform: translateY(-8px);
}

.benzer-tarif-kart a {
    text-decoration: none;
    color: inherit;
    display: block; /* Makes the entire card clickable */
}

.benzer-tarif-resim {
    height: 240px;
    overflow: hidden;
}

.benzer-tarif-resim img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benzer-tarif-icerik {
    padding: 20px; /* Increased padding further */
}

.benzer-tarif-baslik {
    margin: 0 0 15px 0;
    font-size: 20px; /* Increased font size further */
    font-weight: 600;
    color: #333;
    clear: both; 
}

.benzer-tarif-bilgi {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #666;
}

/* Mobil cihazlar için düzenlemeler */
@media (max-width: 1100px) {
    .benzer-tarifler-container {
        flex-wrap: wrap; /* Allow cards to wrap on medium screens */
        justify-content: center;
    }
    
    .benzer-tarif-kart {
        max-width: 45%; /* Two cards per row on medium screens */
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .benzer-tarifler-container {
        flex-direction: column;
        align-items: center;
    }
    
    .benzer-tarif-kart {
        max-width: 100%;
        width: 100%; /* Full width on mobile */
        margin-bottom: 20px;
    }
    
    .benzer-tarif-resim {
        height: 220px;
    }
}

.col-md-4 img, .card.mb-4 img {
  width: 100%; /* Kapsayıcı genişliğine göre */
  height: auto; /* Otomatik yükseklik (sabit yükseklik yerine) */
  object-fit: contain; /* Resim oranlarını koruyarak tamamen gösterir */
  margin-bottom: 10px; /* Resim altında biraz boşluk */
  border-radius: 4px; /* Köşeleri hafif yuvarlatma (opsiyonel) */
}

/* Resim altındaki yazılar için stil (opsiyonel) */
.col-md-4 .card-title, .card.mb-4 .card-title {
  text-align: center;
  color: #ff6b6b; /* Diğer başlıklarla aynı renk */
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Başlık stilini "Tarif Hakkında" yazısına benzer şekilde ayarlama */
.card.mb-4 h1, .card.mb-4 h2, .card.mb-4 h3, .card.mb-4 h4, .card.mb-4 h5, .card.mb-4 h6 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #ff6b6b; /* Görseldeki gibi pembe/kırmızı renk */
  font-weight: normal;
  position: relative;
  padding-bottom: 8px;
}

/* Başlıkların altında görünen çizgi */
.card.mb-4 h1:after, .card.mb-4 h2:after, .card.mb-4 h3:after, 
.card.mb-4 h4:after, .card.mb-4 h5:after, .card.mb-4 h6:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: #ff6b6b; /* Çizgi rengi başlık rengiyle aynı */
}

/* Kart içindeki resimleri büyütelim */
.card.mb-4 img {
  width: 100%;
  height: 100%;
  margin-bottom: 15px;
}

/* Mobil görünüm için düzenleme */
@media (max-width: 768px) {
  .col-md-4 {
    position: relative; /* Mutlak konumlandırmayı kaldır */
    top: auto;
    right: auto;
    width: 100%; /* Tam genişlik */
    margin-bottom: 20px;
  }
  
  /* Kartlar arası boşluk */
  .card.mb-4 {
    margin-bottom: 20px;
  }
}

/* Normal ekranlarda sağ taraf düzeni */
@media (min-width: 769px) {
  .col-md-4 {
    position: absolute;
    top: 300px; /* Üstten boşluk */
    right: 150px; /* Sağdan boşluk */
    width: 400px; /* Genişliği artırıldı */
  }
  
  .card.mb-4 {
    margin-bottom: 2rem; /* Alt boşluğu artırıldı */
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Gölge büyütüldü ve belirginleştirildi */
    padding: 20px; /* İç boşluk eklendi */
    font-size: 1.1rem; /* Yazı boyutu artırıldı */
  }
}

.containerMain {
  display: grid;
  flex-direction: row;
  justify-content: center;
  grid-template-columns: auto auto;
}

/* Ekmek kırıntısı */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  color: #6c757d;
  content: "/";
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* Tarif başlığı ve açıklama */
.recipe-header {
  margin-bottom: 30px;
}

.popular-recipe {
  display: flex;
  align-items: center;
  gap: 15px; /* Increased from 10px for better spacing */
  text-decoration: none;
  color: inherit;
  padding: 10px 0; /* Added padding for more breathing room */
}

.popular-recipe-title {
  flex-grow: 1;
  font-size: 16px; /* Increased from 14px for better readability */
  line-height: 1.4;
}

.popular-recipes .list-group-item {
  padding: 15px; /* Increased padding */
  border-bottom: 1px solid #eee; /* Optional: adds visual separation */
}

.popular-recipes .list-group-item:hover {
  background-color: #f8f9fa;
}

.popular-recipe-img {
  width: 120px; /* Increased from 80px */
  height: 120px; /* Increased from 80px */
  overflow: hidden;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.popular-recipe-img img {
  width: 200px;
  height: 150px;
  object-fit: cover;
}

.recipe-title {
  color: var(--dark);
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.suitable-for {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.difficulty {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 500;
}

.kolay {
  background-color: #e0f7e0;
  color: #2e7d32;
}

.orta {
  background-color: #fff8e0;
  color: #ff8f00;
}

.zor {
  background-color: #ffe0e0;
  color: #c62828;
}

.suitable-tag {
  background-color: #f0f0f0;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--dark);
}

.recipe-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* Tarif galerisi */
.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.recipe-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.recipe-gallery img:hover {
  transform: scale(1.03);
}

/* Tarif bilgileri */
.recipe-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
  background-color: var(--light);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item i {
  font-size: 1.8rem;
  color: var(--primary);
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item span {
  font-size: 0.9rem;
  color: #666;
}

.info-item strong {
  font-size: 1.1rem;
  color: var(--dark);
}

/* Tarif bölümleri */
.recipe-section {
  margin-bottom: 40px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-title {
  position: relative;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
  font-size: 1.8rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--primary);
}

/* Malzemeler listesi */
.ingredients-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.ingredients-list li {
  padding: 10px 15px;
  background-color: white;
  border-left: 3px solid var(--primary);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.ingredients-list li span {
  font-weight: 600;
  margin-right: 10px;
  color: var(--primary);
}

/* Alternatif malzemeler */
.alternative-ingredients {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.alternative-ingredients h4 {
  margin-top: 0;
  color: var(--dark);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.alternative-list {
  list-style: none;
  padding: 0;
}

.alternative-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
}

.alternative-list li:last-child {
  border-bottom: none;
}

.alternative-list strong {
  color: var(--dark);
}

.alternative-list span {
  color: #555;
}

/* Hazırlanış adımları */
.preparation-steps {
  counter-reset: step-counter;
}

.star-rating i {
  cursor: pointer;
  font-size: 24px; /* Yıldızları daha görünür yapmak için */
  color: #ccc; /* Boş yıldızların rengi */
  margin-right: 5px; /* Yıldızlar arası boşluk */
}

.star-rating i.bi-star-fill {
  color: #ffc107; /* Dolu yıldızların rengi - sarı */
}

.step {
  position: relative;
  padding: 20px 20px 20px 60px;
  margin-bottom: 15px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-number {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step p {
  margin: 0;
  line-height: 1.7;
}

/* Püf noktaları */
.tips-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tip {
  display: flex;
  gap: 15px;
  padding: 15px;
  background-color: #fff8e1;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

.tip i {
  color: #ffc107;
  font-size: 1.5rem;
}

.tip p {
  margin: 0;
  line-height: 1.7;
}

/* Besin değerleri tablosu */
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.nutrition-table th,
.nutrition-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.nutrition-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: var(--dark);
}

.nutrition-table tr:last-child td {
  border-bottom: none;
}

/* Yorumlar */
.comments-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.comment-header strong {
  color: var(--dark);
}

.comment-header span {
  color: #777;
  font-size: 0.9rem;
}

.comment-body p {
  margin: 0;
  line-height: 1.7;
  color: #555;
}

.no-comments {
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

/* Yorum formu */
.comment-form {
  margin-top: 30px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.comment-form h3 {
  margin-top: 0;
  color: var(--dark);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

.form-button:hover {
  background-color: var(--primary-dark);
}

/* Benzer tarifler */
.related-recipes {
  margin-top: 10px;
  padding: 0 0px;
  max-width: 50%;
  width: 50%;
  box-sizing: border-box;
}

.related-title {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  width: 100%;
}

.related-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.comments-container, .benzer-tarifler-container {
  width: 100%;
  max-width: 100%;
}

.related-card {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  transition: transform 0.3s;
}

.related-card img:hover {
  transform: scale(1.05);
}


.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-image {
  height: 180px;
  overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-name {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: var(--dark);
}

.related-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #777;
  margin-top: auto;
}

.related-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.related-meta i {
  color: var(--primary);
}

/* Paylaşma butonları */
.share-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  padding: 0 20px;
}

.action-button {
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center; /* İçeriğin ortalanmasını sağlar */
  gap: 8px;
  border: none;
  transition: all 0.3s ease;
  width: auto; /* İçerik için uygun genişlik */
  min-width: 140px; /* Kesik görünmesini önlemek için minimum genişlik */
  overflow: visible; /* İçeriğin kesilmesini önler */
}

.print-button {
  background-color: #f0f0f0;
  color: #333;
}

.print-button:hover {
  background-color: #e0e0e0;
}

.share-button {
  background-color: var(--accent);
  color: white;
  white-space: nowrap; /* Metnin satır atlamasını önler */
}

.share-button:hover {
  background-color: #3db9b0;
}

.favorite-button {
  background-color: var(--primary);
  color: white;
}

.favorite-button:hover {
  background-color: var(--primary-dark);
}

.favorited {
  background-color: #e0e0e0;
  color: var(--primary);
}

/* Paylaşma seçenekleri */
.share-options {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  overflow: hidden;
  padding-bottom: 20px;
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.share-header h3 {
  margin: 0;
  color: var(--dark);
}

.close-share {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 20px 20px;
}

.share-button {
  text-align: center;
  padding: 12px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.share-button.facebook {
  background-color: #3b5998;
  color: white;
}

.share-button.twitter {
  background-color: #1da1f2;
  color: white;
}

.share-button.whatsapp {
  background-color: #25d366;
  color: white;
}

.share-button.email {
  background-color: #777;
  color: white;
}

.share-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.share-link {
  padding: 0 20px;
  display: flex;
  gap: 10px;
}

.share-link input {
  flex-grow: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
}

.copy-link {
  padding: 10px 15px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.copy-link:hover {
  background-color: #3db9b0;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer p {
  margin: 0;
}

/* Hata sayfası */
.error-message {
  max-width: 600px;
  margin: 100px auto;
  padding: 30px;
  text-align: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.error-message h2 {
  color: var(--primary);
  margin-top: 0;
}

.error-message .button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--primary);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.error-message .button:hover {
  background-color: var(--primary-dark);
}

/* Tarif Hakkında Bölümü */
.tarif-aciklama {
  margin-bottom: 1.5rem;
}

.tarif-aciklama h2 {
  position: relative;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.tarif-aciklama h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--primary);
}

/* Medya sorguları - Mobil uyumluluk */
@media (max-width: 768px) {
  .recipe-info {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ingredients-list {
    grid-template-columns: 1fr;
  }
  
  .share-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .action-button {
    width: 100%;
    justify-content: center;
  }
  
  .related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}
}

@media (max-width: 480px) {
  .recipe-title {
    font-size: 1.8rem;
  }
  
  .recipe-info {
    grid-template-columns: 1fr;
  }
  
  .share-buttons {
    grid-template-columns: 1fr;
  }
  
  .share-link {
    flex-direction: column;
  }
  
  .step {
    padding: 15px 15px 15px 50px;
  }
}

/* Yazdırma özellikleri */
@media print {
  .recipe-gallery, 
  .share-actions, 
  .comment-form, 
  .related-recipes {
    display: none !important;
  }
  
  .recipe-detail-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

  
  body {
    background-color: white;
    color: black;
    font-size: 12pt;
  }
  
  .recipe-section {
    page-break-inside: avoid;
  }
  
  @media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .benzer-tarif-kart {
    margin-bottom: 15px;
  }
}
  
}