
.herorelative{
    position:relative;
}

/*popup Name*/
h2{
    color:#333;
}

h3{
    color:#999;
    font-weight:300;
    font-size:15px;
    margin-top:5px !important;
}

#owlContainer{
    bottom:0;
    right:0;
    position:absolute;
    margin-right:10%;
    z-index:9;
    margin-top:-65px;
   
}

#owl {
    width: 450px; 
    height: auto; /* Maintain aspect ratio */
    z-index: 10;
    position:relative;

}

#owlLeftEyeContainer,
#owlRightEyeContainer {
    position: absolute; /* Relative to #owlContainer */
    width: 10%; /* Adjust based on eye size relative to the owl */
    height: 10%; /* Keep proportional */
    z-index:3;
}

#owlLeftEyeContainer {
    top: 40%; /* Vertical position of the left eye */
    left: 25%; /* Horizontal position of the left eye */
    z-index:9;

}

#owlRightEyeContainer {
    top: 40%; /* Vertical position of the right eye */
    left: 65%; /* Horizontal position of the right eye */
    z-index:9;
}

.owlEyes {
    width: 30px; 
    height: 30px; 
    background-color: white; 
    border-radius: 50%; 
    position: relative; 
    border: 2px solid white; 
    transition: transform 0.2s ease; /* Smooth transformation */
    z-index:9;
}


/*left eye*/
.eyes {
    position: absolute;
    margin-top: -99.7%; /* Adjust the vertical position of the eyes */
    margin-left: 14.9%;
    display: flex;
    justify-content: space-around; /* Space the eyes apart */
    width: 33%; /* Full width for the eyes container */
    overflow: hidden;
    z-index:9;
}


.eyes .eye {
    position: relative;
    width: 86px; /* Width of each eye */
    height: 86px; /* Height of each eye */
    background-color: rgb(214, 33, 160); /* RED Color of the eye */
    display: block;
    border-radius: 50%; /* Make it circular */
    overflow: hidden;
    flex: none;
    padding:2%;
    margin-left:4.5%;
    margin-top:5%;
    z-index:9;


}

.eyes .eye::before{
    content: "";
    position: absolute;
    top:50%;
    left:25px;
    transform: translate(-50%, -50%);
    width:40px;
    height: 40px;
    background-color: white;
    z-index:9;
}

.eye::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -0%); /* Center the pupil */
    width: 40px; /* Width of the pupil */
    height: 40px; /* Height of the pupil */
    background-color: white; /* Color of the pupil */
    border-radius: 50%; /* Make it circular */
    z-index:9;
}

/*right eye/*/
.eyes3 {
    position: absolute;
    margin-top: -101%; /* Adjust the vertical position of the eyes */
    margin-left: 27%;
    display: flex;
    justify-content: space-around; /* Space the eyes apart */
    width: 53%; /* Full width for the eyes container */
    overflow: hidden;
    z-index:9;

}

.eyes3 .eye3 {
    position: relative;
    width: 86px; /* Width of each eye */
    height: 86px; /* Height of each eye */
    background-color: tomato; /* RED Color of the eye */
    display: block;
    border-radius: 50%; /* Make it circular */
    overflow: hidden;
    flex: none;
    padding:2%;
    margin-left:52%;
    margin-top:5.5%;
    z-index:9;


}

.eyes3 .eye3::before{
    content: "";
    position: absolute;
    top:50%;
    left:25px;
    transform: translate(-50%, -50%);
    width:40px;
    height: 40px;
    background-color: white;
    z-index:9;
}

.eye3::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -0%); /* Center the pupil */
    width: 40px; /* Width of the pupil */
    height: 40px; /* Height of the pupil */
    background-color: white; /* Color of the pupil */
    border-radius: 50%; /* Make it circular */
    z-index:9;
}


.team{
    display:flex;
    flex-direction:row;
    width:100%;
    margin:auto;
}

  #membersContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns of equal width */
    padding: 0px; /* Padding around the grid */
    width:80%;
    margin:auto;
}

body.popup-open .memberPicContainer:hover .photosBck {
    display: none !important;
}

body.popup-open-photos .memberPicContainer:hover .photos {
    display: block !important;
}


.memberCard{
    display:flex;
    flex-direction:column;
    background:none;
    cursor:pointer;
}
.memberPicContainer {
    aspect-ratio: 1 / 1; /* Vesikalık oran 3:4 */
    background: #333;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Taşan kısımları gizlemek için */
}

