
/* === ORIGINAL / RESTORE CSS FOR index.php ===
  
*/
#ginger__floatingG-bar-tool-rephrase__btn {
    display: none !important;
}
/* --- General & Tagline --- */

.site-tagline {
    text-align: center ;
    padding: 40px 20px 20px;
    background-color: #fff;
}
.site-tagline h1 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
    display: inline-block;
    padding-bottom: 10px;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1.2s ease forwards;
}
@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Section Headings --- */
.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ccc;
}
@media (max-width: 768px) {
    .site-tagline h1 { font-size: 1.6rem; text-align: center;}
    
}

/* --- About Cards Section --- */
.about-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    flex-wrap: wrap;
    max-width: 1100px;
}
.about-cards .card {
    background: #fff;
    border: 1px solid #8d8d8dff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 300px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.about-cards .card:hover {
    transform: translateY(-5px);
}
.about-cards img {
    width: 100px;
    margin-bottom: 15px;
}
.about-cards h2 {
    margin-bottom: 10px;
    color: #333;
}
.about-cards p {
    color: #555;
    font-size: 0.95rem;
}
@media (max-width: 768px) {
    .about-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Featured Section --- */
.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.featured-section {
    max-width: 1140px;
    margin: 30px auto;
    gap: 16px;
}
.featured-top {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 16px;
    margin-bottom: 16px;
}
.featured-left,
.featured-right .small-card,
.featured-bottom .bottom-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}
.featured-left {
    aspect-ratio: 16 / 9;
}
.featured-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.featured-right .small-card {
    flex: 1 1 0;
    aspect-ratio: auto;
    min-height: 0;
}
.featured-bottom {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 16px;
}
.featured-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
    transition: transform 0.3s ease;
}
.featured-card-img:hover {
    transform: scale(1.05);
}
.featured-title {
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    max-width: 95%;
    box-sizing: border-box;
    line-height: 1.4;
    text-align: left;
    border-radius: 0 10px 0 0;
}
.featured-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
@media (max-width: 900px) {
    .featured-top { grid-template-columns: 1fr; }
    .featured-bottom {  grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .featured-bottom {  grid-template-columns: 1fr; }
    .featured-right {  flex-direction: column; }
    .featured-right .small-card {  min-height: 180px; }
    .featured-left {  aspect-ratio: 16 / 9; min-height: 200px; }
    
}

/* --- Category Links Section --- */
.category-links-section {
    max-width: 900px;
    margin: 20px auto;
    margin-bottom: 50px;
    padding: 15px 15px;
    background-color: #f5f5f5;
    border-radius: 6px;
    font-size: 1.0rem;
    color: #555;
    border-bottom: 2px solid #ccc;
}
.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}
.category-links a {
    color: #434343;
    text-decoration: none;
    transition: color 0.3s ease;
}
.category-links a:hover {
    color: #000;
}
@media (max-width: 768px) {
    .category-links-section { display: none; }
}

