.theme-yayla { --c-primary: #0f4a32; --c-accent: #e0a33a; --c-bg: #f7f8f5; --c-card: #eef2ec; --c-ink: #17231c; --c-muted: #5d6a62; --c-line: #e3e8e2; --f-head: "Source Serif 4", Georgia, "Times New Roman", serif; --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --radius: 16px; --shadow: 0 12px 34px rgba(16, 40, 28, .08); }
.theme-yayla h1, .theme-yayla h2, .theme-yayla h3 { font-weight: 700; }
.btn-white { background: #fff; color: var(--c-ink); border-color: var(--c-line); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.btn-white:hover { border-color: var(--c-primary); color: var(--c-primary); }

.bar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--c-line); }
.bar-in { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--c-primary); flex: 0 0 auto; }
.brand-mark { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--c-primary); overflow: hidden; }
.brand-mark svg { width: 50px; height: 50px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font: 700 17px var(--f-body); letter-spacing: .02em; color: var(--c-primary); }
.brand-text small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--c-primary); opacity: .75; }
.brand.light, .brand.light .brand-mark { color: #fff; }
.brand.light .brand-text strong, .brand.light .brand-text small { color: #fff; }
.nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 24px; }
.nav-link { position: relative; font-size: 14px; font-weight: 500; color: var(--c-ink); padding: 28px 0; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; border-radius: 2px; background: var(--c-primary); transform: scaleX(0); transition: transform .2s ease; }
.nav-link:hover, .nav-link.is-on { color: var(--c-primary); font-weight: 700; }
.nav-link:hover::after, .nav-link.is-on::after { transform: scaleX(1); }
.theme-yayla .nav-sub { top: calc(100% - 14px); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.icon-link { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--c-primary); border: 1px solid var(--c-line); }
.btn-join { min-height: 42px; padding: 9px 24px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.mobile-nav { display: none; }

.yh { position: relative; height: clamp(520px, 72vh, 660px); overflow: hidden; background: #e9efe9; }
.yh-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; background: linear-gradient(90deg, rgba(247, 249, 246, .97) 0%, rgba(247, 249, 246, .88) 32%, rgba(247, 249, 246, .25) 58%, rgba(247, 249, 246, 0) 72%), var(--bg) center right / cover no-repeat; }
.yh-slide.is-on { opacity: 1; visibility: visible; }
.yh-in { height: 100%; display: flex; align-items: center; padding-bottom: 70px; }
.yh.has-video { height: clamp(580px, 80vh, 700px); }
.yh.has-video .yh-in { padding-bottom: 160px; }
.yh-copy { max-width: 540px; }
.yh .kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #2c7a4f; margin-bottom: 16px; }
.yh h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.08; color: #10241a; margin-bottom: 18px; }
.yh-text { font-size: 16.5px; color: #3d4a43; margin-bottom: 28px; max-width: 460px; }
.yh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.yh-actions .btn { min-width: 150px; }
.yh-slide.is-on .yh-copy > * { animation: y-rise .8s ease both; }
.yh-slide.is-on .yh-copy > *:nth-child(2) { animation-delay: .08s; }
.yh-slide.is-on .yh-copy > *:nth-child(3) { animation-delay: .16s; }
.yh-slide.is-on .yh-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes y-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.yh-leaves { position: absolute; right: -30px; top: -20px; width: 260px; color: #2f6b3a; opacity: .9; z-index: 2; pointer-events: none; transform: rotate(8deg); }
.yh-video-wrap { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 3; pointer-events: none; }
.yh-video { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 700; color: var(--c-ink); pointer-events: auto; }
.yh-play { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-primary); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); transition: transform .2s ease; }
.yh-play svg { width: 18px; height: 18px; margin-left: 2px; }
.yh-video:hover .yh-play { transform: scale(1.08); }
.yh-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--c-bg); z-index: 2; }
.yh .slider-dots { position: absolute; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 110px; display: flex; gap: 8px; z-index: 3; }
.yh .slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .7); cursor: pointer; transition: width .2s ease; }
.yh .slider-dots button.is-on { width: 24px; border-radius: 999px; background: #fff; }

.y-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #e5f1e8; color: #1f7a48; flex: 0 0 48px; }
.y-ico .ico { width: 23px; height: 23px; }
.y-ico.square { border-radius: 12px; width: 44px; height: 44px; margin-bottom: 18px; }
:nth-child(4n + 2) > .y-ico { background: #e6f0f5; color: #2a6f8f; }
:nth-child(4n + 3) > .y-ico { background: #fbe9e5; color: #c0533a; }
:nth-child(4n + 4) > .y-ico { background: #fdf1dc; color: #c78316; }

.y-stats { position: relative; z-index: 4; margin-top: -40px; }
.y-stats.flat { margin-top: 0; padding-top: 34px; }
.y-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.y-stat { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.y-stat strong { display: block; font: 700 28px/1 var(--f-body); color: var(--c-ink); }
.y-stat small { display: block; font-size: 13px; color: var(--c-muted); margin-top: 4px; }

.y-values { padding: 34px 0 10px; }
.y-value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.y-value { padding: 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); transition: transform .2s ease, box-shadow .2s ease; }
.y-value:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.y-value h3 { font: 700 18px var(--f-body); margin-bottom: 8px; }
.y-value p { font-size: 14px; color: var(--c-muted); }
.theme-yayla .mtools { padding-top: 28px; }

.y-sec { padding: 48px 0 18px; }
.y-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 22px; }
.y-head h2 { font-size: clamp(26px, 2.6vw, 32px); color: var(--c-ink); }
.y-head p { color: var(--c-muted); margin-top: 6px; max-width: 640px; }
.y-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.y-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.y-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); transition: transform .2s ease, box-shadow .2s ease; }
a.y-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.y-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-card); }
.y-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.y-card:hover .y-card-img img { transform: scale(1.04); }
.y-card-text { display: grid; gap: 8px; padding: 16px 18px 18px; flex: 1; align-content: start; }
.y-card-text strong { font: 700 16.5px/1.35 var(--f-body); color: var(--c-ink); }
.y-card-text small { font-size: 13.5px; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.y-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; color: var(--c-muted); }
.y-card-foot small { font-size: 12.5px; }
.y-card-foot .ico { width: 16px; height: 16px; color: var(--c-ink); }
.theme-yayla .post-badge { border-radius: 999px; background: var(--c-primary); }

