/*
Theme Name: Takastan Emlak
Theme URI: http://takastan.test
Author: Ahmet
Author URI: http://takastan.test
Description: Takastan platformu için özel olarak geliştirilmiş modern emlak takas teması.
Version: 1.0
Text Domain: takastan
*/

/*
Theme Name: Takastan Theme
Theme URI: #
Author: Antigravity
Author URI: #
Description: Takastan Emlak - Takas custom WordPress theme.
Version: 1.0.0
Text Domain: takastan
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #b37e5e; /* Copper/Brownish color */
  --text-dark: #222222;
  --text-gray: #666666;
  --bg-light: #fbfaf8; /* The cream background */
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-white);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 48px;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav li.current-menu-item a {
  color: var(--primary-color);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-phone i {
  color: var(--primary-color);
}

.user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.mobile-menu-toggle {
  font-size: 1.25rem;
  cursor: pointer;
  display: none;
}

/* Hero Section */
.hero-section {
  background-color: var(--bg-light);
  padding: 2rem 0 2.5rem;
  position: relative;
  overflow: hidden;
  /* Topography lines background pattern */
  background-image: url('data:image/svg+xml;utf8,<svg opacity="0.03" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 50 Q 25 25, 50 50 T 100 50" stroke="black" stroke-width="0.5" fill="none"/></svg>');
  background-size: cover;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-actions .btn-action {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-actions .btn-action:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.search-bar {
  background: var(--bg-white);
  border-radius: 40px;
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 0.4rem;
}

.search-field {
  flex: 1;
  padding: 0.8rem 1.5rem;
  border-right: 1px solid var(--border-color);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field input,
.search-field select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: transparent;
  appearance: none;
}

.search-field select {
  cursor: pointer;
}

/* Custom select arrow */
.search-field.select-wrap {
  position: relative;
}
.search-field.select-wrap::after {
  content: '\f107'; /* FontAwesome down arrow */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-gray);
  font-size: 0.8rem;
}

.search-btn {
  background: var(--primary-color);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.3s;
}

.search-btn:hover {
  background: #98694d;
}

/* Categories */
.categories-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.7rem;
  margin-bottom: -0.7rem;
}
.category-item i {
  font-size: 1.5rem;
}

.category-item:hover, .category-item:hover i {
  color: var(--text-dark);
}

.category-item.active {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
}
.category-item.active i {
  color: var(--text-dark);
  transform: scale(1.1);
}

/* Emlak Turleri Grid */
.emlak-turleri-section {
  padding: 3rem 0 1rem;
}

.emlak-turleri-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.turler-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
}

.turler-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}

