@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Roboto:300,600);
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');

* {
  font-family: 'Arimo', sans-serif; 
  font-weight: 300;
}
a {
  text-decoration: none !important;
}
body {
  background-color: #eceff0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container-custom {
  width: 100%;
  max-width: 1100px;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.hf-container {
  width: 100%;
  max-width: 1100px;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 15px;
}
.urun-kutusu {
  border: 1px solid #004cab;
  min-height: 100px;
  text-align: center;
  background: #f9f9f9;
}
.urun-kutusu:hover {
  border: 1px solid #FFC000;
  box-shadow: 0 0 0 1px #FFC000, inset 0 0 0 1px #FFC000;
}
.urun-kutusu img {
  height: 200px;
  box-sizing: border-box;
}
.hizmet-isim {
  border-top: 1px solid #004cab;
  background: #f9f9f9;
  transition: 0.3s;
  height: 75px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hizmet-isim span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
}
.urun-kutusu:hover .hizmet-isim {
  background-color: #d5dfee;
}
.video-thumb {
  width: 90px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.inputfile {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.inputfile + label {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem !important;
  color: #fff;
  background-color: #004cab;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.inputfile + label:hover {
  background-color: #003679;
}
.inputfile + label span {
  margin-left: 8px;
}
.inputfile + label svg {
  vertical-align: middle;
  margin-right: 8px;
  fill: #fff;
  width: 16px;
  height: 16px;
}
input[type="file"] {
    display: none;
}
.old-image-container {
  display: inline-block;
  padding: 5px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  margin: auto;
  width: 250px;
}
.old-image {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.card {
  margin: 15px 0;
}
.bg-blue {
  background-color: #004cab !important;
}
.bg-blue:hover {
  background-color: #003679 !important;
}
.phone-field {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.phone-field input {
  margin-right: 10px;
  flex: 1;
}
.remove-phone-field {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  width: 35px;
  text-align: center;
  cursor: pointer;
  margin: 0 0 0 10px;
}
.remove-phone-field:hover {
  background-color: #c82333;
  border-color: #bd2130;
}
#add-phone-field {
  color: white;
  width: 35px;
  height: 35px;
  text-align: center;
  margin: 0 10px 0 10px;
}
h5 {
  color: #FFC000 !important;
  font-weight: bold;
}
.cursor-pointer {
  cursor: pointer;
}
.map {
  height: 400px;
}
.project-title {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
  text-decoration: none;
  cursor: default;
  transition: background-color 0.3s ease;
}
.project-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #004cab;
  transition: width 0.3s ease;
}
.project-title:hover {
  color: #003679;
  background-color: #FFC000;
}
.project:hover {
  background-color: #ffe79d;
}
.project-title:hover::after {
  width: 100%;
}
#gecmisOk {
  font-size: 22px;
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
}
.pagination {
	list-style-type: none;
	padding: 10px 0;
	display: inline-flex;
	justify-content: center;
	box-sizing: border-box;
}
.pagination li {
	box-sizing: border-box;
	padding-right: 10px;
}
.pagination li a {
	box-sizing: border-box;
	background-color: #F0F0F0;
	padding: 8px;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	color: #004cab;
	border-radius: 4px;
}
.pagination li a:hover {
	background-color: #EBECEC;
	color: #004cab;
}
.pagination .next a, .pagination .prev a {
	font-size: 13px;
}
.pagination .currentpage a {
	background-color: #004cab;
	color: #fff;
}
.pagination .currentpage a:hover {
	background-color: #003679;
	color: #fff;
}

/* Swiper Galeri */
.myGallery {
  width: 100%;
  padding-bottom: 20px;
  max-width: 450px;
}
.swiper-project {
  width: 100%;
  max-width: 350px;
}
.swiper-slide {
  overflow: hidden;
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide-gallery {
  aspect-ratio: 1 / 1;
  /*height: 150px;*/
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
@media screen and (max-width: 992px) {
  .myGallery {
    max-width: 100%;
  }
  .swiper-project {
    max-width: 100%;
  }
}
hr {
  color: #004cab;
}

/* Slider */
.slider-container {
  position: relative;
  /*max-width: 900px;*/
  height: 400px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease-out;
  width: 100%;
}
.slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: auto;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.slide-blur-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.6); 
  z-index: 1;
}
.slide-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}
.slide:active {
  cursor: grabbing;
}
.slider-text {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: 100%;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}
.slider-text h2 {
  margin: 0;
  font-size: 18px;
}
.slider-text p {
  margin: 5px 0;
  font-size: 14px;
}

@media screen and (max-width: 470px) {
  .slide {
    flex: 0 0 100%;
  }
  .slider-text {
    padding: 8px;
  }
  .slider-text h2 {
    font-size: 15px;
  }
  .slider-text p {
    font-size: 11px;
  }
  .slider-button {
    font-size: 20px;
    padding: 6px;
  }
}

.slider-text a {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 16px;
  background: #004cab;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.slider-text a:hover {
  background: #003679;
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 16px;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.slider-container:hover .slider-button {
  opacity: 1;
  visibility: visible;
}
.slider-button:hover {
  background: rgba(0, 0, 0, 0.8);
}
.slider-button.left {
  left: 10px;
}
.slider-button.right {
  right: 10px;
}

/*--------------------------Side Bar---------------------------*/
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: linear-gradient(180deg, #2C3E50 0%, #1a252f 100%);
    border-right: none;
    color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.sidebar.active {
    left: 0;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    padding-bottom: 90px;
}
.sidebar ul li {
    margin-bottom: 20px;
}
.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 12px 20px;
    margin: 5px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}
.sidebar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}
.fixed-bottom-right {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin: 0;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    backdrop-filter: blur(5px);
}
.side-toggle-btn {
    position: fixed;
    top: 50px;
    left: 0;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    background-color: #2C3E50;
    border-radius: 0 8px 8px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    transition: left 0.3s ease, background-color 0.3s ease;
}
.sidebar.active ~ .side-toggle-btn {
    left: 250px;
}
.side-toggle-btn:hover {
    background-color: #004cab;
}
/* Mobil uyum */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    .sidebar.active ~ .side-toggle-btn {
        left: 200px;
    }
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.sidebar h2 {
    margin-bottom: 20px;
}
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02); 
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4); 
}
.sidebar {
    display: flex;
    flex-direction: column;
}
.sidebar ul {
    padding-bottom: 0 !important;
    margin-bottom: 20px;
}
.fixed-bottom-right {
    position: relative !important; 
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: auto !important;
    width: 100%;
}

