/* Static-site header and contact overrides. */
:root {
  --sancar-header: #171a1f;
  --sancar-header-deep: #101216;
  --sancar-gold: #c9a96a;
  --sancar-text-on-dark: #ffffff;
}

.masthead,
.masthead.inline-header,
.masthead.sticky-on,
.phantom-sticky .masthead,
#phantom,
#phantom .ph-wrap,
#phantom .header-bar,
.fixed-masthead.masthead,
.fixed-masthead .header-bar,
.sticky-on .header-bar,
.masthead-mobile-header,
.mobile-header-bar {
  background: var(--sancar-header) !important;
}

/* The7 applies the sticky color to its boxed inner wrapper. Extend it edge to edge. */
html body#the7-body.phantom-sticky .masthead.sticky-on,
html body#the7-body.phantom-sticky #phantom,
html body#the7-body.phantom-sticky #phantom.show-phantom {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background-color: var(--sancar-header) !important;
}

html body#the7-body.phantom-sticky .masthead.sticky-on::before,
html body#the7-body.phantom-sticky .masthead.sticky-on::after,
html body#the7-body.phantom-sticky #phantom::before,
html body#the7-body.phantom-sticky #phantom::after {
  background-color: var(--sancar-header) !important;
}

.masthead .top-bar,
.masthead .top-bar-bg {
  background: var(--sancar-header-deep) !important;
}

.masthead .header-bar {
  display: flex !important;
  align-items: center;
  width: 100%;
}

.masthead .branding {
  flex: 0 0 auto;
  margin-right: auto !important;
}

.masthead .branding img {
  width: auto;
  max-width: 240px;
  max-height: 82px;
  object-fit: contain;
}

/* The export includes desktop and mobile logo images in the same link. */
.masthead .branding img.mobile-logo,
#phantom .branding img.mobile-logo {
  display: none !important;
}

/* Keep the normal white logo as the single sticky logo. */
html body.phantom-custom-logo-on .masthead.sticky-on .branding > a:not(.sticky-logo) {
  display: flex !important;
  align-items: center;
}

html body.phantom-custom-logo-on .masthead.sticky-on .branding > a.sticky-logo {
  display: none !important;
}

.masthead .main-nav {
  display: flex;
  justify-content: flex-end;
  margin-left: auto !important;
}

.masthead .main-nav > li > a,
.masthead .main-nav > li > a .menu-text,
.masthead .mini-contacts,
.masthead .mini-contacts a,
.masthead .soc-ico a,
#phantom .main-nav > li > a,
#phantom .main-nav > li > a .menu-text {
  color: var(--sancar-text-on-dark) !important;
}

.masthead .main-nav > li.act > a .menu-text,
.masthead .main-nav > li > a:hover .menu-text,
.masthead .main-nav > li.dt-hovered > a .menu-text,
#phantom .main-nav > li.act > a .menu-text,
#phantom .main-nav > li > a:hover .menu-text,
#phantom .main-nav > li.dt-hovered > a .menu-text {
  color: var(--sancar-gold) !important;
}

.masthead .main-nav > li > a .underline-bg {
  background-color: var(--sancar-gold) !important;
}

.masthead .sub-nav {
  background: var(--sancar-header) !important;
}

.masthead .sub-nav a,
.masthead .sub-nav .menu-text {
  color: #ffffff !important;
}

.masthead .sub-nav a:hover,
.masthead .sub-nav a:hover .menu-text {
  color: var(--sancar-gold) !important;
}

/* Search is intentionally unavailable on the static export. */
.masthead .mini-search,
.masthead .searchform,
.mobile-mini-widgets-in-menu .mini-search {
  display: none !important;
}

.static-contact-cta {
  padding: 32px;
  border: 1px solid #e3e3e3;
  background: #f7f7f7;
}

.static-contact-cta h2 {
  margin: 0 0 12px;
}

.static-contact-cta p {
  margin: 0 0 20px;
}

.static-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.static-contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 2px;
  background: #681300;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.static-contact-actions a:hover,
.static-contact-actions a:focus-visible {
  background: #8a1d08;
}

@media (max-width: 991px) {
  .masthead .branding img {
    max-width: 190px;
    max-height: 58px;
  }
}

