/* ===============================
   RESET + BASE
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f7f6f3; /* cream */
  color: #111;
  line-height: 1.75;
  font-size: 18px;
}
/* --- HEADER STYLES --- */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, #111, #1a1a1a);
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.7);
  z-index: 1000;
}

header .logo {
  color: #f9f9f9;
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

header.scrolled {
  background: linear-gradient(135deg, #1a1a1a, #222);
  box-shadow: 0 6px 30px rgba(0,0,0,0.8);
  transition: all 0.3s ease;
}

/* ===============================
   HERO (STORY OPENER)
=============================== */
.hero-single {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: url('https://images.unsplash.com/photo-1507146426996-ef05306b995a?auto=format&fit=crop&w=1800&q=80')
              center / cover no-repeat;
}

.hero-overlay {
  position: absolute;

  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  max-width: 720px;
  color: #444;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: #c94a4a; /* soft red */
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color:#111;
}

.hero-content p {
  font-size: 1.15rem;
  color: #e5e4e1;
  max-width: 560px;
   color:#444;
}

/* ===============================
   INTRO PARAGRAPH (EDITORIAL)
=============================== */
.intro {
  background: #f7f6f3;
  padding: 5rem 1.5rem;
}

.intro-inner {
  max-width: 640px;
  margin: 0 auto;
}

.intro p {
  font-size: 1.25rem;
  color: #222;
}
.btn-primary {
  display: inline-block;
  background-color: #6fbf9b; /* soft light green */
  color: #0f1f18;            /* deep green-black for contrast */
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 6px;        /* subtle, not pill */
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: #5aad8a; /* slightly deeper on hover */
  transform: translateY(-2px);
}
/* ===============================
   ARTICLES GRID
=============================== */

.articles {
  padding: 4rem 4rem;
}

.articles h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

article {
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.25s ease;
  width:90%;
}

article:hover {
  transform: translateY(-4px);
}

article img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.meta {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin: 0.25rem 1rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta .author {
  font-weight: 500;
}

.meta time {
  font-weight: 400;
}

.meta .dot {
  opacity: 0.6;
}

.card-content {
  padding: 1.5rem;
}

.category {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #4f6f5a; /* muted green */
  margin-bottom: 0.75rem;
  display: block;
}

article h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

article p {
  font-size: 0.95rem;
  color: #555;
}

.btn-secondary {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #c94a4a;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary:hover {
  text-decoration: underline;
}

/* ===============================
   FOOTER (QUIET ENDING)
=============================== */
footer {
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

footer .socials {
  margin-top: 1rem;
}

footer .socials a {
  margin: 0 0.4rem;
  opacity: 0.6;
  text-decoration: none;
}

footer .socials a:hover {
  opacity: 1;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  body {
    font-size: 17px;
  }
}
/* ===============================
   RESPONSIVE — EDITORIAL FIRST
=============================== */

/* ---------- Tablets & down ---------- */
@media (max-width: 1024px) {

  .articles {
    padding: 3rem 2rem;
  }

  article img {
    height: 420px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {

  /* BODY */
  body {
    font-size: 16.5px;
    line-height: 1.7;
  }

  /* HEADER */
  header {
    padding: 0 1.25rem;
    height: 56px;
  }

  header .logo {
    font-size: 1.25rem;
  }

  /* HERO */
  .hero-single {
    min-height: 75vh;
    padding: 0 1.25rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
    max-width: 100%;
  }

  /* INTRO */
  .intro {
    padding: 3.5rem 1.25rem;
  }

  .intro p {
    font-size: 1.1rem;
  }

  /* ARTICLES */
  .articles {
    padding: 3rem 1.25rem;
  }

  .articles h2 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  article {
    width: 100%;
  }

  article img {
    height: 260px;
  }

  .card-content {
    padding: 1.25rem;
  }

  article h3 {
    font-size: 1.1rem;
  }

  article p {
    font-size: 0.95rem;
  }

  /* META */
  .meta {
    margin: 0.5rem 1.25rem 0.75rem;
    font-size: 0.8rem;
  }

  /* FOOTER */
  footer {
    padding: 2.5rem 1.25rem;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  article img {
    height: 300px;
  }
}
/* FOOTER */
footer{background:var(--dark);color:#eee;text-align:center;padding:3rem 1.5rem;font-size:0.9rem;}

/* RESPONSIVE */
@media(max-width:768px){
  .steps{grid-template-columns:1fr;}
}
.footer-header-style {
  background-color: #222;
  color: #fff;
  padding: 15px 30px;
  border-top: 3px solid #88d18a;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* Logo Link */
.footer-left .footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-family: 'Arial', sans-serif;
}

.footer-left .footer-logo-link img {
  width: 40px;
  height: 40px;
}

/* Navigation */
.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.footer-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: #88d18a;
}

/* Copyright */
.footer-copy {
  color: #ccc;
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Make nav appear on top */
  .footer-nav {
    order: -1; /* nav comes first */
    margin-bottom: 15px;
    width: 100%;
  }

  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;      /* allow wrapping to multiple lines */
    justify-content: center;
    gap: 10px 15px;      /* small gaps between links, both horizontal and vertical */
    padding: 0;
    margin: 0;
  }

  .footer-nav ul li {
    flex: 1 1 auto;       /* links will shrink if needed */
    text-align: center;
  }
}
@media (max-width: 768px) {
  .footer-logo span,
  .header .logo span {
    font-size: 1rem; /* shrink the text */
  }

  .footer-logo img,
  .header .logo img {
    width: 35px; /* optional smaller logo */
    height: auto;
  }
}
/* ===== Responsive adjustment for inline-left images ===== */
@media (max-width: 768px) {
  .inline-img-left {
    float: none;  
    height:400px;/* Stop floating on smaller screens */
    width: 100%;         /* Make it full width */
    max-width: 100%;     /* Ensure it doesn't exceed container */
    margin: 0 0 1.5rem 0; /* Space below the image */
    display: block;      /* Ensure block layout */
  }
}
/* ===== Responsive adjustment for inline-left images ===== */
@media (max-width: 768px) {
  .inline-img-right {
    float: none;  
    height:400px;/* Stop floating on smaller screens */
    width: 100%;         /* Make it full width */
    max-width: 100%;     /* Ensure it doesn't exceed container */
    margin: 0 0 1.5rem 0; /* Space below the image */
    display: block;      /* Ensure block layout */
  }
}