/* --- MODERN TASARIM DEĞİŞKENLERİ VE GENEL AYARLAR --- */
:root {
  --primary-color: #004cab;
  --secondary-color: #FFC000;
  --dark-text: #333;
  --transition-speed: 0.3s;
  --bs-link-color-rgb: 0, 0, 0;
  --bs-link-hover-color-rgb: 91, 155, 213;
}

/* --- MENÜ (NAVBAR) ANİMASYONLARI --- */
.navbar-nav .nav-link { 
  position: relative;
  transition: color var(--transition-speed) ease;
  padding-bottom: 5px;
}
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  transition: width var(--transition-speed) ease;
  border-radius: 3px;
}
.navbar-nav .nav-link:hover::before {
  width: 80%;
}
.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* --- HİZMET/ÜRÜN KARTLARI (GRID) --- */
.urun-kutusu {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.urun-kutusu a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.urun-kutusu img {
  border-bottom: 2px solid #f0f0f0;
  transition: transform 0.5s ease;
}
.urun-kutusu:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border: none;
}
.urun-kutusu:hover img {
  transform: scale(1.05);
}
.hizmet-isim {
  border: none;
  background: #fff;
  flex-grow: 1;
  padding: 15px 10px;
  font-weight: 600;
  color: var(--dark-text);
  transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
}
.urun-kutusu:hover .hizmet-isim {
  background-color: var(--primary-color);
  color: #fff;
}
.istirak-card {
  transition: all 0.3s ease;
  cursor: pointer;
}
.istirak-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}
.text-truncate-2-lines {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.refSwiper .swiper-slide img.ref-logo {
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    cursor: default;
    display: inline-block;
    border-radius: 0 !important;
}
.refSwiper .swiper-slide img.ref-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1); /* Hafifçe büyür */
}

/* --- FOOTER --- */
.custom-footer {
    background: #ffffff;
    border-top: 5px solid #FFC000;
    position: relative;
    margin-top: auto;
}
.footer-contact li a {
    transition: color 0.3s ease;
}
.footer-contact li a:hover {
    color: #FFC000 !important;
}
.social-links .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: #004cab;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-links .social-icon:hover {
    background-color: #004cab;
    color: #FFC000;
    transform: translateY(-4px); /* Fareyle gelince hafif yukarı zıplar */
    box-shadow: 0 5px 15px rgba(91, 155, 213, 0.4);
    border-color: #004cab;
}