
/* Genel */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  color: #0d1b2a;
}

/* Üst Başlık */
header {
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}
.logo h1 {
  margin: 0;
  font-size: 28px;
  color: #0d1b2a;
}
.logo p {
  margin: 0;
  font-size: 14px;
  color: #616161;
}
.contact {
  font-size: 14px;
  color: #0d1b2a;
}
.article-card {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}
.article-card h3 {
  margin-top: 0;
}
.article-card a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.article-card a:hover {
  text-decoration: underline;
}
.article-card {
  border-left: 5px solid #0b1827;
  background-color: #ffffff;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Menü */
.navbar {
  background: #0d1b2a;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.navbar a {
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}
.navbar a:hover {
  background: #ffc107;
  color: #0d1b2a;
}

/* İçerik */
main {
  padding: 30px 40px;
}
.content.full {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 10px;
}
.slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0; left: 0; right: 0;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
}
.slide-caption {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: white;
  background-color: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: clamp(16px, 2vw, 22px);
}
.slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

/* Bilgi Kutuları */
.info-boxes {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  gap: 20px;
  flex-wrap: wrap;
}
.info-boxes a.box {
  background: #fff3cd;
  padding: 25px;
  border-radius: 12px;
  max-width: 280px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid #ffeeba;
  text-decoration: none;
  color: #000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.info-boxes a.box:hover {
  background: #ffecb3;
  transform: scale(1.03);
}

/* Hukuk Alanları */
.practice-areas {
  background-color: #f9fbfd;
  padding: 60px 20px;
  text-align: center;
}
.section-title {
  font-size: 26px;
  margin-bottom: 40px;
  color: #0d1b2a;
}
.area-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.area-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 30px 20px;
  max-width: 260px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.area-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #2c3e50;
}
.area-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* Footer */
footer {
  background: #1b263b;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 60px;
  font-size: 14px;
}

/* Mobil */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }
  .info-boxes, .area-cards {
    flex-direction: column;
    align-items: center;
  }
  .box {
    width: 90% !important;
    margin: 10px 0;
  }
  header {
    flex-direction: column;
    text-align: center;
  }
  .logo h1 {
    font-size: 20px;
  }
  .logo p {
    font-size: 12px;
  }
  .contact p {
    font-size: 13px;
  }
  .slide-caption {
    font-size: 14px;
  }
  h1 {
    font-size: 22px;
  }
  p {
    font-size: 15px;
  }
  .section-title {
    font-size: 20px;
  }
  .area-card h3 {
    font-size: 18px;
  }
  .area-card p {
    font-size: 14px;
  }
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to bottom, #0d1b2a, #1b263b);
}

.login-box {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 360px;
  text-align: center;
}

.login-box h2 {
  margin-bottom: 30px;
  color: #0d1b2a;
}

.login-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.login-box button {
  width: 100%;
  padding: 12px;
  background-color: #ffc107;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #0d1b2a;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-box button:hover {
  background-color: #e0a800;
}
