:root{
  --gold: rgba(212,175,55,.95);
  --gold2: rgba(212,175,55,.45);

  --accent: #d6b36a;

  --glass: rgba(255,255,255,.10);
  --glass2: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 18px;
  --card: rgba(255,255,255,.94);
  --ink: #111;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  overflow-x:hidden;
}

.bg{
  position:fixed;
  inset:0;
  z-index:-2;
}
.bg-video{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(1.05) contrast(1.05);
}
.bg-overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(60% 60% at 50% 30%, rgba(0,0,0,.18), rgba(0,0,0,.70));
  z-index:1;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:18px 22px;
  gap:16px;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,.06));
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.brand{ display:flex; align-items:center; gap:12px; min-width: 220px; }
.logo{
  width:42px;height:42px;border-radius:14px;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.08));
  box-shadow: var(--shadow);
}
.brand-title{ font-weight:800; letter-spacing:.2px; }
.brand-sub{ font-size:12px; color:var(--muted); margin-top:2px; }

.burger{
  display:none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.nav-link{
  position:relative;
  color:var(--text);
  text-decoration:none;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.nav-link:hover{ transform: translateY(-1px); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }
.nav-link.active{ background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.26); }
.nav-link.active::after{
  content:"";
  position:absolute;
  left:14px; right:14px; bottom:6px;
  height:2px;
  background: rgba(255,255,255,.75);
  border-radius: 99px;
}

.nav-cta{
  margin-left:auto;
  text-decoration:none;
  color:#0b0b0b;
  background: rgba(255,255,255,.92);
  padding:10px 14px;
  border-radius:14px;
  font-weight:800;
}

/* Hero */
.hero{
  min-height: calc(100vh - 160px);
  display:flex;
  align-items:center;
  padding: 24px;
}
.hero-inner{
  width:min(960px, 100%);
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.pill{
  width: fit-content;
  margin: 0 auto 14px;

  display:inline-flex;
  gap:10px;
  padding:8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;
}
.hero h1{ margin:0 0 10px; font-size:42px; line-height:1.08; letter-spacing: -0.4px; }
.hero p{ margin:0 0 18px; color: var(--muted); font-size:16px; max-width: 62ch; 
  font-size: var(--heroTextSize, 16px);
  color: var(--heroTextColor, rgba(255,255,255,.82));
  text-align: var(--heroTextAlign, justify);
  text-justify: inter-word;
}

.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.btn{
  cursor:pointer;
  border:0;
  padding:12px 14px;
  border-radius:14px;
  background: rgba(255,255,255,.92);
  color:#0b0b0b;
  font-weight:800;
}
.btn.ghost{
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
}

/* Overlay Panel */
.panel.hidden{ display:none; }
.panel{
  position:fixed;
  inset:0;
  z-index:50;
}
.panel-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(3px);
}
.panel-card{
  position:relative;
  width:min(1040px, 92vw);
  max-height: 86vh;
  margin: 8vh auto;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,.92);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel-content{
  padding: 22px 22px 28px;
  overflow:auto;
  max-height: 86vh;
}
.panel-close{
  position:absolute;
  top:10px; right:10px;
  width:42px; height:42px;
  border:0; cursor:pointer;
  border-radius:14px;
  background: rgba(0,0,0,.06);
  font-size:18px;
}

.page h2{ margin: 6px 0 12px; font-size: 28px; letter-spacing: -0.2px; }
.page-body{ line-height: 1.7; font-size: 15.5px; color: rgba(255,255,255,.86); }
.page-body h3{ margin-top: 18px; }
.page-body .grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.page-body .card{
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.p404{ padding: 18px; }

/* Footer */
.footer{
  padding: 18px 24px;
  display:flex;
  justify-content:flex-start;
  gap:12px;
  color: var(--muted);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-note{ text-align:right; max-width: 70ch; }

/* Mobile Nav */
@media (max-width: 860px){
  .burger{ display:inline-flex; }
  .nav{
    display:none;
    position:absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(0,0,0,.48);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
  }
  .nav.open{ display:flex; }
  .nav-link, .nav-cta{ flex: 1 1 auto; text-align:center; }
  .hero h1{ font-size:30px; }
  .page-body .grid{ grid-template-columns: 1fr; }
  .footer{ flex-direction:column; }
  .footer-note{ text-align:left; }
}

/* Dropdown */
.nav-item{ position:relative; display:flex; align-items:center; }
.nav-item .chev{ font-size: 12px; opacity: .8; margin-left: 6px; }
.dropdown-menu{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  display:none;
}
.dropdown-link{
  display:block;
  color: var(--text);
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  margin-bottom: 8px;
}
.dropdown-link:last-child{ margin-bottom:0; }
.dropdown-link:hover{ background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }

@media (min-width: 861px){
  .dropdown:hover .dropdown-menu{ display:block; }
}

@media (max-width: 860px){
  .dropdown-menu{
    position: static;
    display:none;
    width: 100%;
    margin-top: 8px;
  }
  .dropdown.open .dropdown-menu{ display:block; }
  .nav-item{ flex-direction: column; align-items: stretch; }
  .nav-item > .nav-link{ width:100%; }
}

.logo-img{ width: var(--logoSize, 56px); height: var(--logoSize, 56px); object-fit:contain; }

/* Premium nav */
.nav-link{
  font-weight: 650;
  letter-spacing: .2px;
  position: relative;
}
.nav-link::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
  opacity: .9;
}
.nav-link:hover::after,
.nav-link.active::after{ transform: scaleX(1); }

.nav-link:hover{
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
}

/* Dropdown links premium */
.dropdown-link{
  font-weight: 600;
}
.dropdown-link:hover{
  border-color: rgba(214,179,106,.45);
}

/* Logo shapes */
.logo-img.is-rounded{ border-radius: 14px; }
.logo-img.is-circle{ border-radius: 999px; }


/* Premium nav underline + separators */
.nav-link{
  position: relative;
  letter-spacing: .2px;
}
.nav-link::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  opacity: .0;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-link:hover::after,
.nav-link.active::after{
  transform: scaleX(1);
  opacity: .95;
}

.nav-link + .nav-link{
  /* subtle separator via gradient */
  box-shadow: inset 1px 0 0 rgba(255,255,255,.06);
}
@media (max-width: 860px){
  .nav-link + .nav-link{ box-shadow:none; }
}

/* Brand mark (scale icon) */
.brand-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 15px;
  margin-right: 8px;
  color: var(--gold);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}

/* Dropdown animation */
.dropdown-menu{
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}
@media (min-width: 861px){
  .dropdown:hover .dropdown-menu{
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 860px){
  .dropdown.open .dropdown-menu{
    opacity: 1;
    transform: translateY(0);
  }
}


body
body


/* --- Centered header (logo + menu) & remove right CTA layout --- */
.header-inner{
  justify-content: center !important;
  gap: 18px !important;
}
.nav{
  justify-content: center !important;
}
/* center pill inside hero card */
.pill{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.hero-card .pill{
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Contact form inside panel */
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color: rgba(255,255,255,.55); }
.contact-form textarea{ resize: vertical; min-height: 120px; }
.contact-form .grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px){ .contact-form .grid{ grid-template-columns: 1fr; } }


/* --- Fix: header truly centered (logo + menu) --- */
.header-inner{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap: 18px !important;
}
.brand{ display:flex !important; align-items:center !important; }
.nav{ display:flex !important; align-items:center !important; justify-content:center !important; }

/* --- Fix: hero pill centered --- */
.pill-wrap{ width:100%; text-align:center; }
.pill{ display:inline-flex; }



/* Layout wrap */
.wrap{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;

  margin-left:auto;
  margin-right:auto;
}
/* Center header content */
.header-inner{
  justify-content: center !important;
}
.brand{
  min-width: unset !important;
}
.nav{
  justify-content: center !important;
}
/* Center hero block */
.hero{
  justify-content: center;
}
.hero-card{
  margin-left: auto;
  margin-right: auto;
}
.hero-card h1,
.hero-card p{
  text-align: center;
}
.hero-actions{
  justify-content: center;
}
/* Make hero card a touch smaller on large screens for elegance */
@media (min-width: 900px){
  .hero-card{ max-width: 760px; }
}


/* Move hero card slightly upward for better composition */
.hero-card{ transform: translateY(-22px); }
@media (max-width: 860px){
  .hero-card{ transform: translateY(-10px); }
}


/* Dropdown usability improvements */
.dropdown{ position: relative; }
.dropdown-menu{
  top: calc(100% + 6px) !important;
}
/* Hover bridge area to prevent accidental close when moving cursor */
.dropdown-menu::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-10px;
  height:10px;
}
.dropdown-menu a{
  padding: 10px 14px !important;
}

/* ===== Mobile layout fixes ===== */
@media (max-width: 860px){
  .header{ padding: 12px 14px; }
  .header .wrap{ width: calc(100% - 20px); }
  .header-inner{
    display:flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .brand{ flex: 1 1 100%; justify-content: center; text-align:center; }
  .nav{ flex: 1 1 100%; justify-content: center !important; }
  .nav-list{ flex-wrap: wrap; justify-content:center; gap: 8px; }
  .nav-link{ padding: 10px 12px; }
  .hero-card{ transform: translateY(-6px); padding: 18px; }
  .hero-card h1{ font-size: 30px; line-height: 1.1; }
}

/* === Mobile nav + header fix (stable) === */
.header .wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
}

/* Desktop centered brand+nav */
@media (min-width: 861px){
  .header{ justify-content:center; }
  .brand{ min-width: unset; }
}

/* Mobile: compact top bar + dropdown menu panel */
@media (max-width: 860px){
  .header .wrap{
    justify-content: space-between;
    gap: 10px;
  }
  .brand{
    flex: 1;
    min-width: 0;
  }
  .brand-text{ max-width: 100%; }
  .brand-title, .brand-sub{ white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }
  .burger{ flex: 0 0 auto; }

  .nav.open{
    display:flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav-item{ width: 100%; }
  .nav-link{
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }
  .dropdown-menu{
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    margin-top: 8px;
    border-radius: 14px;
  }
  .dropdown-menu a{ padding: 10px 12px !important; }
}

/* Ensure burger is above nav panel */
.burger{ z-index: 20; position: relative; }
.nav{ z-index: 15; }

/* force-desktop-nav */
@media (min-width: 861px){
  .burger{ display:none !important; }
  .nav{ display:flex !important; position: static !important; }
}


/* ===== Mobile/desktop nav visibility fixes ===== */
.header .wrap{
  display:flex;
  align-items:center;
  gap: 14px;
}

/* Desktop: show nav, hide burger */
#burger{ display:none; }
#nav{ display:flex; align-items:center; gap: 10px; }

@media (min-width: 861px){
  .header .wrap{ justify-content:center; }
}

/* Mobile: hide desktop-style nav, show burger; nav becomes a dropdown panel */
@media (max-width: 860px){
  .header .wrap{ justify-content:space-between; }
  #burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.25);
    color: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
  }

  #nav{
    display:none; /* IMPORTANT: hide desktop menu on mobile */
    position:absolute;
    left: 12px;
    right: 12px;
    top: 74px;
    z-index: 40;
    flex-direction:column;
    align-items:stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 45px rgba(0,0,0,.35);
  }
  #nav.open{ display:flex; }

  .nav-link{
    width:100%;
    justify-content:space-between;
    padding: 12px 12px !important;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
  }
  .nav-link::after{ display:none !important; } /* underline on mobile kapalı */

  /* Mobile dropdown: submenu expands inside panel */
  .dropdown-menu{
    position: static !important;
    transform:none !important;
    opacity:1 !important;
    display:none;
    margin-top: 6px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
  }
  .dropdown.open .dropdown-menu{ display:block; }
}