@media (max-width: 778px) {
  .masthead .branding,
  .masthead .branding > a {
    display: flex !important;
    align-items: center;
  }

  .masthead .branding img:not(.mobile-logo),
  .masthead .branding img.preload-me {
    display: block !important;
    width: auto !important;
    max-width: 168px !important;
    max-height: 54px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .static-contact-actions {
    flex-direction: column;
  }

  .static-contact-actions a {
    width: 100%;
    box-sizing: border-box;
  }
}

/* The7, .masthead içine kendi .mobile-header-bar + .dt-mobile-menu-icon
   yapısını JS ile ekliyor. Statik menü (site-ui.js) bunun yerini tamamen
   aldığından tema başlık çubuğunu her genişlikte gizle; aksi halde mobilde
   iki hamburger ve üst üste iki başlık çubuğu görünür. */
.masthead .mobile-header-bar,
#phantom .mobile-header-bar,
.dt-mobile-menu-icon,
.masthead .floating-btn,
.floating-mobile-menu-icon,
.mobile-sticky-header-overlay {
  display: none !important;
}

/* Statik mobil menü: tema tarafından üretilen düğmeye bağımlı değildir. */
.sancar-mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 11px 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sancar-mobile-brand {
  display: none;
}

.sancar-mobile-menu-backdrop,
.sancar-mobile-menu-close {
  display: none;
}

.sancar-mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 991px) {
  .masthead,
  .masthead.masthead-mobile,
  .masthead.masthead-mobile-header {
    min-height: 64px !important;
    height: 64px !important;
    background: var(--sancar-header) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) !important;
  }

  .masthead .top-bar {
    display: none !important;
  }

  .masthead .header-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 64px !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 8px clamp(14px, 4vw, 24px) !important;
    box-sizing: border-box !important;
  }

  .masthead .branding {
    display: none !important;
  }

  .sancar-mobile-brand {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    width: clamp(142px, 43vw, 166px);
    height: 48px;
    margin-right: auto;
    line-height: 0;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sancar-mobile-brand img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 48px !important;
    object-fit: contain;
    object-position: left center;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .masthead .main-nav {
    display: none !important;
  }

  .sancar-mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 3;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0 -6px 0 16px;
    padding: 9px 8px;
    border-radius: 4px;
    box-sizing: border-box;
  }

  .sancar-mobile-menu-toggle:hover,
  .sancar-mobile-menu-toggle:focus-visible {
    background: rgba(255, 255, 255, .08);
    outline: 2px solid transparent;
  }

  .sancar-mobile-menu-toggle span {
    position: absolute;
    left: 8px;
    width: 28px;
    margin: 0;
  }

  .sancar-mobile-menu-toggle span:nth-child(1) {
    top: 13px;
  }

  .sancar-mobile-menu-toggle span:nth-child(2) {
    top: 21px;
  }

  .sancar-mobile-menu-toggle span:nth-child(3) {
    top: 29px;
  }

  .dt-mobile-header {
    display: block !important;
    position: fixed !important;
    z-index: 100001 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(90vw, 380px) !important;
    height: 100dvh !important;
    padding: 72px 0 28px !important;
    overflow-y: auto !important;
    background: var(--sancar-header) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateX(100%) !important;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease !important;
  }

  .sancar-mobile-menu-backdrop {
    display: block;
    position: fixed;
    z-index: 100000;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(6, 8, 12, .58);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity .25s ease, visibility .25s ease;
  }

  body.sancar-mobile-menu-open .sancar-mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .sancar-mobile-menu-close {
    display: block !important;
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 16px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .sancar-mobile-menu-close:hover,
  .sancar-mobile-menu-close:focus-visible {
    background: rgba(255, 255, 255, .08);
  }

  .sancar-mobile-menu-close span {
    position: absolute;
    top: 21px;
    left: 9px;
    width: 26px;
    height: 2px;
    background: #fff;
  }

  .sancar-mobile-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .sancar-mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  body.sancar-mobile-menu-open {
    overflow: hidden;
  }

  body.sancar-mobile-menu-open .dt-mobile-header {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  body.sancar-mobile-menu-open .sancar-mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.sancar-mobile-menu-open .sancar-mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.sancar-mobile-menu-open .sancar-mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .dt-mobile-header .dt-close-mobile-menu-icon {
    display: none !important;
  }

  .dt-mobile-header .dt-close-mobile-menu-icon .close-line {
    background: #fff !important;
  }

  .dt-mobile-header .mobile-main-nav {
    margin: 0 !important;
    padding: 0 14px !important;
    list-style: none !important;
  }

  .dt-mobile-header .mobile-main-nav > li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
  }

  .dt-mobile-header .mobile-main-nav > li > a {
    min-height: 50px;
    padding: 14px 10px !important;
    font-size: 15px !important;
    line-height: 22px !important;
    box-sizing: border-box;
  }

  .dt-mobile-header .mobile-main-nav,
  .dt-mobile-header .mobile-main-nav > li,
  .dt-mobile-header .mobile-main-nav a {
    display: block !important;
    visibility: visible !important;
  }

  .dt-mobile-header .mobile-main-nav a,
  .dt-mobile-header .mobile-main-nav .menu-text,
  .dt-mobile-header .mobile-main-nav .sub-nav a,
  .dt-mobile-header .mobile-main-nav .sub-nav .menu-text {
    color: #fff !important;
  }

  .dt-mobile-header .mobile-main-nav li.has-children {
    position: relative;
  }

  .dt-mobile-header .mobile-main-nav li.has-children > a {
    padding-right: 58px !important;
  }

  .dt-mobile-header .mobile-main-nav .sub-nav {
    display: none !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #101216 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .dt-mobile-header .mobile-main-nav li.sancar-submenu-open > .sub-nav {
    display: block !important;
  }

  .dt-mobile-header .mobile-main-nav .sub-nav li,
  .dt-mobile-header .mobile-main-nav .sub-nav a {
    display: block !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dt-mobile-header .mobile-main-nav .sub-nav li {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: normal !important;
  }

  .dt-mobile-header .mobile-main-nav .sub-nav a {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 18px 10px 28px !important;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #101216 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .dt-mobile-header .mobile-main-nav .sub-nav a:hover,
  .dt-mobile-header .mobile-main-nav .sub-nav a:focus {
    color: var(--sancar-gold) !important;
    background: #1c2026 !important;
  }

  .sancar-submenu-toggle {
    display: flex !important;
    position: absolute;
    z-index: 2;
    top: 3px;
    right: 2px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }

  .sancar-submenu-toggle span {
    display: block;
    transition: transform .2s ease;
  }

  .sancar-submenu-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }
}

@media (max-width: 359px) {
  .masthead .header-bar {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .sancar-mobile-brand {
    width: 138px;
  }

  .sancar-mobile-menu-toggle {
    margin-left: 10px;
  }
}
/* Calisma alanlari: kartlar arasinda dogal dikey ritim. */
body.page-id-9820 #content .vc_col-sm-4 {
  margin-bottom: 56px;
}

body.page-id-9820 #content .vc_col-sm-4 .wpb_single_image {
  margin-bottom: 22px !important;
}