.photos {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fotoğraf konteynırı doldurur ve oranı korur */
}
.photosBck {
    position: absolute; /* Positioned relative to the wrapper */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures proper scaling of the background image */
    display: none; /* Hidden by default */
    z-index: 2; /* Will appear above the main photo */
}

.memberPicContainer:hover .photosBck{
    display:block;
    z-index:2;
}

.memberPicContainer:hover .photos{
    display:none;
}

.memberPicContainer img {
    height: 100%; /* Ensures the image height matches the container height */
    width: 100%; /* Maintains aspect ratio */
    object-fit: cover; /* Prevents image stretching */
    margin:auto;

}

.memberTextContainer{
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-align:left;
    background:transparent !important;
    padding:4% 2% 4% 2%;

}

.memberNameContainer{
    font-size:23px;
    color:white;
}

.memberTitle{
    font-size:20px;
    color:white;
    font-weight:300;
    padding-top:2%;
    line-height:25px;
}


.memberDesc{
    color:white;
    font-size:16px;
    font-weight:200;
    padding-top:2%;
    line-height:25px;
}

.clientDetailButton{
    display:flex;
    justify-content:flex-end;
    position:absolute;
    width:60px;
    right:0;
    bottom:0;
    padding-right:2%;
    padding-bottom:2%;
    z-index:3;

}

.ok{
    object-fit: contain; 
}

.cv-popup{
  cursor: default !important; /* Popup açıkken popup içeriği için pointer'ı kaldır */
}

.cv-details .text-huge{
    font-size:18px;
}


.cv-details .text-big{
    font-size:16px;
}

.cv-details .text-small{
    font-size:14px;
}

.cv-details .text-tiny{
    font-size:12px;
}


.popup-header{
  position: sticky;
  top:0px;
  background:white;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}

.popup-header h2{
    padding-top:1.2%;
}
.popup-header h4{
    margin-top:.1%;
    font-size:22px;
    font-weight:300;
}

.header-content{
    display:flex;
    flex-direction:column;
    padding-top:10px;
}

.cv-popup-overlay {
  position: fixed;       /* Sayfanın tamamını kapla */
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4); /* Yarı saydam siyah */
  z-index: 999;          /* Popup’ın altında kalacak şekilde yüksek z-index */
  cursor: default;       /* Arka plan üzerinde pointer değil */
  pointer-events: auto;  /* Tıklanabilir (kapatmak için) */
  transition: opacity 0.3s ease;
}


.cv-popup {
    display: flex; /* Başlangıçta gizli */
    position: fixed;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: auto;
    max-height: 80vh; 
    padding: 0 20px 20px 20px;
    border-radius: 8px;
    overflow: hidden;

}

.fili{
    position: fixed;       /* Sayfanın tamamını kapla */
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6); /* Yarı saydam siyah */
  z-index: 999;
}

.fili.hidden{
    display:none;
}

@media screen and (max-width:1100px) and (min-width:300px){
    .cv-popup{
        width:90%;
    }
}


/* Yarı saydam arka plan */
.cv-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Yarı saydam arka plan */
    display: none; /* Başlangıçta gizli */
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Popup içerik stilini düzenle */
.popup-content {
    position: relative;
    width:100%;
    overflow-y: auto;
}

.popup-content h2, .popup-content h3 {
    margin: 0;
    padding: 0;
}

.popup-content .cv-details {
    margin-top: 20px;
}

.cv-details .text-huge{
    font-size:18px;
}


.cv-details .text-big{
    font-size:16px;
}

.cv-details .text-small{
    font-size:14px;
}

.cv-details .text-tiny{
    font-size:12px;
}



.close{
    color:#333;
}

/* Kapatma butonu */
.cv-popup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;

}

/* Popup ve overlay gizleme */
.hidden {
    display: none;
}

/********MEMBERS DISPLAY*********************************/

@media screen and (max-width:1200px) and (min-width:900px){
    
  #membersContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 columns of equal width */
    gap: 0px; /* Space between grid items */
    padding: 0px; /* Padding around the grid */
    width:100%;
}
}

@media screen and (max-width:900px) and (min-width:700px){
    
  #membersContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4 columns of equal width */
    gap: 0px; /* Space between grid items */
    padding: 0px; /* Padding around the grid */
    width:100%;
}
}

@media screen and (max-width:700px) and (min-width:300px){
    
  #membersContainer {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 4 columns of equal width */
    gap: 0px; /* Space between grid items */
    padding: 0px; /* Padding around the grid */
    width:100%;
}
}


@media screen and (max-width:1100px) and (min-width:300px){
    #owlContainer{
    display:none;
    
   
   
}
}


