/* ========================================
   INDEX.HTML STYLES
   ======================================== */

.hero {
  background: white; /* Mobilde gri arka plan yerine beyaz olsun */
  padding: 1rem 0 1rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto; /* Yüksekliği içeriğe göre ayarla */
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .hero {
     background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf1 100%); /* Sadece masaüstünde gri kalsın */
     min-height: auto; /* 500px min-height kaldırıldı, içeriğe göre uzasın */
     padding: 2rem 0; /* Boşluklar biraz azaltıldı */
  }
}

.hero-content {
  max-width: 900px;
  width: 95%;
  margin: 0 auto;
  border: 2px solid var(--secondary-color); /* Gold border */
  border-radius: 12px;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--primary-color); /* Navy text */
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   MAIN CONTENT LAYOUT (NEW)
   ======================================== */
.main-content-section {
  padding: 4rem 0;
  background-color: #fcfcfc;
}

.content-layout {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start; /* Align content to top */
}

/* LEFT COLUMN (65%) */
.left-content {
  flex: 0 0 65%;
  max-width: 65%;
}

.content-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  margin-bottom: 2rem;
}

.content-card h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--secondary-color); /* Gold accent */
  padding-bottom: 1rem;
}

/* ...existing code... */
/* Intro Section Layout */
.intro-card {
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border: none;
  box-shadow: none;
}

.intro-header {
  margin-bottom: 2rem;
}

.intro-icon-large {
  margin-bottom: 1.5rem;
}

.intro-header h2 {
  color: #333;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.intro-text p {
  text-align: justify;
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}

/* Side-by-Side Info Grid */
.info-grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.info-card-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.3s;
}

.info-card-item:hover {
  background: #f9f9f9;
}

.info-icon-circle {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.2rem;
  background: white;
}

.info-text-content {
  flex: 1;
}

.logo-placeholder {
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.info-text-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.info-text-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.read-more-btn {
  font-size: 0.85rem;
  color: #1e88e5;
  text-decoration: none;
  font-weight: 600;
}

/* Bottom Grid (Columns) */
.bottom-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.bottom-grid-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  /* Kart Görünümü Ayarları */
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  text-align: center; /* İçerikleri ortalar */
  align-items: center; /* Flex öğelerini ortalar */
  justify-content: center; /* Dikeyde ortala */
  min-height: 250px; /* Dikdörtgen görünüm için minimum yükseklik */
  height: 100%; /* Grid hücresini doldur */
}

.bottom-grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(20, 33, 61, 0.15); /* Navy shadow */
  border-color: var(--secondary-color); /* Gold border */
}

.grid-image {
  width: 80px;
  height: 80px;
  background: rgba(20, 33, 61, 0.1); /* Light Navy background */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: 50%; /* Tam yuvarlak */
  color: var(--secondary-color); /* Gold icon */
  font-size: 2rem;
  transition: all 0.3s ease;
}

.bottom-grid-item:hover .grid-image {
  background: var(--primary-color); /* Solid Navy */
  color: var(--secondary-color); /* Gold icon */
  transform: scale(1.1);
}

.bottom-grid-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column; /* Mobilde alt alta taşmasın diye */
  align-items: center;
  gap: 8px;
}

.bottom-grid-item p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .bottom-grid-row {
     grid-template-columns: 1fr;
  }
}

/* RIGHT SIDEBAR (35%) */
.right-sidebar {
  flex: 0 0 35%; /* Remainder approx */
  max-width: 35%;
  position: sticky; /* Make it sticky if content is long */
  top: 100px;
}

.sidebar-widget {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Slightly stronger shadow */
  border: 1px solid #e0e0e0;
  border-top: 4px solid var(--secondary-color); /* Gold top border */
  margin-bottom: 2rem;
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-widget h3 i {
  color: var(--primary-color); /* Navy icon */
}

/* Facebook Placeholder Styling */
.fb-page-mockup {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f0f2f5; /* FB background color */
  overflow: hidden;
  max-height: 800px;
  overflow-y: auto;
}

.fb-page-mockup::-webkit-scrollbar {
  width: 6px;
}

.fb-page-mockup::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.fb-header {
  background: #1877f2;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.fb-content {
  background: white;
  padding: 12px;
  border-radius: 8px;
  margin: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  border: 1px solid #ddd;
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.fb-avatar {
  width: 40px;
  height: 40px;
  background-color: #ddd;
  border-radius: 50%;
  background-image: url('../images/blog-logo.png'); /* Fallback or placeholder */
  background-size: cover;
}

.fb-post-info {
  display: flex;
  flex-direction: column;
}

.fb-name {
  font-weight: bold;
  color: #050505;
  font-size: 0.9rem;
}

.fb-time {
  font-size: 0.75rem;
  color: #65676b;
}

.fb-content p {
  font-size: 0.9rem;
  color: #1c1e21;
  margin-bottom: 10px;
  line-height: 1.4;
}

.fb-image-placeholder {
  background: #e4e6eb;
  height: 150px;
  display: flex; /* Center text */
  align-items: center;
  justify-content: center;
  color: #65676b;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.fb-actions {
  border-top: 1px solid #e4e6eb;
  /* padding-top: 8px; */
  padding: 8px 0 0 0;
  display: flex;
  justify-content: space-around;
  color: #65676b;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.fb-actions span:hover {
  background-color: #f2f2f2;
  border-radius: 4px;
}

.fb-footer-link {
  text-align: center;
  padding: 15px;
  background: white;
  border-top: 1px solid #ddd;
}

.fb-footer-link a {
  color: #1877f2;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Event List Styling */
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-list li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.event-list li:last-child {
  border: none;
}

.event-list .date {
  background: #e3f2fd;
  color: #1e88e5;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-right: 15px;
  min-width: 60px;
  text-align: center;
}

.event-list .event {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .content-layout {
    flex-direction: column;
  }
  
  .left-content, 
  .right-sidebar {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .right-sidebar {
    position: static; /* Remove sticky on mobile */
  }
}

.recent-posts {
  padding: 3rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.recent-posts h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.post-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.post-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.post-date {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 1rem !important;
}

.post-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: #1e88e5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #1565c0;
}

.view-all {
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }
}
