@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Anta&display=swap");

:root {
  --bg: #05060a;
  --text: #ffba7d;
  --pink: #f08ac8;
  --pink-light: #ffd6e8;
  --panel: rgba(0, 0, 0, 0.38);
  --border: rgba(255, 255, 255, 0.22);
  --texture: url("/Portfolio/Texture5.png");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Oxanium", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)),
    var(--texture);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ---------- Headers ---------- */

.home-header,
.page-header {
  text-align: center;
  padding-top: 0.6rem;
}

.header-anta-neon {
  margin: 0 auto 1rem;
  font-family: "Anta", "Oxanium", system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--pink);
  text-shadow:
    0 0 6px rgba(255, 150, 220, .95),
    0 0 16px rgba(255, 120, 210, .8),
    0 0 34px rgba(255, 90, 200, .55);
}

.page-header .header-anta-neon {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 1rem;
}

/* ---------- Nav ---------- */

.nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.nav-btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 232, .45);
  background: rgba(0, 0, 0, .48);
  color: var(--text);
  text-decoration: none;
  font-family: "Oxanium", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(.9rem, 1.5vw, 1.15rem);
  text-shadow:
    0 0 4px rgba(255, 186, 125, .95),
    0 0 12px rgba(255, 160, 120, .7);
  box-shadow:
    inset 0 0 10px rgba(255,255,255,.08),
    0 0 16px rgba(255, 150, 210, .28);
}

.nav-btn:hover,
.nav-btn.is-active {
  background: rgba(0, 0, 0, .68);
  box-shadow:
    inset 0 0 12px rgba(255,255,255,.12),
    0 0 22px rgba(255, 150, 210, .48);
}

/* ---------- Shared Card Layout ---------- */

.hero-section {
  width: 100%;
  margin: 0 auto;
}

.card-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  justify-content: center;
  gap: 1.9rem;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.3);
  box-shadow:
    0 12px 35px rgba(0,0,0,.45),
    inset 0 0 20px rgba(255,255,255,.05);
}

.card__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.card__background {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(1.25) contrast(1.08) brightness(.96);
}

.card:hover .card__background {
  transform: scale(1.05);
  filter: saturate(1.45) contrast(1.12) brightness(1.02);
}

.card__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.72),
    rgba(0,0,0,.12) 58%,
    rgba(0,0,0,0)
  );
}

.card__heading {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.05;
  letter-spacing: .04em;
  text-shadow:
    0 0 5px rgba(0,0,0,.9),
    0 0 10px rgba(255,186,125,.4);
}

/* ---------- Main Home Page ---------- */

body.page-home {
  min-height: 100vh;
}

.page-home main {
  padding-top: .5rem;
}

.page-home .card-grid {
  grid-template-columns: repeat(2, 395px);
  gap: 4rem;
  max-width: 900px;
}

.page-home .card {
  width: 395px;
  height: 500px;
}

.page-home .card__heading {
  font-size: 1.5rem;
}

.page-home main + .home-header,
.page-home main ~ .home-header {
  margin-top: 3rem;
}

/* bottom homepage title */
.page-home main + .home-header .header-anta-neon,
.page-home main ~ .home-header .header-anta-neon {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

/* ---------- Digital Painting + Computational Media Pages ---------- */

.digital-painting .card-grid,
.comp-media-home .card-grid,
body[class="comp-media-home.html"] .card-grid {
  grid-template-columns: repeat(5, 244px);
  gap: 1.8rem;
  max-width: 1320px;
}

.digital-painting .card,
.comp-media-home .card,
body[class="comp-media-home.html"] .card {
  width: 244px;
  height: 375px;
}

/* ---------- About Page ---------- */

.about-main {
  width: min(1150px, 92vw);
  margin: 4.5rem auto 0;
}

.about-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-portrait img {
  width: 360px;
  filter: drop-shadow(0 0 18px rgba(255, 150, 210, .35));
}

.about-bio {
  max-width: 760px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.45;
  text-shadow: 0 0 8px rgba(0,0,0,.7);
}

.about-icons {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.1rem;
  flex-wrap: wrap;
  padding: .4rem 1rem;
}

.social-neon__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffeefc;
  text-decoration: none;
  font-size: 1.7rem;
  text-shadow:
    0 0 4px rgba(255, 220, 248, .95),
    0 0 10px rgba(255, 170, 210, .9),
    0 0 20px rgba(255, 120, 160, .75);
  transition: transform .2s ease, text-shadow .2s ease;
}

.social-neon__btn:hover {
  transform: translateY(-2px) scale(1.08);
  text-shadow:
    0 0 6px rgba(255, 240, 255, 1),
    0 0 14px rgba(255, 190, 220, 1),
    0 0 28px rgba(255, 150, 190, .95);
}

.social-neon__badge {
  font-family: "Anta", "Oxanium", system-ui, sans-serif;
  font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (max-width: 1320px) {
  .digital-painting .card-grid,
  .comp-media-home .card-grid,
  body[class="comp-media-home.html"] .card-grid {
    grid-template-columns: repeat(3, 244px);
  }
}

@media (max-width: 920px) {
  .page-home .card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-home .card {
    width: min(395px, 88vw);
    height: 500px;
  }

  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .about-portrait img {
    margin: 0 auto;
  }

  .about-bio {
    margin: 0 auto;
  }
}

@media (max-width: 800px) {
  .digital-painting .card-grid,
  .comp-media-home .card-grid,
  body[class="comp-media-home.html"] .card-grid {
    grid-template-columns: repeat(2, minmax(150px, 244px));
    width: 92vw;
  }

  .digital-painting .card,
  .comp-media-home .card,
  body[class="comp-media-home.html"] .card {
    width: 100%;
    height: 330px;
  }

  .nav-bar {
    gap: 10px;
  }

  .nav-btn {
    padding: 8px 16px;
  }
}

@media (max-width: 520px) {
  .digital-painting .card-grid,
  .comp-media-home .card-grid,
  body[class="comp-media-home.html"] .card-grid {
    grid-template-columns: 1fr;
  }

  .page-home .card {
    height: 430px;
  }

  .about-icons {
    position: static;
    margin-top: 3rem;
  }
}


.gallery-page {
  width: min(1200px, 92vw);
  margin: 3rem auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.gallery-card {
  background: rgba(20, 10, 30, 0.72);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(255, 170, 220, 0.25);
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 1rem;
}

.gallery-caption h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #ffc47a;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.85rem;
  color: #f7d6ff;
}

.gallery-wrap {
  width: min(1400px, 94vw);
  margin: 3rem auto 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  align-items: start;
}

.gallery-card {
  background: rgba(20, 12, 32, 0.72);
  border: 1px solid rgba(255, 190, 235, 0.28);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 22px rgba(255, 120, 220, 0.18);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(255, 175, 235, 0.35);
}

.gallery-thumb {
  display: block;
  padding: 0.7rem;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-info {
  padding: 0.75rem 1rem 1rem;
}

.gallery-info h3 {
  margin: 0 0 0.35rem;
  color: #ffc06d;
  font-size: 1rem;
}

.gallery-info .meta {
  margin: 0;
  color: #f3d6ff;
  font-size: 0.82rem;
}
