/* Genel body ayarları */
body {
  background-image: url(../images/siyahtahtanet.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  font-family: tahoma;
  color: black;
  line-height: 1.8;
}

/* Ana kapsayıcı */
.wrapper {
  width: 960px;
  margin: 1rem auto;
  padding: 20px;
  background-color: rgba(230, 230, 230, 0.95);
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Başlık bölgesi */
.header {
  margin-bottom: 3rem;
  text-align: center;
}

.header h1 {
  padding: 1rem;
  border-top: double 4px #2F414F;
  border-bottom: double 4px #2F414F;
  color: #2F414F;
  font-size: 2rem;
  font-family: "Zen Kurenaido", tahoma;
  font-weight: 400;
}

/* Navigation */
.gnav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 1rem 0;
  list-style: none;
}

.gnav-item a {
  display: block;
  width: 10rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background-color: #2F414F;
  color: #C7DAD4;
  text-decoration: none;
  transition: 0.3s ease-out;
}

.gnav-item a:hover {
  background-color: #C7DAD4;
  color: #2F414F;
}

/* Ana icerik ve yan kutu */
.contents-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.main-contents {
  width: 600px;
  display: flex;
  flex-direction: column;
}

/* Content */
.content {
  margin-bottom: 4rem;
}

.content h2, .content h3 {
  display: block;
  width: 100%;
  max-width: 500px;
  font-weight: bold;
  color: #2F414F;
  padding: 0.8rem 1.5rem;
  border-radius: 0.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-left: 0;
}

.content h2 {
  font-size: 1.5rem;
  background-color: rgba(47, 65, 79, 0.1);
  text-align: center;  /* zaten vardı ama garantiye alalım */
}

.content h3 {
  font-size: 1.3rem;
  background-color: rgba(47, 65, 79, 0.2);
}

.content p {
  margin-bottom: 2rem;
  font-size: 1rem;
  text-align: center;  /* yazıyı ortaladık */
}

/* Aside */
.aside-contents {
  width: 300px;
  display: flex;
  flex-direction: column;
}

.aside-contents h2 {
  border-bottom: solid 1px #ccc;
  font-size: 1.25rem;
  line-height: 2;
}

.aside-contents ol,
.aside-contents ul {
  margin-bottom: 4rem;
}

.aside-contents li {
  margin-top: 0.5rem;
}

/* Menü bağlantıları */

.meal-link-group {
  text-align: left;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1.5rem 0;  
}


.meal-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  background-color: #2F414F;
  color: #C7DAD4;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease-out;
  width: fit-content;
}

.meal-link:hover {
  background-color: #C7DAD4;
  color: #2F414F;
  transform: translateY(-4px);
}

.return-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #2F414F;
  color: #C7DAD4;
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease-out;
}

.return-button:hover {
  background-color: #C7DAD4;
  color: #2F414F;
  transform: translateY(-3px);
}

/* Görsel alanı */
.main-visual {
  text-align: center;
  margin: 1rem 0;
}

.main-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: block;              /* img'yi blok element yapıyoruz */
  margin: 0 auto;              /* yatay ortalama bu */
}


/* Intro title */
.intro-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #2F414F;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: "Zen Kurenaido", sans-serif;
}

/* Kart kutusu */
.glass-box {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 2rem auto;
}

.glass-box-aside {
  flex: 1;
  background-image: url(../images/gritahta.jpg);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: top center;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #C7DAD4;
}

/* Footer */
.footer {
  padding: 2rem;
  margin-top: 4rem;
  background-image: url(../images/cloud.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
}

.cloud-image {
  width: 100%;
  display: block;
  margin-top: 2rem;
  z-index: 0;
}

