/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header transparent over hero */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 10;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: none;
}

.logo img.logo-white {
  display: block;
}

.site-header.scrolled .logo img.logo-white {
  display: none;
}
.site-header.scrolled .logo img.logo-black {
  display: block;
}



.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav ul li a {
  color: #fff; /* white over hero */
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Header after scroll */
.site-header.scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.site-header.scrolled .main-nav ul li a {
  color: #000;
}

.site-header.scrolled .logo img {
  filter: none; /* original black logo */
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
  padding-top: 30vh;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid #fff;
  border-radius: 2rem;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: #000;
}

/* Cards */
.cards {
  padding: 4rem 0;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card img {
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card p {
  font-size: 0.95rem;
  color: #444;
}

/* Larger cards for advertiser page */
.advertiser-page .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advertiser-page .card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.advertiser-page .card img {
  width: 100%;
  height: 300px;       /* Bigger image */
  object-fit: cover;   /* Crop nicely */
}

.advertiser-page .card p {
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}


/* About section */
.about {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: #333;
}

/* Stories section */
.stories {
  padding: 4rem 0;
  text-align: center;
}

.stories h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.story {
  background: #fafafa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.story img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.story blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  color: #555;
}

.story cite {
  font-size: 0.9rem;
  color: #333;
}

/* Footer */
.site-footer {
  background: #111;
  color: #fff;
  padding: 3rem 0 1rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-left img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-middle h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: bold;
}

.footer-middle ul,
.footer-right ul {
  list-style: none;
}

.footer-middle ul li,
.footer-right ul li {
  margin-bottom: 0.5rem;
}

.footer-middle a,
.footer-right a {
  color: #fff;
  transition: color 0.3s ease;
}

.footer-middle a:hover,
.footer-right a:hover {
  color: #aaa;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #333;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #000;
    padding: 1rem;
    border-radius: 8px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav.active {
    display: block;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url("../img/hero.jpeg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
}

.hero-content {
  width: 90%;
  max-width: 600px;
  margin-left: auto;
  margin-right: 3%;
  text-align: left;
  z-index: 2;
  transform: translateY(-10%); /* shift upward */
}


/* Hero Content tweaks */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-points p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 300;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: #000;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* -------------------------
   Contact Page Styling
--------------------------*/

/* Map Hero */
.map-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.map-hero .map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-hero .map-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.map-hero .map-content {
  position: relative;
  z-index: 2;
}

.map-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.map-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 4rem auto;
}

.contact-left,
.contact-right {
  flex: 1 1 45%;
  min-width: 280px;
}

.contact-left h2,
.contact-right h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-left p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

/* Contact Form */
.contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #000;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  background: #000;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.3s;
  cursor: pointer;
  border: none;
}

.contact-form .btn:hover {
  background: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }
}

.map-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.map-hero iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-hero .map-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent overlay */
  z-index: 1;
}

.map-hero .map-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
}
