/* ── SHARED PAGE STYLES (portfolio, services, about) ── */

body { background: #080808; }

/* HERO */
.port-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,77,0,0.18) 0%, #080808 70%);
  padding: 140px 20px 80px;
}

.port-hero canvas,
.about-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.port-hero-content,
.about-hero-content { position: relative; z-index: 1; }

.port-hero-tag,
.about-hero-tag {
  display: inline-block;
  background: rgba(255,77,0,0.12);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeDown 0.7s ease both;
}

.port-hero h1,
.about-hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -2px;
  animation: fadeDown 0.8s ease 0.1s both;
}

.port-hero h1 span,
.about-hero h1 span {
  color: var(--primary);
  text-shadow: 0 0 40px rgba(255,77,0,0.5);
}

.port-hero p,
.about-hero p {
  color: #888;
  font-size: 16px;
  margin-bottom: 30px;
  animation: fadeDown 0.8s ease 0.2s both;
}

.port-hero-btns,
.about-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 0.8s ease 0.3s both;
}

.port-hero-btns a,
.about-hero-btns a {
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
  letter-spacing: 0.5px;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { opacity: 0.85; }
.btn-outline { border: 1px solid #333; color: #aaa; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ABOUT HERO (same as port-hero) */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,77,0,0.18) 0%, #080808 70%);
  padding: 140px 20px 80px;
}

/* STICKY NAV */
.port-nav {
  position: sticky;
  top: 70px;
  z-index: 9;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.port-nav a {
  color: #555;
  text-decoration: none;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid #222;
  transition: 0.2s;
  letter-spacing: 0.4px;
}

.port-nav a:hover, .port-nav a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* SECTION DIVIDER LINE */
.port-section,
.svc-section,
.story-section,
.team-section,
.values-section {
  position: relative;
}

.port-section::before,
.svc-section::before,
.story-section::before,
.team-section::before,
.values-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--primary));
}

/* SECTION BASE */
.port-section {
  padding: 90px 20px;
  text-align: center;
  color: white;
}