/* Mobile hard-hide nav (requires viewport meta) */
@media (max-width: 860px){
  #nav{ display:none !important; }
  #nav.open{ display:flex !important; }
}


/* Team page */
.team-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 12px; }
.team-card{ padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); text-align:center; }
.team-photo{ width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 999px; overflow:hidden; border:1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.18); }
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-ph{ width:100%; height:100%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,.06)); }
.team-name{ font-weight: 700; }
.team-title{ opacity:.9; margin-top:4px; }
.team-mail{ display:inline-block; margin-top:8px; text-decoration: underline; text-decoration-color: rgba(212,175,55,.55); }


/* Header adjustable sizes */
:root{
  --logoSize: 44px;
  --brandTitleSize: 18px;
}
.brand-logo img{ width: var(--logoSize); height: var(--logoSize); }
.brand-title{ font-size: var(--brandTitleSize); }

/* Team modal */
.team-modal{ position:fixed; inset:0; display:none; z-index:80; }
.team-modal.open{ display:block; }
.team-modal-backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.team-modal-card{
  position:absolute;
  left:50%; top:50%;
  transform: translate(-50%,-50%);
  width: min(560px, calc(100% - 26px));
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(14,14,14,.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  padding: 16px;
}
.team-modal-x{
  position:absolute; right: 10px; top: 10px;
  width: 36px; height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}
.team-modal-header{ display:flex; gap:12px; align-items:center; padding-right: 40px; }
.team-photo.lg{ width: 76px; height: 76px; border-radius: 999px; overflow:hidden; border:1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.18); }
.team-photo.lg img{ width:100%; height:100%; object-fit:cover; }


