
/* Top Header */
.top-header {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #343434;
  color: #fff;
  transition: all 0.3s ease;
  z-index: 999;
  
  
}
.top-header.hidden {
  opacity: 0;
  transform: translateY(-100%);
  height: 0;
  overflow: hidden;
}


.top-header-row {
  width: 100%;
  max-width: 1060px;
  height: 52px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
}
.catalog-icon {
  width: 20px;
  height: 20px;
  width: clamp(16px, 2vw, 20px);
  height: clamp(16px, 2vw, 20px);
}
 .catalog-text-wrapper{
  width: 100%;
  max-width: 365px;
  padding: 0;
  cursor: pointer;
  color: inherit;
  height: 100%;
  display: flex; 
  align-items: center; 
  justify-content: flex-start;
  
}
.catalog-text-wrapper:hover .catalog-text {
  color: #D6790F; /* hover efekti istersen */
}
.top-header-bosluk{
  width: 100%;
  max-width: 480px;
  
}

.catalog-text {

font-size: clamp(11px, 1.2vw, 13px);
font-family: DM Sans;
font-weight: 300;
font-style: Light;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
  color: #B1B1B1;
  
}
.catalog-text:hover {
  opacity: 0.8;
}

/* Sosyal + Dil + Arama */
.header-right {
  width: 100%;
  max-width: 215px;
  display: flex;
  align-items: center;
   gap: 8px;
  flex-wrap: nowrap;
  
  flex-shrink: 1;
  padding-left: 0 !important;
  height: 100%;
}

.social-icons img {
  width: clamp(16px, 2vw, 18px);
  height: clamp(16px, 2vw, 18px);
  transition: transform 0.3s ease-in-out; 
}
.social-icons a:hover img {
  transform: scale(1.2); 
}
.language-select {
  display: flex;
  gap: 6px;
   font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 500;
}
.language-select .lang-tr {
  display: flex;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #F69930;
}

.language-select a {
  color: #fff;
  text-decoration: none;
  opacity: 0.6;
}
.language-select a:hover,
.language-select .active {
  opacity: 1;
}
.search-area img {
   width: clamp(16px, 2vw, 18px);
  height: clamp(16px, 2vw, 18px);
  transition: transform 0.3s ease;
}
.search-area:hover {
transform: scale(1.1);
}


/* Nav */

.main-nav {
  position: relative;
  z-index: 1000;
  width: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  /*background-color: transparent;*/
  
}
.main-nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
/*  background-color: transparent;*/
  background-color: rgba(0, 0, 0, 0.4);
  height: 100px;
  width: 100vw !important;
  z-index: 1000;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
} 



.main-nav.fixed .logo-area {
  height: 90px;
}


/* Logo */
.logo-area {
  width: 100%;
  max-width: 365px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  
  padding: 0;
  box-sizing: border-box;
  animation: slideInFromRight 1s ease-out forwards;
  height: 100%;
}
.logo-area a {
    display: flex; 
    align-items: center; 
    height: 100%; 
}
.logo-area img {
    
    max-width: 100%; 
    width: auto; 
    
    
    max-height: 80px; 
    
  
    height: auto; 
}

/* Menü */
.menu-area-wrapper {
 display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 480px;
  height: 100%;
  padding: 0;
  
}
.menu-area {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  height: 100%; 
   padding: 0 5px;
  
}
.menu-area .nav-link {
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
   line-height: 100%;
   letter-spacing: 0;
  
  color: #ffffff;
  text-decoration: none;
 
  transition: all 0.3s ease;

}


.nav-link:hover {
  color: #F69930;
  opacity: 0.8;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.active:visited,
.nav-link.active:focus,
.nav-link.active:hover {
  color: var(--primary-color);
}

.menu-underline-icon {
    
    position: absolute; 
    
    
    bottom: -30px;
    left: 50%; 
    
    transform: translateX(-50%); 
    
    
    width: 0;
    height: 20px; 
    background-image: url('/static/img/menu_aktif_icon.svg');
    background-repeat: no-repeat;
    background-size: 79px 20px;
    background-position: left right;
    overflow: hidden;
    transition: width 0.4s ease;
    
}

.nav-link:hover .menu-underline-icon,
.nav-link.active .menu-underline-icon {
    width: 79px;
}

.nav-inner {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  height: 100px;
  display: flex;  
  align-items: center;  
}

.nav-bg {
  height: 100%;
  background-image: url('/static/img/nav-zemin.svg');
  background-repeat: no-repeat;
  background-size: 100% 149px; 
  background-position: left bottom;
  background-color: transparent;
  overflow: hidden;
}

/* Müşteri Hizmetleri */
.contact-area-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  height: 100%;
  width: 215px;
  margin: 0;
}
.contact-area {

  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: start;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  
}
.contact-visual {
  width: 48px;
  height: 48px;
  position: relative;
}
.zemin-img {
  width: 50px;
  height: 50px;
 
}
.ikon-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 34px;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease; 
}
.ikon-img:hover {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0.85;
  
}
.contact-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.customer-service {
  font-family: DM Sans;
font-weight: 400;
font-style: Regular;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;

}
.phone-number {
  font-family: DM Sans;
font-weight: 900;
font-style: Black;
font-size: 20px;

line-height: 100%;
letter-spacing: 0%;

  opacity: 0.85;
 
}

