:root {
  --main-blue: #013879;
  --accent-red: #e74c3c;
  --light-gray: #f8f9fa;
  --dark-gray: #333;
}

/* Self-host Montserrat */
@font-face{
  font-family: "Montserrat";
  src: url("/fonts/montserrat-v31-latin_latin-ext-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}
@font-face{
  font-family: "Montserrat";
  src: url("/fonts/montserrat-v31-latin_latin-ext-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: block;
}
@font-face{
  font-family: "Montserrat";
  src: url("/fonts/montserrat-v31-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: block;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-gray);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background: var(--main-blue);
  color: #fff;
  padding: 15px 0;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: url('img/hero.jpg') center/cover no-repeat;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero .overlay {
  background: rgba(1, 56, 121, 0.7);
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  padding: 50px;
}

footer {
  background: var(--main-blue);
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
}

/* Sayfa Başına Dön Butonu */
#backToTopBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  font-size: 20px;
  background: #DFFF00;
  color: #013879;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

#backToTopBtn:hover {
  background: #cbe700;
  transform: scale(1.1);
}

/* Section üst-alt boşluklarını küçült */
section {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Başlık altındaki varsayılan marginleri azalt */
h2, h3 {
  margin-bottom: 1.5rem !important;
}

/* Paragraflar arası boşlukları küçült */
p {
  margin-bottom: 0.75rem !important;
}

/* ==================== BUTON FIX - HER İKİSİ DE DÜZELTİLDİ ==================== */

/* Normal butonlar (inline-block) */
.inline-block {
  padding: 0.375rem 1rem !important; /* 6px dikey, 16px yatay */
  font-size: 0.8125rem !important; /* 13px */
  line-height: 1.125rem !important;
  display: inline-block !important;
  box-sizing: border-box !important;
}

/* Yan yana butonlar (text-center bg-white) - YENİ EKLEME */
a.text-center.bg-white.rounded,
button.text-center.bg-white.rounded {
  padding: 0.5rem 1.25rem !important; /* 8px dikey, 20px yatay */
  font-size: 0.8125rem !important; /* 13px */
  line-height: 1.125rem !important;
  display: inline-block !important;
  box-sizing: border-box !important;
}

/* Icon'lu butonlar (inline-flex) - ORİJİNAL ÇALIŞAN */
.inline-flex.items-center {
  padding: 0.5rem 1.5rem !important; /* 8px dikey, 24px yatay */
  font-size: 0.875rem !important; /* 14px */
  line-height: 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important; /* Tek satırda kalması için */
  box-sizing: border-box !important;
}

/* Hover efekti - TÜM BUTONLAR */
.inline-block:hover,
.inline-flex:hover,
a.text-center.bg-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

/* Transition - TÜM BUTONLAR */
.inline-block,
.inline-flex,
a.text-center.bg-white {
  transition: all 0.2s ease !important;
}