/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body {
    font-family: "Open Sans",apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 14px;
    line-height: 20px;
    color: #1a1a1a;
    box-sizing: border-box;
    font-display: swap
}

body {
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

/* WRAPPER */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #efefef;
  border-bottom: 2px solid #ddd;
  border-bottom-color: #beb7b7;
  padding: 0px 0;
}


.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-side {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo a {
  font-size: 26px;
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
}

/* NAV */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 30px;
  transition: 0.3s;
}

.main-nav ul li a:hover {
  background: #f1f1f1;
}

/* USER AREA */
.right-side {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.user-dropdown {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 30px;
  background-color: #2c3e50;
  color: #fff !important;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.user-dropdown:hover {
  background-color: #1a252f;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: white;

  list-style: none;
  min-width: 180px;
  border-radius: 5px;
  overflow: hidden;
  z-index: 99;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background-color: #f2f2f2;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* STICKER BUTTON */
.btn-sticker {
  background-color: #2ecc71;
  color: white !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-sticker:hover {
  background-color: #27ae60;
}

.btn-sticker.blue {
  background-color: #3498db;
}

.btn-sticker.blue:hover {
  background-color: #2980b9;
}

/* ADMİN BUTON */
.btn-sticker.red {
  background-color: #e74c3c;
  font-size: 13px;
  padding: 5px 12px;
}

.btn-sticker.red:hover {
  background-color: #c0392b;
}

/* GİRİŞ / ÜYE OL SAYFASI */
.login-container {
  max-width: 500px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-container button:hover {
  background: #1a252f;
}

/* AD - SOYAD YAN YANA */
.flex-inputs {
  display: flex;
  gap: 10px;
}

.flex-inputs input {
  flex: 1;
}

/* TELEFON ALANI */
.phone-input {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.phone-prefix {
  background: #eee;
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  font-size: 14px;
  color: #333;
}

.phone-input input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-left: 0;
  border-radius: 0 5px 5px 0;
}

/* RIZA KUTUSU */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: left;
}

.checkbox-wrapper input[type="checkbox"] {
  margin-right: 10px;
}

/* MESAJLAR */
.error {
  color: red;
  font-weight: bold;
  margin-bottom: 10px;
}

.success {
  color: green;
  font-weight: bold;
  margin-bottom: 10px;
}

/* FOOTER */
.site-footer {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  text-align: center;

  font-size: 14px;
  color: #777;
  margin-top: auto;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  background: none;
  font-size: 28px;
  border: none;
  cursor: pointer;
  color: #2c3e50;
}

/* MOBILE MENU - SLIDE FROM RIGHT */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 260px;
  height: 100%;
  background: white;
  box-shadow: -3px 0 8px rgba(0,0,0,0.2);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-sidebar.open {
  right: 0;
}

.mobile-sidebar-inner {
  padding: 30px 20px;
}

.mobile-sidebar ul {
  list-style: none;
  padding: 0;
}

.mobile-sidebar ul li {
  margin-bottom: 20px;
}

.mobile-sidebar ul li a {
  display: block;
  padding: 12px;
  background: #d3d3d3;
  color: #141313;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  transition: background 0.3s;
}

.mobile-sidebar ul li a:hover {
  background: #9e9e9e;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .main-nav,
  .right-side {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .header-flex {
    justify-content: space-between;
  }

  .flex-inputs {
    flex-direction: column;
  }
}



/* ÜCRETSİZ İLAN VER BUTON */
.ilan-ver-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.ilan-ver-btn {
  background: #ffdb4d;
  color: #1a1a1a;
padding: 8px 16px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 30px;
  border: 1px solid #e0c93d;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.ilan-ver-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  width: 500px;
  background: #fff;
  border-radius: 6px;
  border-top: 3px solid #e40030;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 999;
  display: none;
  flex-direction: row;
  gap: 15px;
}

.ilan-option {
  width: 50%;
}

.ilan-option h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.ilan-option ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.ilan-option ul li {
  font-size: 14px;
  margin-bottom: 10px;
  color: #333;
  padding-left: 20px;
  position: relative;
}

.ilan-option ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;

  border-radius: 50%;
}


.btn-yellow {
  background-color: #ffdb4d;
  color: #000;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.btn-yellow:hover {
  background-color: #f1c40f;
}

.btn-dark {
  background-color: #2c3e50;
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.btn-dark:hover {
  background-color: #1a252f;
}

/* Hover ile açılır */
.ilan-ver-dropdown-wrapper:hover .ilan-ver-dropdown {
  display: flex;
}









/* VİTRİN BURAYA */


.ilan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.ilan-card {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.ilan-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 10px;
}

.ilan-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ilan-kapak {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* 🔽 Mobil cihazlar (tablet ve telefon) için */
@media (max-width: 992px) {
  .ilan-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .ilan-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .ilan-kapak {
    height: 180px; /* Mobilde biraz daha büyük görünmesi için */
  }
}






/* ARAMA SİSTEMİ BURAYA */


.arama-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.arama-form {
  display: flex;
  position: relative;
  z-index: 2;
}

.arama-form input {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #ffcc00;
  border-right: none;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.arama-form button {
  padding: 12px 20px;
  background-color: #ffcc00;
  border: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.son-aramalar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  display: none;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1;
}

.son-aramalar-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.son-aramalar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.son-aramalar li {
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.son-aramalar li:hover {
  background: #f5f5f5;
}






.wrapper .social-login-buttons {
    display: flex;
    align-items: center;
    
}


.wrapper .social-login-buttons button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}



#btnLoginWithFacebook {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #3c4043;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
  margin-right: 16px;
}

#btnLoginWithFacebook:hover {
  box-shadow: 0 1px 3px rgba(60,64,67,0.3),
              0 4px 8px rgba(60,64,67,0.15);
}

#btnLoginWithFacebook svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}










#btnLoginWithGoogle {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #3c4043;
  text-decoration: none;
  box-shadow: none;
  transition: box-shadow 0.2s;
}

#btnLoginWithGoogle:hover {
  box-shadow: 0 1px 3px rgba(60,64,67,0.3), 0 4px 8px rgba(60,64,67,0.15);
}

#btnLoginWithGoogle svg {
  margin-right: 8px;
  width: 20px;
  height: 20px;
}













.hamburger {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 999;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  display: none; /* masaüstünde gizli */
  color: black;
height: 32px;
}

/* Mobil görünümde göster */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}