.tur-card {
  min-width: 160px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tur-card-img {
  background-color: #e5e7eb;
  border-radius: 8px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  transition: transform 0.3s;
}

.tur-card:hover .tur-card-img {
  transform: translateY(-5px);
  background-color: #d1d5db;
}

.tur-card-logo {
  width: 40px;
  height: 40px;
  border: 6px solid #eab308;
  transform: rotate(45deg);
}

.tur-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.tur-count {
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* Property Grid */
.properties-section {
  padding: 1.5rem 0 4rem;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.property-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
}

.card-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 12px;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.property-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-badges {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}

.badge {
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge.primary { background: rgba(179, 126, 94, 0.85); backdrop-filter: blur(4px); }
.badge.dark { background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }

.card-author {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
}

.card-author img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-favorite {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-favorite:hover { color: var(--primary-color); }

.card-content {
  padding: 1rem 0;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 3rem;
}

.btn-load-more {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-load-more:hover {
  background: #98694d;
}

@media (max-width: 900px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .search-bar { flex-direction: column; border-radius: 16px; padding: 1rem; }
  .search-field { border-right: none; border-bottom: 1px solid var(--border-color); width: 100%; padding: 1rem 0.5rem; }
  .search-field.select-wrap::after { right: 0.5rem; }
  .search-field:last-of-type { border-bottom: none; }
  .search-btn { width: 100%; border-radius: 6px; margin-top: 1rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .tur-card { min-width: 130px; }
  .tur-card-img { height: 130px; }
}

@media (max-width: 600px) {
  .property-grid { grid-template-columns: 1fr; }
}

/* About and Team Section */
.about-team-section {
  background-color: var(--bg-light);
  padding: 5rem 0;
  position: relative;
  background-image: url('data:image/svg+xml;utf8,<svg opacity="0.03" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 50 Q 25 25, 50 50 T 100 50" stroke="black" stroke-width="0.5" fill="none"/></svg>');
  background-size: cover;
  margin-top: 2rem;
}

.about-team-container {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-content {
  flex: 0 0 45%;
}

.about-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-text:last-of-type {
  margin-bottom: 0;
}

.team-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 2rem 1rem;
  justify-content: center;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.8rem;
  background-color: #e5e7eb;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.75rem;
  color: var(--text-gray);
}

@media (max-width: 992px) {
  .about-team-container {
    flex-direction: column;
    gap: 3rem;
  }
  .about-content {
    flex: 1;
    text-align: center;
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Locations Section */
.locations-section {
  padding: 4rem 0;
}

.locations-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  grid-template-rows: repeat(2, 200px);
  gap: 1.5rem;
}

.loc-card {
  background-color: #b5b6ba;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  color: white;
  transition: transform 0.3s;
  cursor: pointer;
}

.loc-card:hover {
  transform: translateY(-5px);
  background-color: #a4a5aa;
}

.loc-card.large {
  grid-row: span 2;
}

.loc-logo {
  width: 50px;
  height: 50px;
  border: 10px solid #d4ae1e;
  transform: rotate(45deg);
  margin-bottom: 2rem;
}

.loc-card.large .loc-logo {
  width: 70px;
  height: 70px;
  border-width: 14px;
  margin-bottom: 3rem;
}

.loc-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  text-align: center;
}

.loc-count {
  font-size: 0.8rem;
  color: #eeeeee;
}

@media (max-width: 1100px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .loc-card.large {
    grid-row: span 1;
  }
  .loc-card { height: 200px; }
  .loc-row-span { grid-column: span 3; }
}

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .loc-card.large, .loc-row-span {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .loc-card.large, .loc-row-span {
    grid-column: span 1;
  }
}

/* CTA Banner Section */
.cta-banner-section {
  padding: 4rem 0 6rem;
}

.cta-banner-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=1600');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 6rem 4rem;
  color: white;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f1f1f1;
}

@media (max-width: 768px) {
  .cta-banner-inner {
    padding: 4rem 2rem;
  }
  .cta-banner-inner::before {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.8) 100%);
  }
  .cta-title {
    font-size: 1.8rem;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.testi-container {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
}

.testi-intro {
  flex: 0 0 28%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testi-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.testi-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.testi-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testi-card {
  background: white;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #eee;
}

.testi-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
}

.testi-role {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.testi-content {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testi-stars {
  color: #ffc107;
  font-size: 0.9 remit;
  display: flex;
  gap: 0.2rem;
}

@media (max-width: 1024px) {
  .testi-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .testi-intro {
    flex: none;
    max-width: 600px;
  }
  .testi-grid {
    width: 100%;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contact-section {
  padding: 3rem 1.5rem 5rem;
}

.contact-wrap {
  background-color: #1a1a24;
  border-radius: 16px;
  color: white;
  padding: 3rem 4rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-container {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.contact-info {
  flex: 1;
}

.contact-form-wrap {
  flex: 1.2;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: var(--text-dark);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-text {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.c-method {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.c-method i {
  background: rgba(255,255,255,0.1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.c-method div strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.c-method div span {
  color: #aaa;
  font-size: 0.8rem;
}

.contact-social {
  display: flex;
  gap: 0.6rem;
}

.contact-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.contact-social a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.form-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.custom-contact-form .form-row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.custom-contact-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.6rem;
}

.custom-contact-form .form-row .form-group {
  margin-bottom: 0;
}

.custom-contact-form label {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-gray);
}

.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.8rem;
  transition: all 0.3s;
  background: #fdfdfd;
  outline: none;
}

.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(179, 126, 94, 0.1);
}

.btn-submit-contact {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 100%;
  padding: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-submit-contact:hover {
  background: #98694d;
}

@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-form-wrap {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .custom-contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  .custom-contact-form .form-row .form-group {
    margin-bottom: 0.6rem;
  }
  .contact-wrap {
    padding: 1.5rem;
  }
}

/* Footer Section */
.site-footer {
  background-color: #0f0f15;
  color: #a0a0a5;
  font-size: 0.9rem;
}

.footer-top {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1.5rem;
}

.about-col p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.links-col a, .contact-col a {
  transition: all 0.3s;
  display: inline-block;
}

.links-col a:hover, .contact-col a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.contact-col ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-col li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  line-height: 1.5;
}

.contact-col i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Listings Archive Page (İlanlar) */
.page-title-section {
  background-color: var(--bg-light);
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background-image: url('data:image/svg+xml;utf8,<svg opacity="0.03" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 50 Q 25 25, 50 50 T 100 50" stroke="black" stroke-width="0.5" fill="none"/></svg>');
  background-size: cover;
}

.page-title-section h1 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs a {
  color: var(--primary-color);
  font-weight: 500;
}

.breadcrumbs i {
  font-size: 0.7rem;
}

.listings-archive-section {
  padding: 4rem 0;
  background-color: #fafafa;
}

.listings-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

/* Sidebar */
.listings-sidebar {
  flex: 0 0 300px;
  position: sticky;
  top: 2rem;
}

.filter-widget {
  background: white;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  margin-bottom: 2rem;
}

.filter-widget h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-filter-form .filter-group {
  margin-bottom: 1.2rem;
}

.filter-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.filter-group input[type="text"],
.filter-group input[type="number"],
.filter-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: #fdfdfd;
  transition: all 0.3s;
  outline: none;
}

.filter-group input:focus, .filter-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(179, 126, 94, 0.1);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '\f107';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-gray);
  font-size: 0.8rem;
}

.filter-group select {
  appearance: none;
  cursor: pointer;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-inputs span {
  color: var(--text-gray);
}

.check-group {
  margin-top: 1.5rem;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.btn-filter {
  width: 100%;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 1rem;
}

.btn-filter:hover {
  background: #98694d;
}

.btn-reset {
  width: 100%;
  background: transparent;
  color: var(--text-gray);
  border: none;
  padding: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
  margin-top: 0.5rem;
}

.btn-reset:hover {
  color: var(--text-dark);
}

.featured-widget .widget-agent {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.widget-agent img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.wa-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.wa-info span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}

.wa-info a {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Listings Main */
.listings-main {
  flex: 1;
}

.listings-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  margin-bottom: 2rem;
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.results-count strong {
  color: var(--text-dark);
}

.listings-sort {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M5 6L0 0h10z" fill="%23666"/></svg>') no-repeat right 0.8rem center;
  background-size: 8px;
}

.view-toggles {
  display: flex;
  gap: 0.3rem;
}

.view-toggles button {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 6px;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.3s;
}

.view-toggles button.active, .view-toggles button:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Archive Grid Adjustment */
.archive-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.archive-card-details {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.archive-card-details span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.archive-card-details i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.page-link:hover, .page-link.active {
  background: var(--primary-color);
  color: white;
}

.page-dots {
  color: var(--text-gray);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .listings-container {
    flex-direction: column;
  }
  .listings-sidebar {
    flex: none;
    width: 100%;
    position: static;
  }
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .listings-top-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* User Dropdown Menu */
.user-avatar-wrap {
  position: relative;
}

.user-avatar {
  cursor: pointer;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  width: 240px;
  display: none;
  flex-direction: column;
  padding: 0.8rem 0;
  z-index: 1000;
  border: 1px solid #f1f1f1;
}

.user-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
  border-left: 1px solid #f1f1f1;
  border-top: 1px solid #f1f1f1;
}

.user-dropdown-menu.active {
  display: flex;
  animation: fadeInDown 0.2s ease forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 1.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.user-dropdown-menu a:hover {
  background: #fdfaf8;
  color: var(--primary-color);
}

.user-dropdown-menu i {
  width: 20px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-gray);
  transition: color 0.2s;
}

.user-dropdown-menu a:hover i {
  color: var(--primary-color);
}

.menu-badge {
  margin-left: auto;
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.menu-divider {
  height: 1px;
  background: #f1f1f1;
  margin: 0.5rem 0;
}

/* About Page Styles */
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.mb-5 { margin-bottom: 3rem; }

/* Story Section */
.about-story-section {
  padding: 6rem 0;
  background-color: white;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.title-divider {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 1.5rem 0;
  border-radius: 2px;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-story-content p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-signatures {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.signature {
  height: 50px;
  opacity: 0.8;
}

.founder-info strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.founder-info span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.about-story-images {
  position: relative;
}

.img-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.main-img img, .floating-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-img {
  width: 85%;
  height: 450px;
}

.floating-img {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 55%;
  height: 350px;
  border: 10px solid white;
}

.experience-badge {
  position: absolute;
  top: 40px;
  left: -30px;
  background: var(--primary-color);
  color: white;
  padding: 1.5rem;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(179, 126, 94, 0.3);
}

.exp-years {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  line-height: 1.2;
}

/* Stats Section */
.about-stats-section {
  padding: 4rem 0;
  background: #fdfaf8;
  border-top: 1px solid #f1e9e3;
  border-bottom: 1px solid #f1e9e3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Values Section */
.about-values-section {
  padding: 6rem 0;
  background: white;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-box {
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.value-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  border-color: #ebebeb;
}

.val-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-box h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.value-box p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .floating-img {
    position: static;
    width: 100%;
    height: auto;
    border: none;
    margin-top: 1rem;
  }
  .main-img {
    width: 100%;
    height: auto;
  }
  .experience-badge {
    top: -20px;
    left: -20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Specific Styles */
.contact-hero-map {
  position: relative;
  width: 100%;
  border-bottom: 5px solid var(--primary-color);
}
.contact-page-form-section {
  position: relative;
  z-index: 10;
  margin-top: -150px;
  padding-bottom: 5rem;
}
.c-standalone-box {
  box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important;
  border-radius: 16px;
  overflow: hidden;
}
.c-standalone-box .contact-container {
  min-height: 500px;
}
@media (max-width: 992px) {
  .contact-page-form-section {
    margin-top: -50px;
  }
}

/* User Dashboard Styling */
.dashboard-wrapper { display: flex; max-width: 1350px; margin: 120px auto 40px; min-height: 80vh; gap: 2rem; padding: 0 20px; align-items: flex-start; }

/* Sidebar Styling */
.db-sidebar { width: 280px; flex-shrink:0; background: #fff; border-radius: 16px; border: 1px solid #ebebeb; box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: sticky; top: 100px; height: auto; max-height: calc(100vh - 120px); overflow-y: auto; padding-bottom: 1rem; }

.db-user-profile {
    padding: 1.5rem 1rem 1rem;
    text-align: center;
}

.db-user-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.db-user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.db-user-info {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.db-nav { padding: 0.5rem 1rem;
    flex: 1;
    overflow-y: auto;
}

.db-nav a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.2rem;
    color: #555;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    transition: all 0.2s;
}

.db-nav a i {
    width: 24px;
    font-size: 1.1rem;
    margin-right: 8px;
    text-align: center;
    color: #888;
    transition: all 0.2s;
}

.db-nav a:hover {
    background: #f4f5f7;
    color: var(--text-dark);
}
.db-nav a:hover i { color: var(--text-dark); }

.db-nav a.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(179,126,94,0.3);
}
.db-nav a.active i { color: #fff; }

.db-nav a .badge {
    margin-left: auto;
    background: var(--text-dark);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}

/* Main Content Styling */
.db-main { flex: 1; padding: 0; min-width: 0; max-width: 100%; box-sizing: border-box; }

.db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.db-header-texts h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}
.db-header-texts h1 {
    margin: 0.3rem 0 0 0;
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -1px;
}

.db-header-actions {
    position: relative;
}
.db-bell-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}
.db-bell-icon:hover { transform: scale(1.05); }
.db-bell-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--text-dark);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    border: 2px solid #fff;
}

/* Dashboard Grid / Cards */
.db-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.02);
}

.db-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    margin-top: 0;
}

/* Summary Stats Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    row-gap: 1.5rem;
}
.summary-item {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Complex Grid Layout */
.db-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.left-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.left-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Lists in Cards */
.db-list-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.db-list-item:last-child { margin-bottom: 0; }
.db-list-img {
    width: 75px;
    height: 55px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.db-list-img img { width: 100%; height: 100%; object-fit: cover; }

.db-list-content h5 {
    margin: 0 0 0.4rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}
.db-list-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

.empty-state {
    color: #aaa;
    font-size: 0.85rem;
}

/* Timeline / History */
.history-list {
    position: relative;
    padding-left: 20px;
    margin: 0;
}
.history-list::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #f0f0f0;
}
.history-item {
    position: relative;
    margin-bottom: 1.8rem;
}
.history-item:last-child { margin-bottom: 0; }
.history-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    z-index: 2;
}
.history-time {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 0.4rem;
}
.history-desc {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .db-grid { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .db-main { padding: 2rem; margin-left: 0; max-width: calc(100vw - 280px); }
}
@media (max-width: 768px) {
    .dashboard-wrapper { flex-direction: column; }
    .db-sidebar { width: 100%; position: static; height: auto; border-right: none; border-bottom: 1px solid #ebebeb; }
    .db-main { margin-left: 0; max-width: 100%; padding: 1.5rem; }
    .summary-grid { grid-template-columns: 1fr; }
    .left-top-row { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-left, .filter-right { flex-direction: column; align-items: stretch; }
    .filter-input { width: 100%; box-sizing: border-box; }
}

/* Hide scrollbar for sidebar */
.db-sidebar::-webkit-scrollbar { width: 0px; background: transparent; }
.db-sidebar { scrollbar-width: none; -ms-overflow-style: none; }
.db-sidebar { padding-bottom: 2rem; }

/* Profilim Sayfası Form Stilleri */
.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.form-section {
    margin-bottom: 2.5rem;
}
.form-section:last-child {
    margin-bottom: 0;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    margin-left: 0.2rem;
}
.form-group input {
    background-color: #f2f3f5;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #444;
    transition: background 0.3s;
}
.form-group input:focus {
    outline: none;
    background-color: #e8e9ec;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

/* Avatar Upload Area */
.avatar-upload-box {
    background-color: #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    min-height: 250px;
}
.avatar-upload-box i {
    font-size: 8rem;
    color: #adb5bd;
}
.helper-text {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.8rem;
    display: block;
}

/* Profil/Arama/Filtre Butonları */
.btn-green {
    background-color: #6eb981;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-family: 'Inter', sans-serif;
    text-align: center;
}
.btn-green:hover { background-color: #5da970; }

.btn-red {
    background-color: #df665a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-family: 'Inter', sans-serif;
    text-align: center;
}
.btn-red:hover { background-color: #cc5449; }

.btn-full { width: 100%; }

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* İlanlarım & CRM Tablo - Filtreleme Stilleri */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.filter-left, .filter-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.filter-select {
    padding: 0.8rem 1.2rem;
    border: none;
    background: #f2f3f5;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    color: #555;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    min-width: 160px;
}
.filter-input {
    padding: 0.8rem 1.2rem;
    border: none;
    background: #f2f3f5;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    outline: none;
    font-size: 0.9rem;
    width: 220px;
}
.filter-input:focus {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    background: #e8e9ec;
}
.btn-ara {
    background: #6eb981;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-ara:hover { background: #5da970; }

.listings-wrapper {
    overflow-x: auto;
}
.listings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}
.listings-table th {
    text-align: left;
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}
.listings-table th:last-child, .listings-table td:last-child {
    text-align: right;
}
.listings-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #f8f8f8;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #444;
}
.listings-table tr:last-child td {
    border-bottom: none;
}

.prop-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.prop-img {
    width: 85px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}
.prop-img img { width: 100%; height: 100%; object-fit: cover; }
.prop-detail h5 {
    margin: 0 0 0.3rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}
.prop-detail p {
    margin: 0;
    font-size: 0.8rem;
    color: #888;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #6eb981;
}
.price-text {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-islemler {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.btn-islemler:hover { background: #f4f4f4; border-color: #ccc; }

.btn-green-light {
    background: #e5f4eb;
    color: #27814b;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}
.btn-red-light {
    background: #faeaea;
    color: #c93b32;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-durum {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success { background: #e5f4eb; color: #27814b; }
.badge-warning { background: #fff5e6; color: #cc8400; }
.badge-info { background: #e6f0ff; color: #005ce6; }

/* Header Auth Links (Giriş Yap / Üye Ol) */
.header-auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.btn-auth-login {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
}

.btn-auth-login:hover {
    color: var(--primary-color);
}

.btn-auth-register {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-auth-register:hover {
    background-color: #98694d;
    color: #fff;
}

/* ==========================================================================
   Responsive (Mobil, Tablet, Masaüstü) Düzenlemeleri
   ========================================================================== */

/* 1. Global Reset & Overflows (Yatay scroll engelleme) */
body {
    overflow-x: hidden;
}

/* 2. Görseller & Touch Targets */
img {
    max-width: 100%;
    height: auto;
}
/* Link ve Butonların minimum touch target (dokunma alanı) 44px yapıldı */
a, button, .tk-tab, .btn-islemler, .tk-menu-item {
    min-height: 44px;
}

/* Mobil menü tetikleyici standartta gizli */
.mobile-menu-toggle { 
    display: none; 
}

/* ==========================================================================
   TABLET & KÜÇÜK EKRANLAR (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    /* Sabit px'li container'ları max-width 100% yap */
    .container, .dashboard-wrapper, .hero-section {
        max-width: 100%;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* İlan listesi (Desktop'ta 3/4, Tablet'te 2) */
    .features-grid, .listings-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Dashboard: Sidebar ve Main alt alta gelsin (flex-direction: column) */
    .dashboard-wrapper {
        flex-direction: column;
    }
    .db-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
    
    /* Footer Grid Tablet için iki kolon */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
    }
}

/* ==========================================================================
   MOBİL (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 3. Tipografi: Başlık boyutlarını ve line-height'i mobilde optimize et */
    h1 { font-size: 1.8rem !important; line-height: 1.3 !important; letter-spacing: -0.5px; }
    h2 { font-size: 1.6rem !important; line-height: 1.3 !important; }
    h3 { font-size: 1.3rem !important; line-height: 1.4 !important; }
    
    /* Background görseli cover yap ve padding'i küçült */
    .hero-section {
        padding: 50px 15px;
        background-size: cover;
        background-position: center;
    }
    .hero-content h1 {
        font-size: 2rem !important;
    }

    /* Arama barını (Search) flex-direction: column ile mobilde alt alta dök */
    .search-bar {
        flex-direction: column;
        border-radius: 12px;
        padding: 15px;
    }
    .search-bar .search-input, .search-bar .select-wrap {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 12px 0;
    }
    .search-btn {
        width: 100%;
        border-radius: 8px;
        margin-top: 15px;
    }

    /* 4. Navigation: Masaüstü menüyü gizle, mobilde açılabilir (toggle) yap */
    .main-nav {
        display: none; 
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        flex-direction: column;
    }
    /* JS ile eklenecek class */
    .main-nav.nav-active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    /* Hamburger menü ikonu mobilde görünür yap */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
        margin-left: 10px;
        color: var(--text-dark);
    }

    /* Header telefon numarasını ve auth butonlarını gizle (Çok yer kaplamasın) */
    .header-phone, .header-auth-links {
        display: none;
    }

    /* Grid elemanlarını tek kolon yap */
    .stats-grid, .values-grid {
        grid-template-columns: 1fr !important;
    }
    .features-grid, .listings-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* 7. Form elemanları mobilde 100% genişlikte olsun */
    .tk-form-group input, .tk-form-group select, .tk-form-group textarea, .search-input {
        width: 100% !important;
    }
    
    /* 7. Tablolar mobilde yatay scroll barındırsın */
.badge-success { background: #e5f4eb; color: #27814b; }
.badge-warning { background: #fff5e6; color: #cc8400; }
.badge-info { background: #e6f0ff; color: #005ce6; }

/* Header Auth Links (Giriş Yap / Üye Ol) */
.header-auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.btn-auth-login {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
}

.btn-auth-login:hover {
    color: var(--primary-color);
}

.btn-auth-register {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-auth-register:hover {
    background-color: #98694d;
    color: #fff;
}

/* ==========================================================================
   Responsive (Mobil, Tablet, Masaüstü) Düzenlemeleri
   ========================================================================== */

/* 1. Global Reset & Overflows (Yatay scroll engelleme) */
body {
    overflow-x: hidden;
}

/* 2. Görseller & Touch Targets */
img {
    max-width: 100%;
    height: auto;
}
/* Butonların ve Tab'lerin minimum touch target (dokunma alanı) 44px yapıldı */
button, .btn, .tk-tab, .btn-islemler, .tk-menu-item {
    min-height: 44px;
}

/* Mobil menü tetikleyici standartta gizli */
.mobile-menu-toggle { 
    display: none; 
}

/* ==========================================================================
   TABLET & KÜÇÜK EKRANLAR (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    /* Sabit px'li container'ları max-width 100% yap */
    .container, .dashboard-wrapper, .hero-section {
        max-width: 100%;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* İlan listesi (Desktop'ta 3/4, Tablet'te 2) */
    .features-grid, .listings-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Dashboard: Sidebar ve Main alt alta gelsin (flex-direction: column) */
    .dashboard-wrapper {
        flex-direction: column;
    }
    .db-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
    
    /* Footer Grid Tablet için iki kolon */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
    }
}

/* ==========================================================================
   MOBİL (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 3. Tipografi: Başlık boyutlarını ve line-height'i mobilde optimize et */
    h1 { font-size: 1.8rem !important; line-height: 1.3 !important; letter-spacing: -0.5px; }
    h2 { font-size: 1.6rem !important; line-height: 1.3 !important; }
    h3 { font-size: 1.3rem !important; line-height: 1.4 !important; }
    
    /* Background görseli cover yap ve padding'i küçült */
    .hero-section {
        padding: 50px 15px;
        background-size: cover;
        background-position: center;
    }
    .hero-content h1 {
        font-size: 2rem !important;
    }

    /* Arama barını (Search) flex-direction: column ile mobilde alt alta dök */
    .search-bar {
        flex-direction: column;
        border-radius: 12px;
        padding: 15px;
    }
    .search-bar .search-input, .search-bar .select-wrap {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 12px 0;
    }
    .search-btn {
        width: 100%;
        border-radius: 8px;
        margin-top: 15px;
    }

    /* 4. Navigation: Masaüstü menüyü gizle, mobilde açılabilir (toggle) yap */
    .main-nav {
        display: none; 
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        flex-direction: column;
    }
    /* JS ile eklenecek class */
    .main-nav.nav-active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    /* Hamburger menü ikonu mobilde görünür yap */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
        margin-left: 10px;
        color: var(--text-dark);
    }

    /* Header telefon numarasını ve auth butonlarını gizle (Çok yer kaplamasın) */
    .header-phone, .header-auth-links {
        display: none;
    }

    /* Grid elemanlarını tek kolon yap */
    .stats-grid, .values-grid {
        grid-template-columns: 1fr !important;
    }
    .features-grid, .listings-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* 7. Form elemanları mobilde 100% genişlikte olsun */
    .tk-form-group input, .tk-form-group select, .tk-form-group textarea, .search-input {
        width: 100% !important;
    }
    
    /* 7. Tablolar mobilde yatay scroll barındırsın */
    .listings-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .listings-table {
        min-width: 600px; /* Mobilde daralmayı engeller, scroll çıkarır */
    }

    /* 6. Boşluklar (Padding / Margin) mobilde yarıya insin */
    .section-padding {
        padding: 40px 0 !important;
    }
    
    /* Bize Ulaşın Alanı İyileştirmeleri - Premium Split Card Design */
    .contact-section {
        padding: 20px 15px 40px !important;
    }
    .contact-wrap {
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .contact-container {
        flex-direction: column;
        gap: 0 !important;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }
    .contact-info {
        background: #1a1a24;
        padding: 40px 25px;
        width: 100%;
    }
    .contact-form-wrap {
        background: white;
        padding: 40px 25px !important;
        width: 100%;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .c-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        background: rgba(255,255,255,0.05);
        padding: 15px;
        border-radius: 8px;
    }
    .contact-social {
        margin-top: 20px;
    }

    /* Footer mobilde daha profesyonel ve sola dayalı (SaaS stili) */
    .footer-top {
        padding: 40px 0 30px;
    }
    .footer-grid {
        display: flex !important;
        flex-direction: column;
        gap: 35px;
        text-align: left;
    }
    .footer-logo {
        margin: 0 0 15px 0;
    }
    .footer-col ul {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        padding: 0;
        margin: 0;
        text-align: left;
    }
    .footer-col ul li {
        margin-bottom: 0;
    }
    .footer-social {
        justify-content: flex-start;
        margin-top: 15px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .db-card, .tk-card {
        padding: 15px !important;
    }
}
