/* <!-- ----------------------------- Hero Section Start  ----------------------- --> */


.hero-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin-bottom: 60px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: var(--gradient-underline);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------- CTA Explore Buttons  -----------------*/
.cta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.cta-button {
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.cta-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.cta-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-border-primary);
}

.cta-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-5px);
}

/* ---------------------Stats Section ------------  */

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding: 30px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
  max-width: 800px;
  width: 100%;
}

.stat-item {
  text-align: center;
  min-width: 150px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .prompts-container {
    grid-template-columns: 1fr;
  }

  .cta-container {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .stats-container {
    gap: 20px;
  }

  .stat-item {
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .prompt-card {
    padding: 20px;
  }
}

/* <!-- ----------------------------- Hero Section End ----------------------- --> */

.container {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  top: -120px;
  z-index: 1;
}

/* Category Navigation */

.category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding: 0 10px;
}

.category-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: white;
  backdrop-filter: blur(10px);
}

.category-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.25);
}

.category-btn.active {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.image-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.image-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.image-card:hover .image-container img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  color: white;
}

.image-card:hover .image-overlay {
  opacity: 1;
}

.image-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.image-category {
  font-size: 0.8rem;
  opacity: 0.9;
}

.image-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
}

.image-card:hover .image-actions {
  opacity: 1;
}

/* .action-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
} */

/* .action-btn:hover {
  background: white;
  transform: scale(1.1);
} */

.image-info {
  padding: 15px;
}

.image-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.image-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: white;
}

/* Modal for Image View */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease-out;
  backdrop-filter: blur(10px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--dark);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
  transition: var(--transition);
}

.close-btn:hover {
  color: var(--danger);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.modal-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-description {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--dark);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 15px;
}

.modal-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.modal-btn.download {
  background: var(--primary);
  color: white;
}

.modal-btn.download:hover {
  background: var(--secondary);
}

.modal-btn.share {
  background: var(--light);
  color: var(--dark);
}

.modal-btn.share:hover {
  background: #ddd;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .category-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  .modal-info {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
  }
}



/* ======================================================== */
