/* Reset ve Temel Stil */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
a:hover {
  color: #b85c38;
}
/* Header */
header {
  background: rgb(255, 255, 255);
  box-shadow: 0 2px 20px rgba(184, 92, 56, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  margin-top: 50px;
  z-index: 1000;
  min-height: 80px;
}
header .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 50%;
}
header .logo img {
  height: 250px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-right: 900px;
}
header .nav-links {
  display: flex;
  gap: 80px;
  align-items: right;
  margin-left: 600px;
}
header .nav-links:first-child {
  /* margin-right: auto; */
  margin-left: 400px;
}
header .nav-links:last-child {
  /* margin-left: auto; */
  margin-right: 400px;
}
header .nav-links a {
  font-weight: 600;
  position: relative;
  white-space: nowrap;
  font-size: 1rem;
  padding: 8px 0;
}
header .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #b85c38;
  transition: width 0.3s ease;
}
header .nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: top;
  justify-content: space-between;
  gap: 30px;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-text {
  flex: 1;
}
.fresh-bread {
  font-size: 0.9rem;
  font-weight: 600;
  color: #b85c38;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.hero-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
  line-height: 1.2;
}
.contact-info {
  margin-bottom: 20px;
}
.contact-info p {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #555;
}
.opening-subject {
  margin-bottom: 5px;
}
.opening-subject p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #b85c38;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}
.opening-hours {
  margin-bottom: 30px;
}
.opening-hours p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #b85c38;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.image-credit {
  font-size: 0.8rem;
  color: #999;
  margin-top: 20px;
  font-style: italic;
}
.hero-image {
  flex: 1;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  height: 500px;
  border-radius: 20px;
  object-fit: cover;
  transform: scale(0.95);
  transition: transform 2.5s ease;
}
.hero-image img:hover {
  transform: scale(1);
}
.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  border: 2px solid #b85c38;
  border-radius: 5px;
  font-weight: 600;
  color: #b85c38;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary:hover {
  background-color: #b85c38;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Features */
.features {
  display: flex;
  justify-content: space-around;
  padding: 60px 40px;
  gap: 20px;
  background: #f8f5f2;
}
.feature-card {
  flex: 1;
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.feature-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}
.feature-card:hover img {
  transform: rotate(-10deg) scale(1.1);
}
.feature-card h4 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #b85c38;
}
.feature-card p {
  font-size: 0.95rem;
  color: #666;
}

/* Parallax Section */
.parallax {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8f5f2;
}
.parallax-content img {
  max-width: 100%;
  border-radius: 15px;
  transform: translateX(-100px);
  opacity: 0;
  transition: all 1.5s ease;
}
.show-left img {
  opacity: 1;
}

/* Our Bread Section - New Design */
.our-bread {
  padding: 80px 40px;
  text-align: center;
  background-color: white;
}
.bread-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #b85c38;
  margin-bottom: 20px;
}
.bread-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
}
.divider {
  width: 100px;
  height: 2px;
  background: #b85c38;
  margin: 0 auto 50px auto;
}
.bread-products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.bread-product {
  width: 350px;
  text-align: left;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bread-product:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #f8f5f2;
}
.product-info {
  padding: 25px;
}
.product-info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #b85c38;
  margin-bottom: 20px;
}
.add-to-cart {
  width: 100%;
  padding: 12px 20px;
  background: #b85c38;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.add-to-cart:hover {
  background: #a34d2c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 92, 56, 0.3);
}

/* Scroll Animasyon */
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.show {
  opacity: 1;
  transform: translateY(0);
}
.hidden-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.5s ease;
}
.show-left {
  opacity: 1;
  transform: translateX(0);
}
.hidden-right {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.5s ease;
}
.show-right {
  opacity: 1;
  transform: translateX(0);
}

/* Sadece modal body için */
.modal-content #modal-body {
  font-style: italic;
}

/* Bouncing Animations */
.bounce-in {
  animation: bounceIn 1.5s ease-out;
}
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(-100px) scale(0.3);
  }
  50% {
    opacity: 0.9;
    transform: translateY(20px) scale(1.05);
  }
  80% {
    opacity: 1;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Buton için özel bounce */
.btn-primary.bounce {
  animation: buttonBounce 2s ease-in-out 0.5s both;
}
@keyframes buttonBounce {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(100px);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1) translateY(-10px);
  }
  70% {
    transform: scale(0.95) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* Resim için de slide-in efekti */
.hero-image {
  animation: slideInRight 1.2s ease-out 0.3s both;
}
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Contact icon stilleri */
.contact-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.contact-info:hover .contact-icon {
  opacity: 1;
}
/* Contact info düzeni */
.contact-info {
  margin-bottom: 20px;
}
.contact-info p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #555;
  display: flex;
  align-items: center;
}
html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}
/* Instagram icon stilleri */
.instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: transform 0.3s ease;
}
.instagram-icon {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: all 0.3s ease;
}
.instagram-link:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* --- Responsive ve tekrarları sadeleştirilmiş haliyle aşağıda toplandı --- */

