@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap");

/* ==================== تنظیمات کلی ==================== */
:root {
  --gold: #bda36b;
  --gold-dark: #9d824c;
  --gold-light: #e8dec7;

  --bg: #f6f5f2;
  --white: #ffffff;
  --soft-gray: #ecebe7;
  --border: #dedbd3;

  --text: #2f2f2f;
  --muted: #6e6c68;
  --dark: #242424;

  --shadow-soft: 0 12px 35px rgba(40, 38, 33, 0.07);
  --shadow-hover: 0 18px 45px rgba(40, 38, 33, 0.12);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --transition: all 0.28s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ==================== کلاس‌های عمومی ==================== */
.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading h2 {
  color: var(--dark);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 2;
}

.section-footer {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* ==================== دکمه‌ها ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(157, 130, 76, 0.27);
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--dark);
}

.btn-light:hover {
  background-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: rgba(47, 47, 47, 0.35);
  color: var(--text);
}

.btn-outline-dark:hover {
  background-color: var(--dark);
  border-color: var(--dark);
  color: #fff;
  transform: translateY(-3px);
}

.btn-small {
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.82rem;
}

/* ==================== هدر و Hero ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;

  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.42), rgba(20, 20, 20, 0.55)),
    url("images/hero.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.56) 0%,
    rgba(17, 17, 17, 0.32) 48%,
    rgba(17, 17, 17, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 40px;
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f2e7d0;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -1px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}

.hero-description {
  max-width: 630px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 2.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-link {
  display: inline-block;
  margin-top: 25px;
  color: #f5e8ca;
  font-size: 0.93rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.hero-link::before {
  content: "←";
  margin-left: 7px;
  font-size: 1.05rem;
}

.hero-link:hover {
  border-bottom-color: #f5e8ca;
}

/* ==================== بخش اعتمادسازی ==================== */
.trust-section {
  position: relative;
  z-index: 2;
  padding-top: 0;
  margin-top: -55px;
}

.trust-section .section-heading {
  display: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-card {
  min-height: 170px;
  padding: 28px 23px;
  border: 1px solid rgba(222, 219, 211, 0.85);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-light);
}

.info-card h3 {
  position: relative;
  padding-bottom: 12px;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 700;
}

.info-card h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  border-radius: 50px;
  background-color: var(--gold);
}

.info-card p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.9;
}

/* ==================== دسته‌بندی محصولات ==================== */
.categories-section {
  background-color: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  min-height: 250px;
  padding: 30px 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: #fff;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-hover);
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 4px 12px;
  border-radius: 50px;
  background-color: #f1ede3;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.category-card h3 {
  margin-top: 23px;
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.category-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 2;
}

/* ==================== محصولات پرفروش ==================== */
.products-section {
  background-color: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--white);
  box-shadow: 0 8px 26px rgba(40, 38, 33, 0.05);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-9px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-hover);
}

.product-image {
  height: 260px;
  background-color: #ddd;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.035);
}

.product-body {
  padding: 25px;
}

.product-body h3 {
  color: var(--dark);
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-meta {
  display: grid;
  gap: 8px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--soft-gray);
}

.product-meta li {
  display: flex;
  gap: 6px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

.product-meta li span {
  min-width: 86px;
  color: var(--text);
  font-weight: 600;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.price-note {
  color: var(--gold-dark);
  font-size: 0.83rem;
  font-weight: 700;
}

/* ==================== بخش کافه‌ها ==================== */
.cafe-section {
  background-color: var(--white);
}

.cafe-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 55px;
  border: 1px solid #ded8c9;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 230, 0.96));
  box-shadow: var(--shadow-soft);
}

.cafe-text {
  max-width: 690px;
}

.cafe-text h2 {
  color: var(--dark);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.6;
}

.cafe-text p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 2.1;
}

.cafe-actions {
  display: flex;
  flex-direction: column;
  min-width: 220px;
  gap: 12px;
}

/* ==================== چرا آرتا ==================== */
.why-section {
  background-color: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-item {
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: center;
  padding: 18px 20px 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #fff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.why-item::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: 11px;
  border-radius: 50%;
  background-color: var(--gold);
}

.why-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: 0 10px 25px rgba(40, 38, 33, 0.06);
}

/* ==================== فوتر ==================== */
.footer {
  padding: 38px 0;
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  font-size: 0.88rem;
}

.footer p:first-child {
  color: #f0dfbb;
  font-weight: 600;
}

/* ==================== ریسپانسیو: لپ‌تاپ کوچک ==================== */
@media (max-width: 1024px) {
  .trust-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-card {
    min-height: auto;
  }

  .cafe-box {
    padding: 42px;
  }
}

/* ==================== ریسپانسیو: تبلت و موبایل ==================== */
@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: 680px;
    background-position: 58% center;
  }

  .hero-overlay {
    background-color: rgba(17, 17, 17, 0.2);
  }

  .hero-content {
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .trust-section {
    padding-top: 0;
    margin-top: 0;
  }

  .trust-grid {
    margin-top: -25px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .product-image {
    height: 290px;
  }

  .cafe-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 34px 28px;
  }

  .cafe-actions {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==================== ریسپانسیو: موبایل ==================== */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-kicker {
    font-size: 0.76rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-grid,
  .category-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 12px;
  }

  .info-card {
    padding: 23px 20px;
  }

  .category-card {
    min-height: auto;
    padding: 26px 22px;
  }

  .product-body {
    padding: 21px;
  }

  .product-image {
    height: 240px;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-footer .btn {
    width: 100%;
  }

  .cafe-box {
    padding: 28px 21px;
  }

  .cafe-actions {
    flex-direction: column;
  }

  .cafe-actions .btn {
    width: 100%;
  }

  .why-item {
    min-height: 75px;
  }
}