/* Ortak ayar */
.logo {
  height: auto;
  display: flex;
  align-items: center;
}

.site-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 40px; /* masaüstü için */
  object-fit: contain;
}

/* Mobil görünümde logo daha küçük */
@media (max-width: 768px) {
  .site-logo {
    max-height: 30px; /* mobil için küçült */
  }
}











.ilan-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}

.ilan-sol, .ilan-detay, .ilan-sag {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.ilan-sol {
  flex: 2;
  min-width: 300px;
}

.ilan-detay {
  flex: 2;
  min-width: 300px;
}

.ilan-sag {
  flex: 1;
  min-width: 260px;
}

.ilan-baslik {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.ilan-lokasyon {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
}

.ilan-gorsel img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

/* Fiyat */
.fiyat {
  font-size: 26px;
  font-weight: bold;
  color: #e4002b;
  margin-bottom: 20px;
}

/* Tablo */
.ilan-tablo {
  width: 100%;
  border-collapse: collapse;
}

.ilan-tablo td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.ilan-tablo td:first-child {
  color: #999;
  width: 40%;
}

/* Açıklama */
.aciklama {
  margin-top: 25px;
}

.aciklama h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.aciklama p {
  line-height: 1.6;
  font-size: 14px;
}

/* Satıcı */
.satici-kutu {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.satici-kutu h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.btn-red, .btn-outline {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
}

.btn-red {
  background: #e4002b;
  color: white;
}

.btn-outline {
  border: 1px solid #e4002b;
  color: #e4002b;
}

/* Mobil */
@media (max-width: 768px) {
  .ilan-wrapper {
    flex-direction: column;
  }

  .ilan-sol, .ilan-detay, .ilan-sag {
    width: 100%;
  }
}
















