/* Özlü Reklam — Atölye Moderni.
   White canvas, ink type, one sign-red accent. Archivo display + Inter body.
   Shared by the homepage and inner pages via body.ozlu. */

body.ozlu {
  --home-red: var(--color-red-voltage);
  --home-ink: var(--color-midnight-ink);
  --home-line: var(--color-soft-mist);
  --home-muted: var(--color-olive-stone);
  --home-paper: #ffffff;
  --home-canvas: #faf9f9;
  --font-home: "Inter", system-ui, sans-serif;
  --font-home-display: "Archivo", "Inter", system-ui, sans-serif;
  --shadow-card: 0 10px 28px -18px rgba(26, 8, 8, 0.35);
  --shadow-bar: 0 8px 24px -20px rgba(26, 8, 8, 0.4);

  background: var(--home-paper);
  color: var(--home-ink);
  font-family: var(--font-home);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.ozlu a {
  transition: color 0.18s ease;
}

body.ozlu a:hover {
  color: var(--home-red);
}

/* Masthead — logo, search, phone chip */

.home-top {
  background: var(--home-paper);
  border-bottom: 1px solid var(--home-line);
}

.home-top__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 104px;
  padding-block: 12px;
}

.home-logo {
  flex: 0 0 auto;
  text-decoration: none;
}

.home-logo img {
  width: auto;
  height: 80px;
  object-fit: contain;
}

.home-search {
  flex: 1 1 auto;
  max-width: 320px;
  margin-inline: auto 0;
}

.home-search__input {
  width: 100%;
  height: 44px;
  padding: 10px 18px 10px 42px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: var(--home-canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a7c78' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E") no-repeat 16px center;
  font-size: 14px;
  letter-spacing: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.home-search__input:hover {
  border-color: var(--home-muted);
}

.home-search__input:focus {
  background-color: var(--home-paper);
  border-color: var(--home-ink);
  outline: 2px solid var(--home-red);
  outline-offset: 2px;
}

.home-search__input::placeholder {
  color: var(--home-muted);
}

.home-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: var(--font-home-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.home-phone svg {
  color: var(--home-red);
  flex: 0 0 auto;
}

.home-phone:hover {
  color: var(--home-red);
  border-color: var(--home-ink);
}

/* Sticky nav bar */

.home-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--home-paper);
  border-bottom: 1px solid var(--home-line);
  box-shadow: var(--shadow-bar);
}

.home-bar__inner {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-block: 0;
}

body.ozlu .nav {
  flex: 1 1 auto;
  align-self: stretch;
  align-items: stretch;
}

body.ozlu .nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border-color: var(--home-line);
  background: var(--home-paper);
}

body.ozlu .nav-toggle span {
  background: var(--home-ink);
  width: 18px;
  height: 2px;
  border-radius: 2px;
}

body.ozlu .nav__list {
  gap: 4px;
  align-self: stretch;
  align-items: stretch;
}

body.ozlu .nav__item {
  display: flex;
  align-items: center;
}

body.ozlu .nav__link {
  position: relative;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 0;
  color: var(--home-ink);
  font-family: var(--font-home-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: none;
  transition: color 0.18s ease;
}

body.ozlu .nav__link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--home-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

body.ozlu .nav__link:hover,
body.ozlu .nav__link.is-active,
body.ozlu .nav__item.is-active > .nav__link {
  color: var(--home-red);
  background: transparent;
}

body.ozlu .nav__link:hover::after,
body.ozlu .nav__link.is-active::after,
body.ozlu .nav__item.is-active > .nav__link::after {
  transform: scaleX(1);
}

body.ozlu .nav__sub {
  top: calc(100% + 4px);
  min-width: 300px;
  padding: 8px;
  background: var(--home-paper);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

body.ozlu .nav__sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  height: 6px;
}

body.ozlu .nav__sub a {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  color: var(--home-ink);
  font-family: var(--font-home);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body.ozlu .nav__sub a:hover,
body.ozlu .nav__sub a.is-active {
  background: var(--home-canvas);
  color: var(--home-red);
}

/* Hero slider */

.home-slider {
  background: var(--home-ink);
  border-top: 2px solid var(--home-red);
  padding: 44px 0 30px;
}

.home-slider__stage {
  position: relative;
  width: min(1150px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.home-slider__slide {
  display: none;
  margin: 0;
}

.home-slider__slide.is-active {
  display: block;
}

.home-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.home-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--home-ink);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.home-slider__arrow:hover {
  color: #ffffff;
  background: var(--home-red);
  border-color: transparent;
}

.home-slider__arrow--prev {
  left: 12px;
}

.home-slider__arrow--next {
  right: 12px;
}

.home-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
}

.home-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.22s ease;
}

.home-slider__dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.home-slider__dot.is-active {
  width: 26px;
  background: var(--home-red);
}

/* Catalog */

.home-catalog {
  padding: 64px 0 88px;
}

.home-title {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-home-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}

/* Red accent bar — replaces the legacy long hairline */

.home-rule {
  width: 56px;
  height: 3px;
  margin: 18px auto 44px;
  border: 0;
  border-radius: 2px;
  background: var(--home-red);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 12px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--home-paper);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 0;
  border-radius: 8px;
  background: var(--home-canvas);
}

.home-item span {
  display: block;
  min-height: 2.9em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
  color: var(--home-ink);
  transition: color 0.18s ease;
}

.home-item:hover {
  transform: translateY(-2px);
  border-color: var(--home-ink);
  box-shadow: var(--shadow-card);
}

.home-item:hover span {
  color: var(--home-red);
}

.home-item:hover img {
  border-color: transparent;
}