.y-events { margin-top: 44px; padding: 48px 0 56px; background: var(--c-primary); color: #fff; }
.y-events .y-head h2 { color: #fff; }
.y-events .more { color: rgba(255, 255, 255, .9); }
.y-events .more:hover { color: #fff; }
.y-events .empty-note { color: rgba(255, 255, 255, .7); }
.y-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.y-event { display: grid; gap: 18px; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.y-event-top { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: start; }
.y-date { display: grid; justify-items: center; align-content: center; height: 64px; border-radius: 10px; background: #fff; color: var(--c-ink); line-height: 1; }
.y-date strong { font: 700 24px var(--f-body); }
.y-date span { font-size: 11px; font-weight: 700; margin-top: 4px; }
.y-event-text { display: grid; gap: 6px; min-width: 0; }
.y-event-text strong { font: 700 17px/1.3 var(--f-body); color: #fff; }
.y-event-text small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.y-event-text .ico { width: 14px; height: 14px; color: var(--c-accent); }
.y-event-btn { display: block; text-align: center; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-size: 13.5px; font-weight: 700; }
.y-event-btn:hover { background: rgba(255, 255, 255, .2); }

.y-reel-wrap { position: relative; }
.y-reel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.y-reel::-webkit-scrollbar { display: none; }
.y-reel-item { margin: 0; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: var(--c-card); }
.y-reel-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.y-reel-item:hover img { transform: scale(1.05); }
.y-reel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--c-primary); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.y-reel-btn.prev { left: -16px; }
.y-reel-btn.next { right: -16px; }

.y-cta { position: relative; overflow: hidden; margin-top: 48px; padding: 64px 0 70px; text-align: center; background: linear-gradient(180deg, rgba(240, 246, 241, .9), rgba(240, 246, 241, .78)), var(--bg, none) center bottom / cover, linear-gradient(180deg, #eef4ee, #dfeadf); }
.y-cta-in { position: relative; z-index: 1; max-width: 720px; }
.y-cta h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }
.y-cta p { color: var(--c-muted); margin-bottom: 24px; }
.y-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.y-cta-actions .btn { min-width: 150px; }
.y-cta-leaf { position: absolute; width: 230px; color: #2f6b3a; opacity: .85; pointer-events: none; }
.y-cta-leaf.left { left: -40px; bottom: -30px; transform: scaleX(-1) rotate(10deg); }
.y-cta-leaf.right { right: -40px; bottom: -40px; transform: rotate(16deg); }

.theme-yayla .page-hero { background: linear-gradient(180deg, rgba(10, 40, 26, .3), rgba(10, 40, 26, .78)), var(--bg, none) center / cover no-repeat, var(--c-primary); }

.site-foot { background: #0b3424; color: rgba(255, 255, 255, .78); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 36px; padding: 52px 24px 36px; }
.foot-about { margin: 14px 0 16px; max-width: 300px; }
.foot-col h3 { font: 700 15px var(--f-body); color: #fff; margin-bottom: 14px; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.foot-links a:hover, .foot-contact a:hover, .foot-legal a:hover { color: #fff; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ico { width: 16px; height: 16px; color: var(--c-accent); margin-top: 3px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.foot-social a:hover { background: var(--c-accent); }
.foot-portal { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: #fff; }
.theme-yayla .foot-news h3 { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; }
.foot-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav-link { font-size: 13px; }
  .y-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .bar-in { justify-content: space-between; min-height: 70px; }
  .nav-toggle { display: grid; }
  .btn-join { padding: 9px 16px; }
  .mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-top: 1px solid var(--c-line); background: #fff; }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 10px 0; font-weight: 700; border-bottom: 1px solid var(--c-line); }
  .mobile-nav .btn { margin-top: 12px; border-bottom: 0; }
  .yh-slide { background: linear-gradient(180deg, rgba(247, 249, 246, .55) 0%, rgba(247, 249, 246, .95) 62%), var(--bg) center / cover no-repeat; }
  .yh-in { align-items: flex-end; padding-bottom: 150px; }
  .yh-leaves { width: 170px; }
  .y-cards, .y-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .y-reel { grid-auto-columns: calc((100% - 16px) / 2.3); }
  .y-reel-btn.prev { left: 6px; }
  .y-reel-btn.next { right: 6px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .brand-text small { display: none; }
  .btn-join { display: none; }
  .yh { height: 600px; }
  .yh h1 { font-size: 34px; }
  .y-stats { margin-top: -20px; }
  .y-stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .y-stat { padding: 16px; gap: 10px; }
  .y-stat .y-ico { width: 38px; height: 38px; flex-basis: 38px; }
  .y-stat strong { font-size: 22px; }
  .y-cards, .y-cards.four, .y-event-grid { grid-template-columns: 1fr; }
  .y-head { flex-direction: column; align-items: flex-start; }
  .y-reel { grid-auto-columns: 72%; }
  .foot-grid { grid-template-columns: 1fr; }
}
