/*
Theme Name: Gerold Custom Header Child
Template: gerold
Version: 1.0.0
Text Domain: gerold-custom-header
*/

@font-face {
  font-family: "Kalameh";
  src: url("assets/fonts/KalamehWeb(FaNum)-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Kalameh";
  src: url("assets/fonts/KalamehWeb(FaNum)-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Peyda";
  src: url("assets/fonts/PeydaWebFaNum-Medium.woff") format("woff");
  font-weight: 400 600;
  font-style: normal;
}
/* متن‌های سایت */
body,
p,
li,
input,
textarea,
select,
button {
  font-family: "Peyda", Tahoma, sans-serif !important;
  font-weight: 400;
}

/* تیترهای سایت */
h1, h2, h3, h4, h5, h6,
.tj-title,
.section-title,
.title {
  font-family: "Kalameh", Tahoma, sans-serif !important;
  font-weight: 700;
}
h1 {
  font-weight: 900;
}

/* Custom navigation — desktop */
.tj-header-area.jarold-header {
  position: relative;
  z-index: 100;
  padding: 28px 0 0;
  background: linear-gradient(180deg, #12081c 0%, rgba(18, 8, 28, 0) 100%);
}
.tj-header-area.jarold-header .jarold-header-shell {
  min-height: 72px;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(202, 151, 255, .22);
  border-radius: 22px;
  background: rgba(27, 13, 42, .82);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}
.jarold-brand { display:flex; align-items:center; gap:14px; min-width:0; }
.jarold-brand .custom-logo-link { display:block; line-height:0; }
.jarold-brand .custom-logo { width:auto; max-height:40px; }
.jarold-brand__fallback { color:#fff; font-size:22px; font-weight:800; text-decoration:none; }
.jarold-email { color:#e9ddf9; direction:ltr; font-size:14px; white-space:nowrap; text-decoration:none; }
.jarold-email:hover { color:#bd7aff; }
.jarold-desktop-menu .menu { margin:0; padding:0; display:flex; align-items:center; justify-content:center; gap:28px; list-style:none; }
.jarold-desktop-menu .menu a { color:#f4ecff; font-size:15px; font-weight:600; text-decoration:none; transition:.2s ease; }
.jarold-desktop-menu .menu a:hover, .jarold-desktop-menu .current-menu-item>a { color:#b76dff; }
.jarold-actions { display:flex; justify-content:flex-end; align-items:center; gap:12px; }
.jarold-cta { display:inline-flex; align-items:center; min-height:44px; padding:0 19px; border-radius:14px; background:linear-gradient(135deg,#ad65ff,#7132c7); color:#fff; font-size:14px; font-weight:700; text-decoration:none; box-shadow:0 10px 24px rgba(125,57,220,.28); }
.jarold-cta:hover { color:#fff; transform:translateY(-1px); }
.jarold-mobile-toggle { display:none; width:46px; height:42px; padding:0; border:1px solid rgba(206,157,255,.38); border-radius:13px; color:#fff; background:#271539; cursor:pointer; }
.jarold-mobile-toggle span { display:block; width:20px; height:2px; margin:4px auto; background:currentColor; transition:.2s; }
.jarold-mobile-panel { display:none; }

/* Custom navigation — mobile */
@media (max-width: 991px) {
  .tj-header-area.jarold-header { padding:16px 0 0; }
  .tj-header-area.jarold-header .jarold-header-shell { grid-template-columns:1fr auto; min-height:62px; border-radius:18px; }
  .jarold-desktop-menu, .jarold-actions .jarold-cta { display:none; }
  .jarold-email { display:none; }
  .jarold-mobile-toggle { display:block; }
  .jarold-mobile-panel { margin-top:10px; padding:10px; border:1px solid rgba(202,151,255,.18); border-radius:18px; background:#1b0d2a; }
  .jarold-mobile-panel.is-open { display:block; }
  .jarold-mobile-panel .menu { margin:0; padding:0; list-style:none; }
  .jarold-mobile-panel .menu li + li { border-top:1px solid rgba(255,255,255,.08); }
  .jarold-mobile-panel .menu a { display:block; padding:13px 12px; color:#f6efff; text-decoration:none; font-weight:600; }
  .jarold-mobile-panel__bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 12px 4px; }
  .jarold-mobile-panel__bottom .jarold-email { display:block; font-size:12px; }
  .jarold-mobile-panel__bottom .jarold-cta { min-height:39px; padding:0 13px; }
}
