/* Genel ayarlar */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #262626;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

/* Üst siyah bar */
.top-bar {
  height: 20px;
  color: #222;
  background: #fff;
}

.top-links {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-right: 68px;
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.top-links a:hover {
  text-decoration: underline;
}

.top-links a + a::before {
  content: "|";
  margin-right: 8px;
  color: #888;
}

/* Logo ve sosyal alanı */
.site-header {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 54px 0 50px;
  background: #fff;
}

.site-logo img {
  width: 240px;
  height: auto;
  object-fit: contain;
  display: block;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 13px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #1f1f1f;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  transition: background 0.2s;
}

.social-icons a:nth-child(2) {
  background: #313131;
}

.social-icons a:nth-child(3) {
  background: #c9151c;
}

/* Hero ve menü */
.hero-area {
  position: relative;
  height: 420px;
  background: #d1121b;
  overflow: visible;
}

.main-menu {
  position: absolute;
  top: -32px;
  left: 60px;
  right: 60px;
  height: 65px;
  display: flex;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  z-index: 10;
}

.menu-links {
  flex: 0 0 80%;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 52px);
  padding: 0 30px;
  color: #fff;
  background: #191919;
}

.menu-links a {
  font-size: 14px;
  font-weight: 700;
  line-height: 54px;
  white-space: nowrap;
}

.menu-links a:hover,
.menu-links .active {
  color: #f4d6d6;
}

.menu-contact {
  flex: 0 0 20%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 210px;
  padding: 0 22px;
  color: #fff;
  background: #b90f18;
  box-shadow: inset 1px 0 rgba(255,255,255,0.12), 0 8px 18px rgba(0,0,0,0.16);
  text-align: right;
}

.menu-contact span {
  font-size: 12px;
  line-height: 1.1;
}

.menu-contact strong {
  margin-top: 3px;
  font-size: 19px;
  line-height: 1.1;
}

/* Slider alanı */
.slider {
  position: absolute;
  top: 90px;
  left: 40px;
  right: 40px;
  height: 460px;
  border: 4px solid #f9f9f9;
  background: transparent;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 2;
}

.slider img.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

.slider img.slide.active {
  opacity: 1;
  z-index: 1;
}

.slider button {
  position: absolute;
  bottom: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
  z-index: 2;
}

.slider button:hover {
  background: rgba(0, 0, 0, 0.9);
}

.prev {
  left: 18px;
}

.next {
  right: 18px;
}

.slider button::before {
  content: "";
  width: 0;
  height: 0;
}

.prev::before {
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 14px solid currentColor;
}

.next::before {
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid currentColor;
}

/* Alt içerik */
.content-wrap {
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
  gap: 34px;
  margin: 135px 50px 64px 30px;
  background: #fff;
}

.about-section {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.about-image {
  width: 350px;
  height: 350px;
  border: 2px solid #ccc;
  object-fit: cover;
  background: #f2f2f2;
}

.about-copy {
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.about-copy h1,
.categories h2 {
  margin: 0 0 18px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0;
  color: #4b4b4b;
  font-size: 16px;
  line-height: 2.1;
}

.categories {
  padding-top: 2px;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.category-title::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #000;
  flex: 0 0 auto;
  transition: transform 0.2s;
}

.category-title.open::before {
  transform: rotate(90deg);
}

.sub-menu {
  display: none;
  padding-left: 20px;
  list-style: none;
  margin: 0;
}

.sub-menu li {
  padding: 4px 0;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}

.sub-menu li::before {
  content: "- ";
  color: #888;
}

.sub-menu li:hover {
  color: #c9151c;
}

/* Alt sayfalar */
.subpage-body {
  min-height: 100vh;
  background: #fff;
}

.subpage-header {
  height: 120px;
  display: flex;
  align-items: center;
  padding: 0 50px;
  background: #fff;
}

.subpage-card {
  max-width: 860px;
  margin: 44px auto;
  padding: 34px 38px;
  border-top: 6px solid #c9151c;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.subpage-card h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  letter-spacing: 0;
}

.subpage-card p {
  margin: 0 0 22px;
  color: #555;
  line-height: 1.7;
}

.back-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  background: #191919;
  font-size: 14px;
  font-weight: 700;
}

.back-link:hover {
  background: #c9151c;
}

@media (max-width: 980px) {
  .site-header {
    height: 130px;
  }

  .main-menu {
    height: auto;
    flex-direction: column;
  }

  .menu-links {
    flex-basis: auto;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 14px 20px;
  }

  .menu-links a {
    line-height: 1.4;
  }

  .menu-contact {
    min-width: 0;
    align-items: flex-start;
    text-align: left;
    padding: 12px 20px;
  }

  .slider {
    top: 175px;
  }

  .content-wrap {
    grid-template-columns: 1fr;
    margin-right: 30px;
  }
}

@media (max-width: 760px) {
  .top-links {
    justify-content: center;
    padding-right: 0;
    font-size: 11px;
  }

  .site-header {
    height: 118px;
    padding: 0 22px;
  }

  .logo {
    font-size: 34px;
  }

  .social-icons i {
    width: 30px;
    height: 30px;
  }

  .hero-area {
    height: 470px;
  }

  .main-menu {
    margin: 0 18px;
  }

  .slider {
    top: 190px;
    left: 18px;
    right: 18px;
  }

  .slider {
    height: 360px;
    border-width: 7px;
  }

  .content-wrap {
    margin: 105px 18px 44px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .subpage-header {
    height: 100px;
    padding: 0 24px;
  }

  .subpage-card {
    margin: 28px 18px;
    padding: 28px 22px;
  }
}
