/*
Theme Name: Temiz Nakliyeci
Copyright (c) 2026 Temiz Nakliyeci.
Description: Temiz Nakliyeci WordPress site theme.
Theme URI: https://www.temiznakliyeci.com
Version: 1.0.0
Requires PHP: 8.0
Requires at least: 6.8
Author: Temiz Nakliyeci
Author URI: https://www.temiznakliyeci.com
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 7.1
Text Domain: temiz-nakliyeci
*/

.skip-link {
	position: absolute;
	left: 1rem;
	top: 1rem;
	z-index: 100000;
	padding: 0.75rem 1rem;
	transform: translateY(-200%);
	border-radius: 0.375rem;
	background: #fff;
	color: #111827;
	box-shadow: 0 4px 12px rgb(15 23 42 / 20%);
}

.skip-link:focus {
	transform: translateY(0);
}

.tn-custom-header-image {
	display: block;
	width: 100%;
	max-height: 37.5rem;
	object-fit: cover;
}

.wp-block-button.is-style-tn-outline .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: inherit;
}

.tn-page-content {
	overflow-wrap: anywhere;
	background-color: #fff;
	color: #0f172a;
}

.tn-page-content img {
	max-width: 100%;
	height: auto;
}

.wp-block-image[class~="max-h-[400px]"] {
	width: 100%;
	height: 400px;
	overflow: hidden;
}

.wp-block-image[class~="max-h-[400px]"] img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tn-home-copy {
	max-width: 72rem;
	margin-inline: auto;
}

.hero-slide-bg.wp-block-image {
	max-width: none;
	margin: 0;
}

.hero-slide-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.modern-card-image.wp-block-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
}

.modern-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wp-block-group.grid > .wp-block-group__inner-container,
.wp-block-group.flex > .wp-block-group__inner-container,
.wp-block-group.hero-slide-actions > .wp-block-group__inner-container {
	display: contents;
}

.hero-slide {
	min-height: clamp(28rem, 48vw, 40rem);
}

.hero-slide-title,
.hero-slide-title .hero-title-accent {
	white-space: normal;
	overflow-wrap: anywhere;
}

.hero-slide-title .hero-title-accent {
	display: inline-block;
	max-width: 100%;
	color: #fff;
	text-shadow: 0 1px 0 #e2e8f0, 0 2px 0 #cbd5e1, 0 3px 0 #94a3b8, 0 4px 0 #64748b, 0 6px 10px rgb(0 0 0 / 75%), 0 0 16px rgb(255 255 255 / 55%);
}

.hero-slide-content {
	position: relative;
	z-index: 10;
}

body.editor-styles-wrapper,
body.mce-content-body {
	display: block;
	min-height: 0;
	flex-direction: initial;
	background: #fff;
	color: #0f172a;
}

.editor-styles-wrapper .is-root-container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 0;
}

.editor-styles-wrapper,
.mce-content-body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.carousel-toggle {
	position: absolute;
	top: 0.75rem;
	right: 1rem;
	z-index: 40;
}

.carousel-toggle[hidden] {
	display: none;
}

.hero-slide-actions a {
	min-height: 3rem;
	padding: 0.8rem 1.25rem;
}

.hero-slide-actions a:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.quick-contact-link:focus-visible {
	outline: 3px solid #1d4ed8;
	outline-offset: 3px;
}

.contact-action-icon {
	width: 1.1rem;
	height: 1.1rem;
	flex: none;
}

.quick-contact {
	position: fixed;
	z-index: 50;
	left: 1rem;
	bottom: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.quick-contact-link {
	display: inline-flex;
	min-height: 3.5rem;
	align-items: center;
	gap: 0.75rem;
	padding: 0.35rem 1rem 0.35rem 0.35rem;
	border: 1px solid transparent;
	border-radius: 9999px;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 24px rgb(15 23 42 / 18%);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.quick-contact-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgb(15 23 42 / 24%);
}

.quick-contact-icon {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	flex: none;
	place-items: center;
	border-radius: 50%;
	background: rgb(255 255 255 / 18%);
	color: #fff;
}

.quick-contact-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.quick-contact-label {
	display: none;
	text-align: left;
}

.quick-contact-caption,
.quick-contact-action {
	display: block;
}

.quick-contact-caption {
	color: #fff;
	font-size: 0.7rem;
	line-height: 1.2;
}

.quick-contact-action {
	margin-top: 0.15rem;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
}

.tn-archive {
	background-color: #fff;
	color: #0f172a;
}

.tn-not-found {
	padding-block: 5rem;
	background-color: #fff;
	color: #0f172a;
}

.tn-post-list > * + * {
	margin-top: 2rem;
}

.tn-breadcrumb-current {
	color: #1e293b;
}

.tn-menu-toggle {
	display: inline-grid;
	flex: 0 0 auto;
	width: 1.75rem;
	height: 1.75rem;
	place-items: center;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 32%);
	border-radius: 9999px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.tn-menu-toggle:hover,
.tn-menu-toggle[aria-expanded="true"] {
	border-color: rgb(255 255 255 / 65%);
	background-color: rgb(255 255 255 / 14%);
}

.tn-menu-chevron {
	width: 0.4rem;
	height: 0.4rem;
	margin-top: -0.15rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 160ms ease;
}

.tn-menu-toggle[aria-expanded="true"] .tn-menu-chevron {
	margin-top: 0.15rem;
	transform: rotate(225deg);
}

.nav-modern .dropdown.group {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}

.nav-modern .dropdown.group > .nav-link-modern {
	flex: 0 1 auto;
}

.tn-menu-toggle:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.nav-modern .dropdown-modern {
	visibility: hidden;
	transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.nav-modern .dropdown-modern.show {
	visibility: visible;
}

.hero-btn-whatsapp {
	background-color: #15803d;
}

.hero-btn-whatsapp:hover {
	background-color: #166534;
}

.quick-contact-whatsapp {
	background-color: #15803d;
}

.alignwide {
	width: min(80rem, calc(100% - 3rem));
	max-width: 100%;
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

@media (min-width: 783px) {
	.admin-bar header.sticky {
		top: 32px;
	}
}

@media (max-width: 782px) {
	.admin-bar header.sticky {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar header.sticky {
		top: 0;
	}
}

@media (min-width: 640px) {
	.quick-contact {
		left: 1.5rem;
		bottom: 1.5rem;
	}

	.quick-contact-label {
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto !important;
	}

	.quick-contact-link,
	.hero-slide,
	.hero-btn-whatsapp {
		transition: none;
	}
}

@media (max-width: 640px) {
	.hero-slide {
		min-height: clamp(22rem, 78vw, 30rem);
	}

	.hero-slide-title {
		white-space: normal;
		line-height: 1.1;
	}

	.hero-slide-desc1,
	.hero-slide-desc2 {
		max-width: 100%;
	}
}