.port-section:nth-child(odd)  { background: #080808; }
.port-section:nth-child(even) { background: #0d0d0d; }

.svc-section {
  padding: 90px 20px;
  text-align: center;
  color: white;
}

.svc-section:nth-child(odd)  { background: #080808; }
.svc-section:nth-child(even) { background: #0d0d0d; }

/* SECTION TAGS */
.port-section-tag,
.svc-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,77,0,0.08);
  border: 1px solid rgba(255,77,0,0.3);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.port-section h2,
.svc-section h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.port-section h2 span,
.svc-section h2 span { color: var(--primary); }

.port-section-sub,
.svc-section-sub {
  color: #555;
  font-size: 15px;
  margin-bottom: 50px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* MEDIA GRID */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* MEDIA CARD */
.media-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.media-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(255,77,0,0.2);
}

.media-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.media-card:hover::after { transform: scaleX(1); }

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-wrap.portrait { padding-top: 177.78%; }

.img-wrap { overflow: hidden; height: 220px; }

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.media-card:hover .img-wrap img { transform: scale(1.06); }

.media-card-info {
  padding: 16px 18px 18px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.media-card-info h4 { font-size: 14px; color: white; font-weight: 600; }
.media-card-info p  { font-size: 12px; color: #555; margin-top: 2px; }

.media-badge {
  flex-shrink: 0;
  background: rgba(255,77,0,0.1);
  border: 1px solid rgba(255,77,0,0.35);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* SERVICE GRID */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.svc-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.svc-card:hover::after { transform: scaleX(1); }

.svc-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(255,77,0,0.15);
}

.svc-card-icon { font-size: 2.4rem; margin-bottom: 18px; display: block; }
.svc-card h4   { font-size: 17px; font-weight: 700; color: white; margin-bottom: 10px; }
.svc-card p    { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 16px; }

.svc-badge {
  display: inline-block;
  background: rgba(255,77,0,0.1);
  border: 1px solid rgba(255,77,0,0.35);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ABOUT — STORY */
.story-section { padding: 90px 20px; background: #0d0d0d; }

.story-inner { max-width: 800px; margin: 0 auto; text-align: center; color: white; }

.story-tag {
  display: inline-block;
  background: rgba(255,77,0,0.08);
  border: 1px solid rgba(255,77,0,0.3);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.story-inner h2 { font-size: 2.8rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 24px; }
.story-inner h2 span { color: var(--primary); }
.story-inner p  { color: #666; font-size: 16px; line-height: 1.9; margin-bottom: 16px; }

.story-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #1a1a1a;
}

.story-stat h3 { font-size: 2.6rem; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.story-stat p  { font-size: 13px; color: #555; margin: 0; }

/* ABOUT — TEAM */
.team-section { padding: 90px 20px; background: #080808; text-align: center; }

.team-tag {
  display: inline-block;
  background: rgba(255,77,0,0.08);
  border: 1px solid rgba(255,77,0,0.3);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.team-section h2 { font-size: 2.8rem; font-weight: 900; color: white; letter-spacing: -1px; margin-bottom: 10px; }
.team-section h2 span { color: var(--primary); }
.team-sub { color: #555; font-size: 15px; margin-bottom: 60px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.team-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.team-card:hover::after { transform: scaleX(1); }

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(255,77,0,0.15);
}

.team-photo { width: 100%; height: 280px; background: #1a1a1a; position: relative; overflow: hidden; }

.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo img { transform: scale(1.05); }

.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: #333; font-size: 13px;
}

.team-photo-placeholder span { font-size: 3.5rem; opacity: 0.25; }
.team-photo-placeholder p    { font-size: 12px; color: #2a2a2a; margin: 0; }

.team-role-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--primary);
  color: white;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}

.team-body { padding: 22px 22px 24px; text-align: left; }
.team-name  { font-size: 18px; font-weight: 800; color: white; margin-bottom: 4px; }
.team-title { font-size: 12px; color: var(--primary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.team-bio   { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 16px; }

.team-socials { display: flex; gap: 10px; }

.team-social-icon {
  font-size: 13px;
  color: var(--primary);
  border: 1px solid rgba(255,77,0,0.35);
  background: rgba(255,77,0,0.08);
  padding: 5px 12px;
  border-radius: 8px;
}

a.team-card { cursor: pointer; }

.team-socials a {
  width: 32px; height: 32px;
  border-radius: 8px; border: 1px solid #222;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; text-decoration: none;
  transition: 0.2s; color: #555;
}

.team-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,77,0,0.08);
}

/* ABOUT — VALUES */
.values-section { padding: 90px 20px; background: #0d0d0d; text-align: center; }

.values-tag {
  display: inline-block;
  background: rgba(255,77,0,0.08);
  border: 1px solid rgba(255,77,0,0.3);
  color: var(--primary);
  padding: 5px 16px; border-radius: 20px;
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px;
}

.values-section h2 { font-size: 2.8rem; font-weight: 900; color: white; letter-spacing: -1px; margin-bottom: 10px; }
.values-section h2 span { color: var(--primary); }
.values-sub { color: #555; font-size: 15px; margin-bottom: 50px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; max-width: 1000px; margin: 0 auto;
}

.value-card {
  background: #111; border: 1px solid #1e1e1e;
  border-radius: 16px; padding: 32px 24px;
  text-align: left; transition: 0.3s;
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255,77,0,0.12);
}

.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 8px; }
.value-card p  { font-size: 13px; color: #555; line-height: 1.6; }

/* SHARED CTA */
.port-cta,
.about-cta {
  padding: 100px 20px;
  text-align: center;
  color: white;
  background: #080808;
  position: relative;
  overflow: hidden;
}

.port-cta::before,
.about-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,77,0,0.15) 0%, transparent 70%);
}

.port-cta-content,
.about-cta-content { position: relative; z-index: 1; }

.port-cta h2,
.about-cta h2 { font-size: 3rem; font-weight: 900; margin-bottom: 14px; letter-spacing: -1px; }

.port-cta h2 span,
.about-cta h2 span { color: var(--primary); }

.port-cta p,
.about-cta p { color: #666; font-size: 16px; margin-bottom: 32px; }

.port-cta a,
.about-cta a {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary);
  color: white; border-radius: 10px;
  text-decoration: none; font-size: 16px; font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 8px 30px rgba(255,77,0,0.35);
}

.port-cta a:hover,
.about-cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255,77,0,0.5);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* MOBILE */
@media (max-width: 768px) {
  .port-hero h1,
  .about-hero h1 { font-size: 2.8rem; letter-spacing: -1px; }
  .media-grid,
  .svc-grid,
  .team-grid,
  .values-grid { grid-template-columns: 1fr; }
  .story-inner h2 { font-size: 2rem; }
}
