/* ================= PORTFOLIO — GENERAL LAYOUT ================= */
.portfolio-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ================= ABOUT ================= */
.about-me {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px;
  border-radius: 24px;
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
}

.about-photo-wrapper {
  position: relative;
  flex: 0 0 auto;
  width: 180px;
  height: 180px;
}

.about-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
  filter: grayscale(15%) contrast(105%);
  transition: transform .4s ease, filter .4s ease;
}

.about-photo-wrapper:hover .about-photo {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(110%);
}

.about-photo-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 160, 255, .35), transparent 70%);
  filter: blur(20px);
  z-index: 1;
  opacity: .8;
}

.about-heading {
  margin: 0;
  font-size: 2rem;
  letter-spacing: .04em;
  text-shadow: 0 0 20px rgba(58, 160, 255, .55), 0 2px 10px rgba(0, 0, 0, .6);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-bio {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
  font-size: .95rem;
}

/* ================= CONTENT SECTIONS ================= */
.content-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

/* Merged label + heading: sized like a heading, glow like a label */
.section-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 20px rgba(58, 160, 255, .75), 0 0 6px rgba(58, 160, 255, .55);
}

.section-text {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
  font-size: .92rem;
}

/* ================= VIDEOS (YOUTUBE — thumbnail link cards, no iframe) ================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 6px;
}

.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  text-decoration: none;
  color: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(58, 160, 255, .22);
}

.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(105%) brightness(.6);
  transition: transform .5s ease, filter .5s ease;
}

.video-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(110%) brightness(.7);
}

/* dark gradient so text stays readable over any thumbnail */
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .35) 100%);
  z-index: 1;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.2rem;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(58, 160, 255, .5);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.video-play i {
  margin-left: 3px; /* optical centering for the play glyph */
}

.video-card:hover .video-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(58, 160, 255, .35);
  box-shadow: 0 0 24px 4px rgba(58, 160, 255, .45);
}

.video-card-label {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .15);
  font-size: .68rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

.video-card-label i {
  color: #ff0033;
  font-size: .82rem;
}

.video-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
}

/* ================= GALLERY ================= */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 6px;
}

.photo-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, .09);
  cursor: zoom-in;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(105%) brightness(.85);
  transition: transform .5s ease, filter .5s ease;
}

.photo-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(110%) brightness(1);
}

/* zoom hint icon on hover, CSS-only */
.photo-item::after {
  content: "\f00e"; /* fa-magnifying-glass-plus */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: opacity .3s ease, background .3s ease;
  pointer-events: none;
}

.photo-item:hover::after {
  opacity: 1;
  background: rgba(0, 0, 0, .35);
}

/* ================= LIGHTBOX (pure CSS, no JS) ================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
  text-decoration: none;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ================= DISCOGRAPHY SLIDER (pure CSS, no JS) ================= */
.slider-hint {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-top: -6px;
}

.projects-slider-wrapper {
  position: relative;
}

.projects-slider-wrapper::before,
.projects-slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  pointer-events: none;
  z-index: 2;
}

.projects-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.projects-slider::-webkit-scrollbar {
  height: 6px;
}

.projects-slider::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18);
  border-radius: 3px;
}

.projects-slider::-webkit-scrollbar-track {
  background: transparent;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .3s ease, border-color .3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 160, 255, .35);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(30%) contrast(105%) brightness(.8);
  transition: transform .5s ease, filter .5s ease;
}

.project-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(110%) brightness(1);
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
}

.project-title {
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

.project-type {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ================= CONTACT ================= */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px 20px;
  border-radius: 24px;
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-section .section-text {
  max-width: 480px;
  text-align: center;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .02em;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}

.contact-link i {
  font-size: 1rem;
  color: var(--blue);
}

.contact-link:hover {
  background: rgba(58, 160, 255, .12);
  border-color: rgba(58, 160, 255, .35);
  transform: translateY(-2px);
}

.back-home {
  margin-top: 10px;
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .25s ease;
}

.back-home:hover {
  color: var(--blue);
}

/* ================= SOCIAL MEDIA CARDS ================= */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 6px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  text-decoration: none;
  color: #fff;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.social-card i {
  font-size: 1.8rem;
  transition: transform .3s ease, color .3s ease;
}

.social-card-name {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.social-card-handle {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 160, 255, .35);
  background: rgba(58, 160, 255, .08);
}

.social-card:hover i {
  transform: scale(1.12);
}

.social-card.instagram:hover i { color: #e1306c; }
.social-card.tiktok:hover i { color: #00f2ea; }
.social-card.youtube:hover i { color: #ff0000; }

/* ================= RESPONSIVE ================= */
@media (max-width: 640px) {
  .about-me {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .about-text {
    align-items: center;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card {
    flex: 0 0 62vw;
  }

  .contact-links {
    flex-direction: column;
    width: 100%;
  }

  .contact-link {
    justify-content: center;
  }

  .social-links-grid {
    gap: 8px;
  }

  .social-card {
    padding: 16px 6px;
  }

  .social-card i {
    font-size: 1.4rem;
  }

  .social-card-handle {
    display: none;
  }
}
