/* Kahramanmaraş Çekici – Bileşen Stilleri */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  transition: box-shadow var(--transition);
  overflow: visible;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  height: auto;
  padding: 0.625rem 0;
  overflow: visible;
  transition: min-height var(--transition), padding var(--transition);
}

.site-header.scrolled .site-header__inner {
  min-height: var(--header-height-scrolled);
  padding: 0.375rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.0625rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}

.site-logo:hover {
  color: var(--primary);
}

.site-logo__img {
  width: auto;
  height: 92px;
  max-height: none;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  margin-bottom: -51px;
  transition: height var(--transition), margin-bottom var(--transition);
}

.site-header.scrolled .site-logo__img {
  height: 68px;
  margin-bottom: -14px;
}

.site-logo.site-logo--footer .site-logo__img {
  height: 52px;
  margin-bottom: 0;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  line-height: 1.2;
}

.site-logo__tagline {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
}

.site-logo__name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
}

.footer-brand .site-logo__name {
  color: var(--white);
}

.footer-brand .site-logo__tagline {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand .site-logo:hover .site-logo__name {
  color: var(--white);
}

/* Navigation */
.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: rgba(220, 38, 38, 0.06);
}

.header-cta {
  display: none;
}

.header-cta .btn {
  font-size: 0.875rem;
  padding: 0.625rem 1.125rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--accent-alt);
  outline-offset: 2px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: var(--white);
  z-index: 999;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  background: rgba(220, 38, 38, 0.04);
}

.mobile-nav__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}

.footer-brand .site-logo {
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.9375rem;
}

.footer-contact p {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.0625rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-credit:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Mobile fixed CTA bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  box-shadow: 0 -4px 12px rgb(0 0 0 / 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: var(--mobile-cta-height);
}

.mobile-cta-bar a,
.mobile-cta-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  padding: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition);
}

.mobile-cta-bar a:hover,
.mobile-cta-bar button:hover {
  background: var(--light);
  color: var(--accent);
}

.mobile-cta-bar a:focus-visible,
.mobile-cta-bar button:focus-visible {
  outline: 3px solid var(--accent-alt);
  outline-offset: -3px;
}

.mobile-cta-bar__call {
  color: var(--accent) !important;
}

.mobile-cta-bar__whatsapp {
  color: #25d366 !important;
}

.mobile-cta-bar svg {
  width: 22px;
  height: 22px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: background var(--transition);
}

.faq-item__question:hover {
  background: var(--light);
}

.faq-item__question:focus-visible {
  outline: 3px solid var(--accent-alt);
  outline-offset: -3px;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform var(--transition);
}

.faq-item.open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 1.25rem 1.125rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Service list page */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.service-list-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.service-list-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.service-list-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.service-list-item h3 a {
  color: var(--primary);
}

.service-list-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }

  .header-cta {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .mobile-cta-bar {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: var(--mobile-cta-height);
  }

  .site-logo__img {
    height: 72px;
    margin-bottom: -18px;
  }

  .site-logo__name {
    font-size: 0.9375rem;
  }

  .site-logo__tagline {
    font-size: 0.625rem;
  }
}
