

/* درباره ما    */ 


* {
  box-sizing: border-box;
  font-family: IRANSans, sans-serif;
 
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #fff;
}



.about-header{

  height: 650px;
  width: 90%;
  display: flex;
  margin: 0 auto;
  flex-direction: row;
  gap: 20px;
  margin-top: 10px;
}
.about-pic{
  
  height: 600px;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}
.about-pic img{
  width: 450px;
  height: 600px;
  opacity: 0.9;
  border-radius: 20px;
}

.name img{
  width:400px ;
}

.about-name{
  height: 400px;
  width: 50%;
  margin: 100px auto 0;   /* وسط‌چین افقی */
  position: relative;     /* پایه‌ی ::after */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 70px;
  overflow: visible;      /* مهم برای دیده شدن خط */
}
.about-name::after{
  content: "";
  position: absolute;

  /* وسط‌چین دقیق */
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 70%;
  height: 3px;
  border-radius: 10px;

  /* گرادیان با نقطه نور واضح */
  background: linear-gradient(
    90deg,
    transparent 0%,
    #c9a24d 40%,
    #fff2b0 50%,
    #c9a24d 60%,
    transparent 100%
  );

  background-size: 300% 100%;
  background-position: 0% 50%;

  box-shadow:
    0 0 6px rgba(255, 210, 120, 0.8),
    0 0 16px rgba(201, 162, 77, 0.6);

  animation: gold-line-move 2.5s linear infinite;
}
@keyframes gold-line-move{
  from{
    background-position: 0% 50%;
  }
  to{
    background-position: 300% 50%;
  }
}

.name{
  height: 200px;
  width: 70%;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.name a{
  cursor: pointer;
  opacity: 0.8;
}
.name a img:hover{
  width: 500px;
  height: 150px;
  
}

.buto{
  height: 200px;
  width: 70%;
  display: flex;
  margin: 0 auto;
 
}
.buto a{
  width: 200px;
  height: 60px;

  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: #eafcff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    inset 0 0 0 rgba(255,255,255,0);

  position: relative;
  overflow: hidden;
  cursor: pointer;

  transition: 0.35s ease;
}

/* نور عبوری */
.buto a::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 215, 140, 0.35),
    transparent
  );

  opacity: 0;
  transform: translateX(-100%);
  transition: 0.6s ease;
}

/* افکت hover */
.buto a:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 215, 140, 0.8);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.6),
    0 0 20px rgba(255, 215, 140, 0.35);
}

.buto a:hover::before{
  opacity: 1;
  transform: translateX(100%);
}

/* افکت کلیک */
.buto a:active{
  transform: translateY(-1px) scale(0.98);
}

.about-name{
  position: relative;
  overflow: hidden;
}

/* لینک اسم */
.open-about{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.person-name{
  font-size: 16px;
  opacity: 0.85;
}

/* پنل درباره */
.about-panel{
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: 0.5s ease;
  z-index: 10;
}

/* فعال */
.about-panel.active{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* محتوای داخلی */
.about-panel-content{
  width: 80%;
  max-width: 600px;
  color: #f1f1f1;
  text-align: center;
  line-height: 2;
  position: relative;
  height: 350px;
}

.about-panel-content h2{
  
  color: #fcb527;
  border-bottom: 1px solid rgb(228, 178, 178);
  width: 60%;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 90px;
  padding-bottom: 10px;

}

/* دکمه بستن */
.close-about{
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border-radius: 25%;
  border: none;
  background: #8a8579;
  color: #000;
  font-size: 22px;
  cursor: pointer;
}


* {
  box-sizing: border-box;
  font-family: IRANSans, sans-serif;
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #fff;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("bg.jpg") center/cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.7), #000);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
}
.hero-content h1 img{
 
}

.hero-img {
  width: 300px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(0,255,255,.25);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 48px;
  margin: 10px 0;
 
}

.hero h2 {
  font-size: 20px;
  color: #8be9ff;
}

.hero p {
  max-width: 600px;
  margin: 30px auto;
  line-height: 2;
  color: #ddd;
}

.lux-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 40px;
  background: linear-gradient(135deg, #00eaff, #0066ff);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(0,234,255,.5);
}

/* SECTIONS */
.section {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 20px;
  text-align: center;
}

.section h3 {
  font-size: 34px;
  margin-bottom: 30px;
  color: #00eaff;
 
}

.section p {
  line-height: 2;
  color: #ccc;
}

.section.dark {
  background: #111;
  padding: 80px 20px;
  border-radius: 30px;
}


/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 20px;
}

.card {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 20px;
  line-height: 1.8;
  box-shadow: 0 0 20px rgba(0,0,0,.5);
}

/* TRIPLE */
.triple {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
}

.triple h4 {
  color: #00eaff;
  margin-bottom: 10px;
}
/* ===== LUXURY UPGRADE (NO HTML CHANGE) ===== */

/* جان دادن به section.dark */
.section.dark {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(0,255,255,0.08), transparent 60%),
    #0b0b0b;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    inset 0 0 0 rgba(255,255,255,0);
  overflow: hidden;
}

