/* Nikpour Realty — main-fixed.css */

/* Base variables */
:root {
  --indigo: #4F46E5;
  --ink: #1B2A49;
  --muted: #6B7280;
  --bg: #f5efe9;
  --bg-muted: #f7f1ea;
  --card: #fdfaf7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15,23,42,0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5efe9;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}


/* Layout helpers */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.2rem 0;
}

.section--muted {
  background: var(--bg-muted);
}

/* Typography utilities */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }

/* Grid helpers */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245,239,233,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148,163,184,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-photo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--indigo);
  box-shadow: 0 0 0 2px #E0E7FF;
}

.header__title {
  margin: 0;
  font-weight: 700;
}

.header__subtitle {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

.nav a:hover {
  color: var(--indigo);
}

.header__contact {
  text-align: right;
  font-size: 0.78rem;
}

.header__contact a {
  color: var(--indigo);
  text-decoration: none;
  font-weight: 600;
}
.header__contact a:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

.btn--indigo {
  background: var(--indigo);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(79,70,229,0.5);
}

.btn--indigo:hover {
  background: #4338CA;
  transform: translateY(-1px);
}

.btn--light {
  background: #ffffff;
  color: var(--indigo);
  border-color: rgba(79,70,229,0.3);
}

.btn--light:hover {
  background: #EEF2FF;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(148,116,90,0.22);
}

.card__body { padding: 1rem 1.2rem; }

/* Open House banner */
.open-house-banner {
  background: #EEF2FF;
  border-bottom: 1px solid #E5E7EB;
  padding: 0.45rem 0;
}

.open-house-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  font-size: 0.9rem;
}

.open-house-banner__label {
  margin: 0;
  font-weight: 600;
  color: var(--indigo);
}

.open-house-banner__text {
  margin: 0;
}

.open-house-banner__text a {
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
}
.open-house-banner__text a:hover { text-decoration: underline; }

/* Generic section headings */
.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.section-title {
  font-size: clamp(1.7rem, 2vw + 1.2rem, 2.4rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

.section-subtitle {
  max-width: 420px;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-note a {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: none;
}
.section-note a:hover { text-decoration: underline; }

/* Hero */
.hero {
  background: radial-gradient(circle at top left, #EEF2FF, #ffffff);
  padding: 3.5rem 0 4.5rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem);
  line-height: 1.1;
  margin: 0 0 0.8rem;
  color: var(--ink);
}

.hero__lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 1.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero__highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero__highlights li::before {
  content: "•";
  margin-right: 0.35rem;
  color: var(--indigo);
}

/* Right side profile block */
.hero__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__photo-wrap {
  position: relative;
  padding: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4F46E5, #D4AF37);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.hero__photo {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
}

.hero__badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--indigo);
  font-size: 0.8rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  font-weight: 600;
  margin-top: 0.75rem;
}

.hero__designation {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.25rem;
}

.designation-logos {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
  align-items: center;
  justify-content: center;
}

.designation-logo {
  height: 34px;
  width: auto;
}
adow: 0 4px 16px rgba(0,0,0,0.15);
  font-weight: 600;
}

.hero__info-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
  max-width: 260px;
}

.hero__name {
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: var(--ink);
}
.hero__role,
.hero__brokerage {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: center;
}

.about__photo {
  border-radius: 999px;
  border: 3px solid var(--indigo);
  width: 220px;
  height: 220px;
  object-fit: cover;
}

/* Featured listings */
.featured {
  padding: 3.5rem 0 3.75rem;
  background: #ffffff;
}

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

.listing-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15,23,42,0.07);
  border: 1px solid rgba(148,163,184,0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.listing-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.listing-card__img-wrap {
  position: relative;
  overflow: hidden;
}

.listing-card__img-wrap img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.listing-card__badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(15,23,42,0.9);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.listing-card .meta {
  padding: 0.9rem 1rem 1rem;
}

.listing-card .title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.listing-card .price {
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 0.25rem;
}

.listing-card .description {
  font-size: 0.9rem;
  color: var(--muted);
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
  border-color: rgba(79,70,229,0.4);
}

/* Services */
.services {
  padding: 3.75rem 0 3.75rem;
  background: var(--bg-muted);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 12px 28px rgba(15,23,42,0.06);
  border: 1px solid rgba(148,163,184,0.25);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: rgba(79,70,229,0.08);
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.service-card p {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact */
.contact {
  padding: 3.75rem 0 3.75rem;
  background: #ffffff;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact__text {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 28rem;
  margin: 0.8rem 0 1.4rem;
}

.contact__details {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.contact__detail-line {
  color: var(--ink);
}

.contact__detail-line span {
  color: var(--muted);
  margin-left: 0.25rem;
}

.contact__detail-line a {
  color: var(--indigo);
  text-decoration: none;
  font-weight: 600;
}
.contact__detail-line a:hover { text-decoration: underline; }

.contact__form {
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 14px 30px rgba(15,23,42,0.08);
  border: 1px solid rgba(148,163,184,0.35);
}

.contact__form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.8);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  font-family: inherit;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 2px rgba(79,70,229,0.15);
}

.contact__submit {
  margin-top: 0.4rem;
  width: 100%;
}

/* Footer */
.footer {
  padding: 2rem 0 2.5rem;
  background: #E9DED2;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin: 0.75rem 0 0.25rem;
  flex-wrap: wrap;
}
.footer__links a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}
.footer__links a:hover {
  color: var(--indigo);
  text-decoration: underline;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .header__inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .nav {
    flex-wrap: wrap;
  }
  .hero__inner,
  .contact__inner,
  .about__grid {
    grid-template-columns: 1fr;
  }
  .hero__profile {
    order: -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.7rem 0 3.2rem;
  }
  .hero__photo {
    width: 150px;
    height: 150px;
  }
  .contact__form {
    padding: 1.2rem 1.25rem;
  }
  .header__inner {
    padding-inline: 1rem;
  }
}

/* --- Step 1 Luxury Enhancements: typography + buttons + nav only --- */

/* Use clean modern + elegant fonts (from Google Fonts in index.html) */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.section-title,
.hero__title,
.hero__name,
h1, h2, h3 {
  font-family: "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

/* Navigation: subtle uppercase with underline hover */
.nav a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #4F46E5, #A855F7);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* Buttons: gradient & softer shadow without changing layout */
.btn--indigo {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  box-shadow: 0 14px 32px rgba(79,70,229,0.45);
}

.btn--indigo:hover {
  background: linear-gradient(135deg, #4338CA, #6D28D9);
}

/* Cards: tiny lift on hover (does not affect layout) */
.card,
.listing-card,
.service-card,
.contact__form {
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.listing-card:hover,
.service-card:hover,
.contact__form:hover {
  box-shadow: 0 20px 45px rgba(15,23,42,0.16);
  transform: translateY(-3px);
}


/* Farsi pages: slightly larger and more airy */
body[lang="fa"] {
  font-size: 18px;
  line-height: 2.0;
}

/* Featured listings grid */
.listing-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Listing card */
.listing-card {
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.listing-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.listing-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge styling */
.listing-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.96); /* Indigo */
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Card body */
.listing-card .meta {
  padding: 1rem 1.15rem 1.2rem;
}

.listing-card .title {
  font-size: 1.02rem;
  margin: 0 0 0.25rem;
}

.listing-card .price {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.4rem;
}

.listing-card .description {
  font-size: 0.9rem;
  color: #6B7280;
}
