
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --black: #111111;
    --dark: #1c1c1c;
    --gold: #c6a45a;
    --gold-light: #e2c98e;
    --white: #ffffff;
    --cream: #f7f6f2;
    --gray: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */

.header {
    background: var(--black);
    color: var(--white);
    padding: 17px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px #00000018;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header h1 {
    color: var(--gold);
    font-size: 27px;
    font-weight: 800;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--gold);
}

/* HERO */

.hero {
    min-height: 590px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 90px 20px;

    background:
        linear-gradient(
            90deg,
            #00000099,
            #00000055
        ),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9')
        center/cover no-repeat;
}

.hero h2 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 18px;
    margin-bottom: 32px;
    color: #eeeeee;
}

/* BUTTONS */

.property-button {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    padding: 13px 27px;
    border-radius: 7px;
    font-weight: 700;
    transition: 0.3s;
    border: 1px solid var(--gold);
}

.property-button:hover {
    background: var(--black);
    color: var(--gold);
    transform: translateY(-3px);
}

/* PROPERTIES */

.properties {
    padding-top: 85px;
    padding-bottom: 85px;
}

.section-title {
    text-align: center;
    color: var(--black);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
}

#property-list {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(260px, 1fr)
    );
    gap: 28px;
}

/* PROPERTY CARDS */

.property-card {
    background: white;
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    box-shadow: 0 7px 25px #00000008;
    transition: 0.35s;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px #00000015;
}

.property-card img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
}

.property-info {
    padding: 23px;
}

.property-info h3 {
    font-size: 19px;
    color: var(--black);
    margin-bottom: 12px;
}

.property-info p {
    color: var(--gray);
    margin-bottom: 9px;
    font-size: 14px;
}

.property-info .property-button {
    margin-top: 12px;
}

/* ABOUT */

.about {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 75px 30px;
    border-radius: 15px;
    margin-bottom: 80px;
}

.about h2 {
    color: var(--gold);
    font-size: 30px;
    margin-bottom: 20px;
}

.about p {
    color: #dddddd;
    margin-bottom: 10px;
}

/* CONTACT */

.contact {
    background: white;
    padding: 65px 25px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 80px;
    box-shadow: 0 8px 30px #00000008;
}

.contact-info {
    margin: 25px 0;
}

.contact-info p {
    margin-bottom: 10px;
    color: #555555;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* FOOTER */

.footer {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 28px 15px;
    border-top: 3px solid var(--gold);
}

.footer p {
    font-size: 14px;
}

/* MOBILE */

@media (max-width: 650px) {

    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .header h1 {
        font-size: 24px;
    }

    nav {
        justify-content: center;
        gap: 13px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        min-height: 450px;
        padding: 65px 15px;
    }

    .hero h2 {
        font-size: 29px;
    }

    .hero p {
        font-size: 15px;
    }

    .section-title {
        font-size: 25px;
    }

    #property-list {
        grid-template-columns: 1fr;
    }

    .property-card img {
        height: 230px;
    }

    .about {
        padding: 50px 20px;
    }

    .contact {
        padding: 45px 18px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons a {
        width: 100%;
    }
}


.messenger-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.messenger-btn {
  display: block;
  min-width: 125px;
  text-align: center;
  padding: 11px 18px;
  border-radius: 9px;
  background: #111111;
  color: #d5b66e;
  border: 1px solid #c6a45a;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 5px 18px #00000025;
  transition: 0.3s;
}

.messenger-btn:hover {
  background: #c6a45a;
  color: #111111;
  transform: translateX(-5px);
}

@media (max-width: 600px) {
  .messenger-float {
      right: 12px;
      bottom: 15px;
      gap: 7px;
  }

  .messenger-btn {
      min-width: 105px;
      padding: 9px 12px;
      font-size: 13px;
  }
}
.request-form {
  max-width: 600px;
  margin: 35px auto;
  padding: 25px;
  background: #ffffff;
  border: 1px solid #d5b66e;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  direction: rtl;
}

.request-form h3 {
  text-align: center;
  color: #222222;
  margin-bottom: 10px;
}

.request-form label {
  font-weight: bold;
  color: #333333;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 7px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.request-form button {
  cursor: pointer;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .request-form {
      margin: 20px 10px;
      padding: 18px;
  }
}.hero {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 70px 0;
  color: #fff;
  background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.35)),
      url("hero.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: right;
}

.hero-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #e1c477;
  font-weight: bold;
}

.hero h2 {
  max-width: 700px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.5;
}

.hero p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #f0f0f0;
  font-size: 1.05rem;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-secondary-button {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #e1c477;
  border-radius: 8px;
  color: #f1d58c;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.hero-secondary-button:hover {
  background: #e1c477;
  color: #171717;
}

@media (max-width: 600px) {
  .hero {
      min-height: 390px;
      padding: 55px 0;
  }

  .hero h2 {
      font-size: 2rem;
  }
}/* نوشته‌ها و دکمه‌های روی تصویر اول سایت */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.68),
        rgba(0, 0, 0, 0.28)
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 70px;
    padding-bottom: 70px;
}

.hero-label {
    display: inline-block;
    color: #e2c477;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(226, 196, 119, 0.55);
    border-radius: 30px;
    padding: 8px 18px;
    margin-bottom: 14px;
}

.hero-content h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.5;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-content p {
    color: #f5f5f5;
    font-size: 1.05rem;
    line-height: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-actions a:hover {
    transform: translateY(-2px);
}

.hero-actions .property-button {
    background: #d6b66a;
    color: #171717;
}

.hero-actions .hero-secondary-button {
    color: #fff;
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

@media (max-width: 600px) {
    .hero-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}/* کارت‌های آگهی باغ و ویلا */
#property-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.property-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e1d2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
}

.property-card img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.property-info {
    padding: 20px;
}

.property-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f5edda;
    color: #806321;
    font-size: 0.85rem;
    font-weight: bold;
}

.property-info h3 {
    margin: 14px 0;
    color: #222;
    font-size: 1.2rem;
}

.property-info p {
    margin: 9px 0;
    color: #555;
    line-height: 1.8;
}

.property-info .property-button {
    display: block;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 9px;
    background: #d6b66a;
    color: #171717;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.property-info .property-button:hover {
    background: #c5a34f;
}.property-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #d6b66a;
    border-radius: 25px;
    background: #fff;
    color: #5b4820;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #d6b66a;
    color: #171717;
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
}