/* 
   THEME: Hope & Resilience 
   Concept: Uplifting, Airy, Soft, Modern
*/

:root {
  /* ANA RENKLER (Primary Brand Colors) */
  --primary-color: #1F2328;
  /* Antrasit / Füme */
  --primary-dark: #0F1C2E;
  /* Hover -> Gece Laciverti */
  --primary-light: #2c323a;
  /* Very Light Gray (Based on card bg) */

  --secondary-color: #0F1C2E;
  /* Gece Laciverti */
  --secondary-light: #F3F1EB;
  /* Off-White/Alt bg */

  --accent-color: #C6A646;
  /* Mat altın / Soft hardal */
  --support-color: #F1F3F5;
  /* Light Gray – Destek */

  /* METİN RENKLERİ */
  --text-headings: #1F2328;
  /* Ana Başlık (H1) */
  --text-dark: #2B2B2B;
  /* Body Text (Açıklama Metni) */
  --text-muted: #6C757D;
  /* Muted Text (İkincil Açıklama) */
  --text-light: #F3F1EB;

  /* ARKA PLAN RENKLERİ */
  --bg-body: #F3F1EB;
  /* Ana Background (Kırık Beyaz) */
  --bg-alt: #F1F3F5;
  /* Alternatif Section */
  --bg-card: #F3F1EB;
  /* Kart / Blok Arka Planı */
  --bg-soft-gradient: linear-gradient(135deg, #F3F1EB 0%, #F1F3F5 100%);

  /* Shadows & Radius */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  /* Tinted with Dark */
  --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.08), 0 8px 16px -8px rgba(0, 0, 0, 0.04);
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.1);

  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-pill: 50rem;
}

body {
  font-family: 'DM Sans', 'Nunito', sans-serif;
  /* DM Sans is modern & friendly */
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--bg-body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  /* Elegant, editorial feel for headings */
  font-weight: 700;
  color: var(--text-headings);
}

main {
  flex: 1;
}

/* Header & Navbar */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1030;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--accent-color) !important;
}

.nav-link {
  font-weight: 500;
  color: #F3F1EB !important;
  /* Kırık beyaz menü yazıları */
  margin: 0 0.25rem;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-pill);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color) !important;
  /* Altın tonu vurgu */
  background-color: rgba(243, 241, 235, 0.05);
  transform: translateY(-1px);
}

/* Hero Section Styles */
.hero-gradient {
  background: linear-gradient(120deg, #F3F1EB 0%, #F1F3F5 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(15, 28, 46, 0.05) 0%, rgba(243, 241, 235, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.img-organic {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  box-shadow: var(--shadow-md);
  border: 5px solid var(--bg-body);
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* Card Styles */
.card-hover {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  background: var(--bg-body);
  border-radius: var(--radius-xl);
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover) !important;
}

.icon-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  color: var(--bg-body);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-hover:hover .icon-box {
  background: var(--accent-color);
  color: var(--bg-body);
  transform: scale(1.1) rotate(5deg);
}

/* Buttons */
/* Buttons */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  border-radius: var(--radius-pill);
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: #1F2328;
  box-shadow: 0 4px 15px rgba(198, 166, 70, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #B89532;
  border-color: #B89532;
  color: #1F2328;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 166, 70, 0.4);
}

.btn-secondary-soft {
  background-color: var(--bg-card);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-pill);
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-soft:hover {
  background-color: var(--bg-card);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Section Styling */
.section-padding {
  padding: 6rem 0;
}

.section-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section-title-wrapper::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
  opacity: 0.7;
}

/* Decorative Blobs/Shapes */
.decoration-circle {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.bg-soft-primary {
  background-color: var(--bg-body);
}

.bg-soft-secondary {
  background-color: var(--bg-body);
}

.text-secondary {
  color: var(--accent-color) !important;
}

/* Old Footer Styles Removed (Managed in style.css) */

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Header duplicate removed */

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(67, 97, 238, 0.05);
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Old Footer Styles Removed (Managed in style.css) */

/* Utilities */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  color: #1F2328;
}

.btn-primary:hover {
  background-color: #B89532;
  border-color: #B89532;
  color: #1F2328;
}

.text-primary {
  color: var(--primary-color) !important;
}


/* --- METODUM PAGE REDESIGN --- */

/* Page Background Gradient */
.page-metodum-bg {
  background: radial-gradient(circle at 50% 0%, var(--bg-body) 0%, #F3F1EB 40%, #F1F3F5 100%);
  position: relative;
  overflow-x: hidden;
}

.page-metodum-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(198, 166, 70, 0.05) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

/* Modern Hero */
.hero-modern {
  position: relative;
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero-modern h1 {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-headings);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.hero-modern h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 1rem auto 0;
  border-radius: 2px;
  opacity: 0.8;
}

.hero-modern .lead {
  font-size: 1.35rem;
  font-weight: 400;
  color: #2B2B2B;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Glassmorphism Card */
.card-modern {
  background: rgba(243, 241, 235, 0.85);
  backdrop-filter: blur(10px);
  border: none;
  border-top: 3px solid var(--primary-color);
  border-radius: 1.25rem;
  /* 20px */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  overflow: hidden;
}

.card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  background: rgba(243, 241, 235, 0.95);
}

.card-modern .card-body {
  padding: 2.5rem 2rem;
}

.card-modern h5 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card-modern .card-text {
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Why Section Card */
.card-why {
  background: linear-gradient(135deg, var(--bg-body) 0%, #F3F1EB 100%);
  border: none;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card-why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.card-why h3 {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

/* Modern Alert */
.alert-modern {
  background-color: #FDF9F0;
  /* Soft Amber */
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  color: #5D4D2A;
  /* Dark Brown/Amber text */
  display: flex;
  align-items: flex-start;
}

.alert-modern i {
  font-size: 2.5rem;
  color: var(--accent-color);
  /* Amber Icon */
  opacity: 0.8;
  margin-right: 1.5rem;
  margin-top: -0.25rem;
}

.alert-modern h4 {
  color: #8D763A;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Section Divider */
.section-divider-soft {
  border-top: 1px solid rgba(15, 28, 46, 0.1);
  margin: 0;
}

/* Typography Enhancements for Metodum */
.text-content-modern {
  line-height: 1.9;
  letter-spacing: 0.01em;
  font-size: 1.125rem;
  color: var(--text-dark);
}

.container-wide {
  max-width: 1320px;
}