/* =========================================================
   Arslanoglu Temizlik - main stylesheet
   Dark theme with orange accent, matches the supplied design.
   ========================================================= */

:root {
	--bg: #0d0e12;
	--bg-alt: #16171d;
	--card: #1b1c23;
	--card-alt: #202128;
	--border: #2b2c35;
	--text: #f5f5f6;
	--text-muted: #a2a3ad;
	--accent: #ff6a1a;
	--accent-dark: #e2570c;
	--accent-soft: rgba(255, 106, 26, 0.14);
	--whatsapp: #25d366;
	--radius-lg: 22px;
	--radius-md: 14px;
	--radius-sm: 9px;
	--shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.65);
	--container: 1440px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

body {
	background: var(--bg);
	color: var(--text);
	overflow-x: hidden;
	width: 100%;
	font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.at-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.at-section { padding: 72px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { color: var(--text-muted); }

.at-accent { color: var(--accent); }

.at-kicker {
	display: inline-block;
	color: var(--accent);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.at-section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.at-section__head p { margin-top: 12px; }

/* ---------- Buttons ---------- */
.at-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}
.at-btn:hover { transform: translateY(-2px); }
.at-btn--primary { background: var(--accent); color: #14100c; }
.at-btn--primary:hover { background: var(--accent-dark); }
.at-btn--outline { border-color: var(--border); color: var(--text); background: transparent; }
.at-btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.at-btn--whatsapp { background: var(--whatsapp); color: #06210f; }
.at-btn--whatsapp:hover { filter: brightness(1.08); }
.at-btn--block { width: 100%; }
.at-btn svg { flex-shrink: 0; }

/* ---------- Header ---------- */
.at-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(13, 14, 18, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}
.at-header__inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }

.at-logo { display: flex; align-items: center; gap: 10px; }
.at-logo__icon {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--accent-soft); color: var(--accent);
	flex-shrink: 0;
}
.at-logo__icon--image {
	border-radius: 9px;
	background: transparent;
	overflow: hidden;
}
.at-logo__icon--image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.at-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.at-logo__name { font-weight: 800; font-size: 0.95rem; letter-spacing: 0.03em; }
.at-logo__tagline { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--accent); }

.at-nav-toggle {
	display: none;
	background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm);
	color: var(--text); width: 44px; height: 44px; align-items: center; justify-content: center;
}
.at-nav-toggle__icon-close { display: none; }
.at-nav-toggle[aria-expanded="true"] .at-nav-toggle__icon-open { display: none; }
.at-nav-toggle[aria-expanded="true"] .at-nav-toggle__icon-close { display: inline-flex; }

.at-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.at-nav__list { display: flex; align-items: center; gap: 26px; }
.at-nav__list > li { position: relative; }
.at-nav__list > li > a {
	font-size: 0.92rem; font-weight: 600; color: var(--text);
	padding: 8px 0; display: inline-block;
}
.at-nav__list > li > a:hover { color: var(--accent); }

.at-nav__list .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg);
	margin-left: 6px;
}

.at-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 220px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 10px;
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.at-nav__list .menu-item-has-children:hover .sub-menu,
.at-nav__list .menu-item-has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.at-nav__list .sub-menu li a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.9rem; }
.at-nav__list .sub-menu li a:hover { background: var(--card-alt); color: var(--accent); }

.at-nav__cta { flex-shrink: 0; }

@media (max-width: 1100px) {
	.at-nav-toggle { display: inline-flex; position: relative; z-index: 210; }
	.at-nav {
		position: fixed;
		top: 82px; left: 0; right: 0;
		height: calc(100vh - 82px);
		height: calc(100dvh - 82px);
		z-index: 200;
		background: var(--bg); margin: 0; padding: 24px;
		flex-direction: column; align-items: stretch; gap: 18px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		transform: translateX(100%);
		transition: transform 0.25s ease;
	}
	.at-nav.is-open { transform: translateX(0); }
	.at-nav__list { flex-direction: column; align-items: stretch; gap: 4px; flex-shrink: 0; }
	.at-nav__list > li > a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
	.at-nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; margin: 4px 0 8px 12px; display: none;
	}
	.at-nav__list .menu-item-has-children.is-open .sub-menu { display: block; }
	.at-nav__cta { justify-content: center; margin-top: 8px; }
}

/* Prevent background scroll while the mobile menu overlay is open */
html.at-nav-locked { overflow: hidden; }
html.at-nav-locked body { overflow: hidden; }

/* ---------- Breadcrumb ---------- */
.at-breadcrumb { margin-bottom: 26px; }
.at-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.at-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--border); }
.at-breadcrumb a:hover { color: var(--accent); }
.at-breadcrumb li[aria-current="page"] { color: var(--text); }

