/* Consolidated Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Gotu&family=Merriweather:ital,wght@0,300;0,700;1,300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
}

:root {
    --body-color: #fff;    
    --header-bg:#F7F4EF;       
    --menu-color: #1C2430;    
    --menu-bg-trans: #b6064170;    
    --mobilemenu-color: #f7f4ef;
    --footer-bg: #1C2430;
    --footer-text: #a0a0a0;
    --footer-heading: #ffffff;
    --footer-link-hover: #ffffff;
    --footer-border: #2a2a2a;
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    /*overflow-x: hidden;*/
    box-sizing: border-box;
    background-color: var(--body-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ====================HERO SECTION CSS STARTS ================= */

/*.shayar-hero-section{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;    
    width: 100%;
    height: 200px;
    background-image: url(/assets/images/rainbow-vortex.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}
.shayar-hero-section h1{
  font-family: 'Gotu', sans-serif;
  font-size: 2.5rem;
}

.shayar-access-btn {
  display: inline-flex;
  gap: 10px; 
}

/* shayar access btn styling 
.btn-shine {  
  /*transform: translate(-50%, -50%);
  color: #fff;
  background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
  background-position: 0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s infinite linear;
  animation-fill-mode: forwards;
  -webkit-text-size-adjust: none;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
}
@-moz-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@-webkit-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@-o-keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}
@keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}


/* =========== SEARCH BAR SECTION START ======*/
.shayar-hero{
  width: 100%;
  padding: 40px 8%;
  background-color: #fbfbf7; /* Background for the container area */
}
.shayar-search-wrapper {  
  width: 100%;
  border: 1px solid #ddd;
}

.search-form {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  padding: 5px 20px;
}

.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: rgb(51, 49, 49);
  padding: 12px;
  outline: none;
  font-size: 1.1rem;
}

.search-btn {
  background: #714da6;
  padding: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.search-btn img {
  width: 25px;
  filter: invert(1); /* Makes the black icon white */
}

@media screen and (max-width: 600px) {
  .shayar-hero {
      padding: 30px 15px;
  }
}



/*=== CONTEMPORARY SHAYAR GRID START =======*/

/* Container for the Grid */
.all-shayars-page {
  padding: 0px 20px;
  background-color: #fdfbf7; /* Light creamy background for a literary feel */
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  color: #333;
}

/* Responsive Grid System */
.shayar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Card Styling (Consistent with your slider) */
.shayar-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.shayar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-image img {
  width: 100%;
  aspect-ratio: 1/1; /* Keeps them perfectly square in the grid */
  object-fit: cover;
}

.card-content {
  padding: 15px;
  text-align: left;
}

.card-content .names-action {
  display: inline-flex;
}

.card-content .names-action h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #7a1f1f; /* Your brand color */
}
.card-content .names-action img{
  width: 14px;
  height: 14px;
}
.card-content p {
  font-family: 'gotu', sans-serif;
  font-size: .825rem;
  color: #1C2430;
}

.card-content .tag {
  font-size: 0.8rem;
  color: #888;
}

/* Mobile specific: Force exactly 2 columns */
@media screen and (max-width: 600px) {

  .section-header h1{
    font-size: 1.5rem;
  }
  .all-shayars-page {
    padding: 0;
  }
  .shayar-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px; /* Tighter gap for small screens */
      padding: 10px;
  }

  .shayar-card {
      width: 100% !important; /* Ensure card takes full width of the grid cell */
      margin: 0 !important;
  }
}
