/* ================================
   AZURFA WEBSITE MAIN STYLES
   Author: Babangida Yohanna
   Organisation: Azurfa Women & Youth Development Initiative
   ================================= */

/* Root colour palette */
:root {
  --azurfa-green: #009966;
  --azurfa-orange: #FF7A00;
  --azurfa-white: #FFFFFF;
  --azurfa-dark: #2B2B2B;
  --azurfa-light: #F5F5F5;
}

/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--azurfa-light);
  color: var(--azurfa-dark);
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* ================= Header / Navbar ================= */
.navbar {
  background-color: var(--azurfa-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  color: var(--azurfa-green) !important;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--azurfa-dark) !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--azurfa-orange) !important;
}

/* ================= Hero / Content Placeholder ================= */
.content-section {
  padding-top: 70px; /* space for fixed header */
  padding-bottom: 10px;
  min-height: 400px;
  background-color: var(--azurfa-white);
}

.main-title {
  color: var(--azurfa-green);
  font-weight: 700;
  margin-bottom: 1rem;
}


/* ================= WHO WE ARE SECTION ================= */
.who-we-are-section {
  background-color: var(--azurfa-white);
  min-height: 100vh; /* covers one full screen height on desktop */
  display: flex;
  align-items: center;
}

.who-image img {
  max-width: 90%;
  border: 5px solid var(--azurfa-green);
  transition: transform 0.4s ease;
}

.who-image img:hover {
  transform: scale(1.03);
}

.who-text h2 {
  color: var(--azurfa-green);
  font-size: 2rem;
}

.who-text p {
  color: var(--azurfa-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}

.btn-orange {
  background-color: var(--azurfa-orange);
  color: var(--azurfa-white);
  border: none;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #e46c00;
  color: var(--azurfa-white);
}

/* Mobile view */
@media (max-width: 768px) {
  .who-we-are-section {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .who-text h2 {
    text-align: center;
  }
  .who-text p {
    text-align: center;
  }
  .who-text .btn {
    display: block;
    margin: 0 auto;
  }
}

/* ================= MISSION, VISION & GOAL SECTION ================= */
.mission-vision-goal {
  background-color: var(--azurfa-light);
}

.mission-vision-goal h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--azurfa-green);
  margin-bottom: 1rem;
}

.text-orange {
  color: var(--azurfa-orange);
}

.card-text {
  color: var(--azurfa-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mission-vision-goal h2 {
    font-size: 1.7rem;
  }
  .card-img-top {
    height: 180px;
  }
}


/* ================= OUR IMPACT SECTION ================= */
.our-impact {
  background-color: var(--azurfa-white);
}

/* --- Text + Video Row --- */
.impact-text h2 {
  font-size: 2rem;
}

.impact-text p {
  color: var(--azurfa-dark);
  line-height: 1.7;
  font-size: 1.05rem;
}

.impact-video iframe {
  border-radius: 10px;
}

/* --- Success Cards --- */
.impact-cards .card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 10px;
}

.impact-cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.impact-cards .card-img-top {
  height: 220px;
  object-fit: cover;
}

.impact-cards .card-body {
  padding: 1.5rem;
}