/* ---------- Placeholder image blocks ---------- */
.at-placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	background: linear-gradient(145deg, var(--card), var(--card-alt));
	border: 1.5px dashed var(--border);
	border-radius: var(--radius-lg);
	color: var(--text-muted);
	width: 100%; min-height: 260px;
	text-align: center; padding: 20px;
}
.at-placeholder__icon { color: var(--accent); opacity: 0.85; }
.at-placeholder__label { font-size: 0.85rem; font-weight: 600; }
.at-placeholder--square { aspect-ratio: 1 / 1; min-height: 0; }
.at-placeholder--wide { aspect-ratio: 16 / 10; min-height: 0; }

/* ---------- Real photos (same footprint as placeholders) ---------- */
.at-photo {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	width: 100%;
	min-height: 260px;
}
.at-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-photo--square { aspect-ratio: 1 / 1; min-height: 0; }
.at-photo--wide { aspect-ratio: 16 / 10; min-height: 0; }
.at-photo--portrait { aspect-ratio: 2 / 3; min-height: 0; }

/* ---------- Hero ---------- */
.at-hero { padding: 60px 0 40px; }
.at-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.at-hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--accent-soft); color: var(--accent);
	padding: 7px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
	margin-bottom: 18px;
}
.at-hero h1 { margin-bottom: 18px; }
.at-hero__lead { font-size: 1.05rem; max-width: 520px; margin-bottom: 30px; }
.at-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.at-hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.at-hero__stat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.at-hero__stat .at-icon-badge { margin-bottom: 2px; }
.at-hero__stat span { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); line-height: 1.35; }

.at-icon-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: var(--radius-sm);
	background: var(--card); border: 1px solid var(--border); color: var(--accent);
}

@media (max-width: 980px) {
	.at-hero__grid { grid-template-columns: 1fr; }
	.at-hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FAQ ---------- */
.at-faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }
.at-faq-item {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 22px 26px;
}
.at-faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.at-faq-item p { margin: 0; }
.at-faq-item p a { color: var(--accent); }

/* ---------- Grids / cards ---------- */
.at-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.at-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.at-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .at-grid-3, .at-grid-6 { grid-template-columns: repeat(2, 1fr); } .at-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .at-grid-3, .at-grid-6, .at-grid-4 { grid-template-columns: 1fr; } }

.at-service-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 26px;
	display: flex; flex-direction: column; gap: 14px;
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.at-service-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.at-service-card__icon {
	width: 56px; height: 56px; border-radius: var(--radius-md);
	background: var(--accent-soft); color: var(--accent);
	display: flex; align-items: center; justify-content: center;
}
.at-service-card h3 { margin: 4px 0 2px; }
.at-service-card p { font-size: 0.9rem; }
.at-service-card__link { color: var(--accent); font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.at-service-card__link svg { transition: transform 0.15s ease; }
.at-service-card:hover .at-service-card__link svg { transform: translateX(4px); }

.at-service-card--media { padding: 0; overflow: hidden; }
.at-service-card--media .at-placeholder,
.at-service-card--media .at-photo {
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	border: none;
	aspect-ratio: 16 / 11;
	min-height: 0;
}
.at-service-card--media .at-service-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Why us ---------- */
.at-why { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.at-why-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.at-why-item .at-icon-badge { width: 58px; height: 58px; }
.at-why-item h3 { font-size: 1rem; }
.at-why-item p { font-size: 0.88rem; }

/* ---------- CTA band ---------- */
.at-cta-band {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	background: var(--card);
	border: 1px solid var(--border);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius-lg);
	padding: 34px 38px;
}
.at-cta-band h3 { font-size: 1.25rem; margin-bottom: 6px; }
.at-cta-band p { margin: 0; }

/* ---------- Service detail page ---------- */
.at-service-hero { padding-top: 44px; }
.at-service-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 18px; }
.at-service-hero__checklist { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 32px; }
.at-service-hero__checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.at-service-hero__checklist svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 980px) { .at-service-hero__grid { grid-template-columns: 1fr; } }

.at-feature-row { padding: 50px 0; }
.at-feature-item { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; }
.at-feature-item h3 { font-size: 0.95rem; margin-bottom: 2px; }
.at-feature-item p { font-size: 0.82rem; margin: 0; }

/* ---------- FAQ ---------- */
.at-faq { max-width: 780px; margin: 0 auto; }
.at-faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; background: var(--card); }
.at-faq-item__q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: transparent; border: none; color: var(--text); text-align: left;
	padding: 18px 22px; font-weight: 700; font-size: 0.96rem;
}
.at-faq-item__q svg { flex-shrink: 0; transition: transform 0.2s ease; color: var(--accent); }
.at-faq-item.is-open .at-faq-item__q svg { transform: rotate(180deg); }
.at-faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.at-faq-item__a-inner { padding: 0 22px 20px; font-size: 0.9rem; color: var(--text-muted); }
.at-faq-item.is-open .at-faq-item__a { max-height: 320px; }