/* Team thumbnails harden */
.team-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.team-card{ cursor:pointer; }


/* Team photo sizing tweak */
:root{
  --teamThumb: 112px;   /* kart üzerindeki yuvarlak foto */
  --teamModalPhoto: 132px; /* popup üzerindeki foto */
}
.team-photo{ width: var(--teamThumb) !important; height: var(--teamThumb) !important; }
.team-photo.lg{ width: var(--teamModalPhoto) !important; height: var(--teamModalPhoto) !important; }

@media (max-width: 860px){
  :root{
    --teamThumb: 92px;
    --teamModalPhoto: 112px;
  }
}



/* Link colors inside team (no default blue) */
.team-card, .team-modal-card{ color: rgba(255,255,255,.92); }
.team-card a, .team-modal-card a{
  color: rgba(255,255,255,.92) !important;
  text-decoration: underline;
  text-decoration-color: rgba(212,175,55,.55);
}
.team-card a:hover, .team-modal-card a:hover{
  color: rgba(212,175,55,.95) !important;
  text-decoration-color: rgba(212,175,55,.95);
}


/* === TEAM AVATAR ROUND FINAL (no square) === */
.team-photo,
.team-photo.lg{
  border-radius: 999px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.06) !important;
}

.team-photo img,
.team-photo.lg img{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 999px !important;
  object-fit: cover !important;          /* görünüm premium */
  object-position: center 20% !important; /* yüz yukarıda kalsın */
  clip-path: circle(50% at 50% 50%) !important; /* ekstra garanti */
  background: transparent !important;
}

/* remove any accidental blue link coloring inside team modal */
.team-modal-card a, .team-card a{
  color: rgba(255,255,255,.92) !important;
  text-decoration: underline;
  text-decoration-color: rgba(212,175,55,.55);
}
.team-modal-card a:hover, .team-card a:hover{
  color: rgba(212,175,55,.95) !important;
  text-decoration-color: rgba(212,175,55,.95);
}