/* --- Zubaan and Zakhm Section --- */
.zuban-section {
    max-width: 1140px;
    margin: 40px auto 60px;
    padding: 0 20px;
}
.zuban-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.zuban-card {
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.zuban-card:hover {
    box-shadow: 0 6px 12px rgb(0 0 0 / 0.15);
}
.zuban-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.zuban-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.zuban-card:hover .zuban-image {
    transform: scale(1.05);
}
.zuban-info {
    padding: 12px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.zuban-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin: 0 0 6px;
    line-height: 1.2;
    overflow: hidden;
    max-height: 2.8em;
}

.zuban-date {
    font-size: 14px;
    color: #444444;
}
@media (max-width: 900px) {
    .zuban-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .zuban-grid { grid-template-columns: 1fr; }
}

/* --- Ink and Intimacy & Women Who Walked Before Me Sections --- */
.ink-section {
    max-width: 1140px;
    margin: 40px auto 60px;
    padding: 0 20px;
}
.ink-first-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.ink-second-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.card {
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.card:hover {
    box-shadow: 0 6px 12px rgb(0 0 0 / 0.15);
}
.card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ink-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.card:hover .ink-card-img {
    transform: scale(1.05);
}
.ink-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin: 12px 15px 6px;
    line-height: 1.2;
    overflow: hidden;
    max-height: 2.8em;
}
.ink-card-date {
    font-size: 14px;
    color: #444444;
    margin: 0 15px 15px;
}
@media (max-width: 900px) {
    .ink-first-row { grid-template-columns: repeat(2, 1fr); }
    .ink-second-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ink-first-row, .ink-second-row { grid-template-columns: 1fr; }
}

/* --- Parallax Banner Words Never Spoken --- */
.fullwidth-banner {
    width: 100%;
    overflow: hidden;
    margin: 80px 0;
}
.fullwidth-banner img {
    width: 100%;
    height: auto;
    display: block;
}
.parallax-banner {
    position: relative;
    height: 550px;
    background-image: url('/uploads/siyahi_banner_section_second.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
     font-family: 'Montserrat', sans-serif;
    text-align: center;
}
@media (max-width: 768px) {
    .parallax-banner {
        background-attachment: fixed;
        background-image: url('/uploads/siyahi_banner_section_second-mobile.webp');
        height: 550px;
    }
    .parallax-overlay h2 { 
        font-size: 4.5rem; 
        
    }
}

/* === HERO SECTION BASE === */
.parallax-banner-ink {
  position: relative;
  height: 550px;
  background-image: url('/uploads/hero-section-laptop-banner-siyahi-home-page.webp');
  background-size: contain;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay for text positioning */
.parallax-overlay-ink {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  color: #222;
  padding: 8% 10%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.0); /* transparent overlay layer */
}

/* === HERO CONTENT === */
.hero-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  max-width: 55%;
  animation: slideUp 1.5s ease-out forwards;
}

.hero-right {
  flex: 1;
}

/* === HERO TEXT === */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;                 /* reduced for longer title */
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  text-shadow: 0px 8px 10px rgba(0, 0, 0, 0.25);
  word-break: break-word;          /* prevent overflow */
  max-width: 90%;
}

.hero-tagline {
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #333;
  line-height: 1.6;
  margin: 0 0 1.8rem 0;
  max-width: 600px;
}

/* === CTA BUTTON === */
.hero-cta {
  display: inline-block;
  background: #2c2c2c;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-cta:hover {
  background: #232323;
  transform: translateY(-2px);
}

/* === ANIMATION === */
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === TABLET VIEW (≤ 992px) === */
@media (max-width: 992px) {
  .parallax-overlay-ink {
    padding: 10% 8%;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-title {
    font-size: 3.6rem;
    line-height: 1.3;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-cta {
    font-size: 1rem;
    padding: 10px 22px;
  }
}

/* === MOBILE VIEW (≤ 768px) === */
@media (max-width: 768px) {
  .parallax-banner-ink {
    background-attachment: scroll;
    background-image: url('/uploads/siyahi-hero-banner-mobile-portrait.webp');
    background-size: cover;
    background-position: center;
    height: 620px;
  }

  .parallax-overlay-ink {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    max-width: 100%;
  }

  .hero-tagline {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto 1.5rem;
  }

  .hero-cta {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}


/* --- Cities I Carry Section --- */
.cities-section {
    max-width: 1140px;
    margin: 40px auto 60px;
    padding: 0 20px;
}
.cities-first-row,
.cities-second-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}
.card-cities {
    display: flex;
    align-items: flex-start;
    border-top: 1px solid #c0c0c0ff;
    border-bottom: 1px solid #c0c0c0ff;
    background: #fff;
    padding: 10px;
    flex: 1 1 calc(33.33% - 20px);
    box-sizing: border-box;
}
.cities-card-img {
    flex: 0 0 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}
.card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.cities-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}
.cities-card-date {
    font-size: 14px;
    color: #444444;
}
@media (max-width: 768px) {
    .card-cities { flex: 1 1 100%; }
    .cities-card-img {  object-fit: cover;  }
}

/* --- Book Showcase Section --- */
.book-showcase {
    padding: 20px 20px;
    text-align: center;
}
.book-showcase .section-heading {
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    border: 2px solid #333;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 15px;
}
.book-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.book-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.book-card img {
    width: 100%;
    display: block;
}
.book-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.what-you-find {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}
.section-heading-whatYouFind {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #222;
  border-bottom: 2px solid #ccc;
  position: relative; /* needed for the pseudo-element */
  display: inline-block; /* line width will match content or we can set custom width */
}


.carousel-card {
  max-width: 700px;
  margin: 0 auto;
  background: #2f2f2f;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  position: relative;
  height: 300px; /* fix height to show 1 slide at a time */
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  top: 100%; /* start below the container */
  left: 0;
  opacity: 1; /* keep visible since we're moving it */
  transition: top 1s ease;
}

.carousel-slide.active {
  top: 0; /* bring current slide into view */
}
.carousel-slide.active {
  opacity: 1;
  position: relative;
}

.carousel-slide h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #fff;
}

