/* ============================================================
   poodle.net.tr — Premium CSS
   Tasarım dili: Lüks, sade, fotoğraf odaklı
   ============================================================ */

:root {
  --cream:       #F7F3EE;
  --sand:        #E7D9C9;
  --warm-brown:  #6A4E3B;
  --dark:        #1F1A17;
  --gold:        #C7A97B;
  --gold-light:  #E8D5B0;
  --white:       #FFFFFF;
  --text-muted:  #8A7A6E;
  --border:      #DDD0C0;
  --success:     #4CAF50;
  --danger:      #E53935;

  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(106, 78, 59, 0.08);
  --shadow-md:   0 4px 24px rgba(106, 78, 59, 0.12);
  --shadow-lg:   0 12px 48px rgba(106, 78, 59, 0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;

  --transition:  0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header / Navbar ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--warm-brown);
  font-weight: 700;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--warm-brown); }

.nav-cta {
  background: var(--warm-brown);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--dark) !important;
  transform: translateY(-1px);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--warm-brown);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover {
  background: #b8985e;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--warm-brown);
  border: 2px solid var(--warm-brown);
}
.btn-outline:hover {
  background: var(--warm-brown);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1rem;
  padding: 16px 32px;
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }

.btn-phone {
  background: var(--warm-brown);
  color: var(--white);
  font-size: 1rem;
  padding: 16px 32px;
}
.btn-phone:hover { background: var(--dark); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--warm-brown) 100%);
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero-pattern.svg') center/cover;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Section ---- */
.section {
  padding: 80px 0;
}

.section-sm { padding: 48px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}

.section-header h2 { margin-bottom: 4px; }
.section-header p { color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ---- Listing Cards ---- */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.listing-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand);
}

.listing-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.listing-card:hover .listing-card-image img {
  transform: scale(1.06);
}

.listing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--warm-brown);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.listing-badge.featured {
  background: var(--gold);
  color: var(--dark);
}

.listing-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.listing-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.listing-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
  line-height: 1.3;
}

.listing-card-body h3 a {
  color: inherit;
  transition: color var(--transition);
}
.listing-card-body h3 a:hover { color: var(--warm-brown); }

.listing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.listing-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 12px;
}

.listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.city-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.city-badge {
  font-size: 0.72rem;
  background: var(--cream);
  color: var(--warm-brown);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-weight: 500;
  transition: all var(--transition);
}
.city-badge:hover {
  background: var(--warm-brown);
  color: var(--white);
  border-color: var(--warm-brown);
}

/* ---- Category Cards ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-card-image {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--sand);
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-card-image img {
  transform: scale(1.08);
}

.category-card-body {
  padding: 20px;
}

.category-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.category-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.category-price-range {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---- City Cards ---- */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.city-card {
  background: var(--dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  transition: transform var(--transition);
}

.city-card:hover { transform: translateY(-3px); }

.city-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--warm-brown), var(--dark));
  opacity: 0.85;
}

.city-card-body {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
}

.city-card-body h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.city-card-body p {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  margin: 0;
}

/* ---- Blog Cards ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--sand);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-body { padding: 24px; }

.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.blog-tag {
  font-size: 0.72rem;
  background: var(--cream);
  color: var(--warm-brown);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.blog-date { font-size: 0.8rem; color: var(--text-muted); }

.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--dark); transition: color var(--transition); }
.blog-card-body h3 a:hover { color: var(--warm-brown); }

.blog-summary { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }

/* ---- FAQ Accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--warm-brown); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- SEO Text Sections ---- */
.seo-text {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.seo-text h2, .seo-text h3 {
  color: var(--warm-brown);
  margin-bottom: 16px;
}

.seo-text p { color: var(--text-muted); line-height: 1.9; }
.seo-text ul { margin: 12px 0 12px 20px; color: var(--text-muted); }
.seo-text li { margin-bottom: 6px; }

/* ---- Listing Detail ---- */
.listing-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.listing-gallery { margin-bottom: 32px; }

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sand);
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.gallery-thumb.active { border-color: var(--gold); }

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Sticky Contact Box ---- */
.sticky-contact {
  position: sticky;
  top: 90px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.sticky-contact-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 4px;
}

.sticky-contact-type {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sticky-contact-info {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.contact-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-row:last-child { border-bottom: none; }

.contact-info-row span:first-child { color: var(--text-muted); }
.contact-info-row span:last-child { font-weight: 600; }

.sticky-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sticky-contact-actions .btn {
  justify-content: center;
}

/* ---- Breadcrumb ---- */
.breadcrumb { margin-bottom: 24px; }

.breadcrumb ol {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--text-muted); }

.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--warm-brown); }
.breadcrumb li:last-child { color: var(--warm-brown); font-weight: 500; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  color: var(--dark);
}

.pagination a:hover { background: var(--warm-brown); color: var(--white); border-color: var(--warm-brown); }
.pagination span.current { background: var(--warm-brown); color: var(--white); border-color: var(--warm-brown); }

/* ---- Price Info Box ---- */
.price-box {
  background: linear-gradient(135deg, var(--warm-brown), #8B6347);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  text-align: center;
}

.price-box h3 { color: var(--white); margin-bottom: 12px; }
.price-box p { color: rgba(255,255,255,0.8); margin-bottom: 20px; }

.price-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price-range-item { text-align: center; }
.price-range-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.price-range-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold-light); }
.price-range-sep { font-size: 1.5rem; opacity: 0.5; }

/* ---- Features ---- */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-tag {
  background: var(--cream);
  color: var(--warm-brown);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.footer-bottom a { color: var(--gold); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ---- Mobile Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .listing-detail { grid-template-columns: 1fr; }
  .sticky-contact { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links a:last-child { border-bottom: none; }

  .hero { min-height: 420px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: 48px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .listings-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }

  .seo-text { padding: 24px; }
}

@media (max-width: 480px) {
  .categories-grid, .cities-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}
