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

/* Use a premium looking font stack. The primary font is Roboto/Helvetica Neue for
   a clean modern look, with Georgia fallback for headings. */
/* Update body font stack and colours for a more premium appearance */
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  color: #222;
  background: #f7fafd;
}

/* Use an elegant serif for headings */
h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
}

header {
  /* Dark navy background with subtle shadow for a premium feel */
  background: #0a2a47;
  color: #ffffff;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-title a {
  color: #ffffff;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background 0.3s ease;
  font-weight: 500;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

nav a.active {
  background: rgba(255, 255, 255, 0.25);
}

.hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  padding: 0 20px;
}

.hero .overlay h1 {
  /* Larger hero heading using elegant serif */
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 2.7rem;
  margin-bottom: 1rem;
}

.hero .overlay p {
  font-size: 1.25rem;
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  margin: 10px 5px;
  transition: background 0.3s ease;
}

.button:hover {
  background: #0056b3;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

main {
  padding: 40px 0;
}

article {
  margin-bottom: 40px;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

footer {
  background: #1c3d5a;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

form button {
  background: #007bff;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

form button:hover {
  background: #0056b3;
}

.footnotes {
  margin-top: 40px;
  font-size: 0.85rem;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.footnotes ol {
  padding-left: 20px;
}

.footnotes li {
  margin-bottom: 10px;
}

.footnotes a {
  color: #007bff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero .overlay h1 {
    font-size: 2rem;
  }
  .hero .overlay p {
    font-size: 1rem;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}


/* === Premium Typography & Theme Variables === */
:root{
  --bg: #ffffff;
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --accent: #0ea5e9; /* sky-500 */
  --card: #ffffff;
  --border:#e2e8f0; /* slate-200 */
}
:root[data-theme="dark"], [data-theme="dark"]{
  --bg:#0b1220;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --accent:#38bdf8;
  --card:#111827;
  --border:#1f2937;
}
html{scroll-behavior:smooth;}
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3{line-height:1.25; margin: 0.6em 0 0.3em;}
h1{font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); font-weight:800;}
h2{font-size: clamp(1.4rem, 1.2rem + 0.8vw, 2rem); font-weight:700;}
h3{font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); font-weight:600;}
p{margin: 0.8em 0; color: var(--text);}
a{color: var(--accent); text-decoration: none;}
a:hover{text-decoration: underline;}
img{max-width:100%; height:auto; border-radius: 12px;}
.container{max-width: 1100px; margin: 0 auto; padding: 1.25rem;}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}

/* Footer */
.site-footer{
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0.06));
  padding: 24px 0;
}
.site-footer .inner{
  display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.site-footer .links{display:flex; gap:14px; flex-wrap:wrap;}
.site-footer .links a{color:var(--muted);}
.site-footer .copy{color:var(--muted); font-size: 0.95rem;}

/* Floating Dark Mode Toggle */
.theme-toggle{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.1);
  cursor: pointer;
  font-weight: 600;
}

/* Buttons */
.button, button, input[type=submit]{
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight:600;
  cursor:pointer;
}
.button.secondary{background: transparent; color: var(--text); border:1px solid var(--border);}

/* Article layout niceties */
article{margin: 1rem 0;}
article .meta{color: var(--muted); font-size: 0.95rem;}
blockquote{
  border-left: 4px solid var(--accent);
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background: rgba(56,189,248,0.08);
  border-radius: 8px;
}



/* === Hero overlay & readability improvements === */
.hero{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.hero img{display:block; width:100%; height:auto;}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,0.40), rgba(2,6,23,0.22));
  pointer-events:none;
}
.hero .hero-inner{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 3.5rem 1.25rem;
}
.hero .title{
  color:#fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero .subtitle{
  color: rgba(255,255,255,0.92);
  max-width: 850px;
  margin: 0.5rem auto 1rem;
}

/* Article list image size cap */
.article-card img{
  max-height: 420px;
  object-fit: cover;
}

/* Turkish label for theme toggle */
.theme-toggle{font-family: inherit;}
.theme-toggle::after{content:"";}


/* === Articles hero: title below image === */
.articles-hero.hero::after{background: linear-gradient(180deg, rgba(2,6,23,0.18), rgba(2,6,23,0.00));}
.articles-hero .hero-inner{position: static; padding: 0; text-align: left;}
.articles-hero .title{color: var(--text); text-shadow: none; margin-top: 0.75rem;}
.articles-hero .subtitle{color: var(--muted);}
