/* header.css
   Moved header and photo-related styles here from styles.css
*/

/* Spray paint texture overlays (header-related visuals kept with header) */
body::before,
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  mix-blend-mode:screen;
}
body::before{
  background:
    radial-gradient(380px 200px at 8% 16%, rgba(255,92,92,0.14), transparent 30%),
    radial-gradient(260px 140px at 82% 76%, rgba(0,222,150,0.12), transparent 30%),
    radial-gradient(170px 90px at 50% 38%, rgba(255,222,50,0.12), transparent 30%);
  opacity:0.95;
  filter:blur(16px) saturate(1.15);
}
body::after{
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="600"><text x="0" y="80" font-size="72" fill="%23ffffff" opacity="0.02" transform="rotate(-18)">GRFT</text></svg>');
  opacity:0.85;
  mix-blend-mode:overlay;
  filter:blur(6px);
}

/* Layout: graffiti-friendly header */
#photoHeader{
  width:100%;
  /* reduced header height so the notebook below has more vertical space */
  height:50vh;
  min-height:300px;
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  z-index:2;
  border-radius:14px;
  padding:12px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
  box-shadow: 0 30px 110px rgba(0,0,0,0.75), inset 0 2px 0 rgba(255,255,255,0.02);
  transform:skewY(-0.8deg);
}

/* Row container for two images */
.photo-row{
  width:100%;
  height:100%;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:center;
  padding:8px;
  box-sizing:border-box;
}

/* Left image (primary) */
#topPhoto{
  flex:1 1 62%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:12px;
  transform: rotate(-3deg) translateY(0);
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s, filter .3s;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.78),
    0 0 60px rgba(0,0,0,0.45);
  background-color:#000;
  border:10px solid rgba(255,255,255,0.035);
  position:relative;
  z-index:3;
  filter: saturate(1.06) contrast(1.02);
}
#topPhoto:hover,
#topPhoto:focus{
  transform: translateY(-8px) rotate(-1.2deg) scale(1.02);
  box-shadow:
    0 40px 110px rgba(0,0,0,0.85),
    0 0 90px rgba(255,61,129,0.06);
  cursor:pointer;
}

/* Right image (secondary) */
#secondPhoto{
  flex:1 1 36%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:12px;
  transform: rotate(2.5deg) translateY(0);
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s, filter .3s;
  box-shadow:
    0 20px 56px rgba(0,0,0,0.68),
    0 0 36px rgba(0,0,0,0.36);
  background-color:#000;
  border:8px solid rgba(255,255,255,0.03);
  position:relative;
  z-index:3;
  filter: saturate(1.02);
}
#secondPhoto:hover,
#secondPhoto:focus{
  transform: translateY(-6px) rotate(1deg) scale(1.01);
  box-shadow:
    0 30px 72px rgba(0,0,0,0.8),
    0 0 40px rgba(0,255,213,0.04);
  cursor:pointer;
}

/* Neon outline using pseudo-element approach (via header) */
#photoHeader::after{
  content:"";
  position:absolute;
  inset:6% 4%;
  z-index:2;
  border-radius:14px;
  pointer-events:none;
  box-shadow:
    0 0 120px rgba(255,61,129,0.12),
    0 0 180px rgba(0,255,213,0.06);
  mix-blend-mode:screen;
  transform:rotate(-1.2deg);
}

/* A sticker/bubble pop on the corner */
#photoHeader::before{
  content:"BAM";
  font-weight:900;
  letter-spacing:1px;
  position:absolute;
  top:6%;
  left:5%;
  z-index:5;
  background:linear-gradient(90deg,#ffef5b,#ff6a6a);
  color:#111;
  padding:8px 12px;
  border-radius:12px;
  transform:rotate(-12deg);
  box-shadow: 0 12px 22px rgba(0,0,0,0.5);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial;
  font-size:14px;
}

/* If cover fit is applied, make image straighter and crop slightly with neon glow */
#topPhoto.cover-fit{
  object-fit:cover;
  height:100%;
  transform: rotate(0deg) scale(1.02);
  border-color: rgba(255,61,129,0.12);
  box-shadow:
    0 28px 68px rgba(0,0,0,0.8),
    0 0 48px rgba(255,61,129,0.12);
}

/* Small caption style for images (non-invasive) */
.photo-caption{
  position:absolute;
  bottom:6%;
  left:6%;
  z-index:6;
  background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.28));
  color:#fff;
  padding:8px 12px;
  border-radius:8px;
  font-size:13px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  transform: rotate(-6deg);
  pointer-events:none;
}

/* Responsive tweaks (header-focused) */
@media (max-width:900px){
  #photoHeader{height:54vh;padding:12px}
  #topPhoto, #secondPhoto{transform:none;border-radius:10px}
  #photoHeader::before{display:none}
}
@media (min-width:700px){
  #photoHeader{height:58vh; padding:20px}
  #topPhoto{height:100%; transform: rotate(-3deg) scale(1.01)}
}