.impact-cards .btn-orange {
  background-color: var(--azurfa-orange);
  color: var(--azurfa-white);
  border: none;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.impact-cards .btn-orange:hover {
  background-color: #e46c00;
}

/* --- See More Card --- */
.see-more-card {
  background-color: var(--azurfa-light);
  border: 2px dashed var(--azurfa-green);
}

.btn-outline-orange {
  border: 2px solid var(--azurfa-orange);
  color: var(--azurfa-orange);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-orange:hover {
  background-color: var(--azurfa-orange);
  color: var(--azurfa-white);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .impact-text {
    text-align: center;
    margin-bottom: 1.5rem;
  }
}

/* ================= OUR THEMATIC AREAS SECTION ================= */
.thematic-areas {
  background-color: var(--azurfa-light);
}

.thematic-areas h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.theme-card {
  background-color: var(--azurfa-white);
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.theme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.theme-icon {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.theme-card h5 {
  color: var(--azurfa-green);
  margin-bottom: 0.8rem;
}

.theme-card p {
  color: var(--azurfa-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .theme-icon {
    width: 60px;
    height: 60px;
  }
  .thematic-areas h2 {
    font-size: 1.6rem;
  }
}

/* ================= CALL TO ACTION SECTION ================= */
.call-to-action {
  position: relative;
  background: url('../images/cta-bg.jpg') no-repeat center center/cover;
  height: 100vh;
  color: var(--azurfa-white);
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.call-to-action h2 {
  font-size: 2rem;
  line-height: 1.3;
}

.call-to-action p {
  font-size: 1.1rem;
  color: #e8e8e8;
}

.btn-orange {
  background-color: var(--azurfa-orange);
  color: var(--azurfa-white);
  border: none;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #e46c00;
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--azurfa-green);
}

@media (max-width: 768px) {
  .call-to-action {
    height: 60vh;
  }
  .call-to-action h2 {
    font-size: 1.6rem;
  }
  .call-to-action p {
    font-size: 1rem;
  }
}


/* ================= PARTNERS (tweak) ================= */
.partners {
  background-color: var(--azurfa-light);
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.partners p {
  color: #6c757d;
}

/* partner logos */
.partner-logo {
  max-height: 80px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: var(--azurfa-dark);
  color: var(--azurfa-white);
  padding: 40px 0;
  font-size: 0.95rem;
}

.site-footer a {
  color: #e9f7ef; /* light greenish tint for links */
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--azurfa-orange);
  text-decoration: underline;
}

.footer-brand img { border-radius: 6px; }

/* footer links */
.footer-links li {
  margin-bottom: 0.6rem;
}

.site-footer .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}


.social-links a {
  color: #ffffff;
  font-size: 1.15rem;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* newsletter input */
#newsletter-form .form-control {
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background-color: rgba(255,255,255,0.03);
  color: #fff;
}

#newsletter-form .form-control::placeholder {
  color: rgba(255,255,255,0.7);
}

/* back to top */
#back-to-top {
  cursor: pointer;
}

/* Responsive footer tweak */
@media (max-width: 767px) {
  .site-footer { text-align: left; }
  .site-footer .social-links { margin-top: 12px; }
  .partner-logo { max-height: 60px; }
}


/* ================= BLOG SINGLE PAGE STYLES ================= */

/* Cover */
.blog-cover {
  height: 48vh;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.blog-cover .cover-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* optional darker overlay for cover readability */
.blog-cover .cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.blog-cover .container {
  position: relative;
  z-index: 2;
}

/* Title on cover */
.blog-cover h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  font-size: 2rem;
}

/* Meta */
.blog-meta {
  padding: 0.5rem 0;
  color: #6c757d;
  font-size: 0.95rem;
}
.blog-meta .meta-left span {
  margin-right: 1rem;
  color: var(--azurfa-dark);
}

/* Article content */
.blog-article {
  color: var(--azurfa-dark);
  line-height: 1.75;
  font-size: 1.02rem;
  margin-top: 1rem;
}
.blog-article h2, .blog-article h3 {
  color: var(--azurfa-green);
  margin-top: 1.25rem;
}
.blog-article p.lead {
  font-size: 1.15rem;
  color: #333;
}

/* Related posts */
.related-posts {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.related-posts .card-title {
  color: var(--azurfa-green);
}
.card.border-dashed {
  border-style: dashed;
  border-color: rgba(0,0,0,0.08);
}

/* Buttons */
.btn-outline-orange {
  border: 2px solid var(--azurfa-orange);
  color: var(--azurfa-orange);
  background: transparent;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .blog-cover { height: 36vh; }
  .blog-cover h1 { font-size: 1.5rem; }
  .blog-meta { text-align: center; }
  .blog-meta .meta-left { display: block; margin-bottom: .5rem; }
}
