/* Home page specific styles */

/* Hero Section - Fullscreen centered */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-color);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  height: 150px;
  width: auto;
  margin: 0 auto 3rem;
  display: block;
  animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.75rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-color);
}

/* Background utility */
.bg-gray {
  background-color: var(--gray-50);
}

/* About Preview */
.about-preview {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.about-preview h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.about-preview p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--gray-800);
}

/* Content Cards (Latest Article & Project) */
.content-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.content-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--text-color);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.content-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.content-excerpt {
  flex-grow: 1;
  color: var(--gray-800);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.content-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-800);
}

.status-ongoing {
  padding: 0.25rem 0.75rem;
  background-color: var(--gray-100);
  color: var(--primary-color);
  border-radius: 1rem;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Project Cards */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.project-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  color: var(--gray-800);
}

.project-card .btn {
  align-self: flex-start;
}

/* Article Cards */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.article-date {
  color: var(--gray-800);
}

.article-tag {
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  border-radius: 1rem;
  font-weight: 500;
}

.article-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.article-card p {
  flex-grow: 1;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

/* Service Cards */
.service-card {
  text-align: center;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-card p {
  color: var(--gray-800);
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-color);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-section .btn {
  background-color: var(--bg-color);
  color: var(--primary-color);
}

.cta-section .btn:hover {
  background-color: var(--gray-100);
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 60px);
    padding: 3rem 1rem;
  }

  .hero-logo {
    height: 100px;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .about-preview {
    padding: 1.5rem;
  }

  .about-preview h2 {
    font-size: 1.5rem;
  }

  .about-preview p {
    font-size: 1rem;
  }

  .content-card h3 {
    font-size: 1.25rem;
  }
}
