from pathlib import Path

css = r'''* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #16375b;
  background: #f4f7fb;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #0d2d50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 110px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.logo-wrap {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 78px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  margin: 0;
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
}

.brand-sub {
  margin-top: 6px;
  color: #dbe8f7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.nav a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 0;
  transition: 0.2s ease;
}

.nav a:hover {
  color: #bcd8ff;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px !important;
  border-radius: 12px;
  background: #2f73c9;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(47,115,201,0.26);
}

.nav-btn:hover {
  background: #3a80d7;
  color: #ffffff !important;
}

/* HERO GENEL */
.hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
  min-height: 430px !important;
  background-color: #6a9fe0;
  background-image:
    linear-gradient(
      90deg,
      rgba(27,77,148,0.48) 0%,
      rgba(92,144,215,0.22) 40%,
      rgba(255,255,255,0.04) 100%
    ),
    url("/images/hero-wellness.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(13,45,80,0.08) 0%,
    rgba(13,45,80,0.12) 100%
  );
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  align-items: center;
  min-height: inherit;
  padding: 72px 0 78px;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.05;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0,0,0,0.14);
}

.hero p,
.hero-text,
.hero-content p {
  margin: 0;
  max-width: 820px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.62;
  font-weight: 500;
  color: rgba(255,255,255,0.97);
  text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* SAYFA BAZLI HERO */
.hero-home {
  min-height: 560px !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(27,77,148,0.42) 0%,
      rgba(92,144,215,0.20) 38%,
      rgba(255,255,255,0.03) 100%
    ),
    url("/images/hero-wellness.jpg");
}

.hero-about {
  min-height: 430px !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(27,77,148,0.50) 0%,
      rgba(92,144,215,0.24) 40%,
      rgba(255,255,255,0.04) 100%
    ),
    url("/images/hero-about.jpg");
}

.hero-awareness {
  min-height: 430px !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(27,77,148,0.48) 0%,
      rgba(92,144,215,0.22) 40%,
      rgba(255,255,255,0.04) 100%
    ),
    url("/images/hero-awareness.jpg");
}

.hero-cbc {
  min-height: 430px !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(18,55,104,0.58) 0%,
      rgba(49,95,164,0.28) 38%,
      rgba(255,255,255,0.06) 100%
    ),
    url("/images/hero-cbc.jpg");
}

.hero-pyramid {
  min-height: 430px !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(27,77,148,0.48) 0%,
      rgba(92,144,215,0.22) 40%,
      rgba(255,255,255,0.04) 100%
    ),
    url("/images/hero-pyramid.jpg");
}

.hero-publications {
  min-height: 430px !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(27,77,148,0.48) 0%,
      rgba(92,144,215,0.22) 40%,
      rgba(255,255,255,0.04) 100%
    ),
    url("/images/hero-publications.jpg");
}

.hero-contact {
  min-height: 430px !important;
  background-image:
    linear-gradient(
      90deg,
      rgba(27,77,148,0.48) 0%,
      rgba(92,144,215,0.22) 40%,
      rgba(255,255,255,0.04) 100%
    ),
    url("/images/hero-contact.jpg");
}

.hero-about,
.hero-awareness,
.hero-pyramid,
.hero-publications,
.hero-contact {
  background-color: #6a9fe0;
  background-position: center center;
  background-size: cover;
}

/* HERO BUTTONS */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions-3 {
  gap: 14px;
}

.hero-actions-3 .btn {
  min-width: 220px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  transition: 0.22s ease;
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #ffffff;
  color: #1e57a0;
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.btn-primary:hover {
  background: #f3f8ff;
}

.btn-secondary {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  border-color: rgba(255,255,255,0.34);
  backdrop-filter: blur(3px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
}

/* SECTIONS */
.section {
  padding: 78px 0;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(180deg, #5f98dd 0%, #79a9e2 100%);
  color: #ffffff;
}

.section-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.section-sub {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
  font-weight: 500;
}

.highlight-line {
  margin: 24px auto 0;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 900;
  color: #ffd28c;
  line-height: 1.4;
}

.sub-slogan {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
}

/* CARDS */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.icon-card {
  background: #ffffff;
  border: 1px solid #d8e5f4;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(15,42,77,0.06);
}

.icon-card .icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f2fd;
  font-size: 34px;
}

.icon-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #1f548f;
  font-weight: 800;
}

.icon-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #54718f;
}

/* BOOK / LIST BLOCKS */
.books-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
  align-items: start;
}

.side-list,
.books-center {
  background: #ffffff;
  border: 1px solid #dbe6f3;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.side-list h3,
.books-center h3 {
  margin: 0 0 12px;
  color: #215792;
  font-size: 20px;
  font-weight: 800;
}

.side-list ul {
  margin: 0;
  padding-left: 18px;
}

.side-list li {
  margin-bottom: 10px;
  color: #587391;
  line-height: 1.7;
}

.book-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.book {
  min-width: 88px;
  min-height: 88px;
  padding: 14px;
  border-radius: 16px;
  background: #eff5fc;
  border: 1px solid #d9e4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #275a95;
  font-weight: 900;
  font-size: 18px;
}

/* TRUST / CTA / FOOTER */
.trust-box {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
  background: #f8fbff;
  border: 1px solid #dbe6f3;
  border-radius: 18px;
  padding: 18px 20px;
  color: #5e7897;
  font-size: 14px;
  line-height: 1.7;
}

.cta-section {
  background: #0d2d50;
  color: #ffffff;
  text-align: center;
  padding: 72px 0;
}

.cta-section h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 900;
}

.cta-section p {
  max-width: 880px;
  margin: 0 auto 20px;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

.footer {
  background: #0a2340;
  color: #d9e7f7;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.footer p,
.footer li,
.footer a {
  color: #cfe0f3;
  font-size: 15px;
  line-height: 1.8;
}

.footer ul {
  margin: 0;
  padding-left: 18px;
}

.legal-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  color: #b8cde4;
}

/* DÜKAV ORTAK FİKRİ MÜLKİYET VE YASAL BİLDİRİM ALANLARI */
.dukav-ip-notice {
  margin: 28px 0 0;
  background: #f8fbff;
  border: 1px solid #d7e5f6;
  border-left: 5px solid #1f6fb2;
  border-radius: 16px;
  padding: 18px 20px;
  color: #526f8f;
  font-size: 14px;
  line-height: 1.75;
}

.dukav-ip-notice strong {
  color: #16375b;
}

.dukav-medical-disclaimer {
  margin: 22px 0;
  background: #fffdf5;
  border: 1px solid #f0d28a;
  border-left: 5px solid #d99a00;
  border-radius: 16px;
  padding: 18px 20px;
  color: #6b5200;
  font-size: 14px;
  line-height: 1.75;
}

.dukav-medical-disclaimer strong {
  color: #16375b;
}

/* PREMIUM / MINIMAL FOOTER LEGAL */
.dukav-legal-footer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.66);
  font-size: 13px;
  line-height: 1.75;
  max-width: 920px;
}

.dukav-legal-footer strong {
  display: inline-block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 2px;
}

.dukav-legal-footer a {
  color: #7ec5ff;
  font-weight: 800;
  text-decoration: none;
}

.dukav-legal-footer a:hover {
  opacity: 0.78;
}

.dukav-legal-mini {
  margin-top: 12px;
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  line-height: 1.7;
}

/* MOBILE */
@media (max-width: 1100px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .books-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    position: relative;
  }

  .topbar-inner {
    min-height: auto;
    padding: 16px 0 18px;
    align-items: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }

  .logo-wrap {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
  }

  .brand-title {
    font-size: 30px;
  }

  .brand-sub {
    font-size: 12px;
    letter-spacing: 1.6px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 10px 18px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero {
    min-height: 360px !important;
    background-position: center center;
  }

  .hero-home {
    min-height: 430px !important;
  }

  .hero-grid {
    padding: 56px 0 62px;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 52px);
    line-height: 1.02;
  }

  .hero p,
  .hero-text,
  .hero-content p {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-awareness h1 {
    font-size: clamp(30px, 4vw, 50px);
  }

  .hero-actions,
  .hero-actions-3 {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions-3 .btn,
  .btn {
    width: 100%;
    min-width: 0;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: clamp(30px, 9vw, 48px);
  }

  .section-sub {
    font-size: 17px;
    line-height: 1.75;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .dukav-ip-notice,
  .dukav-medical-disclaimer {
    padding: 16px;
    font-size: 13px;
    line-height: 1.7;
  }

  .dukav-legal-footer {
    margin-top: 28px;
    padding-top: 18px;
    font-size: 12px;
    line-height: 1.7;
    max-width: 100%;
  }

  .dukav-legal-footer strong {
    font-size: 13px;
  }

  .dukav-legal-mini {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .topbar-inner {
    padding: 14px 0 16px;
  }

  .nav {
    gap: 8px 14px;
  }

  .nav-btn {
    width: 100%;
  }

  .hero {
    min-height: 310px !important;
  }

  .hero-home {
    min-height: 380px !important;
  }

  .hero-grid {
    padding: 44px 0 50px;
  }

  .hero h1 {
    font-size: clamp(30px, 10vw, 44px);
    line-height: 1.04;
  }

  .hero p,
  .hero-text,
  .hero-content p {
    font-size: 15px;
    line-height: 1.68;
  }

  .icon-card,
  .side-list,
  .books-center {
    padding: 20px 16px;
  }

  .book {
    min-width: 72px;
    min-height: 72px;
    font-size: 16px;
  }
}
'''

out = Path('/mnt/data/style-final-premium-legal.css')
out.write_text(css, encoding='utf-8')
out
