/*
Theme Name: CM Government Theme
Theme URI: https://cm.gov.ct.tr
Author: Admin
Description: Profesyonel hükümet sitesi teması
Version: 1.0
License: GPL v2 or later
Text Domain: cm-gov-theme
*/

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

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* Header Styles */
#site-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
  padding: 20px 0;
  border-bottom: 3px solid rgba(255,255,255,0.2);
}

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

.site-branding h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-branding p {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 5px;
}

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

#site-navigation {
  display: flex;
  align-items: center;
}

#site-navigation ul {
  list-style: none;
  display: flex;
  gap: 0;
}

#site-navigation li {
  margin: 0;
}

#site-navigation a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 20px 18px;
  transition: all 0.3s ease;
  font-size: 15px;
  font-weight: 500;
}

#site-navigation a:hover {
  background-color: rgba(255,255,255,0.15);
  padding-bottom: 20px;
  border-bottom: 3px solid #64b5f6;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  min-height: calc(100vh - 350px);
}

.page-title {
  font-size: 36px;
  margin-bottom: 30px;
  color: #1e3c72;
  padding-bottom: 15px;
  border-bottom: 3px solid #2a5298;
}

.post-content, .page-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  line-height: 1.8;
}

.post-content h2, .page-content h2 {
  color: #1e3c72;
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 24px;
}

.post-content h3, .page-content h3 {
  color: #2a5298;
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 20px;
}

.post-content p, .page-content p {
  margin-bottom: 15px;
}

/* Footer */
#site-footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  margin-top: 50px;
  padding: 40px 20px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 30px;
}

.footer-content p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 10px;
}

/* Buttons */
button, .button {
  background-color: #2a5298;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

button:hover, .button:hover {
  background-color: #1e3c72;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  #site-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #site-navigation.active {
    max-height: 500px;
  }

  #site-navigation ul {
    flex-direction: column;
    width: 100%;
  }

  #site-navigation li {
    width: 100%;
  }

  #site-navigation a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 20px;
  }

  #site-navigation a:hover {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(255,255,255,0.2);
  }

  .header-container {
    flex-direction: column;
    gap: 10px;
  }

  .site-branding h1 {
    font-size: 22px;
  }

  main {
    margin: 20px auto;
  }

  .page-title {
    font-size: 28px;
  }
}
