:root { --container: 1120px; }

header {
  display: flex;
  align-items: center;
  justify-content: center;  /* Ortala */
  padding: 0 20px;
  height: 54px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0F212C;
  box-sizing: border-box;
  z-index: 1000;
}

/* Body'ye üst boşluk ver */
body {
  margin: 0;
  padding-top: 54px; /* header yüksekliği kadar */
  font-family: Arial, sans-serif;
  background-color: #fff;
}


.logo-link {
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
    margin-right: 43rem;  /* İstediğin kadar boşluk */

}

.logo-link .thin {
  font-weight: 300;
}



nav a {
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  margin-left: 1rem;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.3s ease;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

nav a:hover {
  color: #bbbbbb;
}

/* Ücretsiz Kaydol buton stili */
nav a.btn-register {
  background-color: #ff3b3b;
  color: white !important;
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  margin-left: 1.5rem;
  border-radius: 20px;
  border: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

nav a.btn-register:hover {
  background-color: #cc2b2b;
  color: white !important;
}





.promo-image-container {
  max-width: 1200px;         /* Viewportu aşmasın */
  margin: 0 auto;
  padding: 1rem 1rem;
  box-sizing: border-box;   /* Padding ve border genişliğe dahil */
  background-color: #fff;
  border-radius: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow-x: hidden;       /* Yatay taşmayı engeller */
}

/* Görsel */
.promo-image-container img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Buton */
.promo-button {
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  background-color: #0F212C;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.promo-button:hover {
  background-color: #094060;
}



.promo-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  background-color: #f0f0f0; /* Açık gri arka plan */
  border-radius: 8px;        /* İstersen hafif köşe yuvarlama */
}


.promo-container {
  position: relative; /* İçindeki absolute elemanlar için referans */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  min-height: 300px; /* Yeterli yükseklik ver, gerekirse */
}


.promo-text {
  flex: 1 1 45%;
  text-align: left;       /* Metinleri ve butonu sola hizalar */
  display: flex;
  flex-direction: column; /* Alt alta sıralar */
  align-items: flex-start; /* İçeriği sola yaslar */
}


.promo-image-container {
  flex: 1 1 50%;
}

.promo-image-container img {
  width: 100%;
  height: 400px;      /* İstediğin yükseklik */
  object-fit: cover;  /* Görsel bozulmadan kırpılır */
  border-radius: 8px;
  display: block;
}


.promo-button {
  width: auto;              /* Genişlik içeriğe göre olsun */
  padding: 0.5rem 1rem;     /* Daha küçük padding */
  font-size: 0.9rem;        /* Daha küçük yazı */
  position: static;         /* Normal akışta, absolute değil */
  display: inline-block;    /* Yan yana durabilir */
  margin-top: 1rem;
  background-color: #004d99;
  color: white;
  border: none;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
}


@media (max-width: 768px) {
  .promo-container {
    flex-direction: column;
  }

  .promo-text, .promo-image-container {
    flex: 1 1 100%;
  }
}



.recent-activities-section {
  max-width: 1200px;
  width: 100%;
  margin: 3rem auto;
  padding: 1.5rem 2rem;
  font-family: Arial, sans-serif;
  color: #0F212C;
  background-color: #f7f9fb;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  min-height: 250px;       /* Minimum yükseklik */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-activities-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: left;
}

.recent-activities-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}

.activity-card {
  flex: 0 0 250px; /* Kart genişliği */
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: default;
  user-select: none;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.activity-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.activity-card strong {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #0F212C;
}

.activity-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.8rem;
  flex-grow: 1;
}

.activity-card time {
  font-size: 0.85rem;
  color: #888;
  text-align: right;
}




.card {
  flex: 1 1 45%;          /* İki kart yan yana, %45 genişlik */
  min-width: 280px;       /* Çok küçülmesini önler */
  background: white;
  border-radius: 12px;
  padding: 2rem;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;      /* Yükseklik arttırıldı */
  color: #0F212C;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.card p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #555;
}

/* Responsive mobil için */
@media (max-width: 768px) {
  .card {
    flex: 1 1 90%;
    min-width: auto;
    min-height: auto;
  }
  .cards-container {
    max-width: 95%;
    padding: 0 0.5rem;
  }
}





.job-listings-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0F212C;
  border-radius: 12px;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.job-listings-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: left;
  color: #ffffff;
}