/* Contact page layout */
.contact-layout{ display:grid; grid-template-columns: 1fr 1.05fr; gap: 14px; margin-top: 12px; align-items:start; }
.contact-side .cards{ margin:0; }
.map-embed{
  margin-top: 12px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.map-embed iframe{ width:100% !important; height: 260px !important; border:0; display:block; }
@media (max-width: 860px){
  .contact-layout{ grid-template-columns: 1fr; }
  .map-embed iframe{ height: 220px !important; }
}


/* Logo sizing enforce (admin controlled) */
.brand-logo img{
  width: var(--logoSize) !important;
  height: var(--logoSize) !important;
  max-width: var(--logoSize) !important;
  max-height: var(--logoSize) !important;
}
.brand-title{
  font-size: var(--brandTitleSize) !important;
  line-height: 1.15;
}


/* Logo square (no rounding) */
.brand-logo,
.brand-logo img{
  border-radius: 0 !important;
}





/* Logo shapes from admin */
.logo-original .brand-logo img{ border-radius: 0 !important; }
.logo-square .brand-logo img{ border-radius: 0 !important; } /* backward compat */
.logo-rounded .brand-logo img{ border-radius: 10px !important; }
.logo-circle .brand-logo img{ border-radius: 50% !important; }


/* Footer contact */
.footer-contact{ margin-top:10px; font-size: 13px; line-height:1.45; color: rgba(255,255,255,.86); }
.footer-contact a{ color: rgba(212,175,55,.95); text-decoration:none; }
.footer-contact a:hover{ text-decoration:underline; }

/* Floating widgets */
.float-widget{
  position: fixed;
  bottom: 18px;
  z-index: 90;
  display:flex;
  gap:10px;
  pointer-events: none; /* allow clicks only on buttons */
}
.float-widget.left{ left: 18px; }
.float-widget.right{ right: 18px; }
.float-widget .fw-btn{
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.float-widget .fw-btn:hover{ transform: translateY(-2px); border-color: rgba(212,175,55,.55); background: rgba(10,10,10,.68); }
.float-widget .fw-btn svg{ width: 20px; height: 20px; opacity: .95; }

/* Mobile bottom dock */
.mobile-dock{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display:none;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom));
  background: rgba(10,10,10,.62);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.mobile-dock .dock-inner{
  display:flex;
  gap: 12px;
  justify-content: center;
  align-items:center;
}
.mobile-dock .dock-btn{
  width: 54px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  text-decoration:none;
}
.mobile-dock .dock-btn svg{ width:18px; height:18px; }
@media (max-width: 860px){
  .float-widget{ display:none; }
  .mobile-dock{ display:block; }
  body{ padding-bottom: 74px; } /* avoid hiding content behind dock */
}


/* Widget polish: keep above footer + no blue */
.float-widget{ bottom: 86px !important; } /* footer üstünde kalsın */
.float-widget .fw-btn{ color: rgba(255,255,255,.92) !important; }
.float-widget .fw-btn:hover{ color: rgba(212,175,55,.95) !important; }


.mobile-dock .dock-btn{ color: rgba(255,255,255,.92) !important; }
.mobile-dock .dock-btn:hover{ color: rgba(212,175,55,.95) !important; }


/* Rich footer */
.footer-rich{ padding: 22px 18px; }
.footer-inner{ max-width: 1100px; margin: 0 auto; display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; align-items:start; }
.footer-col h4{ margin: 0 0 10px; font-size: 15px; letter-spacing:.2px; }
.footer-links{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer-links a{ color: rgba(255,255,255,.86); text-decoration:none; }
.footer-links a:hover{ color: rgba(212,175,55,.95); }
.footer-brand img{ width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; }
.footer-brand h3{ margin: 0 0 8px; font-size: 20px; }
.footer-brand p{ margin:0; color: rgba(255,255,255,.80); line-height:1.5; }
.footer-contact{ display:flex; flex-direction:column; gap:10px; color: rgba(255,255,255,.86); }
.footer-contact a{ color: rgba(255,255,255,.90); text-decoration:none; }
.footer-contact a:hover{ color: rgba(212,175,55,.95); text-decoration:underline; text-decoration-color: rgba(212,175,55,.65); }
.fc-row{ display:flex; gap:10px; align-items:flex-start; }
.fc-ico{ width: 20px; opacity:.85; }

.footer-note{ max-width: 1100px; margin: 16px auto 0; color: rgba(255,255,255,.68); font-size: 12.5px; }
.footer-bottom{ max-width: 1100px; margin: 10px auto 0; color: rgba(255,255,255,.55); font-size: 12px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px; }

@media (max-width: 860px){
  .footer-inner{ grid-template-columns: 1fr; }
  .footer-brand img{ width: 78px; height: 78px; }
}


/* Widgets placement */
@media (min-width: 861px){
  .float-widget{ bottom: 120px !important; } /* footer üstü */
}
.float-widget .fw-btn{ color: rgba(255,255,255,.92) !important; }
.float-widget .fw-btn:hover{ color: rgba(212,175,55,.95) !important; }


/* Footer menu clean style */
.footer-links{ gap:6px !important; }
.footer-links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 0;
  border-radius:0;
  background:none !important;
  border:none !important;
  color: rgba(255,255,255,.85);
  font-size:14px;
}
.footer-links a::before{
  content:"›";
  color: rgba(212,175,55,.85);
}
.footer-links a:hover{
  color:#fff;
}


/* Footer quickmenu links reset (avoid pill/button look) */
.footer-links a.footer-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 6px 0;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 500;
}
.footer-links a.footer-link::before{
  content: "›";
  opacity: .7;
  transform: translateY(-1px);
}
.footer-links a.footer-link:hover::before{ opacity: 1; }


