/* Hero Section */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 62px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line-subtle);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Grid */
.grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px 120px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.card {
  position: relative;
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--shadow-soft);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.25s; }
.card:nth-child(5) { animation-delay: 0.3s; }
.card:nth-child(6) { animation-delay: 0.35s; }
.card:nth-child(7) { animation-delay: 0.4s; }
.card:nth-child(8) { animation-delay: 0.45s; }
.card:nth-child(9) { animation-delay: 0.5s; }
.card:nth-child(10) { animation-delay: 0.55s; }
.card:nth-child(11) { animation-delay: 0.6s; }

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: var(--bg-soft);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-image {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  opacity: 0;
  transition: var(--transition);
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(10px);
  transition: var(--transition);
}

.card:hover .card-title {
  transform: translateY(0);
}

.card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(10px, -10px);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 24px 60px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .grid-container {
    padding: 0 24px 80px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card-image-wrapper {
    height: 320px;
  }
}