/* Homepage Styles - Editable CSS File */
/* Access via: http://localhost:3000/css/home.css */

/* Main Container */
.homepage-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.homepage-main {
  flex-grow: 1;
}

/* ===== Hero Section ===== */
/* 
 * For: <section id="hero-section-modern" class="hero-section-modern">
 * To edit hero background, padding, height, etc.
 */
#hero-section-modern,
.hero-section-modern {
  position: relative;
  overflow: hidden;
  background: #111827; /* Change this for background color */
  min-height: 700px; /* Change this for hero height */
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: #1e293b;
  padding: 6rem 0;
  text-align: center;
  color: white;
}

/* Hero Content Wrapper */
.hero-content-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
  max-width: 1152px;
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

/* Hero Title - EDIT THIS TO CHANGE TITLE STYLE */
.hero-title {
  font-size: 3rem;      /* ⭐ Change this for title size */
  font-weight: 700;      /* ⭐ Change this for font weight (400, 600, 700, 900) */
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: yellow;          /* ⭐ Change this for title color */
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;   /* ⭐ Change this for larger screens */
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;     /* ⭐ Change this for desktop */
  }
}

.hero-title-animate {
  /* Animation class - keep for animations */
  animation: fadeIn 0.9s ease-out 0.1s both;
}

/* Hero Title Text (inner div from TypeWriter) */
.hero-title-text {
  /* This is the inner div - inherits styles from .hero-title */
  display: inline-block;
}

/* Hero Subtitle - EDIT THIS TO CHANGE SUBTITLE STYLE */
.hero-subtitle {
  font-size: 1.25rem;    /* ⭐ Change this for subtitle size */
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9); /* ⭐ Change this for subtitle color */
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;   /* ⭐ Change this for larger screens */
  }
}

.hero-subtitle-animate {
  /* Animation class - keep for animations */
  animation: fadeIn 0.9s ease-out 0.2s both;
}

/* Hero CTA Container */
.hero-cta-animate {
  animation: fadeIn 0.9s ease-out 0.3s both;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.section-alt {
  padding: 4rem 0;
  background: #f8fafc;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.section-title p {
  font-size: 1.125rem;
  color: #64748b;
}

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

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

/* Article Card */
.article-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.article-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.article-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Image Card */
.image-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.image-card-content {
  padding: 1.5rem;
}

.image-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.image-card p {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

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

.about-preview p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #64748b;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary {
  background: #10b981;
  color: white;
}

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #10b981;
  color: #10b981;
}

.btn-outline:hover {
  background: #10b981;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
}