/* Footer icons */
.fc-ico.svg{
  width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:.9;
}
.fc-ico.svg svg{ width: 18px; height: 18px; }
.footer-links a.footer-link::before{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(212,175,55,.75);
  border-bottom: 2px solid rgba(212,175,55,.75);
  transform: rotate(-45deg);
  margin-right: 6px;
  opacity: .9;
}


/* Mobile footer hero style (like reference) */
@media (max-width: 860px){
  .footer-rich{ padding: 26px 18px 22px; }
  .footer-inner{ grid-template-columns: 1fr; text-align:left; }
  .footer-brand{ text-align:left; }
  .footer-brand img{
    width: 128px !important;
    height: 128px !important;
    margin: 0 auto 10px;
    display:block;
  }
  .footer-brand h3{
    font-size: 22px !important;
    text-align:left;
    margin-top: 6px;
  }
  .footer-brand p{ font-size: 13.5px !important; line-height:1.55; }
  .footer-col{ padding-top: 10px; }
  .footer-links a.footer-link{ padding: 7px 0; font-size: 14px; }
  .footer-contact{ gap: 12px; }
  .fc-row{ gap: 12px; }
  .footer-note{ font-size: 12.5px; }
}


/* Desktop footer logo size */
@media (min-width: 861px){
  .footer-brand img{ width: 92px !important; height: 92px !important; }
}


/* Mobile dock icon-only (no labels) */
@media (max-width: 860px){
  .mobile-dock{ padding: 0; }
  .mobile-dock .dock-inner{ gap:0; }
  .mobile-dock .dock-btn{
    flex: 1 1 0;
    min-width: 0;
    height: 56px;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.55);
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .mobile-dock .dock-btn:last-child{ border-right: none; }
  .mobile-dock .dock-btn svg{ width: 22px; height: 22px; }
}


