@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --color-bg: #F5F7F5; /* Very subtle olive/grey tint */
  --color-text: #1C2224; /* Dark slate */
  --color-indigo: #2C3E50;
  --color-olive: #5B6344;
  --color-terra: #7A4836; /* Daha koyu kahve kahverengisi */
  --color-white: #FFFFFF;
  
  --font-main: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(245, 247, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91, 99, 68, 0.15);
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 45px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-white); 
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
  display: inline-block; 
  padding: 5px 15px; 
  margin: 0 10px; 
}

.nav-links a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; 
  height: 150%; 
  opacity: 0.85; 
  z-index: -1;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hand-drawn organic blob shapes and colors for each link */
.nav-links a:nth-child(1)::after {
  background-color: #a0aab2; /* Ana Sayfa (Gri-mavi) */
  border-radius: 45px 35px 50px 40px;
}
.nav-links a:nth-child(2)::after {
  background-color: var(--color-indigo); /* Koleksiyonlar */
  border-radius: 40px 50px 35px 45px;
}
.nav-links a:nth-child(3)::after {
  background-color: var(--color-olive); /* Tarifler */
  border-radius: 50px 40px 45px 35px;
}
.nav-links a:nth-child(4)::after {
  background-color: var(--color-terra); /* Atölye Günlüğü */
  border-radius: 35px 45px 50px 40px;
}
.nav-links a:nth-child(5)::after {
  background-color: var(--color-olive); /* İletişim */
  border-radius: 45px 50px 40px 50px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
  opacity: 1; 
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10% 20px 10%; /* Üst menü (navbar) altında kalmaması için 120px boşluk eklendi */
  min-height: 75vh; 
  background: var(--color-bg);
}

.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: var(--color-indigo);
  line-height: 1.5; /* Tepesinin HİÇ kesilmemesi için garanti çözüm */
  margin-top: 10px;
  padding-top: 30px; /* Ekstra mesafe */
  margin-bottom: 25px;
}

.hero-content h1 span {
  color: var(--color-olive);
  font-style: italic;
}

.hero-content p {
  font-size: 1.2rem;
  color: #4a5568;
  animation: fadeUp 1s ease forwards 0.2s;
  opacity: 0;
  transform: translateY(30px);
  margin-bottom: 40px; /* Butonla arasındaki boşluk artırıldı */
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--color-olive);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(91, 99, 68, 0.2);
  animation: fadeUp 1s ease forwards 0.4s;
  opacity: 0;
  transform: translateY(30px);
}

.btn:hover {
  background-color: var(--color-olive-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(91, 99, 68, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-indigo);
  border: 2px solid var(--color-indigo);
  box-shadow: none;
  margin-left: 15px;
}

.btn-outline:hover {
  background-color: var(--color-indigo);
  color: var(--color-white);
  box-shadow: 0 15px 25px rgba(38, 56, 89, 0.2);
}

.hero-image {
  flex: 1;
  max-width: 380px; /* Görsel çerçevesi daha da küçültüldü */
  height: 55vh; /* Yükseklik biraz azaltıldı */
  margin-left: 60px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: fadeInRight 1s ease forwards 0.3s;
  opacity: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%; /* Kedi ve sepetin ortalanması için */
  transition: transform 0.7s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* Page Content (for non-hero pages) */
.page-content {
  padding-top: 140px;
  min-height: 80vh;
}

/* Sections General */
section {
  padding: 120px 50px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--color-indigo);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-olive);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Collections Structure */
.collection-group {
  margin-bottom: 80px;
}

.collection-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-text);
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(91, 99, 68, 0.2);
  padding-bottom: 10px;
  display: inline-block;
}

/* Hikayemiz Section */
#hikayemiz {
  background-color: var(--color-white);
  text-align: center;
}

.story-container {
  max-width: 800px;
  margin: 0 auto;
}

.story-container p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.8;
}