/* ---------- Quote / contact form page ---------- */
.at-quote { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: start; }
@media (max-width: 980px) { .at-quote { grid-template-columns: 1fr; } }

.at-quote__info {
	background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: 34px; display: flex; flex-direction: column; gap: 22px;
}
.at-quote__info ul { display: flex; flex-direction: column; gap: 12px; }
.at-quote__info ul li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; }
.at-quote__info ul li svg { color: var(--accent); }

.at-quote__form {
	background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: 34px;
}
.at-quote__form-placeholder { text-align: center; padding: 40px 10px; color: var(--text-muted); }

.at-quote__form input[type="text"],
.at-quote__form input[type="email"],
.at-quote__form input[type="tel"],
.at-quote__form input[type="url"],
.at-quote__form select,
.at-quote__form textarea {
	width: 100%; background: var(--card-alt); border: 1px solid var(--border); color: var(--text);
	border-radius: var(--radius-sm); padding: 13px 14px; margin-bottom: 16px;
}
.at-quote__form input:focus,
.at-quote__form select:focus,
.at-quote__form textarea:focus { outline: none; border-color: var(--accent); }
.at-quote__form textarea { min-height: 110px; resize: vertical; }
.at-quote__form input[type="submit"],
.at-quote__form .wpcf7-submit {
	background: var(--accent); color: #14100c; border: none; font-weight: 700;
	border-radius: 999px; padding: 13px 30px; cursor: pointer;
}
.at-quote__form input[type="submit"]:hover,
.at-quote__form .wpcf7-submit:hover { background: var(--accent-dark); }

/* ---------- Contact page ---------- */
.at-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: stretch; }
@media (max-width: 980px) { .at-contact { grid-template-columns: 1fr; } }
.at-contact__info { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.at-contact__row { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.at-contact__row:last-child { border-bottom: none; }
.at-contact__row .at-icon-badge { flex-shrink: 0; }
.at-contact__row h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; }
.at-contact__row p, .at-contact__row a { margin: 0; font-weight: 600; color: var(--text); }
.at-map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 340px; height: 100%; }
.at-map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- About page ---------- */
.at-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 980px) { .at-about__grid { grid-template-columns: 1fr; } }
.at-about__checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.at-about__checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.at-about__checklist svg { color: var(--accent); }

/* ---------- Footer ---------- */
.at-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 64px; }
.at-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 44px; }
@media (max-width: 980px) { .at-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .at-footer__grid { grid-template-columns: 1fr; } }

.at-footer__desc { font-size: 0.88rem; margin: 16px 0 18px; max-width: 280px; }
.at-footer__social { display: flex; gap: 10px; }
.at-footer__social a {
	width: 38px; height: 38px; border-radius: 50%; background: var(--card);
	border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.at-footer__social a:hover { color: var(--accent); border-color: var(--accent); }

.at-footer__col h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 18px; }
.at-footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.at-footer__col ul a { font-size: 0.9rem; color: var(--text-muted); }
.at-footer__col ul a:hover { color: var(--text); }
.at-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.at-footer__contact svg { flex-shrink: 0; color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.at-footer__contact a { color: var(--text-muted); }
.at-footer__contact a:hover { color: var(--text); }

.at-footer__bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.at-footer__bottom-inner { text-align: center; }
.at-footer__bottom p { font-size: 0.82rem; margin: 0; }

/* ---------- WhatsApp floating button ---------- */
.at-whatsapp-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--whatsapp); color: #06210f;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 26px -8px rgba(37, 211, 102, 0.6);
	transition: transform 0.15s ease;
}
.at-whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Phone floating button (mobile only - opens native dialer) ---------- */
.at-phone-float {
	display: none;
	position: fixed; right: 22px; bottom: 92px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--accent); color: #14100c;
	align-items: center; justify-content: center;
	box-shadow: 0 12px 26px -8px rgba(255, 106, 26, 0.6);
	transition: transform 0.15s ease;
}
.at-phone-float:hover { transform: scale(1.08); }

@media (max-width: 760px) {
	.at-phone-float { display: flex; }
}

/* ---------- Service area tag grid (Hizmet Bolgelerimiz) ---------- */
.at-region-intro { max-width: 760px; margin-bottom: 36px; }
.at-region-grid {
	display: flex; flex-wrap: wrap; gap: 10px;
	margin-bottom: 48px;
}
.at-region-tag {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--card); border: 1px solid var(--border);
	border-radius: 999px; padding: 9px 16px;
	font-size: 0.88rem; font-weight: 600; color: var(--text);
	transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.at-region-tag:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.at-region-tag svg { color: var(--accent); flex-shrink: 0; width: 14px; height: 14px; }

/* ---------- Generic page fallback ---------- */
.at-generic-page__content, .at-fallback-article__content { max-width: 780px; }
.at-generic-page__content p, .at-fallback-article__content p { margin-bottom: 16px; }