body.page-id-9820 #content .vc_col-sm-4 .uvc-heading,
body.page-id-9820 #content .vc_col-sm-4 .uvc-heading h3 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.35;
}

@media (max-width: 767px) {
  body.page-id-9820 #content .vc_col-sm-4 {
    margin-bottom: 40px;
  }

  body.page-id-9820 #content .vc_col-sm-4 .wpb_single_image {
    margin-bottom: 18px !important;
  }
}

/* Anasayfa kurumsal anlatim gorselleri. */
body.home .vc_custom_1714759240283 {
  background-image: url("images/home-who-we-are.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body.home .vc_custom_1516893604405 {
  background-image: url("images/home-philosophy.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body.home .vc_custom_1516977803399 {
  background-image: url("images/home-testimonials.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

@media (max-width: 778px) {
  body.home .vc_custom_1714759240283,
  body.home .vc_custom_1516893604405,
  body.home .vc_custom_1516977803399 {
    display: block !important;
    min-height: 280px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }

  body.home .vc_custom_1714759240283 {
    background-image: url("images/home-who-we-are.webp") !important;
  }

  body.home .vc_custom_1516893604405 {
    background-image: url("images/home-philosophy.webp") !important;
  }

  body.home .vc_custom_1516977803399 {
    background-image: url("images/home-testimonials.webp") !important;
  }
}

/* Global çerez bildirimi. */
.sancar-cookie-notice {
  position: fixed;
  z-index: 100010;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #171a1f;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .3);
  color: #fff;
}

.sancar-cookie-notice__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  gap: 28px;
}

.sancar-cookie-notice strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
}

.sancar-cookie-notice p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  line-height: 1.55;
}

.sancar-cookie-notice a {
  color: var(--sancar-gold) !important;
}

.sancar-cookie-notice__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.sancar-cookie-notice button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.sancar-cookie-notice button.is-primary {
  border-color: var(--sancar-gold);
  background: var(--sancar-gold);
  color: #171a1f;
}

@media (max-width: 767px) {
  .sancar-cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 18px;
  }

  .sancar-cookie-notice__content,
  .sancar-cookie-notice__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sancar-cookie-notice__content {
    gap: 16px;
  }

  .sancar-cookie-notice__actions {
    gap: 8px;
  }
}

