.supplier-panel { display: none; }
.supplier-panel.is-open { display: block; }
/* Base design system for an elite construction brand */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #141319;
  --muted: #5b5b67;
  --accent: #6b4df6;
  --accent-strong: #5a3ff0;
  --line: #eceaf6;
  --container: 1200px;
  --blur-bg: rgba(255,255,255,0.65);
}

* { box-sizing: border-box; }
html, body { height: 100%; overflow-x: hidden; }
body { 
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  padding-top: 72px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Remove top padding on admin pages */
.admin-page { padding-top: 0; display: flex; flex-direction: column; min-height: 100dvh; }
.admin-page .admin { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.85)); border-bottom: 1px solid var(--line); }
body.menu-open .site-header { background: #ffffff; border-bottom-color: var(--line); backdrop-filter: none; }
.nav { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; min-height: 72px; height: 72px; column-gap: 12px; }
.brand-logo { width: auto; height: auto; }
.brand-logo--sm { height: 34px; }
.brand-logo--no-invert { }
.site-header .brand-logo { width: 130px; height: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; justify-content: center; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-call { padding: 6px 12px; border-radius: 3px; font-size: 14px; line-height: 1.1; }
/* Compact outlined style specifically for the call button */
.btn.btn--primary.btn-call { background: transparent; color: var(--accent); border-color: var(--accent); padding: 4px 10px; font-size: 13px; line-height: 1.1; border-radius: 3px; }
.btn.btn--primary.btn-call:hover { background: var(--accent); color: #fff; border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(107,77,246,.15); }
.social { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--muted); transition: color .2s ease, transform .2s ease; }
.social a svg { width: 32px; height: 32px; }
.social a:hover { color: var(--accent); transform: scale(1.06); }
/* Hide menu-only items on desktop */
.social--menu, .btn-call--menu { display: none; }

/* When header starts to squeeze, move actions to top row and menu to second row */
@media (max-width: 1024px) {
  .nav { grid-template-columns: 1fr auto auto; grid-template-areas: 
    "brand nav-actions nav-actions"
    "nav-links nav-links nav-links"; row-gap: 0; height: 72px; }
  .brand { grid-area: brand; }
  .nav-actions { grid-area: nav-actions; justify-self: end; margin-right: 8px; }
  .nav-links { grid-area: nav-links; justify-content: center; margin-top: -30px; }
  /* Shrink icons and spacing in compact two-row layout */
  .nav-actions .social a { width: 44px; height: 44px; margin-top: -20px; }
  .nav-actions .social a svg { width: 32px; height: 32px; }
  .btn-call { padding: 4px 10px; font-size: 12px; margin-top: -20px; }
  .nav-links a { padding: 4px 4px; }
}
@media (max-width: 720px) {
  .social--menu { margin-top: 12px; display: inline-flex; }
  /* Hide socials in bottom bar; keep inline socials after menu items */
  .nav-actions .social { display: none; }
  .btn-call--menu { margin-top: 8px; width: fit-content; }
  .nav-actions .btn-call { display: none; }
}
.nav-links a { color: var(--muted); padding: 8px 4px; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav-links a:hover { color: var(--text); border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; padding: 0; border-radius: 6px; display: none; align-items: center; justify-content: center; font-size: 20px; line-height: 1; }
body.menu-open .nav-toggle { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(107,77,246,.15); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 3px; border: 1px solid var(--line); font-weight: 600; transition: all .2s ease; }
.btn--primary { background: var(--accent); border-color: var(--accent-strong); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: #f4f2ff; border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(107,77,246,.18); }
/* Ghost butonlarda özel renk: border sabit kalır, hover'da sadece yazı rengi değişir */
.btn.btn--ghost.hero-ghost { border-color: var(--line); }
.btn.btn--ghost.hero-ghost:hover { color: var(--ghost-hover-color, var(--accent)) !important; border-color: var(--line) !important; box-shadow: none !important; background: transparent !important; }

/* Hero */
.hero { position: relative; padding: 140px 0 56px; overflow: hidden; border-bottom: 0; box-shadow: inset 0 -3px var(--line); background:
  radial-gradient(900px 500px at 50% 120%, rgba(107,77,246,.07), transparent 60%),
  linear-gradient(180deg, #ffffff, #f6f3ff 70%),
  repeating-linear-gradient(0deg, rgba(20,19,25,.03) 0 1px, transparent 1px 96px),
  repeating-linear-gradient(90deg, rgba(20,19,25,.03) 0 1px, transparent 1px 96px);
}
.hero::before { content: none; }
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 200px; background: linear-gradient(90deg, rgba(107,77,246,0), rgba(107,77,246,.8), rgba(107,77,246,0)); filter: blur(2px); animation: moveRight 10s linear infinite alternate; }
@keyframes moveRight { from { transform: translateX(0); } to { transform: translateX(calc(100vw - 200px)); } }
@keyframes moveLeft { from { transform: translateX(calc(100vw - 200px)); } to { transform: translateX(0); } }
.hero__bg { position: absolute; inset: -10% -10% 0 -10%; background:
  radial-gradient(900px 600px at 20% -10%, rgba(107,77,246,0.10), transparent 60%),
  radial-gradient(800px 600px at 90% 0%, rgba(167,139,250,0.10), transparent 55%),
  conic-gradient(from 210deg at 60% -40%, rgba(0,0,0,0.03), transparent 60%);
  transform: translateZ(0);
  animation: floatBg 18s ease-in-out infinite;
}
@keyframes floatBg { 0%,100% { transform: translateY(-2%) scale(1.02); } 50% { transform: translateY(2%) scale(1.05); } }
.hero__inner { position: relative; text-align: left; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
/* removed empty rulesets */
.badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #f4f2ff; border: 1px solid var(--line); color: var(--accent); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.hero__media { position: relative; z-index: 1; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px rgba(17,17,23,.08); margin-top: 0; background: #fff; overflow: hidden; }
.video-embed { position: relative; z-index: 1; width: 100%; padding-top: 62.5%; cursor: pointer; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 20px; }
.video-clean iframe { background: #000; }
.video-cover { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: auto; background:
  linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)),
  #000; border: 0; cursor: pointer; display: grid; place-items: center; }
.video-cover .play-btn { width: 76px; height: 76px; border-radius: 999px; background: radial-gradient(circle at 40% 40%, #7c63ff, var(--accent)); box-shadow: 0 10px 30px rgba(107,77,246,.45); position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.video-cover .play-btn::after { content: ""; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #ffffff; }
.video-cover:hover .play-btn { transform: scale(1.04); box-shadow: 0 12px 36px rgba(107,77,246,.55); }
.video-cover:hover .play-btn { transform: scale(1.04); }
.video-embed.is-playing .video-cover { display: none; }
.cover-brand { position: absolute; top: 16px; left: 16px; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 3; }
.cover-logo { height: 34px; filter: brightness(0) invert(1); opacity: .98; }
.cover-label { color: #ffffff; font-weight: 600; letter-spacing: .02em; text-transform: none; line-height: 1; }
.meta { display: flex; gap: 16px; padding: 0; margin: 12px 0 0; list-style: none; color: var(--muted); }
.meta strong { color: var(--accent); }
.scroll-indicator { display: block; width: 14px; height: 14px; margin: 12px auto 0; position: relative; color: var(--muted); }
.scroll-indicator::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--muted); border-top: transparent; border-left: transparent; transform-origin: 50% 50%; rotate: 45deg; animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 0%,100% { translate: 0 0; } 50% { translate: 0 4px; } }
.display { font-family: "Syne", ui-sans-serif, system-ui, -apple-system; font-weight: 800; letter-spacing: 0.1px; font-size: clamp(38px, 7vw, 74px); line-height: 1.03; margin: 0 0 16px; color: #0e0d13; }
.lede { color: #59586a; max-width: 720px; font-size: 18px; line-height: 1.6; margin: 0 0 28px; }
.actions { display: flex; gap: 12px; margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.stat__num { font-size: 24px; font-weight: 700; color: var(--accent); }
.stat__label { color: var(--muted); }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); transition-delay: var(--reveal-delay, 0ms); }

/* Hero title logo sizing */
.hero-title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: -20px; }
.hero-logo { width: 600px; height: auto; vertical-align: middle; }
/* Only move the hero description up, not global .lede */
.hero__content .lede { margin-top: -20px; }

/* Sections */
.section { padding: 84px 0; border-bottom: 1px solid var(--line); position: relative; }
.section--alt { background: linear-gradient(180deg, #ffffff, #faf9ff); position: relative; }

.section__bg { 
  background-size: cover !important; 
  background-position: center !important; 
  background-repeat: no-repeat !important; 
  opacity: 0.08 !important; 
  z-index: -1 !important; 
}

.section__hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(30,136,229,.06), transparent 60%),
    linear-gradient(180deg, #ffffff, #f8fbff 70%),
    repeating-linear-gradient(0deg, rgba(20,19,25,.02) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(20,19,25,.02) 0 1px, transparent 1px 96px);
}

.section__hero-bg::before {
  content: '';
  position: absolute;
  inset: -10% -10% 0 -10%;
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(30,136,229,0.08), transparent 60%),
    radial-gradient(800px 600px at 90% 0%, rgba(100,181,246,0.06), transparent 55%),
    conic-gradient(from 210deg at 60% -40%, rgba(0,0,0,0.02), transparent 60%);
  transform: translateZ(0);
  animation: floatBg 18s ease-in-out infinite;
}


.section--tight { padding: 32px 0 48px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section__head h2 { font-family: "Syne", ui-sans-serif, system-ui, -apple-system; font-size: 32px; margin: 0; }
.section__head p { color: var(--muted); margin: 0; }

/* Viole öncesi projeler başlığı için küçük font */
#viole-oncesi-projeler .section__head h2 {
  font-size: 24px;
  line-height: 1.3;
}

/* removed glow between sections */

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: stretch; }
.projects-grid--featured { grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; }
.project-card { background: #ffffff; border: 1px solid var(--line); border-radius: 0 0 18px 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(17,17,23,.06); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; height: 100%; display: block; }
.project-card--xl { grid-row: auto; display: block; }
.project-card__link { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.project-card--xl .project-card__link { display: flex; flex-direction: column; }
.project-card__image { aspect-ratio: 16 / 9; width: 100%; background: #ffffff; border-bottom: 1px solid var(--line); background-position: center; background-size: cover; background-repeat: no-repeat; transition: transform .25s ease; }
.project-card__image--xl { aspect-ratio: 16 / 9; }
.project-card__image, .project-card__image--xl { background-size: cover; background-position: center; background-repeat: no-repeat; }
.project-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; align-content: start; height: 100%; }
.project-card__title { font-size: 20px; line-height: 1.25; margin: 0; }
.project-card__desc { font-size: 14px; }
.project-card__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.project-card__arrow { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); background: #f6f4ff; color: var(--accent); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.project-card:hover .project-card__arrow { transform: translateX(2px); border-color: rgba(107,77,246,.35); box-shadow: 0 4px 14px rgba(17,17,23,.08); }
.project-card:hover .project-card__image { transform: scale(1.03); }
.project-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.project-card__title { font-size: 18px; margin: 0 0 8px 0; line-height: 1.25; min-height: calc(1.25em * 2); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-card__stage-row { margin: 8px 0; }
.project-card__stage { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; background: #6b4df6; color: #ffffff; }
.project-card__desc { margin: 0; color: var(--muted); line-height: 1.45; min-height: calc(1.45em * 3); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.chip { font-size: 12px; padding: 0 10px; height: 24px; display: inline-flex; align-items: center; border-radius: 999px; background: #f3f0ff; color: var(--accent); border: 1px solid var(--line); }
.project-card__arrow { color: var(--accent); transition: transform .2s ease; }
.project-card:hover { box-shadow: 0 16px 40px rgba(17,17,23,.10); border-color: rgba(107,77,246,.25); }
.project-card:hover .project-card__arrow { transform: translateX(3px); }

/* Logo AS overlay for empty project card slots */
.project-card--logo-as {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  grid-row: span 1;
}

.project-card__logo-as-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.project-card__logo-as-overlay img {
  opacity: 0.15;
}

/* Slider */
.slider { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.slider__track { overflow: hidden; }
.slider__track > div { display: inline-flex; gap: 14px; will-change: transform; transition: transform .4s ease; }
.slide { width: 271px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(17,17,23,.06); }
.slide__image { aspect-ratio: 4 / 3; background: linear-gradient(135deg, rgba(107,77,246,.12), rgba(167,139,250,.06)); border-bottom: 1px solid var(--line); }
.slide__body { padding: 12px; }
.slider__arrow { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.slider__arrow:hover { border-color: var(--accent); }
.slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 15px; }
.slider__dots button { width: 6px; height: 6px; border-radius: 999px; border: 0; background: #d8d5ee; cursor: pointer; }
.slider__dots button.is-active { width: 18px; border-radius: 999px; background: var(--accent); }

/* About */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.about__text p { color: var(--muted); }
.about__media { height: 320px; border: 1px solid var(--line); border-radius: 16px; background:
  linear-gradient(180deg, #ffffff, #fafaff),
  repeating-linear-gradient(0deg, rgba(20,19,25,.04) 0 1px, transparent 1px 24px),
  repeating-linear-gradient(90deg, rgba(20,19,25,.04) 0 1px, transparent 1px 24px);
}
.list { color: var(--text); padding-left: 18px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.service h3 { margin: 6px 0 8px; font-size: 18px; }
.service p { margin: 0; color: var(--muted); }
/* Reduce specialty cards vertically by 20px */
#alanlar .service { min-height: 240px; }
/* Partner cards enhancements */
.service { display: flex; flex-direction: column; min-height: 260px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17,17,23,.08); border-color: rgba(107,77,246,.25); }
.service .card-icon { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #f3f0ff; color: var(--accent); margin-bottom: 8px; }
.service .card-icon svg { width: 20px; height: 20px; }
.services .service .actions { display: grid; grid-auto-rows: min-content; gap: 8px; }
.services .service .actions .btn { width: 100%; }
/* Inline supplier form */
.inline-form { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease, opacity .25s ease, margin-top .25s ease; opacity: 0; margin-top: 0; }
.inline-form.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
.inline-form > form { overflow: hidden; }
.inline-form .contact__form { box-shadow: none; border-radius: 12px; }
.service .list { margin: 8px 0 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact__info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 12px 0 0; color: var(--muted); }
.contact__form { background: linear-gradient(180deg, #ffffff, #fbfaff); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 6px 24px rgba(17,17,23,.06); }
.contact__info h2 { font-family: "Syne", ui-sans-serif, system-ui, -apple-system; font-size: 24px; margin: 14px 0 6px; }
.form-row { display: grid; gap: 8px; margin-bottom: 14px; }
label { font-size: 14px; color: var(--muted); }
input, textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #e5e3f2; background: #ffffff; color: var(--text); outline: none; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(107,77,246,.15); }
.form-status { margin-top: 8px; color: var(--muted); min-height: 22px; }
.form-status.is-ok { color: #198754; }
.form-status.is-error { color: #c0392b; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #faf9ff; }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 2px 0; }
.footer__nav { display: flex; gap: 16px; color: var(--muted); }
.footer__nav a:hover { color: var(--text); }

/* Footer AS Logo */
.footer__as-logo {
  display: flex;
  align-items: center;
}

.footer-logo-as-link {
  display: block;
  width: 150px;
  height: 150px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.footer-logo-as-overlay {
  width: 100%;
  height: 100%;
  background: url('../img/logoAS.png') no-repeat center / contain;
  transition: transform 0.2s ease;
}

.footer-logo-as-link:hover {
  transform: scale(1.05);
}

.footer-logo-as-link:hover .footer-logo-as-overlay {
  transform: scale(1.05);
}
/* Admin header */
.admin-header { position: sticky; top: 0; z-index: 120; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.85)); border-bottom: 1px solid var(--line); backdrop-filter: saturate(180%) blur(8px); }
.site-header .container, .admin-header .container { max-width: 100%; padding: 0 16px; }
.admin-header__inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; min-height: 64px; }
.admin-nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 6px; font-size: 20px; }
.admin-nav-toggle { display: none; align-items: center; justify-content: center; padding: 0; line-height: 1; }
.admin-header__brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.admin-header__logo { height: auto; width: 150px; filter: var(--logo-filter); }
.admin-header__title { display:none; }
.admin-header__nav { display: inline-flex; gap: 10px; justify-self: end; align-items: center; white-space: nowrap; }
.admin-header .btn { border-radius: 3px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; color: var(--text); }
.admin-header .btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px rgba(107,77,246,.12); }
.admin-header__nav a { color: var(--muted); }
.admin-header__nav a:hover { color: var(--text); }
.admin-footer { border-top: 1px solid var(--line); background: #faf9ff; margin-top: 20px; }
.admin-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--muted); }
.admin-footer__nav a { color: var(--muted); }
.admin-footer__nav a:hover { color: var(--text); }

/* Admin layout */
.admin-layout { display: block; }
.admin-sidebar { position: fixed; top: 84px; left: 0; bottom: 0; width: 220px; overflow: auto; padding: 16px 14px; border-right: 1px solid var(--line); background: linear-gradient(180deg, #ffffff, #fbfbff); }
.admin-content { margin-left: 220px; }
.admin-sidebar__title { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 10px; }
.admin-menu { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.admin-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); border: 1px solid transparent; margin: 0; }
.admin-sidebar, .admin-sidebar * { box-sizing: border-box; }
.admin-menu a:hover { background: #f7f6ff; border-color: var(--line); }
.admin-menu a.is-active { background: #f4f2ff; border-color: rgba(107,77,246,.25); color: var(--accent); }
.admin-menu svg { width: 18px; height: 18px; color: var(--muted); }
.admin-sidebar li > a .caret { margin-left: auto; transition: transform .2s ease; }
.admin-sidebar li.is-open > a .caret { transform: rotate(180deg); }
.admin-sidebar li > ul { display: none; }
.admin-sidebar li.is-open > ul { display: grid; }

.admin-content { padding: 20px; }
.admin { width: 100%; margin: 0; padding: 20px; }
.admin-section { margin-bottom: 18px; }
.admin-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.admin-section__head h2 { font-family: "Syne", ui-sans-serif, system-ui, -apple-system; font-size: 20px; margin: 0; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 14px; }
.admin-stats#market-stats { grid-template-columns: 1fr 1fr 2fr; }
.admin-stat { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; box-shadow: 0 4px 16px rgba(17,17,23,.04); }
.admin-stat--full { grid-column: 1 / -1; }
.admin-stat--compact { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 10px 12px; min-height: 90px; }
.admin-stat--compact .admin-stat__num { font-size: 22px; }
.admin-stat--compact .admin-stat__label { font-size: 12px; margin-top: 0; }
.admin-stat--compact .rate-meta { justify-content: center; }
.admin-stat__num { font-size: 24px; font-weight: 800; color: var(--accent); }
.admin-stat__label { color: var(--muted); margin-top: 4px; font-size: 13px; }
.rate-meta { display: flex; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 6px; }
.rate-meta b { color: var(--text); font-weight: 600; }
.fxc__box { border: 1px dashed var(--line); border-radius: 10px; padding: 10px; background: linear-gradient(180deg,#fff, #faf9ff); position: relative; padding-right: 64px; }
.fxc { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; }
.fxc input[type="number"], .fxc select { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 14px; background:#fff; }
.fxc input[type="number"] { width: 120px; }
.fxc button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--muted); }
.fxc button:hover { border-color: rgba(107,77,246,.35); color: var(--accent); box-shadow: 0 2px 10px rgba(17,17,23,.06); }
.fxc__meta { display: flex; align-items: baseline; gap: 8px; }
.fxc__reset { position: absolute; right: 10px; top: 10px; bottom: 10px; width: 56px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; border-radius: 8px; color: var(--muted); cursor: pointer; }
.fxc__reset:hover { border-color: rgba(107,77,246,.35); color: var(--accent); box-shadow: 0 2px 10px rgba(17,17,23,.06); }
.fxc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.fxc__out div { display: inline-flex; align-items: baseline; gap: 6px; justify-content: center; }
@media (max-width: 720px) {
  .fxc { grid-template-columns: 1fr 1fr; }
  .fxc button { grid-column: 1 / -1; }
}

/* Form validation visuals */
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220,53,69,.08);
}

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; box-shadow: 0 6px 20px rgba(17,17,23,.06); overflow: auto; }
.admin-card h3 { margin: 0 0 8px; font-size: 16px; }
/* Accordion */
.admin-accordion__item { border-bottom: 1px solid var(--line); }
.admin-accordion__head { width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.admin-accordion__chev { margin-left: auto; color: var(--muted); }
.admin-accordion__body { display: none; padding: 10px 12px; }
.admin-accordion__item.is-open .admin-accordion__body { display: block; }
.admin-dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 12px; margin: 0 0 10px; }
.admin-dl dt { color: var(--muted); }
/* Contact detail two-column layout */
.contact-detail { display: grid; grid-template-columns: 280px 1fr; gap: 10px 14px; align-items: start; }
.contact-detail .left { display: grid; gap: 6px; }
.contact-detail .left .row { color: var(--text); }
.contact-detail .left .row strong { color: var(--muted); margin-right: 6px; }
.contact-detail .right .msg-label { color: var(--muted); margin-bottom: 4px; }
.contact-detail .right .msg-body { white-space: pre-wrap; }
@media (max-width: 720px) {
  .contact-detail { grid-template-columns: 1fr; }
}
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.admin-toolbar .left, .admin-toolbar .right { display: inline-flex; gap: 8px; align-items:center; }
.admin-check { width: 18px; height: 18px; }
/* Tabs */
.admin-tabs { display: inline-flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.admin-tab { appearance: none; background: #fff; border: 1px solid var(--line); border-bottom-color: transparent; border-radius: 3px 3px 0 0; padding: 8px 12px; cursor: pointer; color: var(--muted); }
.admin-tab.is-active { color: var(--accent); border-color: rgba(107,77,246,.25); background: #f7f6ff; }
.admin-panels > .admin-panel { display: none; }
.admin-panels > .admin-panel.is-active { display: block; }

table.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; table-layout: fixed; }
table.admin-table th, table.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; word-break: break-word; }
table.admin-table th { background: #faf9ff; color: var(--muted); font-weight: 600; }
table.admin-table tr:last-child td { border-bottom: 0; }
/* Dense mode for compact rows */
table.admin-table--dense th, table.admin-table--dense td { padding: 6px 8px; font-size: 13px; }

.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.admin-table .badge { white-space: nowrap; word-break: keep-all; }
.badge--ok { color: #198754; border-color: #1987541a; background: #1987540d; }
.badge--warn { color: #b58900; border-color: #b589001a; background: #b589000d; }
.badge--new { color: var(--accent); border-color: rgba(107,77,246,.25); background: #f4f2ff; }

.admin-actions { display: inline-flex; gap: 8px; }
.admin-actions .btn { min-width: 0; }
.admin-actions .btn svg { width: 18px; height: 18px; margin-right: 8px; }
/* Metin kırılmasın; yer daralınca görünmesin */
.admin-actions .btn span { white-space: nowrap; overflow: hidden; text-overflow: clip; }
/* Rehber seçim kutuları: kare ve küçük */
.guide-row-check, #guideSelectAll { width: 14px; height: 14px; border-radius: 0; accent-color: var(--accent); }
@media (max-width: 768px) {
  .admin-actions .btn span { display: none; }
  .admin-actions .btn svg { margin-right: 0; }
}

@media (max-width: 1024px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); width: auto; }
  .admin-content { margin-left: 0; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-stats#market-stats { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-nav-toggle { display: inline-flex; justify-self: end; }
  .admin-sidebar { display: none; }
  .admin-sidebar.is-open { display: block; }
}

@media (max-width: 600px) {
  table.admin-table th, table.admin-table td { font-size: 13px; padding: 8px 10px; }
  /* E-posta sütununu gizle, dar ekranda taşıcı azalt */
  table.admin-table th:nth-child(4),
  table.admin-table td:nth-child(4) { display: none; }
  /* Sadece Durum ve Aksiyon hücrelerini alt satıra al */
  table.admin-table td:nth-child(5),
  table.admin-table td:last-child { display: block; width: 100%; white-space: normal; }
  .admin-actions { display: grid; grid-template-columns: 1fr; gap: 6px; }
  
  /* Very small screen logo AS sizing */
  .logo-as-link {
    width: 80px;
    height: 80px;
    top: -30px;
    right: 10px;
  }
}

/* Marquee */
.marquee { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: #ffffff; }
.marquee__track { display: inline-flex; gap: 40px; padding: 12px 0; min-width: 200%; animation: slide 22s linear infinite; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.marquee__track span { opacity: .85; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Manifesto */
/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,19,25,.55); backdrop-filter: blur(2px); }
.modal__dialog { position: relative; z-index: 1; width: min(640px, 92vw); margin: 6vh auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px rgba(17,17,23,.18); padding: 18px; }
.modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.modal__close { background: none; border: 1px solid var(--line); border-radius: 3px; width: 36px; height: 36px; font-size: 20px; line-height: 1; cursor: pointer; }
.modal__body { max-height: 50vh; overflow: auto; padding-right: 6px; }
.modal__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.link-like { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; }
/* Checkbox size and shape */
.contact__form input[type="checkbox"], .modal__dialog input[type="checkbox"] { width: 16px; height: 16px; vertical-align: middle; accent-color: var(--accent); border-radius: 3px; }
.manifesto { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.manifesto__item { background: linear-gradient(180deg, #ffffff, #fafaff); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 6px 24px rgba(17,17,23,.06); }
.manifesto__item h3 { margin: 6px 0 8px; }
.manifesto__item p { margin: 0; color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .projects-grid--featured { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
}

/* Ensure mobile-only call button hidden on desktop despite generic .btn rules */
.nav-links .btn-call--menu { display: none; }

@media (max-width: 720px) {
  .section { padding: 24px 0; }
  .container { padding: 0 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; top: calc(72px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 90; background: transparent; border-bottom: none; padding: 0 0 14px; display: none; margin-top: 0 !important; }
  .nav-links.is-open { display: grid; grid-auto-rows: min-content; gap: 12px; }
  /* Create the white dropdown panel without leaving a gap at the header */
  .nav-links.is-open { background: rgba(255,255,255,.98); padding: 8px 16px 14px; border-bottom: 1px solid var(--line); }
  /* removed mobile brand row */
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-toggle { justify-self: end; z-index: 200; position: static; }
  /* Mobile bottom actions bar */
  .nav-actions { display: none; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); z-index: 101; justify-content: space-between; align-items: center; }
  .nav-links.is-open ~ .nav-actions { display: flex; }
  .nav-actions .btn-call { padding: 8px 14px; font-size: 15px; }
  .nav-actions .social a { width: 40px; height: 40px; }
  .hero { padding: 72px 0; }
  .hero-logo { width: clamp(180px, 50vw, 280px); }
  /* Force inline-sized hero logo to fit */
  .hero-title img.hero-logo { width: 100% !important; height: auto !important; }
  .hero-title .hero-logo { width: 100% !important; height: auto !important; }
  .display { word-break: break-word; }
  .actions { flex-wrap: wrap; gap: 10px; }
  /* Metin taşmalarını önle */
  .display, .lede, h1, h2, h3, p, a, .plan-caption { overflow-wrap: anywhere; word-break: break-word; }
  /* Genel medya kapsayıcıları taşmasın */
  .media, .media-frame { width: 100% !important; max-width: 100% !important; }
  .video-embed { padding-top: 56.25%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { flex-direction: column; align-items: flex-start; }
  .manifesto { grid-template-columns: 1fr; }
  /* Show mobile-only call button inside menu */
  .nav-links .btn-call--menu { display: inline-flex; }
  
  /* Mobile logo AS sizing */
  .logo-as-link {
    width: 100px;
    height: 100px;
    top: -25px;
    right: 15px;
  }
  
  /* Mobile footer AS logo sizing */
  .footer-logo-as-link {
    width: 80px;
    height: 80px;
  }
  /* Uzmanlık alanları: mobilde 2x2 düzen ve daha iyi okunabilirlik */
  .services { grid-template-columns: 1fr 1fr !important; }
  .service h3 { font-size: 16px; }
  .service p { font-size: 14px; line-height: 1.45; }
  /* General mobile flex rows used on project pages */
  .hero__row { flex-direction: column !important; align-items: stretch !important; gap: 16px !important; }
  .hero__content, .hero__side { width: 100% !important; }
  .display { font-size: clamp(26px, 8vw, 40px); }
  .lede { font-size: 16px; }
  .plans-grid { grid-template-columns: 1fr !important; }
  .media iframe, .media video, .media-frame iframe { width: 100% !important; height: 100% !important; display: block; }
  .hero__logoas img { width: 100% !important; height: auto !important; }
  /* Viole Meydan özel sayaç düzeni */
  .stats { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; }
  .stats .stat { flex: 1 1 calc(50% - 6px); min-width: 140px; text-align: center; }
  /* Content slider tek sütun */
  #content-slider { display: flex; flex-direction: column !important; gap: 6px !important; }
  #content-slider .slider__left, #content-slider .slider__right { width: 100% !important; }
  #content-slider .slider__left > div[style*="display:flex"] { justify-content: center !important; margin-top: 4px !important; margin-bottom: 0 !important; }
  /* Başlık ve metin aralıklarını kısalt */
  [aria-label="İçerik Slider"] #slider-title { margin: 0 0 2px !important; }
  [aria-label="İçerik Slider"] #slider-desc { margin: 0 !important; }
  /* Medya çerçevesi: taşma/boşluk önleme */
  [aria-label="İçerik Slider"] { padding: 28px 0 !important; }
  #content-slider .slider__frame { aspect-ratio: 16 / 9 !important; height: auto !important; max-height: 22vh !important; margin: 0 !important; }
  #content-slider .slider__frame img { object-fit: cover !important; width: 100% !important; height: 100% !important; }
  /* İstenilen boşluk azaltımı: üstten -300px, alttan -500px */
  [aria-label="İçerik Slider"] { 
    padding-top: 8px !important; 
    padding-bottom: 8px !important; 
    margin-top: 0 !important; 
    margin-bottom: 0 !important; 
  }
  /* Kat Planları başlığı görünür ve yakın olsun */
  [aria-label="Kat Planları"] { margin-top: 4px !important; padding-top: 16px !important; }
  [aria-label="Kat Planları"] .section__head { margin-bottom: 8px !important; }
  [aria-label="Kat Planları"] .section__head h2 { margin: 0 !important; }
  [aria-label="Kat Planları"] .plans-grid { gap: 10px !important; }

  /* Görsel ile butonlar arası boşluğu yarıya indir */
  .hero__side .actions { margin-top: 10px !important; }
  #content-slider .slider__left > div[style*="display:flex"] { margin-top: 4px !important; }
  /* Slider fotoğraf alanı: mobilde fazla yüksekliği önle */
  #content-slider .slider__frame { margin: 0 !important; max-height: 18vh !important; height: auto !important; overflow: hidden !important; display: block !important; line-height: 0 !important; }
  .plans-grid .plan-item { margin-top: 0 !important; }
}

/* Feature banner under hero */
.feature-banner { position: relative; border-bottom: 1px solid var(--line); background: url('../img/bgs.png') right center / contain no-repeat; height: 500px; display: flex; align-items: center; }
.feature-banner::before { content: none; }
.feature-banner__content { padding: 0 16px; }
.feature-banner__text { text-align: left; max-width: 800px; margin: 0; }
.feature-banner__content h2 { margin: 0 0 8px; font-family: "Syne", ui-sans-serif; font-size: 34px; }
.feature-banner__content p { margin: 0; max-width: 800px; color: #4b4a58; }

/* Logo AS link and overlay on feature banner */
.logo-as-link {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 150px;
  height: 150px;
  z-index: 2;
  text-decoration: none;
  display: block;
}

.logo-as-overlay {
  width: 100%;
  height: 100%;
  background: url('../img/logoAS.png') no-repeat center / contain;
  transition: transform 0.2s ease;
}

.logo-as-link:hover .logo-as-overlay {
  transform: scale(1.05);
}

/* Moving glow at top edge of the first alt section (opposite direction) */
.section--alt::before { content: none; }
.section--alt::after { content: none; }

/* removed glow under feature banner */