/* Interactive Mailbox in Contact Page */
.contact-container {
  position: relative; /* For absolute positioning of mailbox if needed */
}

.interactive-mailbox {
  position: absolute;
  bottom: -40px;
  right: 20px;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  z-index: 10;
}

.interactive-mailbox:hover {
  transform: scale(1.15) rotate(-3deg);
}

@media (max-width: 768px) {
  .interactive-mailbox {
    position: relative;
    bottom: auto;
    right: auto;
    display: block;
    margin: 30px auto 0 auto;
    text-align: center;
  }
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Page Indigo Theme for Koleksiyonlar */
body.page-indigo {
  background-color: var(--color-indigo);
  color: var(--color-white);
}

body.page-indigo .page-content {
  background-color: transparent;
}

body.page-indigo .section-header p,
body.page-indigo .section-header h2,
body.page-indigo .collection-title {
  color: var(--color-white);
}

body.page-indigo .collection-title {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.page-indigo .card {
  background-color: rgba(255, 255, 255, 0.05); /* Şeffaf beyazımsı arka plan */
}

body.page-indigo .card-content {
  background-color: transparent;
}

body.page-indigo .card-content h3,
body.page-indigo .card-content p {
  color: var(--color-white);
}

/* Page Olive Theme for Tarifler */
body.page-olive {
  background-color: var(--color-olive);
  color: var(--color-white);
}

body.page-olive .page-content {
  background-color: transparent;
}

body.page-olive .section-header h2 {
  color: var(--color-white);
}

body.page-olive .card {
  background-color: rgba(255, 255, 255, 0.05);
}

body.page-olive .card-content {
  background-color: transparent;
}

body.page-olive .card-content h3,
body.page-olive .card-content p {
  color: var(--color-white);
}

/* Page Terra Theme for Atölye Günlüğü */
body.page-terra {
  background-color: var(--color-terra);
  color: var(--color-white);
}

body.page-terra .page-content,
body.page-terra #yazilar {
  background-color: transparent;
}

body.page-terra .section-header h2 {
  color: var(--color-white);
}

body.page-terra .blog-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.page-terra .blog-card h3,
body.page-terra .blog-card p,
body.page-terra .blog-date {
  color: var(--color-white);
}

/* Olive Symbol Image */
.olive-symbol-img {
  height: 45px;
  display: block;
  margin: 0 auto 15px auto;
  filter: invert(1);
}

.footer-logo {
  height: 30px; /* 22px'ten biraz daha büyük ama abartısız */
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  margin-bottom: 6px;
  filter: invert(1);
}

.card {
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(38, 56, 89, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(91, 99, 68, 0.05);
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(38, 56, 89, 0.12);
  border-color: rgba(91, 99, 68, 0.2);
}

.card-img-wrapper {
  height: 320px;
  overflow: hidden;
  position: relative;
}

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

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

.card-content {
  padding: 25px;
  background: var(--color-white);
  position: relative;
  z-index: 2;
}

.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--color-indigo);
}

.card-content p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255,255,255,0.95);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-olive);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Blog/Yazılar Section */
#yazilar {
  background-color: #EAECEB;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.blog-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.3s ease;
}

.blog-card:hover {
  background: var(--color-indigo);
}

.blog-card:hover h3, .blog-card:hover p, .blog-card:hover .blog-date {
  color: var(--color-white);
}

.blog-date {
  font-size: 0.85rem;
  color: var(--color-olive);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
  transition: color 0.3s ease;
}

.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--color-indigo);
  transition: color 0.3s ease;
}

.blog-card p {
  color: #555;
  transition: color 0.3s ease;
}

/* Footer */
footer {
  background-color: var(--color-indigo);
  color: var(--color-white);
  text-align: center;
  padding: 80px 20px;
}

footer h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-white);
  letter-spacing: 1px;
}

footer p {
  color: rgba(255,255,255,0.7);
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