/* 768px ve altı için responsive ayarlar */
@media (max-width: 768px) {
  /* Header */
  header {
    flex-direction: row;
    justify-content: space-between; /* Logo ve nav yan yana */
    gap: 15px;
    padding: 20px;
    min-height: auto;
  }
  header .logo {
    position: static;
    transform: none;
    order: -1;
    margin-bottom: 10px;
    margin-right: 0;
    flex-shrink: 0;
  }
  header .logo img {
    height: 54px;
    max-width: 120px;
    margin-right: 0;
  }
  header .nav-links {
 justify-content: flex-end; /* Item'ları sağa yasla */
    gap: 15px;
    margin-left: 0;
    flex-shrink: 1; /* Gerekirse küçülsün */
  }
  header .nav-links a {
    font-size: 24px;
    padding: 2px 4px;
  }

  /* Hero */
  .hero {
    flex-direction: row;
    gap: 12px;
    padding: 20px 6px;
    align-items: flex-start;
  }
  .hero-text, .hero-image {
    flex: 1 1 0;
    max-width: 50%;
  }
  .hero-image img {
    height: 160px;
    max-width: 100%;
    border-radius: 12px;
  }
  .hero-text h1 {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  /* Features */
  .features {
    flex-direction: column;
  }

  /* Our Bread */
  .our-bread {
    padding: 60px 20px;
  }
  .bread-header h1 {
    font-size: 2.5rem;
  }
  .bread-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    justify-items: center;
  }
  .bread-product {
    width: 100%;
    max-width: 180px;
  }
  .product-image img {
    height: 200px;
  }

  /* Instagram icon responsive */
  .instagram-icon {
    width: 20px;
    height: 20px;
  }

  /* Responsive: bread-product başlık boyutları */
    .product-info h2 {
    font-size: 1.1rem;
  }
}

/* 600px ve altı için header daha kompakt */
@media (max-width: 350px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 6px;
    gap: 4px;
    min-height: unset;
  }
  header .logo {
    margin-bottom: 0;
    margin-right: 8px;
    order: 0;
    position: static;
    transform: none;
  }
  header .logo img {
    height: 54px;
    max-width: 120px;
  }
  header .nav-links {
    gap: 6px;
  }
  header .nav-links a {
    font-size: 14px;
    padding: 2px 4px;
  }
}

@media (max-width: 480px) {
  .product-info h2 {
    font-size: 1rem;
  }
    .product-price .product-price {
    font-size: 0.1rem;
  }
}

/* 350px ve altı için bread-products tek sütun */
@media (max-width: 350px) {
  .bread-products {
    grid-template-columns: 1fr;
  }
  .bread-product {
    max-width: 100%;
  }
  .product-info h2 {
    font-size: 0.1rem;
  }
  .product-price .product-price {
    font-size: 0.1rem;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  /* Ortalamak için flex kullan */
  align-items: center;
  justify-content: center;
}

.modal .modal-content {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.modal .modal-content img#modal-image {
  width: 100%;
  max-width: 520px;
  display: block;
  margin: 0 auto 24px auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  cursor: zoom-in;
  transition: all 0.3s;
}
.modal .modal-content img#modal-image.enlarged {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  cursor: zoom-out;
  z-index: 10001;
}

/* ...existing code... */

.modal .close {
  position: absolute;           /* absolute yerine fixed */
  top: 6px;               /* modal kutusunun üstünden */
  right: 6px;             /* modal kutusunun sağından */
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #b85c38;
  background: #fff;
  border: 2px solid #b85c38;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(184,92,56,0.08);
  z-index: 10001;
}
.modal .close:hover {
  background: #b85c38;
  color: #fff;
  box-shadow: 0 4px 16px rgba(184,92,56,0.18);
}

/* Mobilde sağ üstte ve daha küçük olsun */
@media (max-width: 600px) {
  .modal .close {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .modal .close {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    font-size: 1.3rem;
  }
}
@media (max-width: 350px) {
  .modal .close {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    font-size: 1.3rem;
  }
}

/* ...existing code... */

/* Orta boy ekranlar (1200px - 992px) */
@media (max-width: 1200px) {
  header .logo img {
    height: 200px;
    max-width: 180px;
    margin-right: 300px; /* Margin'i azalt */
  }
  
  header .nav-links:first-child {
    margin-left: 400px; /* Margin'i azalt */
  }
  
  header .nav-links:last-child {
    margin-right: 400px; /* Margin'i azalt */
  }
  
  header .nav-links {
    gap: 25px;
  }
  
  header .nav-links a {
    font-size: 0.9rem;
  }
}

/* Küçük PC/Tablet için (992px - 768px) */
@media (max-width: 992px) {
  header .logo img {
    height: 160px;
    max-width: 150px;
    margin-right: 200px; /* Daha da azalt */
  }
  
  header .nav-links:first-child {
    margin-left: 250px; /* Daha da azalt */
  }
  
  header .nav-links:last-child {
    margin-right: 250px; /* Daha da azalt */
  }
  
  header .nav-links {
    gap: 20px;
  }
  
  header .nav-links a {
    font-size: 0.85rem;
  }
}

/* Tablet için (768px - 600px) - Burada mobile geçiş yapabilirsiniz */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 20px;
  }
  
  header .logo {
    position: static;
    transform: none;
    margin-right: 0;
  }
  
  header .logo img {
    height: 80px;
    max-width: 120px;
    margin-right: 0; /* Margin'i tamamen kaldır */
  }
  
  header .nav-links:first-child {
    margin-left: 0; /* Margin'i kaldır */
  }
  
  header .nav-links:last-child {
    margin-right: 0; /* Margin'i kaldır */
  }
  
  header .nav-links {
    gap: 15px;
    margin-left: 0;
  }
  
  header .nav-links a {
    font-size: 0.8rem;
  }
}