@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;

}

/* GLOBAL TAGS */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(35, 35, 85);
}

span {
  font-size: .9rem;
  color: rgb(24, 24, 49);
}

h6 {
  font-size: 1.1rem;
  color: rgb(24, 24, 49);
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1vw 8vw;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

nav img {
  width: 90px;
  cursor: pointer;
}

nav .navigation {
  display: flex;
}

#menu-btn {
  width: 30px;
  height: 30px;
  display: none;
}

#menu-close {
  display: none;
}

nav .navigation ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0px;
  margin-left: -100px;
  /* Başlıkları biraz sola kaydırmak için */
}

nav .navigation ul li {
  list-style: none;
  margin-left: 35px;
  position: relative;
}

nav .navigation ul li a {
  text-decoration: none;
  color: rgb(21, 21, 100);
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s ease;
}

nav .navigation ul li a.active,
nav .navigation ul li a:hover {
  color: #337ecc;
}

/* DROPDOWN BAŞLANGICI */
nav .navigation ul li.dropdown>a::after {
  content: " ▼";
  font-size: 0.6em;
  margin-left: 6px;
}

nav .navigation ul li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 250px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

nav .navigation ul li .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: rgb(21, 21, 100);
  text-decoration: none;
  white-space: nowrap;
}

nav .navigation ul li .dropdown-menu li a:hover {
  background-color: #337ecc;
  color: white;
}

/* Dropdown gösterimi */
nav .navigation ul li.dropdown:hover>.dropdown-menu {
  display: block;
}

/* ALT DROPDOWN */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu-content {
  display: none;
  position: absolute;
  top: 100%;
  /* Alt dropdown sağ değil, direkt altında açılır */
  left: 0;
  background-color: #fff;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.dropdown-submenu-content li a {
  padding: 10px 18px;
}

.dropdown-submenu:hover>.dropdown-submenu-content {
  display: block;
}

/* Sadece kariyer dropdownunda alt başlıkları gizle 
nav .navigation ul li.dropdown.kariyer:hover > .dropdown-menu > li:not(.dropdown-submenu) {
  display: none;
}*/

.internship-section {

  max-width: 1100px;
  /* Sayfanın maksimum genişliği */
  margin-left: auto;
  margin-right: auto;
  padding: 0 30px;
  /* Sağdan ve soldan boşluk */
}

.internship-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #002d66;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
}


.internship-card {
  background: #f0f4ff;
  border-left: 5px solid #004080;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.internship-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 64, 128, 0.2);
}

.internship-card h3 {
  margin-top: 0;
  color: #002d66;
}

.link-list {
  list-style: none;
  padding-left: 0;
}

.link-list li {
  margin: 8px 0;
}

.link-list a {
  text-decoration: none;
  color: #1d3c78;
  font-weight: 500;
  transition: all 0.3s ease;
}

.link-list a:hover {
  color: #0a66c2;
  text-decoration: underline;
}

/* LOGIN */
.container-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-top: 70px;
  /* navbar yüksekliğine göre ayarlayabilirsiniz */
  box-sizing: border-box;
}

.login-container {
  position: relative;
  width: 850px;
  height: 550px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .2);
  margin: 20px auto;
  overflow: hidden;
}

.form-box {

  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  color: #333;
  text-align: center;
  padding: 40px;
  z-index: 1;
  transition: .6s ease-in-out 1.2s, visibility 0s 1s;
}

.login-container.active .form-box {
  right: 50%;
}

.form-box.register {
  visibility: hidden;
}

.login-container.active .form-box.register {
  visibility: visible;
}

form {
  width: 100%;
}

.login-container h1 {
  font-size: 36px;
  margin: -10px 0;
}

.input-box {
  position: relative;
  width: 100%;
  margin: 30px 0;
}

.input-box input {
  width: 100%;
  padding: 13px 50px 13px 20px;
  background: #f0f0f0;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  box-sizing: border-box;
}

.input-box-code {
  position: relative;
  width: 100%;
  margin: 30px 0;
}

.input-box-code input {
  position: relative;
  width: 65%;
  height: 48px;
  padding: 0 30px 0 20px;
  background: #eee;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.input-box-code input::placeholder {
  color: #888;
  font-weight: 400;
}

.input-box-code i {
  position: absolute;
  top: 50%;
  right: calc(35% + 20px);
  transform: translateY(-50%);
  font-size: 20px;
  color: #888;
  pointer-events: none;
}

.btn-code {
  width: 35%;
  height: 48px;
  background: #7494ec;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.input-box input::placeholder {
  color: #888;
  font-weight: 400;
}

.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #888;
}

