/* styles.css */
@font-face {
  font-family: 'IRANSansWeb';
  src: url('font/IRANSansWeb.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
    --cream: #f7eedd;
    --cream-light: #fdf8ef;
    --cream-2: #efe1c6;
    --brown: #5a3a22;
    --brown-light: #8b5e3c;
    --brown-dark: #3d2716;
    --accent: #b07d4b;
    --stitch: #b07d4b;
    --shadow: rgba(61, 39, 22, 0.15);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'IRANSansWeb', Tahoma, "Segoe UI", sans-serif;
    background: var(--cream);
    color: var(--brown-dark);
    line-height: 2;
    direction: rtl;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  .container {
    width: 92%;
    max-width: 1140px;
    margin: 0 auto;
  }
  
  /* ---------- Stitch style helper ---------- */
  .stitch {
    border: 2px dashed var(--stitch);
    border-radius: 14px;
    background: var(--cream-light);
    padding: 24px;
    position: relative;
  }
  
  .stitch::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px dashed var(--brown-light);
    border-radius: 9px;
    pointer-events: none;
    opacity: 0.6;
  }
  
  /* ---------- Header / Nav ---------- */
  .site-header {
    background: var(--brown);
    color: var(--cream);
    border-bottom: 3px dashed var(--accent);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
  }
  
  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
  }
  
  .brand {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
  }
  
  .brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.5px;
  }
  
  .brand .tagline {
    font-size: 0.8rem;
    color: var(--cream-2);
  }
  
  .nav-toggle {
    display: none;
    background: none;
    border: 2px dashed var(--cream);
    border-radius: 8px;
    color: var(--cream);
    font-size: 1.4rem;
    padding: 4px 12px;
    cursor: pointer;
  }
  
  .nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
  }
  
  .nav-links a {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--cream);
    border: 2px dashed transparent;
    transition: 0.2s;
    font-size: 0.98rem;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    border-color: var(--accent);
    background: var(--brown-dark);
  }
  
  /* ---------- Hero ---------- */
  .hero {
    background:
      linear-gradient(rgba(61, 39, 22, 0.55), rgba(61, 39, 22, 0.55)),
      repeating-linear-gradient(45deg, var(--brown) 0 18px, var(--brown-light) 18px 36px);
    color: var(--cream);
    text-align: center;
    padding: 70px 0;
    border-bottom: 3px dashed var(--accent);
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }
  
  .hero p {
    max-width: 720px;
    margin: 0 auto 26px;
    color: var(--cream-2);
    font-size: 1.05rem;
  }
  
  .btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    border: 2px dashed var(--cream);
    font-weight: 700;
    transition: 0.2s;
  }
  
  .btn:hover {
    background: var(--brown-dark);
  }
  
  /* ---------- Sections ---------- */
  section {
    padding: 50px 0;
  }
  
  h2 {
    color: var(--brown);
    font-size: 1.7rem;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--accent);
    display: inline-block;
  }
  
  h3 {
    color: var(--brown-light);
    font-size: 1.3rem;
    margin: 22px 0 10px;
  }
  
  p {
    margin-bottom: 14px;
    text-align: justify;
  }
  
  .lead {
    font-size: 1.1rem;
    color: var(--brown);
  }
  
  /* ---------- Grids ---------- */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
  }
  
  .gallery figure {
    border: 2px dashed var(--stitch);
    border-radius: 12px;
    overflow: hidden;
    background: var(--cream-light);
  }
  
  .gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .gallery figcaption {
    padding: 8px 10px;
    font-size: 0.85rem;
    text-align: center;
    color: var(--brown);
  }
  
  /* placeholder image box */
  .ph {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, var(--cream-2) 0 12px, var(--cream) 12px 24px);
    color: var(--brown-light);
    font-size: 0.9rem;
  }
  
  /* ---------- Videos ---------- */
  .videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
  }
  
  .video-box video {
    width: 100%;
    border-radius: 12px;
    border: 2px dashed var(--stitch);
    background: #000;
  }
  
  /* ---------- Feature cards ---------- */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 16px;
  }
  
  .card {
    border: 2px dashed var(--stitch);
    border-radius: 14px;
    background: var(--cream-light);
    padding: 22px;
  }
  
  .card h3 {
    margin-top: 0;
  }
  
  /* ---------- Contact ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  
  .contact-info li {
    list-style: none;
    margin-bottom: 14px;
    padding-right: 30px;
    position: relative;
  }
  
  .contact-info li::before {
    content: "✦";
    position: absolute;
    right: 0;
    color: var(--accent);
  }
  
  .contact-form label {
    display: block;
    margin: 10px 0 4px;
    font-weight: 700;
    color: var(--brown);
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px dashed var(--brown-light);
    border-radius: 8px;
    background: var(--cream-light);
    font-family: inherit;
    color: var(--brown-dark);
  }
  
  .map-box {
    margin-top: 24px;
  }
  
  .map-box iframe {
    width: 100%;
    height: 320px;
    border: 2px dashed var(--stitch);
    border-radius: 12px;
  }
  
  /* ---------- Footer ---------- */
  .site-footer {
    background: var(--brown-dark);
    color: var(--cream-2);
    border-top: 3px dashed var(--accent);
    padding: 30px 0 18px;
    margin-top: 30px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 18px;
  }
  
  .footer-grid h4 {
    color: var(--cream);
    margin-bottom: 10px;
  }
  
  .footer-grid a:hover {
    color: var(--accent);
  }
  
  .copyright {
    text-align: center;
    border-top: 1px dashed var(--brown-light);
    padding-top: 14px;
    font-size: 0.85rem;
  }
  
  /* ---------- Responsive ---------- */
  @media (max-width: 820px) {
    .nav-toggle {
      display: block;
    }
  
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      flex-direction: column;
      background: var(--brown);
      padding: 12px;
      gap: 4px;
      border-bottom: 3px dashed var(--accent);
    }
  
    .nav-links.open {
      display: flex;
    }
  
    .nav-wrap {
      position: relative;
    }
  
    .contact-grid {
      grid-template-columns: 1fr;
    }
  
    .hero h1 {
      font-size: 1.7rem;
    }
  }
  