body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar-toggle {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  background-color: #1e3a5f;
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 1.2rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .sidebar-toggle {
    display: block;
  }

  .sidebar-collapsed .sidebar {
    display: none;
  }

  .sidebar-collapsed .content-wrapper {
    margin-left: 0 !important;
  }
}

a {
  color: #394867;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #1e3a5f;
  text-decoration: underline;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin-top: 0;
}

.logo,
.myo-logo {
  width: 80px;
  height: 80px;
}

.logo-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.myo-rounded {
  border-radius: 50%;
  object-fit: cover;
}

nav.sidebar,
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(to bottom, #1e3a5f, #5c9edc);
  padding-top: 3rem;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  z-index: 100;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar ul,
nav.sidebar ul {
  list-style: none;
  padding: 0 1.25rem;
  margin: 0;
}

.sidebar li,
nav.sidebar li {
  margin-bottom: 1.5rem;
}

nav.sidebar li button,
.dropdown-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #f1f6f9;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

nav.sidebar li button:hover,
nav.sidebar li button:focus,
.dropdown-btn:hover {
  background-color: #f1f6f9;
  color: #394867;
  transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  outline: none;
}

.dropdown {
  margin-bottom: 1rem;
  position: relative;
}

.dropdown-content {
  display: none;
  flex-direction: column;
  margin-top: 0.3rem;
  padding-left: 1rem;
}

.dropdown.open .dropdown-content {
  display: flex;
}

.dropdown-content a {
  padding: 0.4rem 0.5rem;
  color: #f1f6f9;
  font-size: 0.95rem;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  border-left: 2px solid #f1f6f9;
  background-color: rgba(255, 255, 255, 0.1);
  color: #cce7ff;
}

main.content-wrapper,
.content-wrapper {
  margin-left: 260px;
  padding: 2rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

header {
  background: linear-gradient(to right, #1e3a5f, #5c9edc);
  color: #f1f6f9;
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

header .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.primary-nav ul.menu-center {
  list-style: none;
  padding-left: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 0;
}

.primary-nav ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  position: relative;
}

.primary-nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #f1f6f9;
  transition: width 0.3s ease;
}

.primary-nav ul li a:hover::after,
.primary-nav ul li a:focus::after {
  width: 100%;
}

.hero {
  background-image: url("images/EUKAPI.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 360px;
  position: relative;
  padding: 3rem 1rem;
}

.projects {
  display: flex;
  flex-direction: column;
  padding: 4rem 1rem 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.projects h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: #394867;
  text-shadow: 0 0 3px #9ba4b5;
}

.project-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 800px;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 2, 3, 0.3);
}

.project-iframe-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  position: relative;
}

.project-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.project-title {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #394867;
}

.project-description {
  font-size: 1rem;
  color: #9ba4b5;
  margin: 1rem 0;
}

footer,
#footer {
  background-color: #212a3e;
  padding: 1.5rem 0;
  text-align: center;
  color: #f1f6f9;
  font-size: 0.9rem;
  margin-top: auto;
}

#footer a {
  color: #0d6efd;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
  }

  .content-wrapper {
    margin-left: 0;
    padding: 1rem;
  }

  .sidebar,
  nav.sidebar {
    position: relative;
    width: 100%;
    height: auto;
    box-shadow: none;
    padding: 0.5rem 1rem;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
  }

  .sidebar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .dropdown {
    width: 48%;
    margin: 1%;
  }

  .project-iframe-wrapper {
    height: 300px;
  }

  .hero {
    height: auto;
  }

  .projects {
    padding: 2rem 1rem;
  }
}

@media (max-width: 576px) {
  .dropdown {
    width: 100%;
  }

  .project-iframe-wrapper {
    height: 220px;
  }
}

#hakkinda {
  background-color: rgba(30, 58, 95, 0.1);
  /* Hafif koyu mavi ton */

  padding: 2rem;
  border-radius: 12px;
}