/* Anasayfa hero videosu. */
#main-slideshow.sancar-video-hero {
  position: relative;
  width: 100%;
  height: min(800px, 100vh);
  min-height: 640px;
  overflow: hidden;
  background: #090c10;
}

.sancar-video-hero__media,
.sancar-video-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sancar-video-hero__media {
  object-fit: cover;
  object-position: center center;
}

.sancar-video-hero__overlay {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 12, .5) 0%, rgba(6, 16, 32, .34) 55%, rgba(6, 16, 32, .58) 100%);
}

@media (max-width: 778px) {
  #main-slideshow.sancar-video-hero {
    height: 72vh;
    min-height: 560px;
    max-height: 760px;
    background-color: #090c10;
    background-image: url("../wp-content/uploads/slider-back-01.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sancar-video-hero__media {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sancar-video-hero__media {
    animation: none;
  }
}

/* Kurumsal footer: dort kolonlu, okunakli ve mobil uyumlu yapi. */
#footer .wf-container-footer {
  padding-top: 64px;
  padding-bottom: 46px;
}

#footer .sancar-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr .9fr 1.2fr;
  gap: 48px;
  width: 100%;
}

/* The7 clearfix pseudo-elements must not occupy grid columns. */
#footer .sancar-footer-grid::before,
#footer .sancar-footer-grid::after {
  display: none !important;
  content: none !important;
}

#footer .sancar-footer-column {
  min-width: 0;
}

#footer .sancar-footer-title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
}

#footer .sancar-footer-column p,
#footer .sancar-footer-column li,
#footer .sancar-footer-column a {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.75;
}

#footer .sancar-footer-column p {
  margin: 0 0 18px;
}

#footer .sancar-footer-links,
#footer .sancar-footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .sancar-footer-links li,
#footer .sancar-footer-contact li {
  margin: 0 0 9px;
}

#footer .sancar-footer-links a,
#footer .sancar-footer-contact a,
#bottom-bar .bottom-text-block a {
  text-decoration: none;
  transition: color .2s ease;
}

#footer .sancar-footer-links a:hover,
#footer .sancar-footer-contact a:hover,
#bottom-bar .bottom-text-block a:hover {
  color: var(--sancar-gold);
}

#footer .sancar-footer-contact strong {
  display: block;
  margin-bottom: 1px;
  color: #fff;
  font-weight: 600;
}

#footer .sancar-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#footer .sancar-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
}

#footer .sancar-footer-social a:hover {
  border-color: var(--sancar-gold);
}

#bottom-bar .bottom-text-block p {
  margin: 0;
}

#bottom-bar .bottom-text-block a {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .25);
}

/* Gizlilik politikasi metni. */
.privacy-policy-page #content {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.privacy-policy-content {
  padding: 12px 0 24px;
}

.privacy-policy-content .privacy-intro {
  margin-bottom: 34px;
  color: #34383e;
  font-size: 18px;
  line-height: 1.75;
}

.privacy-policy-content h2 {
  margin: 34px 0 12px;
  color: #20242a;
  font-size: 22px;
  line-height: 1.35;
}

.privacy-policy-content p {
  margin: 0 0 16px;
  line-height: 1.8;
}

.privacy-policy-content .privacy-updated {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #e4e4e4;
}

@media (max-width: 1024px) {
  #footer .sancar-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 48px;
  }
}

@media (max-width: 767px) {
  #footer .wf-container-footer {
    padding-top: 46px;
    padding-bottom: 34px;
  }

  #footer .sancar-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  #bottom-bar .bottom-text-block a {
    display: block;
    margin: 6px 0 0;
    padding: 0;
    border-left: 0;
  }

  .privacy-policy-content .privacy-intro {
    font-size: 16px;
  }

  .privacy-policy-content h2 {
    font-size: 20px;
  }
}
