/* monkeymagic.css - Light corporate theme for MonkeyMagic.ai */

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #2d2d2d;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Logo */
.logo-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
}

.logo-overlay a {
  display: block;
}

.logo {
  width: 12vw;
  min-width: 100px;
  max-width: 200px;
  height: auto;
  background: transparent;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
  opacity: 0.95;
}

/* Section Cards (landing page 3-card grid) */
.section-cards {
  background: #f7f8fa;
  padding: 4rem 2rem;
  text-align: center;
}

.section-cards .container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.section-card {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 280px;
  text-decoration: none;
  color: #2d2d2d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.section-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #1a1a2e;
}

.section-card p {
  font-size: 1rem;
  margin: 0;
  color: #666;
  line-height: 1.5;
}

/* Mission Section */
.missions {
  padding: 5rem 2rem;
  background: #ffffff;
  text-align: center;
}

.missions h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 3rem;
  color: #1a1a2e;
}

.missions .container {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.mission-item {
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  text-align: left;
  padding: 2rem;
  background: #f7f8fa;
  border-radius: 12px;
  border-left: 4px solid #4a6cf7;
}

.mission-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #1a1a2e;
}

.mission-item p {
  font-size: 1rem;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Team Section */
.team {
  padding: 5rem 2rem;
  background: #f7f8fa;
  text-align: center;
}

.team h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 3rem;
  color: #1a1a2e;
}

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

.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #2d2d2d;
  display: block;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #1a1a2e;
}

.card p {
  color: #555;
  font-size: 1.05rem;
  margin: 0.5rem 0 0;
}

.founder .card img {
  height: 500px;
}

/* Search Container */
.search-container {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

#search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-family: 'Inter', system-ui, sans-serif;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #ffffff;
  color: #2d2d2d;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#search-input:focus {
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
}

#search-input::placeholder {
  color: #999;
}

#search-results {
  margin-top: 1rem;
  padding: 0 0.5rem;
}

/* Bio Page */
.bio-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.bio-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bio-header img {
  width: 100%;
  max-width: 400px;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.bio-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #1a1a2e;
}

.bio-header .role {
  font-size: 1.2rem;
  color: #4a6cf7;
  font-weight: 600;
  margin: 0;
}

.bio-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.bio-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 2rem 0 1rem;
}

.bio-content p {
  margin: 0 0 1rem;
}

.bio-back {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: #f7f8fa;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  color: #2d2d2d;
  font-weight: 600;
  transition: background 0.2s;
}

.bio-back:hover {
  background: #eef0f4;
}

/* Under Construction */
.under-construction {
  text-align: center;
  padding: 5rem 2rem;
  background: #ffffff;
}

.under-construction h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 1rem;
}

.under-construction p {
  font-size: 1.2rem;
  color: #888;
  margin: 0 0 2rem;
}

.under-construction a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #f7f8fa;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  color: #2d2d2d;
  font-weight: 600;
  transition: background 0.2s;
}

.under-construction a:hover {
  background: #eef0f4;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  background: #f7f8fa;
  border-top: 1px solid #e2e5ea;
  color: #888;
  font-size: 0.95rem;
}

footer a {
  color: #4a6cf7;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-overlay {
    top: 8px;
    left: 5px;
  }

  .logo {
    width: 13vw;
    min-width: 70px;
  }

  .hero {
    height: 55vh;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .section-cards {
    padding: 2.5rem 1rem;
  }

  .section-card {
    width: 100%;
    max-width: 340px;
  }

  .missions {
    padding: 3rem 1rem;
  }

  .missions h2 {
    font-size: 2rem;
  }

  .mission-item {
    min-width: 100%;
  }

  .team {
    padding: 3rem 1rem;
  }

  .team h2 {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .bio-header img {
    height: 250px;
  }

  .founder .card img {
    height: 250px;
  }

  .bio-header h1 {
    font-size: 2rem;
  }
}
