/*
Theme Name: murselnet Blog Temasi
Theme URI: https://mursel.net/murselnet-blog-theme
Author: murselnet
Author URI: https://mursel.net
Description: A modern, elegant, and animated blog theme for WordPress with turquoise color scheme, glassmorphism effects, and responsive design.
Version: 1.3
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: murselnet-blog-temasi
Domain Path: /languages
Tags: blog, modern, elegant, animated, gradient, turquoise, responsive, accessibility-ready
*/

:root {
  /* Dunya Halleri Replica Palette */
  --primary-color: #0087c3; /* The main blue */
  --secondary-color: #005f89; /* Darker blue for hover */
  --accent-color: #fdb813; /* Optional accent */
  
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  
  --bg-body: #f4f4f4;
  --bg-white: #ffffff;
  
  --font-heading: 'Merriweather', serif;
  --font-body: 'Open Sans', sans-serif;
  
  --container-width: 1200px;
  --grid-gap: 20px;
}

/* Reset & Base */
* { box-sizing: border-box; }

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
.site-header {
  background: var(--bg-white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.top-bar {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--text-light);
  margin-left: 15px;
}

.site-branding {
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.site-title {
  font-size: 2.5rem;
  margin: 0;
  font-family: var(--font-heading);
}

.site-title a {
  color: var(--primary-color);
}

.main-navigation {
  background: var(--bg-white);
  padding: 0;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  display: block;
  padding: 15px 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.main-navigation a:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Post Grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-bottom: 40px;
}

.post-card {
  background: var(--bg-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.post-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

/* No Thumbnail Fallback */
.post-thumbnail.no-image {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
}

.post-thumbnail.no-image::after {
  content: '\f15c'; /* FontAwesome file icon or similar if available, or just text */
  font-family: sans-serif;
  content: "DH"; /* Placeholder text */
  font-weight: bold;
  opacity: 0.3;
}

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

.post-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.post-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
  line-height: 1.4;
}

.post-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  flex-grow: 1;
}

.post-meta {
  font-size: 0.8rem;
  color: #999;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* Footer */
.site-footer {
  background-color: var(--bg-white);
  border-top: 3px solid var(--primary-color);
  padding: 40px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }
  
  .main-navigation ul {
    flex-direction: column;
  }
  
  .main-navigation a {
    border-bottom: 1px solid #eee;
  }
}
