/*=====================================
Güneş Mimarlık — tema özelleştirmeleri
======================================*/

/* Logo (yatay, şeffaf PNG). Şablon .logo-header'ı 140px'e sabitliyor; yatay logo için genişletildi. */
.site-header .logo-header {
	flex-shrink: 0;
	width: 220px;
}

.site-header .logo-header-inner img {
	width: 100%;
	height: auto;
	max-height: none;
}

.gunes-footer-logo {
	width: 180px;
	height: auto;
}

@media only screen and (max-width: 1799px) {
	.site-header .logo-header {
		width: 190px;
	}
}

@media only screen and (max-width: 1499px) {
	.site-header .logo-header {
		width: 160px;
	}
}

@media only screen and (max-width: 1199px) {
	.site-header .logo-header {
		width: 130px;
	}
}

@media only screen and (max-width: 991px) {
	.site-header .logo-header {
		width: 180px;
	}
}

@media only screen and (max-width: 480px) {
	.site-header .logo-header {
		width: 150px;
	}
}

/* Dil seçici (TR | EN) */
.gunes-lang-switcher {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gunes-lang-switcher li + li::before {
	content: "|";
	padding: 0 4px;
	color: #bbb;
}

.gunes-lang-switcher a {
	color: #000;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1px;
}

.gunes-lang-switcher li:not(.active) a {
	color: #999;
}

.gunes-lang-switcher a:hover {
	color: #000;
}

/* İletişim şeridi */
.gunes-contact-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.gunes-contact-cta .site-button .fa {
	margin-right: 6px;
}

.gunes-btn-whatsapp,
.gunes-btn-whatsapp:hover,
.gunes-btn-whatsapp:focus {
	background-color: #25d366;
	color: #fff;
}

@media only screen and (max-width: 991px) {
	.gunes-contact-cta__buttons {
		justify-content: flex-start;
		margin-top: 20px;
	}
}

/* Sabit WhatsApp butonu (scroltop butonunun üstünde) */
.gunes-whatsapp-float {
	position: fixed;
	right: 15px;
	bottom: 65px;
	z-index: 999;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	font-size: 28px;
	line-height: 50px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gunes-whatsapp-float:hover,
.gunes-whatsapp-float:focus {
	color: #fff;
	background: #1ebe57;
}

/* Hizmetler carousel arkasındaki dekoratif blok (şablon görseli yerine düz renk) */
.gunes-services .carousel-bg-img {
	background: #ebebeb;
}

.gunes-services .carousel-bg-img img {
	opacity: 0;
}

/* MYK sağ kolon metin bloğu */
.gunes-myk__intro {
	margin-top: 90px;
}

.gunes-myk__intro + .row {
	margin-top: 30px;
}

@media only screen and (max-width: 991px) {
	.gunes-myk__intro {
		margin-top: 40px;
	}
}

/* İç sayfa içerik alanı */
.gunes-entry img {
	max-width: 100%;
	height: auto;
}

.gunes-entry ul {
	padding-left: 20px;
	list-style: disc;
}

/* Hizmet alt sayfa kartları */
.gunes-service-card img {
	width: 100%;
}

/* Formlar */
.gunes-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Şablon checkbox'ı gizleyip label::before ile çiziyor; input label'ın arkasında kalır. */
.gunes-form__consent {
	position: relative;
}

.gunes-form__consent input {
	position: absolute;
	top: 2px;
	left: 0;
	width: 16px;
	height: 16px;
}

.gunes-form__consent label {
	padding-left: 28px !important;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.gunes-form__consent input + label::before {
	margin-left: -28px;
}

.gunes-form__consent input + label::after {
	left: 2px;
}

.gunes-form__consent input:checked + label::before,
.gunes-form__consent input + label:hover::before {
	border-color: #000;
}

.gunes-form .alert {
	margin-bottom: 20px;
}

/* İletişim sayfası: form + bilgi kutusu */
.gunes-contact-box .contact-info a {
	color: #fff;
}

.gunes-contact-box .contact-info .gunes-btn-whatsapp .fa {
	margin-right: 6px;
}

/* Proje arşivi sayfalama */
.work-grid + .container .nav-links {
	display: flex;
	gap: 6px;
	justify-content: center;
}

/* Ana menü: 9 öğe dar masaüstü genişliklerinde tek satıra sığsın (logo kırılma noktalarıyla birlikte) */
@media only screen and (min-width: 992px) and (max-width: 1799px) {
	.header-style-1 .header-nav .nav > li > a {
		padding-left: 7px;
		padding-right: 7px;
		letter-spacing: 1px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1499px) {
	.header-style-1 .header-nav .nav > li > a {
		padding-left: 5px;
		padding-right: 5px;
		letter-spacing: 0;
		font-size: 11px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.header-style-1 .header-nav .nav > li > a {
		padding-left: 4px;
		padding-right: 4px;
		font-size: 10px;
	}

	.header-style-1 .extra-nav .extra-cell {
		padding-left: 0;
	}
}

.gunes-form__consent label a {
	text-decoration: underline;
}

/* Uzun metin blokları (yasal metinler vb.) */
.gunes-entry--long {
	max-width: 900px;
}

.gunes-entry h2,
.gunes-entry h3,
.gunes-entry h4 {
	margin-top: 30px;
	margin-bottom: 15px;
}

.gunes-entry ol {
	padding-left: 20px;
	list-style: decimal;
}

.gunes-entry table {
	width: 100%;
	margin-bottom: 20px;
	border-collapse: collapse;
}

.gunes-entry th,
.gunes-entry td {
	padding: 8px 12px;
	border: 1px solid #ddd;
	text-align: left;
}

/* Footer menüsü */
.site-footer .copyrights-nav {
	margin: 0;
}

/* 992–1099px: masaüstü menünün sığdığı en dar aralık */
@media only screen and (min-width: 992px) and (max-width: 1099px) {
	.site-header .logo-header {
		width: 100px;
	}

	.header-style-1 .header-nav .nav > li > a {
		padding-left: 2px;
		padding-right: 2px;
	}
}

/* 1300–1499px: yeterli boşluk var, logo ve menü yazısı biraz büyür */
@media only screen and (min-width: 1300px) and (max-width: 1499px) {
	.site-header .logo-header {
		width: 180px;
	}

	.header-style-1 .header-nav .nav > li > a {
		font-size: 12px;
	}
}

/* İngilizce menü etiketleri daha uzun: dar masaüstü aralığında boşluklar biraz daha azalır */
@media only screen and (min-width: 992px) and (max-width: 1799px) {
	html[lang^="en"] .header-style-1 .header-nav .nav > li > a {
		padding-left: 3px;
		padding-right: 3px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1099px) {
	html[lang^="en"] .header-style-1 .header-nav .nav > li > a {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Alt menülü öğelerin ok simgesi daraltılmış boşlukta yazının üstüne binmesin */
@media only screen and (min-width: 992px) and (max-width: 1799px) {
	.header-style-1 .header-nav .nav > li.menu-item-has-children > a {
		padding-right: 14px;
	}

	.header-nav .nav > li.menu-item-has-children:before {
		right: 0;
	}
}

/* En dar aralıkta ok simgesi için yer yok */
@media only screen and (min-width: 992px) and (max-width: 1099px) {
	.header-style-1 .header-nav .nav > li.menu-item-has-children > a {
		padding-right: 2px;
	}

	.header-nav .nav > li.menu-item-has-children:before {
		display: none;
	}
}

/* Sayfa yükleyici: şablonun üçgen animasyonu yerine logo */
.gunes-loader-logo {
	width: 260px;
	max-width: 70%;
	height: auto;
	animation: gunes-loader-pulse 1.4s ease-in-out infinite;
}

@keyframes gunes-loader-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.55;
		transform: scale(0.94);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gunes-loader-logo {
		animation: none;
	}
}