/* Hamburger */
.navbar-toggler {
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger-icon {
width: clamp(20px, 5vw, 28px);
  height: auto;
}

/* Mobil Sidebar */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
}
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(260px, 85vw, 300px);
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 10001;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 24px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.mobile-sidebar.open {
  transform: translateX(0);
}
.mobile-overlay.active {
  display: block;
}
.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.mobile-menu a:hover {
  background-color: var(--primary-color);
  color: #fff;
}
.mobile-contact-area {
  margin-top: 30px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-contact-area a {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #fff;
}
.mobile-contact-area img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: invert(100%);
}

.hamburger-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 8px;
 
}



@media (max-width: 1200px) {
    .main-nav.fixed {
      position: fixed;
      height: 100px;
    } 



    .main-nav.fixed .logo-area {
      height: 50px;
    }

    .nav-inner {
        margin: 10px auto;
        height: 50px;
    }
    .nav-bg {
        height: 100px;
       padding: 10px 0;
    }
    .menu-area-wrapper {
      width: 40%;
    }
    .top-header-bosluk{

      width: 40%;
    }

    .menu-area{
      
      gap: 10px;
      justify-content: end;
    }
    .menu-area .nav-item a {
        
        font-size: 14px;
    }
    
    .contact-visual {
      width: 40px;
      height: 40px;

    }
    .header-right{
    width:200px;
    padding-right: 0;
    }
    .contact-area-wrapper {
      width: 200px !important;
      
    }
    .contact-area{
      gap: 5px;
    }
    .zemin-img{
       display: flex;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
    }
    .ikon-img{
      width: 30px;
      height: 30px;
    }
    .customer-service{
      font-size: 14px;
    }
    .phone-number {
      font-size: 16px;
    }

  }



/* Responsive */
@media (max-width: 991px) {
   .main-nav {
    height: 70px;
  }

  .main-nav.fixed {
    height: 70px;
  }
  .nav-inner{
    height: 50px;
    justify-content: space-between;
   }
   
  .top-header-row{
    height: 40px;
    padding-left: 15px;
    justify-content: space-between;
  }
  .top-header {
    height: 40px;
  }
  .contact-area{
    height: 40px;
  }
  .contact-text{
    font-size: 12px !important;
  }
 .customer-service{
      font-size: 12px;
    }
    .phone-number {
      font-size: 14px;
    }
    .contact-visual {
        width: 30px; 
        height: 30px;
    }
    .zemin-img {
       display: flex;
      justify-content: center;
      align-items: center;
      width: 30px;
      height: 30px;
    }
    .ikon-img {
        width: 20px; 
        height: 20px;
    }
     .contact-area-wrapper {
      width: 180px;
      
    }
    .catalog-text-wrapper{
      margin-left: 0;
     
    }
    .logo-area{
      margin-left: 0;
      height: 40px;
    }
    .logo-area img{
      width: 200px;
      height: 40px;
    }
  .catalog-text {
  font-size:11px;
  font-family: DM Sans;
  font-weight: 300;
  font-style: Light;
  line-height: 100%;
  letter-spacing: 0%;
  color: #B1B1B1;
}
.header-right {
    gap: 4px; 
    
  }
  .social-icons img,
  .search-area img {
    width: 14px;
    height: 14px;
   
  }
  .language-select,
  .language-select a {
    font-size: 12px;
    gap: 4px; 
  }
  .language-select .lang-tr {
  font-size: 14px; 
 
}

}
@media (max-width: 768px) {
  .main-nav {
    height: 40px;
  }

  .main-nav.fixed {
    height: 40px;
  }

  .main-nav .logo-area,
  .main-nav.fixed .logo-area {
    height: 36px; 
  }

  .nav-bg {
    height: 40px;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: left bottom;
    
  }

  .nav-inner {
    height: 50px;
    align-items: center;
    margin-top: 0;
  }
    .logo-area {
    width: 30%;
    height: 30px !important;
    padding-left: 15px;
  }
  
  .logo-area img{
    width: 100px;
    height: 50px;
  }
  .contact-area-wrapper {
    padding: 4px 0px;
    padding-left: 00px;
    padding-right: 0;
    justify-content: start;
    padding-top: 0;
  }
  .header-right {
    justify-content: start;
    padding-left: 0;
  }
}
@media (max-width: 576px) {

  .main-nav .logo-area,
  .main-nav.fixed .logo-area {
    height: 36px; 
  }

  .nav-bg {
    height: 30px;
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: left bottom;
    
  }

  .nav-inner {
    height: 30px;
    align-items: center;
  }
  .contact-area{
    height: 30;
    padding-top: 5px;
  }
  
    .logo-area {
    width: 30%;
    height: 30px !important;
    padding-left: 15px;
    
  }
  
  .logo-area img{
    width: 100px;
    height: 50px;
  }


 

  .customer-service {
    font-size: 10px;
  }

  .phone-number {
    font-size: 12px;
  }
}



/* Animasyonlar */
@keyframes slideInFromRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes logoAppear {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes logoFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
