/*
  Lezzet Kapında - Stil Dosyası
  Tasarım Sistemi: Retro & Hipergerçekçi Dokular
  Renk Şeması: Üçlü
  Animasyon Stili: Kaydırmaya Bağlı Efektler
*/

/* ---------------------------------- */
/* 1. CSS Değişkenleri (:root)
/* ---------------------------------- */
:root {
  /* Renk Paleti (Üçlü: Altın, Deniz Mavisi, Kırmızı) */
  --primary-color: #D9A05B; /* Retro Altın/Hardal */
  --secondary-color: #468989; /* Sessiz Deniz Mavisi */
  --accent-color: #A94442; /* Sessiz Kırmızı */

  /* Metin Renkleri */
  --text-color-dark: #222222; /* Koyu arka planlar için */
  --text-color-light: #FFFFFF; /* Açık arka planlar için */
  --text-color-subtle: #555555;
  --text-color-beige: #F5F5DC; /* Krem rengi metin */
  
  /* Arka Plan Renkleri */
  --bg-light: #FDF6E3; /* Krem rengi */
  --bg-dark: #2a2a2a;
  --bg-footer: #1e1e1e;

  /* Tipografi */
  --font-family-heading: 'Roboto', sans-serif;
  --font-family-body: 'Lato', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.7;

  /* Mizanpaj */
  --container-width: 1200px;
  --section-padding: 80px 0;
  --border-radius: 8px;
  --transition-speed: 0.3s;
}


/* ---------------------------------- */
/* 2. Temel ve Tipografi Stilleri
/* ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-color-dark);
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 900; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
p { margin-top: 0; margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color var(--transition-speed) ease; }
a:hover { color: var(--secondary-color); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ---------------------------------- */
/* 3. Mizanpaj
/* ---------------------------------- */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

.section-padding {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  color: var(--text-color-subtle);
}

.textured-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax Etkisi */
}


/* ---------------------------------- */
/* 4. Genel Bileşenler
/* ---------------------------------- */
/* Düğmeler */
.btn, button, input[type="submit"] {
  display: inline-block;
  font-family: var(--font-family-heading);
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease-in-out;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-dark);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Formlar */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-color-light);
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: opacity var(--transition-speed) ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--bg-dark);
    padding: 0 5px;
    color: var(--primary-color);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.contact-form input:focus + label, .contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    opacity: 1;
}

.contact-form input:focus::placeholder, .contact-form textarea:focus::placeholder {
    opacity: 0;
}

/* ---------------------------------- */
/* 5. Header & Navigasyon
/* ---------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background-color: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-speed) ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-family-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-color-light);
  text-decoration: none;
}
.logo:hover {
    color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: var(--text-color-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.burger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color-light);
  margin: 5px 0;
  transition: all var(--transition-speed) ease;
}

/* ---------------------------------- */
/* 6. Bölüm Stilleri
/* ---------------------------------- */

/* Hero Bölümü */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-color-light);
}

/* İnovasyon Bölümü */
#innovation .stats-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.widget {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.widget:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.widget-icon img { margin: 0 auto 1rem auto; }
.widget-value { font-family: var(--font-family-heading); font-size: 3rem; font-weight: 900; color: var(--secondary-color); line-height: 1; }
.widget-label { font-size: 1rem; color: var(--text-color-subtle); margin-top: 0.5rem; }


/* Projeler (Menüler) Bölümü */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card-content h3 {
    margin-bottom: 0.5rem;
}

/* Ortaklar Bölümü */
.partners-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
}

.partner-logo img {
    max-width: 150px;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}
.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Kaynaklar Bölümü */
.resources-list {
    display: grid;
    gap: 30px;
}
.resource-item {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.resource-item h3 a {
    color: var(--text-color-dark);
}
.resource-item h3 a:hover {
    color: var(--secondary-color);
}
.read-more {
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
}

/* Kariyer Bölümü */
.accordion-item {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background-color: #fff;
    border: none;
    padding: 20px;
    text-align: left;
    font-family: var(--font-family-heading);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform var(--transition-speed) ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-in-out, padding var(--transition-speed) ease-in-out;
    padding: 0 20px;
}
.accordion-content p {
    margin: 0;
    padding-bottom: 20px;
}


/* İletişim Bölümü */
#contact {
    background-color: var(--bg-dark);
}
#contact .contact-form {
    max-width: 700px;
    margin: 0 auto;
}
#contact .section-title,
#contact .section-subtitle {
    color: var(--text-color-light);
}

/* ---------------------------------- */
/* 7. Footer
/* ---------------------------------- */
.site-footer {
  background-color: var(--bg-footer);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: var(--text-color-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-column a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links a {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}


/* ---------------------------------- */
/* 8. Özel Sayfa Stilleri
/* ---------------------------------- */
/* Gizlilik ve Şartlar Sayfaları */
.static-page-content {
    padding-top: 120px; /* Header için boşluk */
    padding-bottom: 80px;
}
.static-page-content h1 {
    margin-bottom: 2rem;
}
.static-page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Başarı Sayfası */
.success-page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    background-color: var(--bg-light);
}
.success-box {
    background-color: #fff;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 600px;
}
.success-box h1 {
    color: var(--secondary-color);
}


/* ---------------------------------- */
/* 9. Animasyonlar & Geçişler
/* ---------------------------------- */
/* Barba.js Geçişleri */
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s ease;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}

/* Kaydırma Animasyonları */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---------------------------------- */
/* 10. Medya Sorguları (Duyarlılık)
/* ---------------------------------- */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    flex-direction: column;
    padding: 20px;
  }
  
  .main-nav.active {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .main-nav li {
    margin: 0;
    text-align: center;
  }
  
  .main-nav a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .main-nav a:hover {
      background-color: var(--primary-color);
      color: var(--text-color-dark);
  }

  .burger-menu {
    display: block;
  }

  h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}