/* ============================================
   Emel Gürbüz — Re/Max Portföy Sitesi
   Tasarım: Modern & Sade (Lacivert / Beyaz)
   ============================================ */

:root {
  /* Sotheby's-style palette: deep marine navy, antique brass gold, crisp white */
  --navy-deep: #0A2246;
  --navy: #123A63;
  --navy-light: #1F4E82;
  --bg: #F5F6F7;
  --white: #FFFFFF;
  --accent: #AC8F49;
  --accent-dark: #8B7038;
  --ink: #1B2430;
  --muted: #667085;
  --border: #E1E4E9;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(10,34,70,0.05), 0 10px 26px rgba(10,34,70,0.07);
  --shadow-hover: 0 4px 10px rgba(10,34,70,0.07), 0 22px 42px rgba(10,34,70,0.12);
  --serif: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name {
  font-family: var(--serif);
  font-weight: 500;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.6rem 1.5rem 3rem;
  position: relative;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
}

.section-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.section-count {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Grid & Cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.card-media {
  position: relative;
  height: 190px;
  background: var(--border);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--border);
}

.card-price {
  position: absolute;
  left: 0.9rem;
  bottom: -0.1rem;
  transform: translateY(50%);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(10,34,70,0.25);
}

.card-body {
  padding: 1.5rem 1.1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

.card-location {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-location::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.card-link {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link .arrow {
  transition: transform 0.2s ease;
}

.card:hover .card-link .arrow {
  transform: translateX(3px);
}

.empty-state, .error-state {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 2.2rem 1rem 2.6rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Detail Page ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.back-link:hover { color: var(--accent); }

.detail-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.6rem 1.5rem 3.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.gallery {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: var(--border);
  display: block;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  overflow-x: auto;
}

.gallery-thumbs img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.gallery-thumbs img:hover { opacity: 0.9; }

.gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--accent);
}

.detail-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.detail-title {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.3rem;
}

.detail-location {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.detail-location::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.9rem 1rem;
  padding: 1.1rem;
  background: var(--bg);
  border-radius: 10px;
  margin: 0 0 1.4rem;
  border: 1px solid var(--border);
}

.feature-item .label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.feature-item .value {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.detail-description {
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-line;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

/* ============================================
   Anasayfa (Home) — Navbar, Hero, Sections
   ============================================ */

.navbar {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

.navbar.scrolled {
  background: rgba(8,29,54,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: var(--white);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 300px; }
  .nav-links a {
    padding: 0.9rem 1.5rem;
    margin-left: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,29,54,0.95) 0%, rgba(8,29,54,0.82) 42%, rgba(8,29,54,0.55) 68%, rgba(8,29,54,0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.hero-text h1 {
  color: var(--white);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 1.2rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.hero-text h1 span {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.hero-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 1.8rem;
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.75);
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover { background: var(--white); color: var(--navy-deep); }

.btn-solid {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-solid:hover { background: var(--accent-dark); }

.hero-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border: 3px solid rgba(255,255,255,0.15);
  height: 460px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-photo { max-width: 280px; height: 340px; margin: 0 auto; }
  .hero-text h1 { font-size: 2.1rem; }
}

/* ---- Stats bar ---- */

.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  text-align: center;
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ---- Generic section ---- */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

.section-heading {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.6rem;
  letter-spacing: -0.01em;
}

/* ---- About / Hakkımda ---- */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo {
    position: static;
  }
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
  height: 560px;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.about-text p {
  line-height: 1.75;
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 1.1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 1.6rem;
}

.chip {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.region-list {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
}

.region-list li {
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.region-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

details.edu-details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
}

details.edu-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

details.edu-details ul {
  margin: 0.9rem 0 0.2rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---- Region gallery ---- */

.region-gallery {
  background: var(--white);
}

.gallery-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.gallery-scroll figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-scroll img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--border);
  transition: transform 0.35s ease;
}

.gallery-scroll figure:hover img { transform: scale(1.06); }

.gallery-scroll figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(0deg, rgba(8,29,54,0.85), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- CTA banner ---- */

.cta-banner {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.78);
  margin: 0 0 1.5rem;
}

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.contact-card h3 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

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

.contact-row .ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.6rem;
}

.social-grid a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}

.social-grid a:hover { border-color: var(--navy); }

/* ============================================
   Animasyonlar (scroll-reveal, hero giriş, sayaç)
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hero: sayfa açılır açılmaz sırayla beliren öğeler */
.hero-text .hero-eyebrow,
.hero-text h1,
.hero-text p,
.hero-text .btn-outline,
.hero-photo {
  opacity: 0;
  animation: heroRise 0.85s cubic-bezier(.16,.84,.44,1) forwards;
}
.hero-text .hero-eyebrow  { animation-delay: 0.05s; }
.hero-text h1          { animation-delay: 0.15s; }
.hero-text p            { animation-delay: 0.30s; }
.hero-text .btn-outline { animation-delay: 0.45s; }
.hero-photo             { animation-delay: 0.25s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Kart / galeri hover'larına ince bir "kalkış" hissi */
.card, .gallery-scroll figure, .contact-card, .testimonial-card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* ---- Müşteri Yorumları: kendiliğinden kayan şerit ---- */

.testimonial-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.testimonial-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: testimonialMarquee linear infinite;
  animation-duration: 60s;
}

.testimonial-track.paused {
  animation-play-state: paused;
}

@media (hover: hover) {
  .testimonial-track:hover {
    animation-play-state: paused;
  }
}

@keyframes testimonialMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  width: 300px;
  flex: 0 0 300px;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.6rem;
  right: 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--bg);
  line-height: 1;
  z-index: 0;
}

.testimonial-card.active {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(10,34,70,0.22);
  border-color: var(--navy);
  z-index: 5;
}

.testimonial-track.has-active .testimonial-card:not(.active) {
  opacity: 0.4;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1.1rem;
  position: relative;
  z-index: 1;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-card.active .testimonial-text {
  -webkit-line-clamp: unset;
  overflow-y: auto;
  max-height: 170px;
  padding-right: 4px;
}

.testimonial-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
  position: relative;
  z-index: 1;
}

.testimonial-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.testimonial-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.testimonial-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .testimonial-card { width: 250px; flex-basis: 250px; }
}

/* ============================================
   Klas Yenileme — İmza Katmanı
   (Fine-catalogue system: hairline rules,
   tracked small-caps labels, serif display,
   rectangular buttons — Ege kıyısı lüks kimliği)
   ============================================ */

body { letter-spacing: 0.001em; }

/* ---- Nav: serif wordmark, tracked links ---- */
.nav-logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.nav-links a.active {
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -20px;
  height: 2px;
  background: var(--accent);
}
@media (max-width: 760px) { .nav-links a.active::after { display: none; } }

/* ---- Eyebrow labels: hairline + tracked small-caps ---- */
.section-eyebrow {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-heading {
  font-weight: 500;
  letter-spacing: 0;
  font-size: 2.1rem;
}

/* ---- Buttons: rectangular, tracked, restrained ---- */
.btn-outline, .btn-solid {
  border-radius: 2px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 0.95rem 2.1rem;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: var(--white); color: var(--navy-deep); }

.btn-solid {
  background: var(--navy);
  color: var(--white);
}
.btn-solid:hover { background: var(--accent); color: var(--white); }

/* ---- Hero: serif display, italic accent ---- */
.hero { background: var(--navy); }

.hero-overlay {
  background: linear-gradient(100deg, rgba(10,34,70,0.92) 0%, rgba(10,34,70,0.78) 42%, rgba(10,34,70,0.45) 70%, rgba(10,34,70,0.6) 100%);
}

.hero-text h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.9rem;
  letter-spacing: -0.005em;
  text-shadow: none;
}

.hero-text h1 span {
  font-style: italic;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  position: relative;
}
.hero-text h1 span::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.08em;
  height: 1px;
  background: var(--accent);
}

.hero-text p { font-family: 'Montserrat', sans-serif; }

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.3rem;
}
.hero-eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 860px) { .hero-eyebrow { justify-content: center; } }

.hero-photo {
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

/* ---- Stats: quiet dividers, serif numerals ---- */
.stats-bar { background: var(--bg); border-bottom: 1px solid var(--border); }

.stats-inner {
  padding: 2.2rem 1.5rem;
  position: relative;
}
.stats-inner > div {
  position: relative;
  padding: 0 0.6rem;
}
.stats-inner > div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 8%;
  height: 84%;
  width: 1px;
  background: var(--border);
}
@media (max-width: 760px) { .stats-inner > div:not(:last-child)::after { display: none; } }

.stat-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--navy);
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

