/* Design 1 - Recep Tayyip Erdoğan Vakfı */
.d1 { background: #efeae2; color: #1a1a1a; min-height: 100vh; }

.d1-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Header */
.d1-header { position: relative; z-index: 40; background: #efeae2; }
.d1-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px 16px; max-width: 1280px; margin: 0 auto; }

.d1-logo { display: flex; align-items: center; gap: 8px; }
.d1-logo-text { line-height: 0.95; }
.d1-logo-text div { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.05em; color: #a5885a; }

.d1-nav { display: flex; align-items: center; gap: 36px; }
.d1-nav-item { position: relative; padding: 8px 0; }
.d1-nav-item > button, .d1-nav-item > a { font-size: 13px; color: #525252; transition: color 0.2s; letter-spacing: 0.02em; }
.d1-nav-item:hover > button, .d1-nav-item:hover > a { color: #a5885a; }

.d1-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #efeae2; border-top: 1px solid #d9d2c5; box-shadow: 0 10px 30px -15px rgba(0,0,0,0.15); display: none; }
.d1-dropdown.open { display: block; }
.d1-dropdown-inner { max-width: 1280px; margin: 0 auto; padding: 24px 32px; display: flex; align-items: flex-start; gap: 32px; }
.d1-dropdown-title { color: #a5885a; font-size: 15px; font-weight: 500; min-width: 160px; display: flex; align-items: center; gap: 12px; }
.d1-dropdown-title::after { content: ''; width: 6px; height: 6px; border-radius: 999px; background: #a5885a; }
.d1-dropdown-items { flex: 1; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(165,136,90,0.4); padding-top: 6px; }
.d1-dropdown-items a { color: #404040; font-size: 13.5px; transition: color 0.2s; }
.d1-dropdown-items a:hover { color: #a5885a; }

/* Hero */
.d1-hero { position: relative; height: 62vh; min-height: 420px; overflow: hidden; }
.d1-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d1-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.25), rgba(0,0,0,0.45)); }
.d1-play { position: absolute; inset: 0; margin: auto; width: 80px; height: 80px; border-radius: 999px; background: rgba(255,255,255,0.25); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; transition: background 0.3s; cursor: pointer; }
.d1-play:hover { background: rgba(255,255,255,0.4); }
.d1-play::after { content: ''; width: 0; height: 0; border-left: 20px solid rgba(255,255,255,0.9); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 4px; }

/* Lorem section */
.d1-lorem { padding: 96px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; }
.d1-lorem h2 { font-size: 46px; font-weight: 700; color: #a5885a; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
.d1-lorem p { margin-top: 24px; font-size: 14px; line-height: 1.75; color: #404040; max-width: 480px; }
.d1-lorem-img { position: relative; }
.d1-lorem-img::before { content: ''; position: absolute; top: -12px; left: 0; width: 96px; height: 2px; background: #a5885a; }
.d1-lorem-img::after { content: ''; position: absolute; bottom: -12px; right: 0; width: 160px; height: 2px; background: #a5885a; }
.d1-lorem-img img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Sections shared */
.d1-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.d1-section-label { font-size: 13px; letter-spacing: 0.3em; color: #404040; }
.d1-section-label + .dot { width: 12px; height: 12px; border-radius: 999px; background: #a5885a; margin-top: 8px; }
.d1-circle-btn { width: 36px; height: 36px; border-radius: 999px; border: 1px solid #737373; color: #525252; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s, border 0.2s; }
.d1-circle-btn:hover { background: #a5885a; color: #fff; border-color: #a5885a; }
.d1-circle-btn svg { width: 16px; height: 16px; }

/* Yayınlar */
.d1-yayinlar { background: #e5dfd4; padding: 64px 0; }
.d1-yayinlar-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; align-items: end; }
.d1-yay-card { cursor: pointer; }
.d1-yay-card .img-box { background: #171717; overflow: hidden; }
.d1-yay-card .img-box img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.7s, transform 0.7s; }
.d1-yay-card:hover .img-box img { filter: grayscale(0); transform: scale(1.05); }
.d1-yay-tall .img-box { height: 420px; }
.d1-yay-short .img-box { height: 300px; }
.d1-yay-info { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.d1-yay-info span { font-size: 13px; color: #262626; }
.d1-yay-info svg { width: 16px; height: 16px; color: #262626; transition: color 0.2s, transform 0.2s; }
.d1-yay-card:hover .d1-yay-info svg { color: #a5885a; transform: translateX(4px); }

/* Haberler */
.d1-haberler { background: #efeae2; padding: 64px 0; }
.d1-haberler-nav { display: flex; align-items: center; gap: 12px; color: #404040; }
.d1-haberler-nav svg { width: 16px; height: 16px; cursor: pointer; transition: color 0.2s; }
.d1-haberler-nav svg:hover { color: #a5885a; }
.d1-haberler-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.d1-haber-card { position: relative; aspect-ratio: 4/3; background: #171717; overflow: hidden; cursor: pointer; }
.d1-haber-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.7s; }
.d1-haber-card:hover img { filter: grayscale(0); }
.d1-haber-date { position: absolute; bottom: 0; right: 0; background: #a5885a; padding: 12px 24px; color: #fff; }
.d1-haber-date .day { font-size: 30px; font-weight: 700; line-height: 1; }
.d1-haber-date .month { font-size: 11px; letter-spacing: 0.15em; margin-top: 4px; }

/* Footer */
.d1-footer { background: #141414; color: #fff; padding-top: 40px; }
.d1-footer-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; }
.d1-footer-newsletter { display: flex; align-items: center; gap: 24px; }
.d1-footer-newsletter .lbl { font-size: 13px; color: rgba(255,255,255,0.8); letter-spacing: 0.15em; }
.d1-footer-inputs { display: flex; align-items: center; gap: 8px; }
.d1-footer-inputs input { background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; padding: 8px 12px; font-size: 12px; color: #fff; }
.d1-footer-inputs input:focus { outline: none; border-color: #a5885a; }
.d1-footer-inputs input::placeholder { color: rgba(255,255,255,0.4); }
.d1-footer-inputs input.w-name { width: 96px; }
.d1-footer-inputs input.w-mail { width: 160px; }
.d1-footer-inputs .send { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: color 0.2s, border 0.2s; }
.d1-footer-inputs .send:hover { color: #a5885a; border-color: #a5885a; }
.d1-footer-inputs .send svg { width: 14px; height: 14px; }
.d1-lang-toggle { color: rgba(255,255,255,0.8); font-size: 13px; }

.d1-footer-mid { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; display: flex; gap: 40px; }
.d1-socials { display: flex; flex-direction: column; gap: 12px; color: rgba(255,255,255,0.5); }
.d1-socials svg { width: 16px; height: 16px; cursor: pointer; transition: color 0.2s; }
.d1-socials svg:hover { color: #a5885a; }
.d1-footer-cols { display: grid; grid-template-columns: repeat(6,1fr); gap: 32px; flex: 1; }
.d1-footer-col-title { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.15em; margin-bottom: 12px; text-transform: uppercase; }
.d1-footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 6px; transition: color 0.2s; }
.d1-footer-col a:hover { color: #a5885a; }
.d1-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding: 16px 0; font-size: 11px; color: rgba(255,255,255,0.4); text-align: right; }
.d1-footer .d1-logo-text div { color: #a5885a; }

/* Inner page */
.d1-inner-body { background: #fff; }
.d1-hero-inner { position: relative; height: 260px; overflow: hidden; }
.d1-hero-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d1-hero-inner-overlay { position: absolute; inset: 0; background: rgba(165,136,90,0.82); }
.d1-hero-inner-content { position: absolute; inset: 0; max-width: 1280px; margin: 0 auto; padding: 48px 32px; display: flex; flex-direction: column; justify-content: center; }
.d1-hero-inner-eyebrow { color: rgba(255,255,255,0.9); font-size: 14px; letter-spacing: 0.15em; }
.d1-hero-inner-line { width: 380px; height: 2px; background: rgba(255,255,255,0.6); margin: 16px 0; }
.d1-hero-inner-title { color: #fff; font-size: 46px; font-weight: 700; line-height: 1; }

.d1-inner-content { max-width: 1280px; margin: 0 auto; padding: 96px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.d1-inner-imgbox { position: relative; aspect-ratio: 4/3; background: #171717; overflow: hidden; }
.d1-inner-imgbox img { width: 100%; height: 100%; object-fit: cover; }
.d1-inner-imgbox .d1-play { width: 64px; height: 64px; }
.d1-inner-imgbox .d1-play::after { border-left: 16px solid rgba(255,255,255,0.9); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

.d1-inner-text h2 { font-size: 54px; font-weight: 700; color: #a5885a; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
.d1-inner-text p { margin-top: 24px; font-size: 14.5px; line-height: 1.85; color: #262626; max-width: 560px; }
.d1-inner-text p + p { margin-top: 16px; color: #404040; }

@media (max-width: 900px) {
  .d1-header-inner { padding: 20px; }
  .d1-nav { display: none; }
  .d1-lorem, .d1-inner-content { grid-template-columns: 1fr; padding: 48px 24px; gap: 40px; }
  .d1-yayinlar-grid { grid-template-columns: 1fr 1fr; }
  .d1-haberler-grid { grid-template-columns: 1fr; }
  .d1-footer-cols { grid-template-columns: 1fr 1fr; }
  .d1-footer-top { flex-direction: column; gap: 16px; align-items: flex-start; }
  .d1-footer-inputs input.w-mail { width: 100%; }
  .d1-hero-inner-title { font-size: 32px; }
  .d1-hero-inner-line { width: 200px; }
  .d1-lorem h2, .d1-inner-text h2 { font-size: 34px; }
}

/* PDF navigation map integration */
.d1-header-inner { align-items: flex-start; max-width: 1480px; }
.d1-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 0; }
.d1-utility { display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .12em; color: #777; }
.d1-utility a { border: 1px solid rgba(165,136,90,.55); color: #8d7045; padding: 5px 12px; transition: .2s; }
.d1-utility a:hover { background: #a5885a; color: #fff; }
.d1-nav { gap: 18px; justify-content: flex-end; flex-wrap: wrap; }
.d1-nav-home { font-size: 12px; color: #525252; padding: 8px 0; }
.d1-nav-home:hover { color: #a5885a; }
.d1-nav-item > button, .d1-nav-item > a { font-size: 12px; white-space: nowrap; }
.d1-dropdown-inner { max-width: 1480px; }
.d1-dropdown-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; }
.d1-footer-cols { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 36px; }
.d1-footer-col-title { color: #fff; }
@media (max-width: 900px) {
  .d1-header-right { align-items: flex-end; }
  .d1-utility { display: flex; }
  .d1-footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Menu typography correction: original size + stable single-line layout */
@media (min-width: 901px) {
  .d1-header-right { flex: 1 1 auto; }
  .d1-nav {
    flex-wrap: nowrap;
    gap: clamp(12px, 1.2vw, 18px);
    align-items: center;
  }
  .d1-nav-home,
  .d1-nav-item > button,
  .d1-nav-item > a {
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
  }
  .d1-nav-item { flex: 0 0 auto; }
}


/* Desktop menu tuning: slightly larger font without layout shifts */
@media (min-width: 901px) {
  .d1-header-inner { gap: 28px; }
  .d1-nav { gap: clamp(10px, .95vw, 18px); }
  .d1-nav-item > button,
  .d1-nav-item > a,
  .d1-nav-home {
    font-size: clamp(13px, .92vw, 14px);
    line-height: 1.25;
  }
}