/* نور تنفسی خیلی ظریف */
.section.dark::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(0,255,255,0.25),
    transparent 65%
  );
  opacity: 0.18;
  animation: darkGlow 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes darkGlow {
  0%   { opacity: 0.12; }
  50%  { opacity: 0.28; }
  100% { opacity: 0.12; }
}

/* تیتر سکشن با امضای نوری */
.section.dark h3 {
  position: relative;
  letter-spacing: 1px;
}

.section.dark h3::after {
  content: "";
  display: block;
  width: 65%;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    #00eaff,
    #7df9ff,
    #00eaff,
    transparent
  );
  background-size: 200% 100%;
  animation: lineFlow 3s linear infinite;
  box-shadow: 0 0 12px rgba(103, 141, 141, 0.5);
}

@keyframes lineFlow {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

/* جان دادن به کارت‌ها (رزومه / آیتم‌ها) */
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    #141414;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.6s ease;
  margin-top: 40px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.7),
    0 0 35px rgba(0,255,255,0.25);
}

/* تیترهای داخل triple زنده‌تر */
.triple h4 {
  position: relative;
  text-shadow: 0 0 12px rgba(0,255,255,0.4);
}

/* پاراگراف‌ها کمی لوکس‌تر */
.section p {
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
}

/* موبایل – حفظ وقار */
@media (max-width: 600px) {
  .section.dark {
    padding: 60px 20px;
  }
 
}
.about-text {
  font-family: "IRANSans", "Sahel", sans-serif;
  font-size: 18px;
  line-height: 2.2;
  color: #e5e5e5;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(255,255,255,0.06);
  backdrop-filter: blur(7px);
}
.about-text h2 {
  font-family: "Maeli", serif;
  font-size: 34px;
  color: #ffd700;
  text-shadow: 0 0 18px rgba(255, 210, 0, 0.35);
  margin-bottom: 30px;
}
.about-text p {
  margin-bottom: 28px;
}



@media (max-width: 768px) {

  /* کل هدر */
  .about-header {
    flex-direction: column;
    height: auto;
    width: 100%;
    margin-top: 40px;
  }

  /* عکس */
  .about-pic {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .about-pic img {
    width: 90%;
    height: auto;
    max-height: 420px;
    
  }

  /* نام + امضا */
  .about-name {
    width: 100%;
    height: auto;
    margin-top: 40px;
    padding-top: 40px;
  }

  .name img {
    width: 260px;
    margin-top: -150px;
  }
  .name a img:hover{
  width: 300px;
  height: 100px;
  
}


  /* دکمه */
  .buto {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 20px;
    margin-top: -150px;
    margin-bottom: 20px;
  }
  

  .buto a {
    width: 90%;
    height: 56px;
  }
  .hero-content h1 img{
    width: 150px;
  }
  .site-footer p{
    font-size: 10px;
  }
  /* جلوگیری از اسکرول افقی */
  body {
    overflow-x: hidden;
  }

  /* hover غیر فعال در موبایل */
  .name a img:hover {
    width: 260px;
    }
   
}
 .about-panel {
    position: fixed;          /* مهم */
    inset: 0;
    padding: 20px;
    align-items: flex-start;  /* بالا بیاد */
    overflow-y: auto;         /* اسکرول عمودی */
  }

  .about-panel-content {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 25px 15px 40px;
    margin-top: 60px;
  }

  .about-panel-content h2 {
    width: 100%;
    font-size: 20px;
    margin-bottom: 40px;
  }

  .about-panel-content p {
    font-size: 14px;
    line-height: 2;
  }

  .close-about {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 20;
  }

@media (min-width: 769px) and (max-width: 1024px) {
    .about-panel-content {
    width: 90%;
    max-width: 500px;
    height: auto;
    padding: 30px;
  }

  .about-panel-content h2 {
    width: 80%;
  }
  .about-header {
    height: auto;
    width: 95%;
    gap: 30px;
  }

  .about-pic {
    width: 48%;
    height: auto;
  }

  .about-pic img {
    width: 100%;
    height: auto;
    max-height: 520px;
  }

  .about-name {
    width: 48%;
    height: auto;
    margin-top: 60px;
  }

  .name img {
    width: 320px;
  }
}
@media (min-width: 1400px) {

  .about-panel-content {
    max-width: 650px;
  }
  .about-header {
    max-width: 1400px;
  }

  .about-pic img {
    width: 520px;
    height: auto;
  }

  .about-name {
    max-width: 600px;
  }
}