.bg-image{
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.logo-img.is-original{ border-radius: 0; object-fit:contain; background: transparent !important; box-shadow:none !important; border:none !important; }


/* Header scroll behavior */
.header{ transition: backdrop-filter .25s ease, background .25s ease, padding .25s ease, transform .25s ease; }
.header .inner{ transition: padding .25s ease; }
.header.is-scrolled{
  backdrop-filter: blur(16px);
  background: rgba(0,0,0,.55);
}
.header.is-scrolled .inner{
  padding-top: 10px;
  padding-bottom: 10px;
}
.header.is-scrolled .logo-img{
  width: calc(var(--logoSize,56px) * .82);
  height: calc(var(--logoSize,56px) * .82);
}
.header.is-scrolled .brand-text .title{
  font-size: 16px;
}


/* Mobile header stack: logo top, name under (two lines) */
@media (max-width: 860px){
  .header .brand{ flex-direction: column; align-items: flex-start; gap: 6px; }
  .header .brand-text{ line-height: 1.15; }
  .header .brand-text .title{ display:block; }
  .header .brand-text .subtitle{ display:block; opacity:.78; margin-top:2px; }
}


/* float-widget desktop column (phone üstte, instagram altta) */
@media (min-width: 861px){
  .float-widget{
    display:flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}


/* float-widget FORCE column on desktop */
@media (min-width: 861px){
  .float-widget{
    display:flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }
  .float-widget .fw-btn{ display:flex !important; }
}


/* Link colors to theme (avoid browser blue) */
a{ color: inherit; }
a:hover{ color: inherit; }

/* Specifically inside overlay/page content */
.modal a, .panel a, .page-content a, .content a{
  color: rgba(255,255,255,.92);
  text-decoration: underline;
  text-decoration-color: rgba(212,175,55,.55);
}
.modal a:hover, .panel a:hover, .page-content a:hover, .content a:hover{
  color: rgba(212,175,55,.95);
  text-decoration-color: rgba(212,175,55,.85);
}

/* Footer links */
footer a{
  color: rgba(255,255,255,.88);
  text-decoration: none;
}
footer a:hover{
  color: rgba(212,175,55,.95);
  text-decoration: underline;
  text-decoration-color: rgba(212,175,55,.65);
}

.float-widget .fw-btn{ text-decoration:none !important; }


/* Desktop widget stack left */
@media (min-width: 861px){
  .float-widget.float-left{
    position: fixed;
    left: 18px;
    top: 140px;
    z-index: 50;
  }
}


/* fw-btn icon theme unified */
.float-widget .fw-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.float-widget .fw-btn svg{
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,.92);
  fill: none;
}
.float-widget .fw-btn:hover{
  border-color: rgba(212,175,55,.65);
  background: rgba(0,0,0,.45);
}
.float-widget .fw-btn:hover svg{
  stroke: rgba(212,175,55,.95);
}

/* Desktop widget stack bottom-right */
@media (min-width: 861px){
  .float-widget.float-left{
    left: auto !important;
    right: 18px !important;
    top: auto !important;
    bottom: 120px !important;
    align-items: center !important;
  }
}

/* Mobile menu over header, content pushed */
@media (max-width: 860px){
  .mobile-menu{
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
  }
  .hero{
    position: relative;
    z-index: 1;
  }
}


/* Mobile menu fix v2 */
@media (max-width: 860px){
  .hero{ transition: transform .2s ease; }
  .header{ position: sticky; top:0; z-index: 1000; }
  .mobile-menu{ position: fixed; left:0; right:0; top:70px; z-index: 1100; }
  .mobile-menu .sub{ display:none; }
  .mobile-menu li.sub-open > .sub{ display:block; }
  .mobile-menu a.has-sub{ position: relative; padding-right: 34px; }
  .mobile-menu a.has-sub::after{
    content: "▾";
    position:absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    opacity:.8;
  }
  .mobile-menu li.sub-open > a.has-sub::after{ content: "▴"; }
}


/* Ensure opened page/modal overlays are above header/mobile menu (mobile) */
@media (max-width: 860px){
  .modal, .overlay, .page-modal, .page-overlay, .panel{
    z-index: 5000 !important;
  }
  .modal .modal-content, .panel .panel-content, .page-modal .page-modal-content{
    z-index: 5001 !important;
  }
  /* Header + mobile menu under overlays */
  .header{ z-index: 1000; }
  .mobile-menu{ z-index: 1100; }
  #pageModal, #pageOverlay, #overlay, #modal{ z-index: 5000 !important; }
}


/* mobile submenu li.sub-open */
@media (max-width: 860px){
  .mobile-menu li.sub-open > ul.sub,
  .mobile-menu li.sub-open > ul.dropdown{
    display:block !important;
  }
  .mobile-menu ul.sub,
  .mobile-menu ul.dropdown{
    display:none;
  }
  .hero{ transition: transform .2s ease; }
}


/* Mobile dropdown menu should flow (not hover absolute) */
@media (max-width: 860px){
  .nav-item{ flex: 1 1 100%; }
  .nav-item.dropdown{ flex-direction: column; align-items: stretch; }
  .dropdown-menu{
    position: static;
    top: auto; left:auto;
    width: 100%;
    min-width: 0;
    margin-top: 10px;
  }
  .dropdown.open .dropdown-menu{ display:block; }
}


/* mobile submenu touch fixes */
@media (max-width: 860px){
  .nav-item.dropdown > a{ position: relative; z-index: 2; }
  .dropdown-menu{ z-index: 1; }
}


@media (max-width: 860px){
  .dropdown.open > .dropdown-menu{ display:block !important; }
  .dropdown > .dropdown-menu{ display:none; }
}

.brand-text{display:flex;align-items:center;}
.brand-subtitle{font-weight:600;opacity:.9;letter-spacing:.2px;}


/* --- Header clean layout (brand left, menu right) --- */
.header .header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.header .brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:6px;
  min-width:0;
}
.header .brand-subtitle{
  font-weight:600;
  letter-spacing:.2px;
  opacity:.9;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header .nav{ margin-left: 18px; }
.header .logo-img.is-original{ border-radius:0 !important; }
@media (max-width: 860px){
  .header .header-inner{ align-items:flex-start; }
  .header .brand{ align-items:center; }
  .header .brand-subtitle{ max-width: 70vw; white-space: normal; text-align:center; }
}


/* --- Header override: subtitle BESIDE logo (desktop) --- */
.header .brand{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
}
.header .brand-subtitle{
  margin-top:0 !important;
  margin-left:6px;
  max-width: 320px;
}
@media (max-width: 860px){
  .header .brand{
    flex-direction:column;
    align-items:center;
    gap:6px;
  }
  .header .brand-subtitle{
    margin-left:0;
    max-width: 70vw;
    text-align:center;
    white-space: normal;
  }
}


/* --- Header: nav starts right AFTER subtitle (not pushed to far right) --- */
.header .header-inner{
  justify-content:flex-start !important;
}
.header .nav{
  margin-left: 18px !important;
  margin-right: 0 !important;
}


/* --- Safe centering patch (does not affect nav/mobile) --- */
.main, main{ width:100%; }
.hero, .hero-section{ width:100%; }
.hero .panel, .hero-panel, .hero-card, .hero-box, .hero-content{
  margin-left:auto;
  margin-right:auto;
}
/* If hero uses absolute positioning, center it */
.hero .panel.absolute, .hero-panel.absolute, .hero-card.absolute, .hero-box.absolute{
  left:50%;
  transform:translateX(-50%);
}
/* ==== SAFE CENTER OVERRIDE (en sona) ==== */

/* genel container */
.wrap, .container, .site-wrap{
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
}
/* hero/anasayfa kutusu (hangisi varsa) */
.hero-card, .hero-box, .hero-panel, .hero-content, .hero-inner, .hero .panel{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* absolute ile yerleşmişse: ortala */
.hero-card.absolute, .hero-box.absolute, .hero-panel.absolute, .hero .panel.absolute{
  left: 50% !important;
  transform: translateX(-50%) !important;
}
/* ==== SAFE CENTER OVERRIDE (en sona) ==== */

/* genel container */
.wrap, .container, .site-wrap{
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
}

/* hero/anasayfa kutusu (hangisi varsa) */
.hero-card, .hero-box, .hero-panel, .hero-content, .hero-inner, .hero .panel{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* absolute ile yerleşmişse: ortala */
.hero-card.absolute, .hero-box.absolute, .hero-panel.absolute, .hero .panel.absolute{
  left: 50% !important;
  transform: translateX(-50%) !important;
}
/* ==== HERO CAM KUTU ORTALAMA ==== */

.hero,
.hero-overlay,
.hero-box,
.hero-panel {
  display: flex;
  align-items: center;       /* dikey ortalama */
  justify-content: center;   /* yatay ortalama */
  text-align: center;
}

/* Cam kutunun içi */
.hero-content,
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}


/* =========================
   PREMIUM LAW POLISH PACK (B)
   Champagne Gold / No-break overrides
========================= */

:root{
  --gold:#d6b36a; /* champagne */
  --goldA: rgba(214,179,106,.10);
  --goldB: rgba(214,179,106,.22);
  --line: rgba(255,255,255,.14);
  --glass: rgba(255,255,255,.07);
  --shadow: 0 18px 55px rgba(0,0,0,.38);
}

a{ color: rgba(255,255,255,.92); text-decoration:none; }
a:hover{ color: var(--gold); }

/* Kill default blue on links (content + footer + modal) */
.content a, .panel a, .modal a, .popup a, footer a, .footer a{
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(214,179,106,.35);
}
.content a:hover, .panel a:hover, .modal a:hover, .popup a:hover, footer a:hover, .footer a:hover{
  color: var(--gold);
  border-bottom-color: rgba(214,179,106,.85);
}

/* Header premium + scroll shrink */
.header{
  background: rgba(10,12,18,.35);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header.is-scrolled{
  background: rgba(10,12,18,.55);
  backdrop-filter: blur(16px);
}
.header .header-inner{
  gap: 16px;
}
.header.is-scrolled .logo-img{
  transform: scale(.92);
  transform-origin: left center;
}

/* Brand subtitle typography */
.brand-subtitle{
  font-weight: 650;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
}

/* Nav links + gold underline animation */
.nav .nav-link{
  position: relative;
  border-radius: 10px;
  transition: transform .18s ease, background .18s ease;
}
.nav .nav-link::after{
  content:"";
  position:absolute;
  left: 10px; right: 10px;
  bottom: 6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
  border-radius: 999px;
  opacity:.95;
}
.nav .nav-link:hover::after{ transform: scaleX(1); }
.nav .nav-link:hover{
  background: var(--goldA);
  transform: translateY(-1px);
}

/* Dropdown premium */
.nav .dropdown-menu, .nav .submenu, .nav .dropdown{
  background: rgba(10,12,18,.72);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 10px;
}
.nav .dropdown-menu a, .nav .submenu a{
  border-bottom: 0;
  padding: 10px 12px;
  border-radius: 12px;
}
.nav .dropdown-menu a:hover, .nav .submenu a:hover{
  background: var(--goldA);
}

/* Hero / video overlay cinematic */
.hero::before, .bg-overlay::before, .video-overlay::before, .overlay::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(1200px 600px at 50% 40%, rgba(0,0,0,.22), rgba(0,0,0,.72)),
    linear-gradient(to bottom, rgba(0,0,0,.68), rgba(0,0,0,.08), rgba(0,0,0,.70));
}

/* Glass popup polish */
.modal, .popup, .panel, .glass, .content-modal, .page-modal{
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}
.modal h1::after, .popup h1::after, .panel h1::after, .glass h1::after, .page-modal h1::after{
  content:"";
  display:block;
  width: 84px;
  height: 2px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 999px;
}

/* Buttons */
.btn.primary, .btn-primary, .primary{
  background: var(--gold);
  color:#141414;
  border:0;
  font-weight: 750;
}
.btn.primary:hover, .btn-primary:hover, .primary:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn.secondary, .btn-outline, .secondary{
  background: transparent;
  border: 1px solid rgba(214,179,106,.45);
  color: rgba(255,255,255,.92);
}
.btn.secondary:hover, .btn-outline:hover, .secondary:hover{
  background: var(--goldA);
}

/* Footer */
.footer, footer{
  border-top: 1px solid var(--line);
  background: rgba(10,12,18,.45);
  backdrop-filter: blur(10px);
}

/* Mobile tap targets */
@media (max-width: 860px){
  .nav .nav-link{ padding: 12px 12px; }
  .nav .nav-link::after{ bottom: 8px; }
}


/* ==== OVERLAY SLIDER VARS (admin) ==== */
.bg-overlay{
  background:
    radial-gradient(60% 60% at 50% 30%,
      rgba(0,0,0, calc(var(--ov,55) / 100 * 0.22 + 0.06)),
      rgba(0,0,0, calc(var(--ov,55) / 100 * 0.55 + 0.18))
    ),
    linear-gradient(to bottom,
      rgba(0,0,0, calc(var(--ov,55) / 100 * 0.30 + 0.10)),
      rgba(0,0,0, calc(var(--ov,55) / 100 * 0.10 + 0.04)),
      rgba(0,0,0, calc(var(--ov,55) / 100 * 0.30 + 0.10))
    );
}

.bg-video{
  filter: brightness(var(--vb,1.08)) contrast(1.05) saturate(1.05);
}


/* ==== OVERLAY STRENGTH VIA SETTINGS (admin: overlay_strength) ==== */
.bg-overlay{background:none !important; pointer-events:none;}
.bg-overlay::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 50% 45%,
      rgba(0,0,0,var(--ov_center,.16)),
      rgba(0,0,0,var(--ov_edge,.52))
    ),
    linear-gradient(to bottom,
      rgba(0,0,0,var(--ov_top,.52)),
      rgba(0,0,0,var(--ov_mid,.12)),
      rgba(0,0,0,var(--ov_bot,.52))
    );
}


