/* ================= GENEL SIFIRLAMA ================= */
*, ::after, ::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

html, body {
  margin:0;
  padding:0;
}

/* ================= HEADER ================= */
.site-header { 
  background: linear-gradient(180deg,#3e76f3 0%,#007BFF 100%);
  color: #fff;
}


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

  /* Temadaki renkleri kullan */
  background: linear-gradient(180deg, #3e76f3 0%, #007BFF 100%);
  
  /* Kutu şekli ve köşeler */
  border-radius: 15px;          /* daha yuvarlak köşeler */
  border: 2px solid rgba(255, 255, 255, 0.2); /* ince çerçeve */
  
  /* Gölge */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); 
}


.logo img { height:50px; }

.main-nav ul {
  display: flex;
  list-style:none;
  margin:0;
  padding:0;
}

.main-nav ul li { margin-left:20px; }

.main-nav ul li a {
  color:#fff;
  text-decoration:none;
  font-weight:600;
  padding:8px 10px;
  border-radius:6px;
  transition:0.3s;
}

.main-nav ul li a:hover {
  color:#FFD700;
  background: rgba(255,255,255,0.1);
}

/* ================= BANNER ================= */
.header-banner {
  display:flex;
  max-width:1200px;
  margin:20px auto;
  padding:40px;
  background-image: url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center;
  color:#fff;
  border-radius:15px;
}

.banner-left { flex:1; padding-right:20px; }
.banner-left h1 { font-size:36px; margin-bottom:15px; }
.banner-left p { font-size:16px; line-height:1.7; }

.banner-right {
  flex:1;
  padding-left:20px;
  display:flex;
  justify-content:center;
}

