
/*
Theme Name: سعود الأسعدي — Minimal Premium
Author: Ahmed Elshamy
Description: Minimal premium Saudi personal profile, RTL, full-screen hero, social links.
Version: 3.0.0
*/

:root{
  --green:#062A24;
  --green-deep:#031A16;
  --gold:#C9A45A;
  --gold-light:#E2C98F;
  --cream:#F3E9D9;
  --white:#F7F4ED;
  --muted:#B7B9B0;
  --line:rgba(201,164,90,.26);
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  background:
    linear-gradient(180deg,#062A24 0%,#05251F 42%,#031A16 100%);
  color:var(--white);
  font-family:"Cairo","Tahoma",Arial,sans-serif;
  overflow-x:hidden;
  position:relative;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-10;
  pointer-events:none;
  opacity:.055;
  background-image:url("data:image/svg+xml,%3Csvg width='92' height='92' viewBox='0 0 92 92' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A45A' stroke-width='.7'%3E%3Cpath d='M46 4l20 11v23L46 49 26 38V15zM46 49l20 11v23L46 94 26 83V60zM4 27l20 11v23L4 72M88 27L68 38v23l20 11'/%3E%3C/g%3E%3C/svg%3E");
  background-position:center;
}
body:after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-9;
  pointer-events:none;
  background:radial-gradient(circle at 50% 20%,rgba(201,164,90,.035),transparent 38%);
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 42px));margin:auto}

/* No floating header / no dropdown */
.hero{
  min-height:100svh;
  position:relative;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  isolation:isolate;
}
.hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  z-index:-3;
  opacity:.78;
  filter:saturate(.72) contrast(1.08);
}
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(3,26,22,.22) 0%,rgba(3,26,22,.38) 45%,rgba(3,26,22,.82) 100%),
    linear-gradient(0deg,rgba(3,26,22,.93) 0%,rgba(3,26,22,.12) 43%,rgba(3,26,22,.22) 100%);
}
.hero-pattern{
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.16;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A45A' stroke-width='.7'%3E%3Cpath d='M45 4l18 10v21L45 45 27 35V14zM45 45l18 10v21L45 86 27 76V55zM4 24l18 10v21L4 65M86 24L68 34v21l18 10'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content{
  width:100%;
  padding:0 0 72px;
  text-align:center;
}
.hero-name{
  margin:0;
  color:var(--gold-light);
  font-size:clamp(28px,4vw,46px);
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.7px;
}
.hero-tagline{
  margin:10px auto 0;
  color:rgba(247,244,237,.78);
  font-size:clamp(9px,1.15vw,13px);
  line-height:2;
  font-weight:400;
  max-width:520px;
}
.hero-line{
  width:70px;
  height:1px;
  background:var(--gold);
  margin:20px auto 0;
}
.scroll{
  position:absolute;
  bottom:19px;
  left:50%;
  transform:translateX(-50%);
  color:var(--gold-light);
  font-size:15px;
  opacity:.85;
  animation:float 2s ease-in-out infinite;
}
@keyframes float{50%{transform:translate(-50%,6px)}}

/* About */
.about{
  position:relative;
  background:var(--green);
  padding:110px 0 100px;
  overflow:hidden;
}
.about:before,.about:after{
  content:"";
  position:absolute;
  width:260px;height:260px;
  border:1px solid rgba(201,164,90,.12);
  transform:rotate(45deg);
}
.about:before{right:-150px;top:-130px}
.about:after{left:-150px;bottom:-150px}
.about-inner{
  max-width:760px;
  margin:auto;
  text-align:center;
}
.kicker{
  color:var(--gold);
  font-size:11px;
  font-weight:800;
  letter-spacing:1.5px;
}
.about h2{
  margin:10px 0 22px;
  font-size:clamp(27px,4vw,43px);
  line-height:1.45;
  font-weight:800;
}
.ornament{
  width:75px;
  height:10px;
  margin:0 auto 25px;
  position:relative;
}
.ornament:before,.ornament:after{
  content:"";
  position:absolute;
  top:4px;
  width:28px;
  height:1px;
  background:var(--gold);
}
.ornament:before{right:0}.ornament:after{left:0}
.ornament i{
  position:absolute;
  left:50%;top:1px;
  width:7px;height:7px;
  background:var(--gold);
  transform:translateX(-50%) rotate(45deg);
}
.about p{
  margin:0 auto;
  max-width:690px;
  color:var(--muted);
  font-size:14px;
  line-height:2.3;
}

/* Social */
.social-section{
  background:var(--green-deep);
  padding:82px 0 92px;
  text-align:center;
  border-top:1px solid var(--line);
}
.social-section h2{
  margin:8px 0 0;
  font-size:27px;
  font-weight:800;
}
.socials{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}
.social{
  width:48px;
  height:48px;
  border:1px solid var(--line);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--gold-light);
  transition:.3s ease;
}
.social:hover{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--green-deep);
  transform:translateY(-4px);
}
.social svg{
  width:20px;height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
}

/* Footer */
.footer{
  background:#021512;
  border-top:1px solid var(--line);
  text-align:center;
  padding:34px 0 25px;
}
.footer-name{
  color:var(--gold-light);
  font-size:20px;
  font-weight:800;
}
.footer-copy{
  color:#737D77;
  font-size:10px;
  margin-top:7px;
}
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .8s ease,transform .8s ease;
}
.reveal.visible{opacity:1;transform:none}

@media(max-width:700px){
  .container{width:min(var(--max),calc(100% - 28px))}
  .hero-content{padding-bottom:68px}
  .hero-name{font-size:30px}
  .hero-tagline{font-size:9px;max-width:340px}
  .about{padding:78px 0}
  .about h2{font-size:29px}
  .about p{font-size:13px;line-height:2.15}
  .social-section{padding:65px 0 72px}
  .social{width:45px;height:45px}
}

/* CONTINUOUS IMAGE TREATMENT
   The portrait is intentionally visible throughout the page.
*/
.hero,
.about,
.social-section,
.footer{
  background:transparent !important;
}
.about{
  background:
    linear-gradient(180deg,rgba(3,26,22,.72),rgba(3,26,22,.84)) !important;
}
.social-section{
  background:
    linear-gradient(180deg,rgba(3,26,22,.82),rgba(3,26,22,.90)) !important;
}
.footer{
  background:
    linear-gradient(180deg,rgba(2,21,18,.88),rgba(2,21,18,.96)) !important;
}
.about:before,.about:after{
  border-color:rgba(201,164,90,.16);
}

/* FIXED HERO IMAGE + SIMPLE SCROLL BACKGROUND */
.hero{
  min-height:100svh;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.hero-image{
  display:block !important;
  position:fixed !important;
  inset:0 !important;
  width:100% !important;
  height:100svh !important;
  object-fit:cover !important;
  object-position:center top !important;
  z-index:-3 !important;
  opacity:1 !important;
  filter:saturate(.78) contrast(1.06) !important;
}
.hero-overlay{
  display:block !important;
  position:fixed !important;
  inset:0 !important;
  z-index:-2 !important;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(3,26,22,.10),rgba(3,26,22,.34) 52%,rgba(3,26,22,.78)),
    linear-gradient(0deg,rgba(3,26,22,.78),transparent 52%,rgba(3,26,22,.22));
}
.hero-pattern{
  display:block !important;
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.12;
}
.about,
.social-section,
.footer{
  background:
    linear-gradient(180deg,rgba(6,42,36,.97),rgba(3,26,22,.98)) !important;
}
.about:before,.about:after{
  border-color:rgba(201,164,90,.10);
}
