/* Ideas Page Specific Styles */

body {
  font-size: 18px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
}

#search-ideas{
  text-align: center;
}

#featured-ideas,
#search-ideas,
#all-ideas {
  margin: 1rem 10rem;
}

.featured-idea {
  background-color: #f0f0f0;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 1rem;
}

.featured-idea h2 {
  margin-bottom: 1rem;
}

.search-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.search-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background-color: #e0e0e0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
}

.search-btn:hover,
.search-btn.active {
  background-color: #c0c0c0;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.idea-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #ececef;
  display: flex;
  flex-direction: column;
}

.idea-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.idea-card__media {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.idea-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.idea-card:hover .idea-card__media img {
  transform: scale(1.04);
}

.idea-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.idea-card h3 {
  margin-bottom: 0.5rem;
}

/* Hero on Ideas page */
#ideas-hero {
  text-align: center;
  margin: 3rem auto 1rem;
  max-width: 760px;
  padding: 0 1.5rem;
}
.ideas-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #888;
  margin-bottom: 0.6rem;
}
.ideas-lede {
  color: #5e6066;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 0.6rem;
}

/* Featured idea — split media + body */
.featured-idea {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 0;
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid #ececef;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.featured-idea__media {
  min-height: 260px;
}
.featured-idea__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-idea__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-idea__body h3 {
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

@media screen and (max-width: 768px) {
  .featured-idea {
    grid-template-columns: 1fr;
  }
  .featured-idea__media {
    min-height: 200px;
  }
  .idea-card__media {
    height: 160px;
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tag {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
}


.notag{
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: solid 1px;
  border-color: #0000 00;
  font-size: 0.9rem;
  font-weight: bold;
  color: #000000;
  background-color: #FFf;
}

.tag[data-category="AI"] {
  background-color: #FF6E6E; /* Soft red */
}

.tag[data-category="Web3"] {
  background-color: #7AB1FF; /* Soft blue */
}

.tag[data-category="App"] {
  background-color: #70DB70; /* Soft green */
}

.tag[data-category="Web"] {
  background-color: #FFEC80; /* Soft yellow */
  color: #333;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  #featured-ideas,
  #search-ideas,
  #all-ideas {
    margin: 3rem 5rem;
  }

  .ideas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  #featured-ideas,
  #search-ideas,
  #all-ideas {
    margin: 2rem 2rem;
  }

  .ideas-grid {
    grid-template-columns: 1fr;
  }

  .search-container {
    flex-wrap: wrap;
  }

  .search-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .idea-card {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 12px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  #featured-ideas,
  #search-ideas,
  #all-ideas {
    margin: 1.5rem 1rem;
  }

  .search-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .idea-card {
    padding: 1rem;
  }
}

#idea-generator-card {
  margin: 2rem 10rem;
}

.card-container {
  display: flex;
  background-color: #f0f0f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-image {
  flex: 1;
  min-height: 300px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* This will focus on the top-center of the image */
}

.card-content {
  flex: 1;
  padding: 2rem;
}

.card-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card-content p {
  margin-bottom: 1rem;
}

.card-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.card-content li {
  margin-bottom: 0.5rem;
}

/* Responsive design for the card */
@media screen and (max-width: 1200px) {
  #idea-generator-card {
    margin: 2rem 5rem;
  }
}

@media screen and (max-width: 768px) {
  #idea-generator-card {
    margin: 2rem 2rem;
  }

  .card-container {
    flex-direction: column;
  }

  .card-image {
    min-height: 200px;
  }
}

@media screen and (max-width: 480px) {
  #idea-generator-card {
    margin: 1.5rem 1rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-content h2 {
    font-size: 1.5rem;
  }
}