html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

body {
    overflow-x: hidden;
}

body.shutter-lock {
    overflow: hidden;
}

.shutter-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    background: #ffffff;
    pointer-events: none;
    overflow: hidden;
    transform: translateY(0);
    will-change: transform;
    isolation: isolate;
}

.shutter-transition.is-hidden {
    visibility: hidden;
}

.shutter-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.shutter-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.shutter-slat {
    flex: 1 1 auto;
    width: 100%;
    min-height: 24px;
    background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(0,0,0,0.04);
    position: relative;
}

.shutter-transition.animate-open {
    animation: shutterOpen 1.15s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.shutter-transition.shutter-close {
    animation: shutterClose 0.75s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

@keyframes shutterOpen {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes shutterClose {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* HEADER GENEL YAPI */
.header {
  width: 100%;
  height: 100px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.header .container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.header.scrolled {
    background-color: #fff;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.header .logo img {
    height:50px;
}

.header .menu {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.header .menu a {
    text-decoration: none;
    color: #000;
    font-size:16px;
    font-family:'Epunda Slab', sans-serif;
    font-weight: 400;
}

.header.scrolled .menu a {
    color:#000;
}

.header .lang {
  display: flex;
  align-items: center;
  gap:5px;
}

.header .bars {
  color: #333;
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.whatsapp_phone_bar     { position:fixed; display:flex; flex-direction:column; z-index:99; right:15px; bottom:15px; }
.whatsapp_button        { background:#3fad3f; color:#fff; font-size:14px; padding:10px 15px; text-align:center; border-radius:10px; cursor:pointer; text-decoration:none; }
.whatsapp_button:hover      { background:#2f862f; color:#fff; text-decoration:none; }
.whatsapp_phone_bar i    { margin:0 5px 0 0; }

.phone_button        { background:#1e1e1e; color:#fff; font-size:14px; margin-bottom:10px; padding:10px 15px; text-align:center; border-radius:10px; cursor:pointer; text-decoration:none; }
.phone_button:hover      { background:#151515; color:#fff; text-decoration:none; }

/* MOBİL YAPI */
@media (max-width: 768px) {

    .whatsapp_phone_bar     { width:calc(100% - 40px); flex-direction: row; align-items: center; justify-content: space-between; z-index:999; left:15px; right:15px; bottom:15px; }
    .phone_button        { margin-bottom:0; }

    .header .logo img {
        height:40px;
    }
    .header {
        height: 75px;
    }
    .header .lang {
        gap:10px;
    }
    .header .container {
        width: 100%;
        padding: 0 20px;
    }
  .header .menu {
    display: none;
  }

  .header .bars {
    display: inline-block;
  }

  .footer .menu     {
      display:none;
  }

}


/* Mobil Menü Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu-overlay.active {
  display: flex;
}

.mobile-menu-overlay a {
  color: white;
  font-size: 24px;
  margin: 0 0 10px 0;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.mobile-menu-overlay a:nth-child(1) { animation-delay: 0.2s; }
.mobile-menu-overlay a:nth-child(2) { animation-delay: 0.4s; }
.mobile-menu-overlay a:nth-child(3) { animation-delay: 0.6s; }
.mobile-menu-overlay a:nth-child(4) { animation-delay: 0.8s; }
.mobile-menu-overlay a:nth-child(5) { animation-delay: 1.0s; }
.mobile-menu-overlay a:nth-child(6) { animation-delay: 1.2s; }
.mobile-menu-overlay a:nth-child(7) { animation-delay: 1.4s; }
.mobile-menu-overlay a:nth-child(8) { animation-delay: 1.6s; }
.mobile-menu-overlay a:nth-child(9) { animation-delay: 1.8s; }
.mobile-menu-overlay a:nth-child(10) { animation-delay: 2.0s; }

/* fadeInUp keyframe yedek (animate.css yoksa) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a.flip-animate {
    perspective: 1000px;
    span {
        position: relative;
        display: inline-block;
        padding: 8px 10px;
        transition: transform 0.3s;
        transform-origin: 50% 0;
        transform-style: preserve-3d;
        backface-visibility: hidden; // ✅ Ekle
    }

    span:before {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        content: attr(data-hover);
        transition: color 0.3s;
        transform: rotateX(-90deg);
        transform-origin: 50% 0;
        text-align: center;
        padding: 8px 10px;
        background: #fff;
        border-radius:5px;
        backface-visibility: hidden; // ✅ Ekle
    pointer-events: none; // ekstra garanti
    opacity: 0; // görünürlüğü sıfırla
    }
    &:hover span,
    &:focus span {
        transform: rotateX(90deg) translateY(-22px);
    }
    &:hover span:before,
    &:focus span:before {
        opacity: 1;
        color: rgb(210, 73, 54);
    }
}

.homeContento h3    {
    color:#555;
    font-family: 'Outfit', sans-serif;
    font-size:34px;
}
.homeContento h2    {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size:32px;
}

.footer {
    width: 100%;
    padding:0;
    background:#fff;
    box-shadow: rgba(255, 255, 255, 0.1) 0 1px 1px 0 inset, rgba(50, 50, 93, 0.25) 0 50px 100px -20px, rgba(0, 0, 0, 0.3) 0 30px 60px -30px;
}
.footer .container {
    height:100px;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
}

@media (max-width: 767px) {

    .footer {
        padding:0 20px;
    }

}

.footer .logo img {
    height:50px;
}

.footer nav a   { color:#333; font-size:13px; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mice-box {
    opacity: 0;
    transform: translateY(40px);
}

.mice-box.animate {
    animation: fadeInUp 0.6s forwards;
}

.delay-0 {
    animation-delay: 0s;
}
.delay-1 {
    animation-delay: 0.3s;
}
.delay-2 {
    animation-delay: 0.6s;
}
.delay-3 {
    animation-delay: 0.9s;
}
.delay-4 {
    animation-delay: 1.2s;
}

.pageHeader {
    height: 150px;
    display: flex;
    align-items: center;         /* içeriği dikeyde alta hizalar */
    justify-content: center;
    color: #000;
    font: 700 32px 'Epunda Slab', sans-serif;
    background: url('../images/header-bg.png?version=2.0.0') no-repeat center top;
    background-size: cover;
    text-align: center;
}
.servicesImageWrapper {
    width: 100%;
    height: auto;
    margin-bottom: 15px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0; /* arka plan görünmesi için opsiyonel */
    aspect-ratio: 1 / 1; /* yuvarlak sabit oran */
}

.servicesRow {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* DİKEY ORTALAMA */
    margin-bottom: 30px;
}

.servicesImageWrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.servicesImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servicesText {
    flex: 1;
}

@media (max-width: 767px) {
    .servicesRow {
        flex-direction: column;
        text-align: center;
    }

    .servicesImageWrapper {
        margin: 0 0 15px 0;
    }

    .servicesText {
        text-align: center;
    }

}

.iletForm input[type=text], .iletForm select  {
    width:100%; padding:10px; border:#efefef 1px solid; border-radius:5px;
    margin-bottom:15px;
}
.iletForm input[type=submit]  {
    padding:10px; background:#000; color:#fff; border-radius:5px; border:none;
}
.iletForm textarea  {
    width:100%; padding:10px; border:#efefef 1px solid; border-radius:5px;
    margin-bottom:15px;
}


.workingStyle {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
    margin-top: 30px !important;
}

.workingStyle > [class*="col-"] {
    margin-bottom: 0;
}

.workingStyle .ws {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9f4 100%);
    color: #1f1f1f;
    min-height: 220px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 34px 32px 34px;
    position: relative;
    font-size: 14px;
    line-height: 1.75;
    font-family: 'Reddit Sans', sans-serif;
    border: 1px solid rgba(129, 186, 65, 0.12);
    border-radius:10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.workingStyle .ws:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
    border-color: rgba(129, 186, 65, 0.28);
}

.workingStyle .ws::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #81ba41 0%, #9fd25d 100%);
}

.workingStyle .ws img {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    object-fit: contain;
    opacity: 0.95;
}
.workingStyle .ws b {
    font-family: 'Epunda Slab', sans-serif;
    font-size: 22px;
    line-height: 1.3;
    color: #15243f;
    margin-bottom: 12px;
    display: block;
    max-width: calc(100% - 70px);
}

.workingStyle .ws:first-child{
    border-top-left-radius: 28px;
}
.workingStyle .ws:last-child{
    border-bottom-right-radius: 28px;
}

.workingStyle .ws:nth-child(2n) {
    background: linear-gradient(180deg, #fbfcf8 0%, #f2f6ec 100%);
}

.wsTitle {
    padding: 20px 25px 18px 25px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 6px auto;
}

.wsTitle h4 {
    font-family: 'Epunda Slab', sans-serif;
    font-size: 38px;
    line-height: 1.2;
    color: #81ba41;
    font-weight: 600;
    margin-bottom: 14px;
}

.wsTitle p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #5c5c5c;
}

@media (max-width: 767px) {
    .workingStyle {
        --bs-gutter-x: 20px;
        --bs-gutter-y: 20px;
        margin-top: 20px !important;
    }

    .workingStyle .ws {
        min-height: auto;
        padding: 30px 24px 24px 24px;
        border-radius: 18px;
    }

    .workingStyle .ws img {
        width: 44px;
        height: 44px;
        top: 20px;
        right: 20px;
    }

    .workingStyle .ws b {
        font-size: 19px;
        max-width: calc(100% - 56px);
    }

    .wsTitle {
        padding: 10px 10px 6px 10px;
    }

    .wsTitle h4 {
        font-size: 28px;
    }

    .wsTitle p {
        font-size: 14px;
        line-height: 1.7;
    }
}

.ServiceList .serviceElement{
    margin-bottom:30px;
    position: relative;
    cursor:pointer;
}
.ServiceList .serviceElement a {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.ServiceList .serviceElement img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.ServiceList .serviceElement b {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #fff;
    font-family:'Epunda Slab', sans-serif;
    font-size:25px;
    z-index: 2;
}

.ServiceList .serviceElement a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
    pointer-events: none;
}

.serviceContent {
    font-size:13px;
    font-family: 'Reddit Sans', sans-serif;
    line-height:20px;
    margin-bottom:30px;
}
.serviceContent h1 {
    font-family:'Epunda Slab', sans-serif;
    font-size:35px;
}
.serviceContent ul {
    margin:20px 0;
}
.serviceContent ul li {
    list-style-type:circle;
}

.serviceImageRadius {
    border-radius:20px;
    margin-bottom:30px;
}

.otherServices ul, .otherServices ul li     {
    margin:0; padding:0;
    list-style-type:none;
}

.otherServices ul li a {
    width:100%;
    padding:10px; border-radius:6px;
    background:#efefef;
    box-sizing: border-box;
    display:block;
    color:#000;
    text-decoration:none;
    font-family:'Epunda Slab', sans-serif;
    font-size:13px;
    cursor:pointer;
    margin-bottom:5px;
}
.otherServices ul li a:hover {
    background:#e7e7e7;
    text-decoration:none;
}

/* Instagram gradient button */
.InstagramLink{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    border-radius: 5px;
    color: #fff;
    margin-top:5px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    background: radial-gradient(circle at 30% 110%,
    #fdf497 0%, #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.InstagramLink:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,.24);
    filter: saturate(1.15) brightness(1.05);
}