/* =================================
------------------------------------
  TIYEMDER - Ana CSS Dosyası
------------------------------------
====================================*/

/* CSS Değişkenleri */
:root {
  /* Ana Renkler */
  --primary-color: #0E2062;
  --secondary-color: #f8f9fa;
  --accent-color: #e74c3c;
  --text-color: #252525;
  --body-color: #636363;
  --light-bg: #f7f8f8;
  --border-color: #ebebeb;
  --white: #ffffff;
  
  /* Ölçüler */
  --header-height: 80px;
  --footer-height: 60px;
  --section-padding: 100px;
  --border-radius: 6px;
  
  /* Geçişler */
  --transition-speed: 0.3s;
  --transition-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Gölgeler */
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== TEMEL STILLER ===== */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--body-color);
}

/* Başlık Stilleri */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1rem 0;
  font-size: 17px;
  line-height: 1.8;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-ease);
}

a:hover, a:focus {
  color: var(--accent-color);
  text-decoration: none;
  outline: none;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

input, select, button, textarea {
  font-family: inherit;
}

input:focus, select:focus, button:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

::placeholder {
  color: var(--body-color);
  opacity: 0.7;
}

/* ===== SECTION STYLES ===== */
.spad {
  padding: 100px 0;
}

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

.section-title span {
  font-size: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-speed) var(--transition-ease);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card__image {
  position: relative;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-speed) var(--transition-ease);
}

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

.card__content {
  padding: 1.5rem;
}

/* Buttons */
.site-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) var(--transition-ease);
  text-decoration: none;
}

.site-btn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn--donation {
  border-radius: 35px;
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.btn--donation:hover {
  background: transparent;
  color: var(--accent-color);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.preloader-active {
  overflow: hidden;
}

/* ===== HERO SECTION ===== */
.hero-section {
  height: 75vh;
  min-height: 600px;
  position: relative;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 2;
  position: relative;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Section Dividers */
.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
  z-index: 5;
}

.divider-blue {
  background: #f8f9fa;
}

/* ===== ANIMATION CLASSES ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--transition-ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  .site-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .card__content {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 500px;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .spad {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
}