/* Footer */

.home-footer {
  background: var(--home-ink);
  color: #fff;
  padding: 56px 0 48px;
  border-top: 2px solid var(--home-red);
}

.home-footer__grid {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(0, 2.2fr);
  gap: 32px 48px;
  align-items: start;
}

.home-footer__logo img {
  width: 107px;
  height: 100px;
  object-fit: contain;
}

.home-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-home-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-footer__contact p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.home-footer__contact a {
  color: #fff;
  text-decoration: none;
}

.home-footer__contact a:hover {
  color: var(--home-red);
}

.home-footer__contact strong {
  font-weight: 600;
  color: #fff;
}

.home-footer__tags p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  text-transform: none;
  letter-spacing: 0;
}

/* Floating WhatsApp button */

.home-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(37, 211, 102, 0.6);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.home-wa:hover {
  color: #fff;
  background: #1fb457;
  transform: translateY(-2px);
}

/* Inner pages */

.page-body {
  padding: 56px 0 80px;
}

.page-body + .page-body {
  padding-top: 8px;
}

.page-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--home-muted);
  font-size: 13px;
  letter-spacing: 0;
}

.page-crumb a {
  color: var(--home-muted);
  text-decoration: none;
}

.page-crumb a:hover {
  color: var(--home-red);
}

.page-prose {
  max-width: 70ch;
  margin: 0 auto 44px;
  font-size: 17px;
  line-height: 1.75;
  color: #443a37;
}

.page-prose p + p {
  margin-top: 16px;
}

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}

.page-photo {
  margin: 0;
}

.page-photo img {
  width: 100%;
  display: block;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--home-paper);
}

.page-facts {
  font-size: 16px;
  line-height: 1.7;
}

.page-facts p {
  margin: 0 0 16px;
}

.page-facts dt {
  color: var(--home-muted);
  font-family: var(--font-home-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 16px;
}

.page-facts dd {
  margin: 4px 0 0;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* Panels, forms, buttons */

body.ozlu .panel {
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--home-paper);
  padding: 24px;
}

body.ozlu .panel__title {
  font-family: var(--font-home-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--home-ink);
  margin-bottom: 20px;
}

body.ozlu .spec dt {
  color: var(--home-muted);
}

body.ozlu .form__field {
  gap: 6px;
}

body.ozlu .form__label {
  color: var(--home-ink);
  font-family: var(--font-home);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body.ozlu .form__input,
body.ozlu .form__textarea {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-paper);
  font-size: 15px;
  letter-spacing: 0;
  transition: border-color 0.18s ease;
}

body.ozlu .form__input:hover,
body.ozlu .form__textarea:hover {
  border-color: var(--home-muted);
}

body.ozlu .form__input:focus,
body.ozlu .form__textarea:focus {
  border-color: var(--home-ink);
  outline: 2px solid var(--home-red);
  outline-offset: 2px;
}

body.ozlu .btn {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-home-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

body.ozlu .btn:hover {
  color: var(--home-red);
  border-color: var(--home-ink);
}

body.ozlu .btn--fill {
  background: var(--home-ink);
  border-color: var(--home-ink);
  color: #fff;
}

body.ozlu .btn--fill:hover {
  background: var(--home-red);
  border-color: var(--home-red);
  color: #fff;
}

/* Responsive */

@media (max-width: 1100px) {
  .home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-footer__logo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .home-top__inner {
    flex-wrap: wrap;
    min-height: 0;
    gap: 12px;
    padding-block: 16px 12px;
  }

  .home-logo img {
    height: 60px;
  }

  .home-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin: 0;
  }

  .home-phone {
    margin-left: auto;
    padding: 8px 16px;
    font-size: 14px;
  }

  .home-bar__inner {
    flex-wrap: wrap;
  }

  body.ozlu .nav-toggle {
    display: inline-flex;
    order: -1;
    margin: 6px 0 6px auto;
  }

  body.ozlu .nav,
  body.ozlu .nav.is-open {
    flex: 1 1 100%;
    width: 100%;
    padding-bottom: 12px;
  }

  body.ozlu .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  body.ozlu .nav__item {
    display: block;
  }

  body.ozlu .nav__sub::before {
    content: none;
  }

  body.ozlu .nav__link {
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 8px;
    justify-content: flex-start;
  }

  body.ozlu .nav__link::after {
    display: none;
  }

  body.ozlu .nav__link:hover,
  body.ozlu .nav__link.is-active,
  body.ozlu .nav__item.is-active > .nav__link {
    background: var(--home-canvas);
  }

  body.ozlu .nav__sub {
    position: static;
    min-width: 0;
    margin: 4px 0 4px 12px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 1px solid var(--home-line);
    border-radius: 0;
    box-shadow: none;
  }

  .home-slider {
    padding: 28px 0 22px;
  }

  .home-slider__stage {
    width: calc(100% - 24px);
    border-radius: 12px;
  }

  .home-slider__arrow {
    width: 40px;
    height: 40px;
  }

  .home-slider__arrow--prev {
    left: 8px;
  }

  .home-slider__arrow--next {
    right: 8px;
  }

  .home-title {
    font-size: 30px;
  }

  .home-rule {
    margin-bottom: 32px;
  }

  .home-catalog {
    padding: 44px 0 64px;
  }

  .page-body {
    padding: 40px 0 56px;
  }

  .page-prose {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .page-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-footer {
    padding: 44px 0 96px;
  }

  .home-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ozlu *,
  body.ozlu *::before,
  body.ozlu *::after {
    transition: none !important;
  }

  .home-item:hover,
  .home-wa:hover {
    transform: none;
  }
}
