/*
Theme Name: Adana Teknik Oto
Theme URI: https://www.adanateknikoto.com/
Author: Adana Teknik Oto
Author URI: https://www.adanateknikoto.com/
Description: Adana Teknik Oto sitesinin Joomla (JD Servx / Astroid) tasarımının birebir WordPress uyarlaması. PHP 8.3 uyumludur.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adanateknikoto
*/

/* ------------------------------------------------------------------
 * WordPress'e özgü küçük eklemeler. Asıl tasarım assets/css altındadır.
 * ------------------------------------------------------------------ */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: #6c757d; }
.astroid-component-area img { max-width: 100%; height: auto; }

/* Yönetici çubuğu açıkken yapışkan menü onun altında kalsın */
.admin-bar .astroid-header-section .astroid-header-sticky { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .astroid-header-section .astroid-header-sticky { top: 46px; }
}

/* Alt menüler (WordPress menüsünde alt öğe eklenirse) */
.astroid-nav > li { position: relative; }
.astroid-nav .nav-submenu-container {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	z-index: 1030;
	padding: 10px 0;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
	background: #fff;
}
.astroid-nav > li:hover > .nav-submenu-container,
.astroid-nav > li:focus-within > .nav-submenu-container { display: block; }
.astroid-nav .nav-submenu { list-style: none; margin: 0; padding: 0; }
.astroid-nav .nav-submenu li a { display: block; padding: 6px 20px; color: #2c2e36; }
.astroid-nav .nav-submenu li a:hover,
.astroid-nav .nav-submenu li.nav-item-active > a { color: #e43935; text-decoration: none; }

/* Blog sayfalama */
.atk-pagination { margin-top: 1.5rem; }
.atk-pagination .page-numbers {
	display: inline-block;
	min-width: 38px;
	padding: 6px 12px;
	margin: 0 4px 4px 0;
	border: 1px solid #dee2e6;
	text-align: center;
	color: #e43935;
}
.atk-pagination .page-numbers.current,
.atk-pagination .page-numbers:hover { background: #e43935; border-color: #e43935; color: #fff; text-decoration: none; }

/* İletişim formu bildirimleri */
.atk-contact-form .atk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.atk-contact-form .alert { margin-bottom: 1rem; }
.atk-contact-form button[disabled] { opacity: .7; cursor: wait; }

/* 404 */
.atk-404 h2 { font-size: 90px; line-height: 1; color: #e43935; margin-bottom: 1rem; }
