@font-face {
  font-family: Doran;
  src: url('./assets/fonts/Doran-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Doran;
  src: url('./assets/fonts/Doran-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Doran;
  src: url('./assets/fonts/Doran-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Doran;
  src: url('./assets/fonts/Doran-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Cailyne;
  src: url('./assets/fonts/Cailyne.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #fff7f1;
  --color-primary: #8f410c;
  --color-secondary: #4b4b4b;
  --color-gray-100: #d9d9d9;
  --color-gray-300: #7f7f7f;
  --color-gray-400: #5e5e5e;
  --max-container: 1280px;
  --max-container-fluid: 1800px;
}

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

html {
  direction: rtl;
}

body {
  margin: 0;
  font-family: Doran, sans-serif;
  font-size: 15px;
  font-weight: 400;
  background: var(--color-bg);
  color: #000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.app {
  min-height: 100vh;
  background: var(--color-bg);
  overflow-x: hidden;
}

.max-container {
  width: 100%;
  max-width: var(--max-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.max-container--fluid {
  max-width: var(--max-container-fluid);
}

@media (max-width: 768px) {
  .max-container {
    padding-inline: 16px;
  }

  .size-xl .header-title__primary,
  .size-lg .header-title__primary,
  .size-md .header-title__primary {
    white-space: normal;
  }

  .size-xl .header-title__secondary,
  .size-lg .header-title__secondary,
  .size-md .header-title__secondary {
    white-space: normal;
  }

  .size-xl .header-title__placeholder {
    font-size: clamp(64px, 22vw, 120px);
  }

  .size-xl .header-title__primary {
    font-size: clamp(28px, 9vw, 40px);
  }

  .size-xl .header-title__secondary {
    font-size: clamp(13px, 3.6vw, 18px);
  }

  .btn-primary {
    min-height: 44px;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .max-container {
    padding-inline: 14px;
  }
}

/* Header title (English watermark + Persian overlay) */
.header-title {
  position: relative;
  display: inline-block;
  width: 100%;
}

.header-title__placeholder {
  margin: 0 !important;
  color: var(--color-primary);
  font-family: Cailyne, serif;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.header-title--top {
  position: absolute;
}

.header-title__primary {
  margin: 0;
  color: var(--color-primary);
  white-space: nowrap;
  line-height: 1.3;
}

.header-title__secondary {
  margin: 0;
  color: var(--color-secondary);
  line-height: 1.3;
}

.texts--overlap .header-title--top {
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  text-align: center;
}

.texts--separated .header-title--top {
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: start;
}

.text-start.texts--overlap .header-title--top {
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: start;
}

.text-start .header-title {
  text-align: start;
}

.text-center {
  text-align: center;
}

.size-md .header-title__placeholder {
  font-size: clamp(50px, 10vw, 85px);
}

.size-md .header-title__primary {
  font-size: clamp(25px, 6vw, 45px);
  font-weight: 700;
}

.size-md .header-title__secondary {
  font-size: clamp(20px, 5vw, 35px);
  font-weight: 300;
}

.size-xl .header-title__placeholder {
  font-size: clamp(120px, 10vw, 200px);
}

.size-xl .header-title__primary {
  font-size: clamp(35px, 6vw, 65px);
  font-weight: 700;
}

.size-xl .header-title__secondary {
  font-size: clamp(16px, 5vw, 25px);
  white-space: nowrap;
  font-weight: 300;
}

.size-lg .header-title__placeholder {
  font-size: clamp(60px, 10vw, 128px);
}

.size-lg .header-title__primary {
  font-size: clamp(28px, 6vw, 45px);
  font-weight: 700;
}

.size-lg .header-title__secondary {
  font-size: clamp(23px, 5vw, 35px);
  font-weight: 300;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary svg {
  width: 14px;
  height: 14px;
}

.star {
  color: rgba(143, 65, 12, 0.2);
  font-size: clamp(14px, 4vw, 18px);
  margin-inline-end: 6px;
}
