/* ============================================
   SHOYINKA.COM - Inner Pages Stylesheet
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-accent: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.5);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--color-text);
}

/* Page Header */
.page-header {
  padding: 8rem 3rem 4rem;
  text-align: center;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-header__subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

/* Portfolio Grid */
.portfolio {
  padding: 2rem 3rem 6rem;
}

.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio__filter {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--color-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio__filter:hover,
.portfolio__filter.active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio__item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.portfolio__item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio__item-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.portfolio__item:hover .portfolio__item-image {
  transform: scale(1.05);
}

.portfolio__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio__item:hover .portfolio__item-overlay {
  opacity: 1;
}

.portfolio__item-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.portfolio__item-category {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* About Page */
.about {
  padding: 8rem 3rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about__image {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 8px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.about__content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.about__ventures {
  margin-top: 6rem;
}

.about__ventures h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

.venture__card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.venture__card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.venture__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.venture__card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Contact Page */
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 3rem;
  position: relative;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact__sphere {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150vw;
  height: 150vw;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 50%);
  border-radius: 50%;
}

.contact__stars {
  position: absolute;
  inset: 0;
}

.contact__star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.contact__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.contact__link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.25rem;
  transition: opacity 0.3s ease;
}

.contact__link:hover {
  opacity: 0.7;
}

.contact__location {
  color: var(--color-muted);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Community Page */
.community {
  padding: 8rem 3rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.community__section {
  margin-bottom: 6rem;
}

.community__section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.community__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.community__item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.community__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.community__item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.community__item p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Resume Page */
.resume {
  padding: 6rem 3rem;
}

.resume__hero {
  text-align: center;
  padding: 4rem 0;
}

.resume__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.resume__subtitle {
  color: var(--color-muted);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.resume__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.resume__section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.resume__video-item {
  margin-bottom: 2rem;
}

.resume__video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.resume__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resume__video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-muted);
}

.resume__video-play {
  width: 60px;
  height: 60px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resume__video-play svg {
  width: 24px;
  height: 24px;
}

.resume__video-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.resume__video-summary {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.resume__globe-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resume__globe-intro {
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.resume__globe-container {
  width: 300px;
  height: 300px;
  position: relative;
  margin-bottom: 2rem;
}

.resume__globe-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
}

.resume__globe-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.resume__globe-photos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.resume__globe-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.resume__globe-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--color-muted);
}

.resume__pdf-link {
  margin-top: 2rem;
}

.resume__pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.resume__pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.resume__pdf-btn svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  padding: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 600;
}

.footer__location {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__link {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--color-text);
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Responsive */
@media (max-width: 968px) {
  .about__hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav__links {
    gap: 1rem;
  }

  .page-header,
  .portfolio,
  .about,
  .community,
  .resume {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  .footer__container {
    flex-direction: column;
    text-align: center;
  }
}
