/* تعريف الخط السعودي */
@font-face {
    font-family: "Saudi";
    src: url("SA_Font/Saudi-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Saudi";
    src: url("SA_Font/Saudi-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}


  :root{
    --bg: #ECE2CC;
    --bg-alt: #F6EFDE;
    --card: #FBF7EC;
    --ink: #2A2318;
    --ink-soft: #5B5140;
    --green: #1F3B2C;
    --green-deep: #142A1F;
    --gold: #B8873B;
    --gold-light: #D9AE63;
    --clay: #9C4A28;
    --line: rgba(31,59,44,0.16);
    --shadow: 0 18px 40px -22px rgba(20,42,31,0.35);
    --radius: 4px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }

    body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family: "Saudi", sans-serif;
    line-height:1.75;
    -webkit-font-smoothing:antialiased;
  }

    h1,h2,h3,.display{
    font-family: "Saudi", sans-serif;
    font-weight:700;
    color:var(--green-deep);
    margin:0;
  }
  a{color:inherit;text-decoration:none;}
  ul{margin:0;padding:0;list-style:none;}
  img,svg{display:block;max-width:100%;}
  .container{
    max-width:1120px;
    margin:0 auto;
    padding:0 28px;
  }
  section{scroll-margin-top:84px;}

  
  /* ---------- Sadu pattern (signature element) ---------- */
  .sadu-defs{position:absolute;width:0;height:0;overflow:hidden;}
  .sadu-strip{
    width:100%;
    height:26px;
    display:block;
  }
  .sadu-strip--tall{height:40px;}

  /* ---------- Header ---------- */
  header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(236,226,204,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:76px;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:12px;
  }
  .brand-mark{width:38px;height:38px;flex-shrink:0;}
  .brand-text{
    font-family: "Saudi", sans-serif;
    font-size:30px;
    font-weight:700;
    color:var(--green-deep);
    line-height:1;
  }
  .brand-text small{
    display:block;
    font-family: "Saudi", sans-serif;
    font-size:0.62rem;
    font-weight:500;
    letter-spacing:0.12em;
    color:var(--gold);
    margin-top:4px;
  }
  nav.links{
    display:flex;
    gap:6px;
  }
  nav.links button{
    background:none;
    border:none;
    font-family: "Saudi", sans-serif;
    font-size:20px;
    font-weight:500;
    color:var(--ink-soft);
    padding:10px 30px;
    border-radius:var(--radius);
    cursor:pointer;
    position:relative;
    transition:color .2s ease;
  }
  nav.links button::after{
    content:"";
    position:absolute;
    right:16px;
    left:16px;
    bottom:5px;
    height:2px;
    background:var(--gold);
    transform:scaleX(0);
    transition:transform .25s ease;
  }
  nav.links button:hover{color:var(--green-deep);}
  nav.links button.active{color:var(--green-deep); font-weight:700;}
  nav.links button:hover::after{transform:scaleX(1);}
  .menu-toggle{
    display:none;
    background:none;
    border:1px solid var(--line);
    border-radius:var(--radius);
    width:42px;height:42px;
    cursor:pointer;
    align-items:center;
    justify-content:center;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
    content:"";
    display:block;
    width:18px;height:2px;
    background:var(--green-deep);
    position:relative;
  }
  .menu-toggle span::before{position:absolute;top:-6px;}
  .menu-toggle span::after{position:absolute;top:6px;}

  /* @media (max-width: 860px){
    nav.links{
      position:fixed;
      inset:76px 0 auto 0;
      background:var(--bg-alt);
      flex-direction:column;
      padding:10px 24px 20px;
      border-bottom:1px solid var(--line);
      transform:translateY(-8px);
      opacity:0;
      pointer-events:none;
      transition:opacity .2s ease, transform .2s ease;
    }
    nav.links.open{opacity:1; transform:translateY(0); pointer-events:auto;}
    nav.links button{text-align:right; width:100%;}
    .menu-toggle{display:flex;}
  }

  .back-btn {
    display: flex;
    align-items: center;
    gap: 12px;
} */

/* السهم الي جنب زر العودة  */
/* الدائرة */
.back-arrow {
    width: 32px;
    height: 32px;

    border: 2px solid var(--green-deep);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    line-height: 1;
    color: var(--green-deep);

    transition: .25s ease;
}

.back-btn:hover .back-arrow {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateX(-4px);
}

/* نهاية ستلايل السهم الي جنب زر العودة */



/* ========================================
   صفحة تسجيل الدخول
======================================== */

.hero {
    min-height: calc(100vh - 76px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px 20px;
}


/* الإطار الخارجي */

.login-frame {
    position: relative;

    width: 850px;
    max-width: 95%;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* صورة الإطار */

.frame-image {
    width: 100%;
    height: auto;

    display: block;
}


/* مربع تسجيل الدخول داخل الإطار */

.login-box {
    position: absolute;

    width: 72%;
    height: 88%;

    top: 49%;
    left: 50%;

    transform: translate(-50%, -50%);

    background-color: var(--card);

    border-radius: 20px;

    padding: 35px 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-shadow: var(--shadow);
}


/* العنوان */

.login-box h1 {
    text-align: center;

    font-size: 38px;
    font-weight: 700;

    color: var(--green-deep);

    margin-bottom: 5px;
}


/* النص تحت العنوان */

.login-subtitle {
    text-align: center;

    color: var(--ink-soft);

    font-size: 18px;

    margin: 0 0 25px;
}


/* كل حقل */

.input-group {
    margin-bottom: 18px;
}


.input-group label {
    display: block;

    color: var(--green-deep);

    font-size: 18px;
    font-weight: 700;

    margin-bottom: 6px;
}


/* خانات الإدخال */

.input-group input {
    width: 100%;
    height: 52px;

    border: 1px solid var(--line);
    border-radius: 10px;

    background-color: var(--bg-alt);

    padding: 0 16px;

    font-family: "Saudi", sans-serif;
    font-size: 17px;

    color: var(--ink);

    outline: none;

    transition: .25s ease;
}


.input-group input:focus {
    border-color: var(--gold);

    box-shadow: 0 0 0 3px rgba(184, 135, 59, 0.12);
}


/* زر تسجيل الدخول */

.login-btn {
    width: 100%;
    height: 52px;

    margin-top: 8px;

    border: none;
    border-radius: 10px;

    background-color: var(--green);

    color: var(--bg-alt);

    font-family: "Saudi", sans-serif;

    font-size: 20px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;
}


.login-btn:hover {
    background-color: var(--green-deep);

    transform: translateY(-2px);
}


/* إنشاء حساب */

.create-account {
    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px solid var(--line);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-size: 17px;
    line-height: 1.5;

    color: var(--ink-soft);
}


.create-account a {
    color: var(--gold);
    font-weight: 700;
    white-space: nowrap;
}

.create-account a:hover {
    color: var(--green);
}

/* نهاية صفحة تسجيل الدخول */



/* ========================================
   صفحة إنشاء الحساب
======================================== */

.register-frame {
    position: relative;

    width: 650px;
    max-width: 95%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.register-frame-image {
    width: 100%;
    height: auto;
    display: block;
}

.register-box {
    position: absolute;

    width: 76%;
    height: 90%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    background-color: var(--card);
    border-radius: 20px;

    padding: 35px 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-shadow: var(--shadow);
}


.register-box h1 {
    text-align: center;

    font-size: 38px;
    font-weight: 700;

    color: var(--green-deep);

    margin-bottom: 5px;
}

.register-frame-image {
    height: 100%;
    object-fit: fill;
}


  /* ---------- Footer ---------- */
  footer{background:var(--green-deep); color:#C9BE9E; padding:56px 0 34px;}
  .footer-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:40px;
    padding-bottom:36px;

  }
  .footer-brand .brand-text{color:#F3E8CB;}
  .footer-brand p{margin-top:16px; font-size:0.9rem; max-width:34ch; color:#B8AD8C;}
  footer h4{font-size:0.85rem; color:#F3E8CB; margin-bottom:16px; font-family:"Saudi",sans-serif; font-weight:700;}
  footer ul li{font-size:0.88rem; padding:6px 0; color:#B8AD8C;}
  .footer-bottom{
    border-top:1px solid rgba(237,227,200,0.14);
    padding-top:24px;
    display:flex;
    justify-content:space-between;
    font-size:0.8rem;
    color:#8E8468;
    flex-wrap:wrap;
    gap:10px;
  }
  @media (max-width:720px){.footer-grid{grid-template-columns:1fr;}}

/* حساب الانستقرام  */

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: inherit;
    text-decoration: none;

    transition: .25s ease;
}

.instagram-icon {
    width: 20px;
    height: 20px;

    color: var(--gold-light);
}

.instagram-link:hover {
    color: var(--gold-light);
}

.instagram-link:hover .instagram-icon {
    color: var(--gold-light);
}

/*  نهايه التصميم حق الانستقرام */

/* مقاسات الجوال  */
/* ==================================================
   إنشاء الحساب - الجوال
================================================== */

@media (max-width: 600px) {

    /* الحاوية الرئيسية للصفحة */
    .hero {
        min-height: calc(100vh - 70px);

        padding: 35px 18px;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    /* الحاوية الخارجية */
    .register-frame {
        position: static;

        width: 100%;
        max-width: 420px;

        margin: 0 auto;

        display: block;
    }


    /* نخفي الإطار الزخرفي على الجوال */
    .register-frame-image {
        display: none;
    }


    /* ========================================
       كارد إنشاء الحساب
    ======================================== */

    .register-box {
        position: static;

        width: 100%;
        height: auto;

        top: auto;
        left: auto;

        transform: none;

        padding: 30px 22px;

        background: var(--card);

        border: 1px solid var(--line);
        border-top: 3px solid var(--gold);

        border-radius: 16px;

        box-shadow: var(--shadow);

        display: flex;
        flex-direction: column;
        justify-content: flex-start;

        box-sizing: border-box;
    }


    /* ========================================
       عنوان إنشاء الحساب
    ======================================== */

    .register-box h1 {
        text-align: center;

        font-size: 28px;
        font-weight: 700;

        line-height: 1.4;

        color: var(--green-deep);

        margin: 0 0 6px;
    }


    /* النص الموجود تحت العنوان */
    .register-subtitle {
        max-width: 320px;

        margin: 0 auto 24px;

        text-align: center;

        color: var(--ink-soft);

        font-size: 14px;
        line-height: 1.8;
    }


    /* ========================================
       الحقول
    ======================================== */

    .register-box .input-group {
        width: 100%;

        margin-bottom: 15px;
    }


    .register-box .input-group label {
        display: block;

        margin-bottom: 6px;

        color: var(--green-deep);

        font-size: 14px;
        font-weight: 700;
    }


    .register-box .input-group input,
    .register-box .input-group select {
        width: 100%;
        height: 48px;

        padding: 0 14px;

        border: 1px solid var(--line);
        border-radius: 9px;

        background: var(--bg-alt);

        font-family: "Saudi", sans-serif;
        font-size: 15px;

        box-sizing: border-box;
    }


    /* ========================================
       زر إنشاء الحساب
    ======================================== */

    .register-btn {
        width: 100%;
        height: 50px;

        margin-top: 5px;

        border: none;
        border-radius: 9px;

        background: var(--green-deep);

        color: #F3E8CB;

        font-family: "Saudi", sans-serif;
        font-size: 16px;
        font-weight: 700;

        cursor: pointer;
    }


    /* ========================================
       عندك حساب بالفعل؟
    ======================================== */

    .login-link {
        width: 100%;

        margin-top: 20px;
        padding-top: 16px;

        border-top: 1px solid var(--line);

        text-align: center;

        font-size: 14px;
        color: var(--ink-soft);
    }


    .login-link a {
        color: var(--gold);

        font-weight: 700;

        text-decoration: none;
    }

}


/* زرالعوده للجوال  */

@media (max-width: 600px) {

    .nav-row {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 12px;
    }


    .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }


    .back-arrow {
        width: 29px;
        height: 29px;

        font-size: 18px;

        flex-shrink: 0;
    }

}