/* Sticky header with subtle shadow and gradient */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: linear-gradient(90deg, #ffffffdd, #f8f9fadd);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
      z-index: 999;
      border-bottom: 1px solid #ddd;
      backdrop-filter: saturate(180%) blur(10px);
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* Body padding to avoid content behind fixed header */
    body {
      padding-top: 80px;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #fefefe;
      color: #222;
      margin: 0;
    }

    /* Logo container */
    #logo a {
      display: inline-block;
      transition: transform 0.3s ease;
    }
    #logo img {
      height: 70px;
      border-radius: 8px;
      display: block;
    }
    #logo a:hover img {
      transform: scale(1.05);
    }
	
	#logo {
  margin-right: 10px; /* reduced space */
}

    /* Navigation menu styles */
    nav ul.nav {
      margin-bottom: 0;
    }

    .nav-link {
      color: #444;
      font-weight: 600;
      padding: 10px 18px;
      transition: color 0.3s ease, background-color 0.3s ease;
      border-radius: 8px;
      font-size: 1rem;
    }

    .nav-link:hover,
    .nav-link:focus {
      color: #0d6efd;
      background-color: #e9f1ff;
      text-decoration: none;
    }
	
	/* Hover dropdown: alt menü mouse ile açılır */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* küçük kaydırma */
    transition: all 0.3s ease;
}

/* Opsiyonel: dropdown item hover efekti */
.dropdown-item:hover {
    background-color: #0d6efd;
    color: white;
}

    /* Dropdown menu styling */
    .dropdown-menu {
      border-radius: 10px;
      box-shadow: 0 8px 22px rgba(0,0,0,0.12);
      border: 1px solid #ddd;
      font-size: 0.95rem;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
      background-color: #0d6efd;
      color: white;
    }

    /* Responsive tweaks */
    @media (max-width: 767.98px) {
      #header .container > div {
        flex-wrap: wrap;
        justify-content: center;
      }

      nav ul.nav {
        flex-wrap: wrap;
        justify-content: center;
      }

      .nav-link {
        padding: 8px 12px;
        font-size: 0.95rem;
      }

      #logo img {
        height: 60px;
      }
    }
	
#slider .slider-caption {
    top: 20% !important;               /* En tepe nokta */
    bottom: auto !important;
    transform: translateY(0) !important;
    padding-top: 20px;               /* İstersen kaldırabilirsin */
}

.slider-caption {

     height: 10%;
}