.carousel-slide p {
     font-family: Arial, sans-serif;
  font-weight: 300; 
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
    color: hsl(0, 0%, 92%); /* softer white */
  -webkit-font-smoothing: antialiased;
  
}


/* ===== Mobile adjustments ===== */

 @media (max-width: 768px) {
  .what-you-find .container {
    max-width: 100%;
    padding: 0 5px;
    margin: 0;
  }

  .what-you-find {
    padding: 30px 5px;
  }

  .carousel-card {
    max-width: 100%;
    padding: 15px 25px;
    box-sizing: border-box;
    height: auto; /* allow expansion */
  }

  .carousel-slide {
    position: absolute; /* keep sliding effect */
    width: 100%;
    top: 100%; /* start below */
    left: 0;
    opacity: 0;
    transition: top 1s ease, opacity 1s ease;
  }

  .carousel-slide.active {
    top: 0;
    opacity: 1;
  }

  .carousel-slide h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .carousel-slide p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .section-heading-whatYouFind {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
}


.contribute-section {
  background: #f9f9f9;
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
  border-top: 1px solid #ddd;
}
.contribute-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}
.contribute-section p {
  max-width: 700px;
  margin: 0 auto 20px;
  color: #555;
}
.contribute-section .btn {
  background: #111;
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}
.contribute-section .btn:hover {
  background: #333;
}

/* === Responsive Font Size Adjustments === */
@media (max-width: 992px) {
  .site-tagline h1 { font-size: 2.5rem; }
  .section-heading { font-size: 30px; }
  .parallax-overlay { font-size: 3rem; }
  .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
  .site-tagline h1 { font-size: 2rem; }
  .section-heading { font-size: 24px; }
  .zuban-title, .ink-card-title, .cities-card-title { font-size: 18px; }
  .parallax-overlay { font-size: 2.2rem; }
  .hero-title { font-size: 1.8rem; }
  .section-heading-whatYouFind { font-size: 22px; }

}


/* Testimonial CSS and Responsiveness */


.testimonial-section {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.testimonial-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  color: #222;
  margin-bottom: 40px;
  position: relative;
}

.testimonial-carousel {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  box-sizing: border-box;
}

.testimonial-card-inner {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 40px 25px;
  transition: all 0.3s ease;
}

.testimonial-card-inner:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

.testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #111;
}

.testimonial-role {
  font-size: 14px;
  color: #777;
}

.author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #222;
}

/* Navigation dots */
.carousel-dots {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #222;
}

@media (max-width: 600px) {
  .testimonial-card-inner {
    padding: 30px 20px;
  }
}


