/* Additional styles for Manus + Me Website */

/* Background Images */
.science-bg {
  background-image: url('../images/backgrounds/science-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.creative-bg {
  background-image: url('../images/backgrounds/creative-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Page Header Styles */
.page-header {
  background-color: var(--purple);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgrounds/header-pattern.png');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-header h1 {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header .subtitle {
  position: relative;
  z-index: 1;
  font-family: var(--font-alice);
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Section Styles */
section {
  padding: 4rem 0;
}

.about-section, .services-intro, .blog-intro {
  background-color: var(--white);
  position: relative;
}

.about-content, .services-content, .blog-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Team Section */
.team-section {
  background-color: var(--beige);
  position: relative;
}

.team-member {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-info {
  padding: 2rem;
}

.team-role {
  color: var(--red);
  font-family: var(--font-montserrat);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Philosophy Section */
.philosophy-section {
  background-color: var(--purple);
  color: var(--white);
  position: relative;
}

.philosophy-section h2 {
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.philosophy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.philosophy-item h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
  background-color: var(--beige);
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  background-color: var(--purple);
  color: var(--gold);
  font-size: 2rem;
  padding: 2rem;
  text-align: center;
}

.service-info {
  padding: 2rem;
}

.service-info h3 {
  color: var(--purple);
  margin-bottom: 1rem;
}

.service-info h4 {
  font-family: var(--font-montserrat);
  margin: 1.5rem 0 0.5rem;
}

.service-info ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.service-info li {
  margin-bottom: 0.5rem;
}

/* Process Section */
.process-section {
  background-color: var(--white);
}

.process-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  left: 25px;
  width: 2px;
  height: calc(100% + 2rem);
  background-color: var(--gold);
  z-index: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--gold);
  color: var(--purple);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-playfair);
  font-weight: 700;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--purple);
  margin-bottom: 0.5rem;
}

/* Partners Section */
.partners-section {
  background-color: var(--beige);
}

.partners-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.partner-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
}

.partner-item h3 {
  color: var(--purple);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--red);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Blog Styles */
.blog-grid {
  background-color: var(--white);
}

.blog-featured {
  display: flex;
  flex-direction: column;
  background-color: var(--beige);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 300px;
  background-color: var(--purple);
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--purple), var(--red));
  opacity: 0.7;
}

.blog-info {
  padding: 2rem;
}

.blog-category {
  display: inline-block;
  background-color: var(--gold);
  color: var(--purple);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.blog-info h3 {
  margin-bottom: 1rem;
  color: var(--purple);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #666;
}

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

.blog-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card .blog-image {
  height: 200px;
}

.blog-card .blog-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .btn {
  margin-top: auto;
}

/* LinkedIn Articles */
.linkedin-articles {
  background-color: var(--purple);
  color: var(--white);
}

.linkedin-articles h2 {
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

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

.linkedin-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.linkedin-card:hover {
  transform: translateY(-5px);
}

.linkedin-card h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.linkedin-card p {
  margin-bottom: 1.5rem;
}

/* Active Navigation Link */
nav a.active {
  color: var(--red);
}

nav a.active::after {
  width: 100%;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--gold);
}

/* Additional Responsive Styles */
@media (min-width: 768px) {
  .blog-featured {
    flex-direction: row;
  }
  
  .blog-featured .blog-image {
    width: 50%;
    height: auto;
  }
  
  .blog-featured .blog-info {
    width: 50%;
  }
  
  .team-member {
    flex-direction: row;
  }
  
  .team-member .team-image {
    width: 40%;
  }
  
  .team-member .team-info {
    width: 60%;
  }
}

@media (max-width: 767px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .page-header .subtitle {
    font-size: 1.2rem;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
  
  .process-step:not(:last-child)::after {
    left: 25px;
    top: 50px;
    height: 50px;
  }
}