.btnn {
  width: 100%;
  padding: 12px;
  background-color: #7494ec;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.btnn:hover{
  background-color: #7494ec; /* Hover durumunda buton rengi */
  transform: translateY(-3px); /* Hover durumunda buton yukarı kayacak */
}
.btnn:active{
  background-color: #7494ec; /* Tıklandığında buton rengi */
  transform: translateY(1px); /* Buton tıklandığında daha küçük kayma */
}

.forgot-password {
  width: 100%;
  padding: 10px;
  background-color: #7494ec; /* Buton rengi */
  color: #ffffff; /* Yazı rengi */
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  text-align: center; /* Buton içeriğini ortala */
  display: block; /* Butonu blok yap */
  transition: background-color 0.3s ease, transform 0.2s ease; /* Geçiş efektleri */
}
.forgot-password a{
	text-decoration: none;
	color: #fff;
	font-weight:bold;
	transition: all 0.3s ease;
}
.forgot-password a:hover{
	text-decoration: none;
	color: #fff;
}
.forgot-password a:active{
	
	color: #fff;
}

.forgot-password:hover {
  background-color: #7494ec; /* Hover durumunda buton rengi */
  transform: translateY(-3px); /* Hover durumunda buton yukarı kayacak */
}

.forgot-password:active {
  background-color: #7494ec; /* Tıklandığında buton rengi */
  transform: translateY(1px); /* Buton tıklandığında daha küçük kayma */
}

.toggle-box {
  position: absolute;
  width: 100%;
  height: 100%;
}

.toggle-box::before {
  content: '';
  position: absolute;
  left: -250%;
  width: 300%;
  height: 100%;
  background: #7494ec;
  border-radius: 150px;
  z-index: 2;
  transition: 1.8s ease-in-out;
}

.login-container.active .toggle-box::before {
  left: 50%;
}

.toggle-panel {
  position: absolute;
  width: 50%;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: .6s ease-in-out;
  padding-top: 20px;
}

.toggle-panel.toggle-left {
  left: 0;
  transition-delay: 1.2s;
}

.login-container.active .toggle-panel.toggle-left {
  left: -50%;
  transition-delay: .6s;
}

.toggle-panel.toggle-right {
  right: -50%;
  transition-delay: .6s;
}

.login-container.active .toggle-panel.toggle-right {
  right: 0;
  transition-delay: 1.2s;
}

.toggle-panel p {
  font-size: 16px;
  margin-bottom: 30px;
}

.toggle-panel h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

.toggle-panel .btnn {
  width: 160px;
  height: 46px;
  background: transparent;
  border: 2px solid #fff;
  box-shadow: none;
}

@media screen and (max-width: 650px) {
  .login-container {
    height: calc(100vh - 40px);
  }

  .form-box {
    bottom: 0;
    width: 100%;
    height: 70%;
  }

  .login-container.active .form-box {
    right: 0;
    bottom: 30%;
  }

  .toggle-box::before {
    left: 0;
    top: -270%;
    width: 100%;
    height: 300%;
    border-radius: 20vw;
  }

  .login-container.active .toggle-box::before {
    left: 0;
    top: 70%;
  }

  .toggle-panel {
    width: 100%;
    height: 30%;
  }

  .toggle-panel.toggle-left {
    top: 0;
  }

  .login-container.active .toggle-panel.toggle-left {
    left: 0;
    top: -30%;
  }

  .toggle-panel.toggle-right {
    right: 0;
    bottom: -30%;
  }

  .login-container.active .toggle-panel.toggle-right {
    bottom: 0;
  }
}

@media screen and (max-width: 400px) {
  .form-box {
    padding: 20px;
  }

  .toggle-panel h1 {
    font-size: 30px;
  }
}

.staj_yonlendirme {
  text-align: center;
  margin: 30px auto;
}

.staj_yonlendirme a {
  display: inline-block;
  text-decoration: none;
  background-color: #18337c;
  padding: 15px 25px;
  border-radius: 8px;
  color: white;
  transition: background-color 0.3s ease;
}

.staj_yonlendirme a:hover {
  background-color: #354ebd;
  color: white;
}

.staj_yonlendirme a p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}


/*FOOTER*/

.footer a {
  text-decoration: none;
  color: inherit;
}

.footer a:hover {
  text-decoration: underline;
}

.custom-footer {
  background: #113b9b url('https://egemyo.ege.edu.tr/templates/egemyo_v2/assets/images/texture-bg.png') repeat;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.custom-footer .logo {
  width: 120px;
  margin-bottom: 15px;
}

.custom-footer a {
  color: #fff;
  text-decoration: underline;
}

.custom-footer a:hover {
  color: #ddd;
  text-decoration: none;
}

.custom-footer p {
  margin: 5px 0;
  font-size: 15px;
}