/* ═══════════════════════════════════════════
   Grownika — Portfolio Page
═══════════════════════════════════════════ */

/* ── Hero ── */
.port-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 130px 40px 70px;
  overflow: hidden;
}

.port-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,200,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.port-hero > * { position: relative; z-index: 1; }

.port-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(0,212,200,0.35);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  background: rgba(0,212,200,0.06);
}

.port-tag span { animation: blink 2s infinite; }
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.port-h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.port-h1 .glow-word {
  background: linear-gradient(135deg, var(--cyan) 0%, #fff 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.port-sub {
  font-size: 16px;
  color: var(--lgray);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── Stats row ── */
.port-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,212,200,0.15);
  border-radius: 100px;
  overflow: hidden;
}

.stat-chip {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  border-right: 1px solid rgba(0,212,200,0.12);
  white-space: nowrap;
}
.stat-chip:last-child { border-right: none; }
.stat-chip .stat-num { color: var(--cyan); }

/* ══════════════════════════════════════════
   FEATURED SECTION
══════════════════════════════════════════ */
.port-featured {
  position: relative;
  z-index: 1;
  padding: 0 40px 70px;
  max-width: 1200px;
  margin-inline: auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,212,200,0.4), transparent);
}
.eyebrow-line.right {
  background: linear-gradient(270deg, rgba(0,212,200,0.4), transparent);
}
.eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

/* Featured grid — 2 large cards centred */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 340px);
  gap: 32px;
  justify-content: center;
}

.featured-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(0,212,200,0.35);
  box-shadow: 0 0 40px rgba(0,212,200,0.12), 0 12px 40px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.25,1,0.5,1), box-shadow 0.4s ease;
  background: #0a0a0a;
}
.featured-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 0 80px rgba(0,212,200,0.3), 0 30px 80px rgba(0,0,0,0.6);
}

/* Rotating glow border on hover */
.featured-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, transparent 0%, var(--cyan) 20%, transparent 40%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: spin-border 3s linear infinite;
}
.featured-card:hover::before { opacity: 1; }

@keyframes spin-border {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Featured badge */
.featured-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #080808;
  box-shadow: 0 0 20px rgba(0,212,200,0.5);
  animation: badge-pulse 2.5s ease infinite;
}
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 20px rgba(0,212,200,0.5); }
  50%      { box-shadow: 0 0 35px rgba(0,212,200,0.9); }
}

/* 9:16 video wrap */
.port-vid-wrap {
  position: relative;
  width: 100%;
  padding-top: 177.78%;
  background: #060606;
  overflow: hidden;
}
.port-vid-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Hover play overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
}
.port-vid-wrap:hover .play-overlay { opacity: 1; }
.play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,212,200,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 40px rgba(0,212,200,0.6);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.port-vid-wrap:hover .play-btn { transform: scale(1); }

/* Card footer */
.port-card-foot {
  padding: 14px 18px 18px;
  background: rgba(0,212,200,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.port-card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.port-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 3px 10px;
  border: 1px solid rgba(0,212,200,0.3);
  border-radius: 100px;
}

/* ══════════════════════════════════════════
   MORE VIDEOS GRID
══════════════════════════════════════════ */
.port-more {
  position: relative;
  z-index: 1;
  padding: 0 40px 80px;
  max-width: 1200px;
  margin-inline: auto;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.more-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #0a0a0a;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.more-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,200,0.35);
  box-shadow: 0 0 40px rgba(0,212,200,0.15), 0 16px 40px rgba(0,0,0,0.5);
}

.more-card-num {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(0,212,200,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan);
}

.more-card-foot {
  padding: 10px 14px 12px;
  background: rgba(255,255,255,0.02);
}
.more-card-foot span {
  font-size: 12px;
  font-weight: 600;
  color: var(--lgray);
}

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.port-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 40px 100px;
}
.port-cta-box {
  display: inline-block;
  padding: 48px 60px;
  border-radius: 24px;
  background: rgba(0,212,200,0.04);
  border: 1px solid rgba(0,212,200,0.15);
  backdrop-filter: blur(20px);
  max-width: 560px;
  width: 100%;
}
.port-cta-box h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}
.port-cta-box p {
  color: var(--lgray);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .port-hero     { padding: 100px 20px 50px; }
  .port-featured,
  .port-more     { padding-inline: 16px; }
  .port-cta      { padding-inline: 16px; }
  .port-cta-box  { padding: 32px 24px; }
  .featured-grid { grid-template-columns: 1fr; gap: 20px; }
  .more-grid     { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .port-stats    { flex-direction: column; border-radius: 16px; gap: 0; }
  .stat-chip     { border-right: none; border-bottom: 1px solid rgba(0,212,200,0.12); }
  .stat-chip:last-child { border-bottom: none; }
}

/* Nav active */
.nav-active { color: var(--cyan) !important; }

/* ══════════════════════════════════════════
   HOMEPAGE PORTFOLIO PREVIEW SECTION
══════════════════════════════════════════ */
.port-preview-section {
  position: relative;
  z-index: 1;
  padding: 90px 40px 80px;
  max-width: 1200px;
  margin-inline: auto;
}

/* 3-column grid for the 3 preview videos */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .port-preview-section { padding-inline: 20px; }
}
@media (max-width: 560px) {
  .preview-grid { grid-template-columns: 1fr; gap: 20px; }
  .port-preview-section { padding: 60px 16px; }
}
