/* Hero Section Styles - Based on Lovable Design */

/* Hero section styling */
.hero-section {
  background: linear-gradient(rgba(10, 22, 34, 0.7), rgba(10, 22, 34, 0.7)), 
              url("/static/images/person-beside-bare-tree-at-night-3262249.jpg");
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, transparent, rgba(10, 22, 34, 0.8));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Animation for stars/lights in hero section */
@keyframes twinkle {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: var(--warm);
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

.star:nth-child(odd) {
  animation-delay: 1.5s;
}

/* Enhanced author section */
.author-section {
  display: flex;
  align-items: center;
}

.author-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--light);
}

.ebook-cover {
  max-height: 250px;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
}

/* Author card styling */
.author-card {
  background-color: rgba(52, 58, 64, 0.9);
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.author-card .card-body {
  padding: 2rem;
}

.author-profile-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

/* Hero buttons */
.hero-cta-buttons {
  gap: 1rem;
}

.hero-cta-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-cta-buttons .btn:hover {
  transform: translateY(-2px);
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .author-profile-image {
    width: 150px;
    height: 150px;
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
}