/* ---- About: tags as fine outline labels ---- */
.chip {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.about-photo, .gallery, .detail-panel, .card, .contact-card, .empty-state, .error-state {
  border-radius: 2px;
}

/* ---- Region gallery: serif italic captions ---- */
.gallery-scroll figure { border-radius: 2px; }

.gallery-scroll figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-transform: none;
  background: linear-gradient(0deg, rgba(10,34,70,0.88), transparent);
}

/* ---- CTA banner: quiet, centered, hairline rule ---- */
.cta-banner {
  background: var(--navy);
  padding: 4.2rem 1.5rem;
}

.cta-banner h2 {
  font-weight: 400;
  font-style: italic;
  font-size: 2rem;
  position: relative;
  padding-bottom: 1.1rem;
  margin-bottom: 1rem;
}
.cta-banner h2::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 44px; height: 1px;
  background: var(--accent);
}

/* ---- Testimonials: fine catalogue card, no oversized quote glyph ---- */
.testimonial-card {
  border-radius: 2px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  box-shadow: none;
  padding: 1.9rem 1.7rem 1.5rem;
}

.testimonial-card::before { content: none; }

.testimonial-card.active {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
  border-top-color: var(--accent);
}

.testimonial-stars { color: var(--accent); letter-spacing: 0.15em; }

.testimonial-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--navy);
}

.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--navy);
}

.testimonial-date { font-family: 'Montserrat', sans-serif; }

/* ---- Contact ---- */
.contact-card h3 {
  font-weight: 400;
  font-style: italic;
  font-size: 1.2rem;
}

.social-grid a { border-radius: 2px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.78rem; }

/* ---- Property cards / listing & detail pages ---- */
.card-title, .detail-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card-price {
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.detail-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.section-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }

footer {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border);
}
