/*
Theme Name: Maltepe İklimlendirme
Description: Albayrak Teknik Maltepe servis sitesi
Version: 2.5
Text Domain: maltepe-iklimlendirme
*/
:root {
  color-scheme: light;
  --navy: #102638;
  --blue: #07546f;
  --muted: #415767;
  --light: #edf5f8;
  --line: #cadce5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: #fff; font: 1rem/1.65 system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #ac4c1b; outline-offset: 5px; }
.wrap { max-width: 74rem; width: calc(100% - 3rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; padding: .75rem; background: #fff; transform: translateY(-180%); z-index: 2; }
.skip:focus { transform: none; }
.header { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); font-weight: 750; line-height: 1.25; }
.brand img { border-radius: 50%; }
.brand small { display: block; font-size: .88rem; color: var(--muted); font-weight: 600; margin-top: .2rem; }
nav { display: flex; gap: clamp(.65rem, 2vw, 1.5rem); flex-wrap: wrap; }
nav a, .top-phone { font-weight: 650; text-decoration: none; }
nav a:hover, .top-phone:hover { text-decoration: underline; }
.top-phone { white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.8rem, 5vw, 5.5rem); padding-block: clamp(2.5rem, 7vw, 6.25rem); }
.eyebrow { color: var(--blue); font-weight: 750; font-size: .88rem; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 .75rem; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5.2vw, 5rem); font-weight: 800; }
h1 span { color: var(--blue); display: block; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h3 { font-size: 1.4rem; }
.hero-copy > p:not(.eyebrow) { margin: 1.4rem 0 1.75rem; color: var(--muted); font-size: 1.125rem; max-width: 35rem; }
.hero-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; background: var(--light); box-shadow: 0 1rem 2.8rem rgb(16 38 56 / .14); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.button { border-radius: .5rem; padding: .75rem 1rem; min-height: 3rem; text-decoration: none; font-weight: 750; border: 1px solid var(--blue); }
.primary { color: #fff; background: var(--blue); }
.primary:hover { background: #07414f; }
.secondary:hover { background: var(--light); }
.service-strip, .neighborhoods { background: var(--light); }
.strip-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.5rem; padding-block: 1.25rem; font-weight: 700; }
.strip-inner span::before { content: "✓"; color: var(--blue); margin-right: .6rem; }
.section { padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.85rem; }
.services article { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: .9rem; padding: clamp(1rem, 2.3vw, 1.7rem); }
.services article a { margin-top: auto; font-weight: 650; }
.section p { color: var(--muted); }
.area, .faq { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(1.5rem, 6vw, 5.4rem); }
.places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem .45rem; }
.places a { display: block; padding: .4rem .1rem; font-weight: 650; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { padding: .85rem .15rem; font-weight: 750; cursor: pointer; }
details p { margin: 0 0 1rem .15rem; }
footer { padding-block: 2rem; background: var(--navy); color: #fff; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer strong { font-size: 1.25rem; }
.footer p { margin: .25rem 0 0; }
.footer a { display: block; color: #fff; }
.footer-links { display: grid; gap: .45rem; }
@media (max-width: 52rem) {
  .header { flex-wrap: wrap; padding-block: .75rem; gap: .65rem; }
  nav { order: 3; width: 100%; gap: 1.25rem; flex-wrap: wrap; }
  nav a { font-size: .9rem; }
  .hero, .area, .faq { grid-template-columns: 1fr; }
  .hero-copy, .area > *, .faq > * { min-width: 0; }
  .hero-image { max-height: 25rem; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 26rem) {
  .wrap { width: calc(100% - 2rem); }
  .brand img { width: 40px; height: 40px; }
  .top-phone { font-size: .875rem; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.header [aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.service-hero h1 { max-width: 12ch; }
.service-contact { padding: clamp(1.4rem, 4vw, 2.5rem); border-radius: 1rem; background: var(--light); }
.service-contact strong { font-size: 1.4rem; }
.service-contact p { margin: .6rem 0 1.3rem; color: var(--muted); }
.service-contact .button { display: inline-flex; align-items: center; background: #fff; }
.service-work { padding-top: 1rem; }
.home-places li { padding-block: .35rem; border-bottom: 1px solid var(--line); }
.home-places span { display: flex; flex-wrap: wrap; column-gap: .65rem; }
.home-places a { padding: .1rem 0; font-size: .92rem; }
.local-services { display: grid; gap: .85rem; margin-top: 2rem; }
.location-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: .7rem; background: #fff; scroll-margin-top: 3rem; }
.location-card:target { border-color: var(--blue); }
.brand-picker, .brand-picker:first-child { border: 0; }
.brand-picker summary { padding: .55rem 0 0; color: var(--blue); }
.brand-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .55rem 1.1rem; list-style: none; margin: .9rem 0 0; padding: 0; }
.brand-links h3, .brand-links h4 { font-size: 1rem; line-height: 1.4; letter-spacing: normal; margin: 0; }
.brand-links a { display: flex; align-items: center; min-height: 2.75rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: .45rem; background: #fff; }
.brand-links a:hover { background: var(--light); }
.service-brand-section { padding-top: 0; }

a[href^="tel:"] > svg.phone-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  vertical-align: -.125em;
  margin-inline-end: .4em;
}
