:root {
  --bg: #f4f1e9;
  --surface: #ffffff;
  --surface-soft: #fbf9f4;
  --ink: #1d2430;
  --muted: #5f6b7a;
  --line: #d9d3c7;
  --brand: #0d1d31;
  --brand-2: #ed4a43;
  --accent: #f7b267;
  --shadow: 0 18px 38px rgba(13, 29, 49, 0.12);
  --radius: 16px;
  --radius-lg: 28px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(248, 244, 237, 0.86);
  border-bottom: 1px solid rgba(13, 29, 49, 0.1);
}

.topbar {
  border-bottom: 1px solid rgba(13, 29, 49, 0.1);
  font-size: 0.88rem;
  color: var(--muted);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 12px;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.brand img {
  width: 160px;
  max-height: 52px;
  object-fit: contain;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  color: #2a3342;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--brand);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.25rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 66vh;
  padding: 90px 0 56px;
  background: linear-gradient(120deg, rgba(13, 29, 49, 0.86), rgba(13, 29, 49, 0.54)),
    url("../img/common/hero.jpg") center / cover no-repeat;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 34px;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  clip-path: polygon(0 100%, 100% 52%, 100% 100%);
}

.hero h1,
.page-hero h1,
section h2,
section h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0 0 14px;
}

.hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.08rem;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-2);
  color: #fff;
  box-shadow: 0 10px 22px rgba(237, 74, 67, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.page-hero {
  padding: 70px 0 40px;
  background: linear-gradient(100deg, rgba(13, 29, 49, 0.94), rgba(13, 29, 49, 0.78));
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.page-hero p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

main section {
  padding: 56px 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 10px 24px rgba(13, 29, 49, 0.08);
}

.card img {
  width: 100%;
  max-height: 200px;
  min-height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

#faaliyet-highlights .entry-card,
#faaliyet-grid .entry-card,
#fuar-highlights .entry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#faaliyet-highlights .entry-card .card-body,
#faaliyet-grid .entry-card .card-body,
#fuar-highlights .entry-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#faaliyet-highlights .entry-card h3,
#faaliyet-grid .entry-card h3,
#fuar-highlights .entry-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#faaliyet-highlights .entry-card .entry-summary,
#faaliyet-grid .entry-card .entry-summary,
#fuar-highlights .entry-card .entry-summary {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

#faaliyet-highlights .entry-card .entry-cta,
#faaliyet-grid .entry-card .entry-cta,
#fuar-highlights .entry-card .entry-cta {
  margin-top: auto;
  padding-top: 14px;
}

.list-clean {
  margin: 0;
  padding-left: 20px;
}

.list-clean li {
  margin-bottom: 8px;
}

.notice {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid #f5ccb4;
  background: #fff5ed;
}

.contact-box {
  background: linear-gradient(135deg, var(--brand), #1f3a58 70%, #25476c 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-box p,
.contact-box a {
  color: rgba(255, 255, 255, 0.92);
}

.contact-box h2 {
  margin-top: 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.meta .chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface-soft);
}

.toolbar {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 180px;
  margin-bottom: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9c1b2;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.site-footer {
  margin-top: 48px;
  background: #131a25;
  color: #d2d9e1;
  padding: 30px 0;
}

.site-footer .container {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.site-footer h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #c0c9d6;
  margin: 0;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.dds-badge-link {
  margin-top: 14px;
  display: inline-block;
}

.dds-badge-image {
  width: 290px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.copyright {
  margin-top: 20px;
  text-align: center;
  color: #9eabba;
  font-size: 0.9rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 118px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 58vh;
  }
}

.copyright {
  margin-top: 2rem !important;
}

.dds-badge-link {
  margin-top: 1.25rem !important;
}