/*
Theme Name: Abuzer Turan - Kişisel Web Sitesi
Theme URI: 
Author: 
Author URI: 
Description: Özel WordPress tema - wireframe bazlı
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: abuzer-turan
*/

/* Temel başlangıç stilleri - ileride genişletilecek */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #222;
  background: #fff;
}

.site-header, .site-footer {
  background: #0b2740; /* placeholder */
  color: #fff;
}

/* Hero styles */
.site-hero { background-image: linear-gradient(180deg, #fafafa 0%, #ffffff 100%); }
.site-hero .display-4 { font-size: 3rem; color: #0b2740; }
@media (min-width: 768px) {
  .site-hero .display-4 { font-size: 4rem; }
}
.site-hero .lead { color: #333333; }
.hero-avatar svg { max-width: 100%; height: auto; }

/* Small utilities */
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.2); }

.footer-widget { margin-bottom: 1rem; }
.footer-widget-title { color: #fff; }

/* Footer specifics */
.site-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer .footer-fallback h4 { margin-bottom: .5rem; }
.site-footer .social-links a { text-decoration: none; opacity: .95; }
.site-footer .social-links a:hover { opacity: 1; text-decoration: underline; }

/* Navigation (mobile) */
.nav-toggle { border-color: rgba(255,255,255,0.15); }
.primary-navigation .nav { list-style: none; margin: 0; padding: 0; display: flex; gap: .75rem; align-items: center; }
.primary-navigation .nav li { display: inline-block; }
.primary-navigation .nav a { color: #fff; text-decoration: none; padding: .35rem .5rem; }

/* Responsive typography and spacing */
h1, .display-4 { line-height: 1.05; }
@media (max-width: 767px) {
  .site-hero .display-4 { font-size: 2rem; }
  .hero-avatar { margin: 1.5rem auto 0 auto; }
  .primary-navigation .nav { flex-direction: column; }
  .primary-navigation .nav li { width: 100%; }
}

/* News card tweaks */
.card { border: 1px solid #e9ecef; }
.card .card-body a { color: inherit; text-decoration: none; }

/* Work areas widgets */
.work-area-widget { background: #fff; border-radius: 4px; min-height: 80px; display:flex; flex-direction:column; justify-content:center; }
.work-area-widget svg { margin: 0 auto; }
.work-area-widget strong { display:block; margin-top: .5rem; }

/* Forms */
form .form-control { border-radius: 4px; }

/* Utilities for hero CTA */
.site-hero .btn-primary { background:#0b2740; border-color:#0b2740; }
.site-hero .btn-outline-secondary { color: #0b2740; border-color: #cfcfcf; }

/* Accessibility helpers */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.visually-hidden.focusable:focus, .focusable:focus { position: static !important; height: auto !important; width: auto !important; overflow: visible !important; clip: auto !important; background:#fff; padding:.5rem .75rem; border-radius:4px; z-index:9999; }

/* Focus and keyboard navigation improvements */
:focus {
  outline: none;
}

:focus-visible, .focus-visible {
  outline: 3px solid #ffbf47; /* visible, high-contrast ring */
  outline-offset: 3px;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  box-shadow: 0 0 0 4px rgba(11,39,64,0.12);
  border-radius: 6px;
}

.nav-toggle:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

/* Ensure interactive elements have visible focus in forced-high-contrast environments */
@media (prefers-contrast: more) {
  a:focus, button:focus, input:focus, textarea:focus { outline: 3px solid #ffbf47 !important; }
}

/* Improve link contrast in content where default might be low */
a { color: #0b2740; }
.site-header .nav a { color: #fff; }

