html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* page wrapper between header & footer */
.page-wrap {
  flex: 1;
  display: block;
  padding-top: 88px; /* navbar height */
}




/* =========================================================
   8. PAGE CONTENT
========================================================= */

/* ===== Home Content ===== */

.page {
  max-width: 1100px;   /* same width everywhere */
  margin: 0 auto;
  padding: 0 16px;
}


.page-title {
  font-family: var(--font-heading);
  text-align: center;
}



/* =========================================================
   10. INDEX // HERO (restore old content section feel)
========================================================= */


.hero {
  height: auto;
  position: relative;
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 9px;
  margin-top: 32px;

  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
}



.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: inherit;
  inset: 0;
  background-image: url("/img/site/11.svg");
  opacity: 0.15;
  pointer-events: none;
}



.hero-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 49px;
}

.hero-text h3 {
  font-family: var(--font-heading);
  margin-bottom: 14px;
}

.hero-text p {
  margin-top: 10px;
  line-height: 1.7;
}


.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-image img {
  height: 340px;
  border-radius: 999px;
  border: 2px solid black;
}

/* =========================================================
   HERO — MOBILE FIX
========================================================= */

@media (max-width: 768px) {

  .hero {
    flex-direction: column;        /* stack text + image */
    text-align: center;
    gap: 18px;
    padding: 18px 14px;
  }

  .hero-text {
    padding: 10px 6px;
    align-items: center;
  }

  .hero-text h3 {
    font-size: 1.2rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-image {
  width: 100%;
}

.hero-image img {
  width: 65%;
  max-width: 190px;
  height: 180px;          /* controls compact look */
  object-fit: cover;      /* crop instead of stretch */
  object-position: top;   /* keep face visible */
  border-radius: 24px;
}
}






/* old desktop border */

@media (min-width: 769px) {
  .content::after { 
    inset: 0;
  }
}






/* =========================================================
   13. BUTTON VARIANTS
========================================================= */


/* ===== Button variants ===== */

/* === Unified Button === */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;

  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);

  transition: background 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease,
              transform 0.15s ease;
}

.btn:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-text);
  border-color: var(--btn-hover-bg);
  transform: translateY(-2px);
}



.btn-primary {
  padding: 8px 14px;

}



.btn-secondary {
  padding: 8px 14px;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--btn-border);
}



/* ===============================
   PAGINATION (clean left–right)
=============================== */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  margin-top: 5px;
  margin-bottom: 0px;
}

.pagination .btn {
  min-width: 110px;
  text-align: center;
  cursor: pointer;
}


/* ===============================
   PAGINATION WRAPPER — PREMIUM
=============================== */
.pagination-wrapper {
  margin-top: 15px;
  padding: 16px 12px;

  border-radius: 18px;

  /* soft glass background */
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  /* subtle border */
  border: 1px solid rgba(255,255,255,0.08);

  /* premium soft shadow */
  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition: transform .25s ease, box-shadow .25s ease;

  backdrop-filter: blur(6px);
}


.pagination-wrapper:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
}


/* ===== Page number indicator ===== */

.page-info {
  font-size: var(--text-sm);
  opacity: 0.75;
  padding: 0 10px;
  user-select: none;
}



/* =========================================================
   14. FOOTER — PREMIUM GLASS STYLE
========================================================= */

.site-footer {
  margin-top: auto;
  padding-top: 2rem;
  background: transparent;
  border: none;
  text-align: center;
  font-size: 0.9rem;
}

/* main footer surface */
.site-footer .container {
  
  margin: 0 auto;

  padding: 20px 16px;

  border-radius: 18px 18px 0 0;

  /* glass gradient */
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  /* subtle border + depth */
  border-top: 1px solid var(--border);

  

  backdrop-filter: blur(8px);
}

/* name/title */
.site-footer strong,
.site-footer .footer-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

/* social icons row */
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 14px;
}

/* icon buttons */
.footer-icons a {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--bg-icons);
  border: 1px solid rgba(255,255,255,0.08);

  color: var(--text-muted);
  font-size: 0.9rem;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

/* hover glow */
.footer-icons a:hover {
  transform: translateY(-2px) scale(1.05);

  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);

  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* copyright */
.site-footer small,
.site-footer .footer-copy {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}
/* =========================================================
   11. MINOR ELEMENTS
========================================================= */

mark {
  background: rgba(245, 197, 66, 0.9);
  color: #000;
  padding: 0 4px;
  border-radius: 4px;

  animation: highlightFade 0.25s ease-out;
}

@keyframes highlightFade {
  from {
    background-color: rgba(245, 197, 66, 0);
  }
  to {
    background-color: rgba(245, 197, 66, 0.9);
  }
}







/* ===============================
   BACK TO TOP BUTTON
=============================== */

#backToTop {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;

  width: 42px;
  height: 42px;
  border-radius: 50%;

  border: none;
  cursor: pointer;

  background: var(--bg-backToTop);
  backdrop-filter: blur(8px);

  color: #fff;
  font-size: 18px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

/* Show button */
#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Hover effect */
#backToTop:hover {
  background: #42cef543;
  color: var(--accent);
  
}