.job-listings {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.job-card {
  background: #162d45;
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.job-card:hover {
  background-color: #1f3f63;
  transform: translateY(-5px);
}

.job-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: #ffffff;
}

.job-card p:first-of-type {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.job-card p:last-of-type {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #cfd8e6;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.apply-link {
  align-self: flex-start;
  padding: 0.5rem 1.3rem;
  background-color: #0F212C;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.apply-link:hover {
  background-color: #1e394b;
}

/* Responsive */

@media (max-width: 900px) {
  .job-listings {
    justify-content: center;
  }
  .job-card {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .job-listings {
    flex-direction: column;
    gap: 1.5rem;
  }
  .job-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

.view-all-container {
  text-align: right;
  margin-top: 2.5rem;
}

.view-all-button {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background-color: #ffffff; /* Ana renk */
  color: #0F212C;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
  box-shadow: 0 4px 8px rgb(15 33 44 / 0.4);
}

.view-all-button:hover,
.view-all-button:focus {
  background-color: #254E8A; /* Hover rengi */
  outline: none;
}







.cards-container {
  display: flex;
  gap: 2rem;
  max-width: 1500px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
  justify-content: center;
  flex-wrap: wrap;
}

.simple-image {
  flex: 1 1 45%;
  max-width: 585px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.simple-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .simple-image {
    flex: 1 1 100%;
    max-width: 100%;
    height: 220px;
  }
}




.realestate-intro-section {
  background-color: #0F212C;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

.realestate-intro-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

.realestate-text {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.realestate-text h1 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.scrolling-text-container {
  height: 5rem;
  overflow: hidden;
  position: relative;
  border-left: 3px solid #ff3b3b;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.scrolling-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: scrollUp 10s linear infinite;
}

/* İki kopya oluşturarak boşluksuz scroll efekti */
.scrolling-text, 
.scrolling-text::after {
  content: "";
  display: block;
  white-space: nowrap;
}

.scrolling-text::after {
  content: attr(data-text);
}

.scrolling-text p {
  font-size: 1.3rem;
  margin: 0;
  white-space: nowrap;
}

/* Animasyon */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}


.realestate-button {
  background-color: #ff3b3b;
  color: #ffffff;
  border: none;
  padding: 0.9rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  width: fit-content;
  transition: background-color 0.3s ease;
}

.realestate-button:hover {
  background-color: #ff3b3b;
}

.realestate-image-container {
  flex: 1 1 50%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 191, 255, 0.6);
  position: relative;
  perspective: 1000px; /* paralaks için */
}

.realestate-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

/* Paralaks efekti */
.realestate-image-container:hover img {
  transform: scale(1.05) rotateY(5deg);
}

/* Responsive */
@media (max-width: 768px) {
  .realestate-intro-container {
    flex-direction: column;
  }

  .realestate-text, .realestate-image-container {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .realestate-text h1 {
    font-size: 2.2rem;
  }

  .scrolling-text-container {
    height: 4rem;
  }
}










.search-section {
  background: rgba(255 255 255 / 0.15);
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.search-container h2 {
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.search-container h2 strong {
  font-weight: 700;
}

.search-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.search-tab {
  background: transparent;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.search-tab.active,
.search-tab:hover {
  border-color: #ff3b3b; /* Kırmızı alt çizgi */
}

.search-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.search-form select,
.search-form input[type="text"] {
  height: 44px;
  border-radius: 6px;
  border: none;
  padding: 0 1rem;
  font-size: 1rem;
  outline: none;
}

.search-form select {
  width: 140px;
  background: white;
  color: #0f212c;
  font-weight: 600;
}

.search-form input[type="text"] {
  flex: 1 1 auto;
  min-width: 280px;
  background: white;
  color: #0f212c;
}

.btn-search,
.btn-map {
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  padding: 0 1.5rem;
  height: 44px;
  transition: background-color 0.3s ease;
}

.btn-search {
  background-color: #ff3b3b;
  color: white;
}

.btn-search:hover {
  background-color: #cc2b2b;
}

.btn-map {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-map:hover {
  background-color: white;
  color: #0f212c;
}



#user-name-link {
  color: #fff;              /* Beyaz renk */
  font-weight: 600;
  padding: 0.4rem 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: Arial, sans-serif;
  margin-left: 1rem;
}

#user-name-link:hover {
  text-decoration: underline;
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