/* ==== FIX: overlay_strength + video_brightness should work (no break) ==== */
.bg-overlay{background:none !important; pointer-events:none;}
.bg-overlay::before{
  content:"";
  position:absolute; inset:0;
  /* Map overlay % (0-100) into practical alpha ranges */
  background:
    radial-gradient(1200px 650px at 50% 45%,
      rgba(0,0,0, calc((var(--ov,55) / 100) * 0.20 + 0.05)),
      rgba(0,0,0, calc((var(--ov,55) / 100) * 0.50 + 0.15))
    ),
    linear-gradient(to bottom,
      rgba(0,0,0, calc((var(--ov,55) / 100) * 0.35 + 0.10)),
      rgba(0,0,0, calc((var(--ov,55) / 100) * 0.10 + 0.04)),
      rgba(0,0,0, calc((var(--ov,55) / 100) * 0.35 + 0.10))
    );
}

.bg-video{
  filter: brightness(var(--vb,1.08)) contrast(1.05) saturate(1.05) !important;
}


/* ==== SAFE PREMIUM POLISH (no layout/JS impact) ==== */
:root{ --ease-out: cubic-bezier(.2,.8,.2,1); }

:focus-visible{
  outline: 2px solid rgba(214,179,106,.65);
  outline-offset: 3px;
  border-radius: 10px;
}

