/* === Index / Home Page — Orange IT Vibe === */

/* Hero banner */
.hero {
  background: linear-gradient(135deg, #ff5419 0%, #ff8c00 50%, #ffb347 100%);
  color: #fff;
  text-align: center;
  padding: 50px 24px 25px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: 1px;
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

/* Section grid — easy to extend with more cards */
.sections-grid {
  max-width: 1100px;
  margin: -40px auto 0;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* Section divider */
.section-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0 6px;
}

.section-divider:first-child {
  padding-top: 0;
}

.section-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #ff5419, #ff8c00 30%, transparent);
  border-radius: 2px;
}

.section-divider-line.right {
  background: linear-gradient(90deg, transparent, #ff8c00 70%, #ff5419);
}

.section-divider-content {
  text-align: center;
  flex-shrink: 0;
}

.section-divider-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: 0.3px;
}

.section-divider-desc {
  font-size: 0.78rem;
  color: #999;
  margin: 2px 0 0;
  font-weight: 400;
}

/* Individual section card */
.section-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.section-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(255, 84, 25, 0.15);
}

/* Orange accent bar on top */
.section-card-accent {
  height: 5px;
  background: linear-gradient(90deg, #ff5419, #ff8c00);
}

/* Card header with icon */
.section-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 24px 0;
}

.section-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-card-icon-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff5419, #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 84, 25, 0.25);
}

.section-card-titles {
  min-width: 0;
}

.section-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 4px;
  line-height: 1.3;
}

.section-card-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-card-badge.live {
  background: #e6f9ed;
  color: #1a8c3f;
}

.section-card-badge.dev {
  background: #fff3e6;
  color: #e65c00;
}

.section-card-badge.new {
  background: #eaf0ff;
  color: #3366cc;
}

/* Card body */
.section-card-body {
  padding: 16px 24px;
  flex: 1;
}

.section-card-body p {
  margin: 0;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
}

.section-card-source {
  font-size: 0.8rem;
  color: #999;
  margin-top: 10px;
}

.section-card-source a {
  color: #ff5419;
  text-decoration: none;
}

.section-card-source a:hover {
  text-decoration: underline;
}

/* Card footer with link */
.section-card-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
}

.section-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #ff5419, #ff8c00);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}

.section-card-link:hover {
  opacity: 0.88;
  transform: translateX(2px);
}

.section-card-link .arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.section-card-link:hover .arrow {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 700px) {
  .hero {
    padding: 40px 16px 36px;
  }

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

  .sections-grid {
    grid-template-columns: 1fr;
    margin-top: -28px;
    padding: 0 16px 40px;
  }

  .section-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
