:root{
  --red: #FF4655;
  --dark: #0E1822;
  --white: #ffffff;
  --muted: #6b7280;
  --container: 1100px;
}

/* reset & base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--dark);
  background: linear-gradient(180deg, rgba(255,70,85,0.03), rgba(255,70,85,0.01)); /* same subtle background as home */
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

/* container utility (same as home) */
.container{
  width:90%;
  max-width:var(--container);
  margin:0 auto;
  padding: 1rem 0;
}

/* HERO HEADER (matches home hero vibe) */
.page-hero{
  padding: 4rem 1rem;
  background: linear-gradient(90deg, rgba(255,70,85,0.95), rgba(255,70,85,0.85)),
              url("https://images.unsplash.com/photo-1581091870622-3b6c1c3a52b2?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color:var(--white);
  text-align:center;
  position:relative;
  box-shadow: 0 6px 20px rgba(255,70,85,0.12);
}

.page-hero .hero-inner{ max-width:1100px; margin:0 auto; }
.page-hero h1{ font-family:"Ropa Sans", sans-serif; font-size:2.4rem; margin-bottom:0.5rem; }
.page-hero .subtitle{ font-size:1.05rem; opacity:0.95; max-width:820px; margin:0.4rem auto 0; }

/* BACK BUTTON — top-right, Uiverse-friendly */
.back-btn{
  position:absolute;
  top:20px;
  right:28px;
  display:inline-block;
  text-decoration:none;
  font-weight:600;
  font-family:"Poppins",sans-serif;
  padding:8px 14px;
  border-radius:8px;
  background:var(--white);
  color:var(--dark);
  box-shadow: 0 6px 18px rgba(14,24,34,0.06);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.back-btn:hover{
  transform: translateY(-3px);
  background: var(--red);
  color: var(--white);
}

/* ACHIEVEMENT SECTION (centered headings) */
.achievement{
  padding: 2.5rem 1rem;
  text-align: center;
}

.achievement h2{
  font-family:"Ropa Sans",sans-serif;
  color:var(--red);
  font-size:1.7rem;
  margin-bottom:.6rem;
  text-align:center;
}

/* paragraph */
.achievement p{
  color:var(--dark);
  max-width:820px;
  margin:0 auto 1.2rem;
  line-height:1.7;
}

/* GALLERY — flexible and keeps natural aspect ratio */
/* use flex so images keep intrinsic height and scale proportionally */
.gallery{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
  align-items:flex-start;
  margin-top:10px;
}

/* we let the image width control size, height:auto keeps aspect ratio */
.gallery img{
  width: 260px;          /* consistent column width */
  max-width: calc(100% - 40px);
  height: auto;         /* important — keeps original aspect ratio */
  border-radius:12px;
  box-shadow: 0 6px 18px rgba(14,24,34,0.06);
  object-fit: cover;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 2px solid rgba(255,70,85,0.06);
}

/* slightly bigger variant for wide screens (optional visual variety) */
@media (min-width: 1200px) {
  .gallery img { width: 300px; }
}

.gallery img:hover{
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 30px rgba(255,70,85,0.18);
  border-color: var(--red);
}

/* Footer */
.site-footer{
  background:var(--red);
  color:var(--white);
  text-align:center;
  padding:1rem 0;
  margin-top:2.5rem;
  font-size:.95rem;
}

/* Responsive tweaks */
@media (max-width:900px){
  .page-hero h1{ font-size:2rem; }
  .gallery img{ width:220px; }
}
@media (max-width:520px){
  .page-hero{ padding:2.5rem 1rem; }
  .page-hero h1{ font-size:1.5rem; }
  .gallery img{ width:46%; } /* two per row */
}
@media (max-width:360px){
  .gallery img{ width:100%; }
}