a, button, .btn, .nav a, .nav .nav-link{
  transition: background .18s var(--ease-out), color .18s var(--ease-out),
              transform .18s var(--ease-out), box-shadow .18s var(--ease-out),
              opacity .18s var(--ease-out);
}

.nav a:hover, .nav .nav-link:hover{ transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce){
  a, button, .btn, .nav a, .nav .nav-link{ transition: none !important; }
}

/* Team featured layout (sort_order=0 shows top center) */
.team-feature-wrap{display:flex; justify-content:center; margin:18px 0 10px;}
.team-card.team-feature{max-width:360px; width:100%;}
.team-card.team-feature .team-photo{width:110px; height:110px; margin:0 auto 10px;}


/* TEAM GRID - mobile yan yana + otomatik kırılma */
.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  align-items: stretch;
}
@media (max-width: 420px){
  .team-grid{ grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
}
/* force override if any old mobile rules flatten it */
@media (max-width: 900px){
  .team-grid{ display: grid !important; }
}


/* --- Desktop hero glass centering fix --- */
@media (min-width: 992px){
  .hero{
    width: 100%;
    min-height: calc(100vh - 110px); /* header space */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero .hero-card,
  .hero .hero-glass,
  .hero .hero-box{
    margin-left: auto !important;
    margin-right: auto !important;
  }
}



@media (min-width: 992px){
  .hero-wrap, .hero-inner{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/* --- HERO (desktop) glass slightly higher + text layout fix (row) --- */
@media (min-width: 992px){
  /* Keep the hero glass centered but lift it a bit */
  main.hero{
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 0;
  }
  main.hero > .hero-inner{
    margin-top: -50px; /* lift glass */
  }

  /* Ensure title + text are row (side-by-side) like preferred layout */
  .hero-inner{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 26px !important;
  }
  .hero-inner h1{
    flex: 0 0 42%;
    margin: 0 !important;
    text-align: center; /* matches your screenshot vibe */
    line-height: 1.05;
  }
  /* hero paragraph container(s) */
  .hero-inner .desc,
  .hero-inner p{
    flex: 1 1 auto;
    margin: 0 !important;
    text-align: justify; /* nicer legal look */
    text-justify: inter-word;
    line-height: 1.65;
    max-width: 520px;
  }
  /* prevent tiny text */
  .hero-inner .desc, .hero-inner p{
    font-size: 14px;
  }
}

/* On medium screens, stack again to avoid squeeze */
@media (max-width: 991px){
  .hero-inner{
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .hero-inner h1, .hero-inner p{ text-align: center; }
}


/* --- HERO (desktop) lift override v2 --- */
@media (min-width: 992px){
  /* more lift */
  main.hero{ padding-top: 0 !important; }
  main.hero > .hero-inner{
    margin-top: 0 !important;
    transform: translateY(-120px) !important;
  }
}


/* --- HERO text: respect admin controls (size/color/align) --- */
@media (min-width: 992px){
  .hero-inner .desc,
  .hero-inner p{
    font-size: var(--heroTextSize, 16px) !important;
    color: var(--heroTextColor, rgba(255,255,255,.82)) !important;
    text-align: var(--heroTextAlign, justify) !important;
  }
}