.banner-right .chat-form {
  padding: 25px;
  max-width: 400px;
  width: 100%;
  background: linear-gradient(180deg, #3e76f3 0%, #007BFF 100%);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.banner-right .chat-form h2 { margin-bottom:20px; color:#fff; }

.banner-right input[type="text"],
.banner-right input[type="password"]{
  width:100%;
  padding:15px;
  border-radius:15px;
  border:0;
  margin-bottom:15px;
  font-size:16px;
}
.banner-right input[type="submit"]{
  width:100%;
  padding:15px;
  font-size:20px;
  font-weight:700;
  border-radius:15px;
  border:2px solid #ffffff40; /* hafif çerçeve */
  cursor:pointer;
  background: linear-gradient(180deg, #3e76f3 0%, #007BFF 100%);
  color:#fff;

  box-shadow: 0 5px 15px rgba(0,0,0,0.25); /* gölge */
}

/* ================= CONTENT ================= */
.content-section { background:#fff; padding:50px 0; }

.container-content {
  display:flex;
  flex-wrap:wrap;
  max-width:1200px;
  margin:auto;
}

.content-left { flex:2; min-width:400px; padding-right:20px; }

.content-left h2 {
  font-size:32px;
  margin-top:30px;
  margin-bottom:15px;
  position:relative;
  padding-bottom:10px;
}

.content-left p {
  margin:15px 0;
  line-height:1.7;
  color:#222;
}



/* ================= HIGHLIGHT BOX ================= */
.highlight-box {
  color:white;
  font-size:24px;
  padding:18px;
  text-align:center;
  text-shadow:0 2px 5px #00000045;
  background: linear-gradient(0deg, rgb(7 120 255) 0%, #007BFF 120%);
  border-radius:20px;
  margin-bottom:30px;
  text-transform:uppercase;
  font-weight:600;
  letter-spacing:0.1rem;
}

.highlight-box a {
  color:#fff;
  text-decoration:none;
  display:block;
}

.highlight-box a:hover { text-decoration:underline; }



/* ================= SIDEBAR ================= */
.content-right { flex:1; min-width:250px; }

.sidebar-title {
  background: linear-gradient(180deg,#3e76f3 0,#007BFF 100%);
  color:#fff;;
  font-size:18px;
  font-weight:bold;
  display:block;
  padding:10px 15px;
  border-radius:8px 8px 0 0;
  border:1px solid #0056b3;
  margin-bottom:0;
}


.sidebar-box {
  background: #fff;
  color: #000;
  padding: 45px 30px; /* artırıldı */
  border-radius: 20px; /* daha yuvarlak köşeler */
  box-shadow: 0 5px 25px 0 rgba(86, 93, 109, 0.25); /* gölge eklendi */
  border: 4px dotted rgba(0,0,0,0.1); /* noktalı çerçeve */
  margin-bottom: 20px;
  line-height: 1.6;
}

.sidebar-box ul { list-style:none; padding-left:0; }
.sidebar-box ul li a { color:#000; text-decoration:none; }
.sidebar-box ul li a:hover { text-decoration:underline; }

/* ================= FOOTER ================= */
.site-footer {
  background:#3e76f3;
  color:#fff;
  margin-top:60px;
  font-size:15px;
}

.footer-top {
  border-top:4px solid #007BFF;
  padding:50px 0;
}

.footer-container {
  max-width:1200px;
  margin:auto;
  display:flex;
  flex-wrap:wrap;
  gap:25px;
  justify-content:space-between;
}

.footer-box {
  flex:1;
  min-width:250px;
  background:#3e76f3;
  padding:25px;
  border-radius:10px;
  border:1px solid #fff;
  transition:0.3s ease;
}

.footer-box:hover{
  transform:translateY(-6px);
  box-shadow:0 8px 25px rgba(0,0,0,0.5);
}

.footer-box h3{
  margin-bottom:15px;
  font-size:18px;
  padding-bottom:8px;
  border-bottom:1px solid #334155;
}

.footer-box ul{
  list-style:none;
  padding:0;
}

.footer-box ul li{ margin-bottom:10px; }

.footer-box ul li a{
  color:#fff;
  text-decoration:none;
  transition:0.3s;
}

.footer-box ul li a:hover{
  color:#38bdf8;
  padding-left:5px;
}

.social-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.social-links a{
  display:block;
  padding:10px;
  border-radius:6px;
  text-align:center;
  font-weight:600;
  color:#fff;
  text-decoration:none;
  transition:0.3s;
}

.facebook{ background:#60cf0c; }
.instagram{ background:#e1306c; }
.twitter{ background:#1da1f2; }
.youtube{ background:#ff0000; }

.social-links a:hover{
  opacity:0.9;
  transform:translateX(5px);
}

.footer-bottom{
  background:#355ef3;
  text-align:center;
  padding:18px;
  font-size:14px;
  border-top:1px solid #1e293b;
}

/* ================= POSTS GRID ================= */
.post-grid{
    display:flex;
    flex-wrap:wrap;
    gap:25px;
    justify-content:center;
    margin:40px 0;
}

.post-card{
    width:23%;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #e4e4e4;
    box-shadow:0 6px 22px rgba(0,0,0,0.08);
    transition:all .35s ease;
    display:flex;
    flex-direction:column;
    position:relative;
}

.post-card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 35px rgba(0,0,0,0.15);
    border-color:#d0d0d0;
}


.post-thumb {
    width: 100%;
    height: auto;            /* yükseklik otomatik */
    display: flex;
    align-items: flex-start; /* üstten hizala */
    justify-content: center;
    overflow: hidden;
    border-radius: 0;        /* artık dörtgen */
    padding: 0;              /* boşluk kaldırıldı */
    margin: 0;
}

.post-thumb img {
    width: 100%;
    height: 100%;            /* kutuyu tamamen doldur */
    display: block;          
    object-fit: cover;       /* kırpma yok, resim kutuya giydirilmiş gibi */
    border-radius: 0;        /* köşeler düz */
}


.post-content{
    padding:15px;
    flex-grow:1;
    display:flex;
    flex-direction:column;
}

.post-title{
    font-size:16px;
    font-weight:700;
    line-height:1.4;
    margin-bottom:8px;
}

.post-title a{
    display:block;
    padding:10px;
    border-radius:8px;
    color:#fff;
    text-decoration:none;
}

.post-meta{
    font-size:12px;
    color:#777;
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.post-excerpt{
    font-size:14px;
    color:#444;
    line-height:1.5;
    height:60px;
    overflow:hidden;
    margin-bottom:15px;
}

.read-more{
    margin-top:auto;
    display:block;
    text-align:center;
    background:#0066ff;
    color:#fff;
    padding:8px;
    border-radius:8px;
    font-size:14px;
    text-decoration:none;
    transition:0.3s;
}

.read-more:hover{
    background:#004ecc;
}

/* RENK SİSTEMİ */
.post-card:nth-child(4n+1) .post-title a{ background:#3e76f3; }
.post-card:nth-child(4n+2) .post-title a{ background:#f4b400; }
.post-card:nth-child(4n+3) .post-title a{ background:#34a853; }
.post-card:nth-child(4n+4) .post-title a{ background:#ea4335; }

/* ================= PAGINATION ================= */
.pagination{
    text-align:center;
    margin-top:30px;
}

.pagination a,
.pagination span{
    display:inline-block;
    padding:7px 12px;
    margin:0 4px;
    border-radius:6px;
    background:#f1f1f1;
    color:#333;
    text-decoration:none;
    transition:0.3s;
}

.pagination .current{
    background:#0066ff;
    color:#fff;
}

/* ================= SON MAKALELER ================= */
.latest-posts-box {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border: 4px dotted rgba(0,0,0,0.1); /* yeni çerçeve */
    border-radius: 20px; /* daha yuvarlak */
    box-shadow: 0 5px 25px rgba(86, 93, 109, 0.25); /* modern gölge */
}

.latest-posts-title{
    text-align:center;
    font-size:24px;
    font-weight:700;
    margin-bottom:25px;
}

/* ================= MOBİL ================= */
@media(max-width:1024px){ .post-card{ width:45%; } }

@media(max-width:992px){
  .container-header{ flex-direction:column; align-items:flex-start; }
  .main-nav ul{ flex-direction:column; width:100%; }
  .main-nav ul li{ margin:10px 0; }
  .header-banner{ flex-direction:column; padding:20px; }
  .banner-left,.banner-right{ padding:0; margin-bottom:20px; }
  .container-content{ flex-direction:column; }
  .content-left,.content-right{ min-width:100%; padding:0; }
  .post-card{ width:48%; }
}

@media(max-width:600px){
  .post-card{ width:100%; }
  .banner-left h1{ font-size:24px; }
  .banner-left p{ font-size:14px; }
  .banner-right .chat-form{ padding:20px; }
}



.footer-box ul li {
  position: relative;
  padding-left: 25px;
}

.footer-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;   /* ikon boyutu */
  height: 18px;
  background: url('images/icon.png') no-repeat center;
  background-size: contain;
}






.content-left .floating-images {
  display: flex;
  justify-content: center; /* yatay ortala */
  align-items: center;     /* dikey ortala */
  gap: 30px;               /* resimler arası boşluk */
  margin: 25px 0;          /* üst-alt boşluk */
}

.content-left .floating-images img {
  width: 180px;       /* biraz büyük */
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.content-left .floating-images img:hover {
  transform: scale(1.4);  /* hover büyümesi */
}


