
/* ================= Base ================= */
#about-bg-right{
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
#about-bg-right *{
  box-sizing:border-box;
}

/* ================= Wrapper ================= */
#about-bg-right .ab-wrap{
  position:relative;
  width:100%;
  max-width:1920px;
  margin:0 auto 40px;
  height:520px;
  overflow:hidden;
}

/* ================= Background image (desktop) ================= */
#about-bg-right .ab-bg{
  position:absolute;
  inset:0;
  z-index:0;
}
#about-bg-right .ab-bg-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* mobile title hidden by default */
#about-bg-right .ab-m-title{
  display:none;
}

/* ================= Overlay (desktop only) ================= */
#about-bg-right .ab-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.10);
  z-index:1;
}

/* ================= Desktop layout ================= */
#about-bg-right .ab-inner{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  padding:22px;
}

/* ================= Panel ================= */
#about-bg-right .ab-panel{
  width:min(720px, 52vw);
  padding:28px;
  border-radius:10px;
  background:rgba(255,255,255,0.78);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  color:#222;
}

/* ================= Title ================= */
#about-bg-right .ab-title{
  font-size:34px;
  font-weight:700;
  margin:0 0 18px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(0,0,0,0.18);
}

/* ================= Bullets ================= */
#about-bg-right .ab-bullets{
  list-style:none;
  margin:0 0 22px;
  padding:0;
  display:grid;
  gap:12px;
}
#about-bg-right .ab-bullets li{
  font-size:17px;
  line-height:1.6;
  color:#333;
}
#about-bg-right .ab-bullets li::before{
  content:"•";
  margin-right:10px;
  color:#666;
}

/* ================= Buttons ================= */
#about-bg-right .ab-buttons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

/* Base button transitions (for both) */
#about-bg-right .ab-btn{
  padding:14px 24px;
  min-width:200px;
  border-radius:8px;
  font-weight:600;
  text-align:center;
  text-decoration:none;
  border:1px solid transparent;
  transition:background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

#about-bg-right .ab-btn{
  background:#8B4513;
  color:#fff;
  border-color:#8B4513;
}
#about-bg-right .ab-btn:hover{
  background:#6d350f;
  border-color:#6d350f;
  transform:translateY(-2px);
}

/* Ghost button */
#about-bg-right .ab-btn--ghost{
  background:transparent;
  color:#222;
  border-color:rgba(0,0,0,.35);
}

/* ✅ FIX: ghost hover should become LIGHTER, not darker */
#about-bg-right .ab-btn--ghost:hover{
  background:rgba(255,255,255,0.55);
  border-color:rgba(0,0,0,0.18);
  color:#222;
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
  transform:translateY(-1px);
}

/* ================= Desktop hover zoom ================= */
@media (hover:hover) and (pointer:fine){
  #about-bg-right .ab-wrap:hover .ab-bg-img{
    transform:scale(1.25);
    transition:transform .6s ease;
  }
}

/* ================================================= */
/* ================= Mobile FINAL ================== */
/* ================================================= */
@media (max-width:900px){

  /* allow overlap */
  #about-bg-right .ab-wrap{
    height:auto;
    overflow:visible;
  }

  /* ===== Mobile hero image (longer) ===== */
  #about-bg-right .ab-bg{
    position:relative;
    height:420px;
    background-image:url("//ueeshop.ly200-cdn.com/u_file/UPBF/UPBF225/2602/07/photo/a1.jpg");
    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;
    background-color:#e9e9e9;
  }
  #about-bg-right .ab-bg-img{ display:none; }
  #about-bg-right .ab-overlay{ display:none; }

  /* ✅ Mobile title: centered, slightly down, MORE VISIBLE */
  #about-bg-right .ab-m-title{
    display:block;
    position:absolute;
    left:50%;
    top:22%;
    transform:translateX(-50%);
    z-index:2;

    font-size:26px;
    font-weight:800;
    letter-spacing:.3px;
    color:#f7f7f4;
    text-shadow:
      0 2px 6px rgba(0,0,0,.45),
      0 8px 22px rgba(0,0,0,.25);

    pointer-events:none;
  }

  /* ===== Content overlaps image ===== */
  #about-bg-right .ab-inner{
    position:relative;
    margin-top:-110px;
    padding:0 14px 22px;
    justify-content:center;
    overflow:visible;
  }

  /* very light blurred continuity (NOT foggy) */
  #about-bg-right .ab-inner::before{
    content:"";
    position:absolute;
    inset:-20px;
    background-image:url("//ueeshop.ly200-cdn.com/u_file/UPBF/UPBF225/2602/07/photo/a1.jpg");
    background-size:cover;
    background-position:center;
    filter: blur(10px) grayscale(.35) brightness(1.02) saturate(0.55);
    transform:scale(1.05);
    z-index:0;
  }

  /* minimal wash (almost invisible) */
  #about-bg-right .ab-inner::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(245,245,245,0.10);
    z-index:0;
  }

  /* ===== Glass card (lighter) ===== */
  #about-bg-right .ab-panel{
    position:relative;
    z-index:1;
    width:100%;
    max-width:720px;
    padding:20px 14px 24px;
    border-radius:14px;

    background:rgba(255,255,255,0.38);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);

    border:1px solid rgba(255,255,255,0.4);
    box-shadow:0 12px 28px rgba(0,0,0,0.14);
  }

  /* hide card title on mobile */
  #about-bg-right .ab-title{
    display:none;
  }

  #about-bg-right .ab-bullets{
    gap:8px;
    margin:0 0 18px;
  }

  #about-bg-right .ab-bullets li{
    font-size:clamp(12.6px, 3.4vw, 14.6px);
    line-height:1.5;
  }

  #about-bg-right .ab-buttons{
    justify-content:center;
    gap:12px;
  }
  #about-bg-right .ab-btn{
    width:100%;
    max-width:340px;
    min-width:unset;
  }
}
