/* ===============================
   Fatih Meclis Personal Website (v2)
   Turkuaz Header + Compact Slideshow
   =============================== */

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

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #008080;  /* solid Turkuaz */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 10px 0;
}

.header-content .site-info h1,
.header-content .site-info p,
.navbar a {
  color: #fff; /* Always white text for contrast */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-title img {
  height: 50px;
  width: auto;
}

.site-info h1 {
  color: #30D5C8;
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.site-info p {
  color: #444;
  font-size: 0.9rem;
}

/* Navbar */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.site-header.scrolled .navbar a {
  color: #fff;
}

.navbar a:hover,
.navbar a.active {
  text-decoration: underline;
}

/* Slideshow */


.slideshow-container {
  display: flex;
  justify-content: center;
  margin-top: 90px; /* leave room for header */
}

.slideshow {
  position: relative;
  max-width: 1200px;
  width: 90%;
  overflow: hidden;
  border-radius: 8px;
}

.slideshow img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.5s ease-in-out;
  border-radius: 8px;
}

.fade-out {
  opacity: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.4s ease;
  pointer-events: none;
  border-radius: 8px;
}

.slideshow:hover .overlay {
  background: rgba(0, 0, 0, 0.45);
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 128, 128, 0.7);
  color: white;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 18px;
  transition: background-color 0.3s;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 128, 128, 1);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Intro Section */
.intro {
  max-width: 900px;
  margin: 40px auto 60px;
  text-align: center;
  padding: 0 20px;
}

.intro h2 {
  color: #008080;
  margin-bottom: 15px;
}

.intro a {
  color: #0000ff;
  text-decoration: none;
}

.intro a:hover {
  text-decoration: underline;
}

/* ADDED */
.page-content { max-width: 900px; margin: 120px auto 60px; padding: 0 20px; text-align: center; }
.content-section h2 { color: #008080; font-size: 1.8rem; margin-bottom: 15px; }
.content-section p { color: #444; font-size: 1rem; }
/* ADDED */



/* Footer */
footer {
  background-color: #f1f1f1;
  color: #555;
  text-align: center;
  padding: 15px 0;
  border-top: 2px solid #008080;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 10px;
  }
  .logo-title {
    flex-direction: column;
    align-items: center;
  }
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .navbar a {
    font-size: 0.95rem;
  }
  .logo-title img {
    height: 40px;
  }
}