/* styles.css - basic responsive layout */
* { box-sizing: border-box; }
body { font-family: Arial, Helvetica, sans-serif; margin: 0; line-height: 1.6; color: #222; }

/* RED THEME */
header { background: #b30000; color: #fff; padding: 20px 10%; }
nav { margin-top: 10px; }
nav a { color: #fff; text-decoration: none; margin-right: 16px; }

.container { padding: 40px 10%; }
.grid { 
  display: grid; 
  gap: 20px; 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
}

.card { 
  background: #fff; 
  border-left: 5px solid #b30000;
  border-radius: 8px; 
  padding: 18px; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.opening { 
  background: #fff; 
  border-left: 5px solid #b30000;
  border-radius: 8px; 
  padding: 18px; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-size: 20px;
}

/* Footer  #ffe5e5*/
/* FOOTER STYLING #8b0000 */
.footer {
  background-color: #8b0000; /* deep red background */
  color: #ffffff;
  padding: 50px 10%;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Column headings */
.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
}

/* Links */
.footer-column a {
  display: block;
  color: #ffffff;
  margin-bottom: 10px;
  text-decoration: none;
  transition: 0.2s;
}

.footer-column a:hover {
  color: #ffd6d6; /* light red hover */
}

/* Text items */
.footer-column p {
  margin: 6px 0;
  color: #ffffff;
  line-height: 1.5;
}

/* Badges at bottom */
.footer-badges {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-badges img {
  height: 80px;
  object-fit: contain;
}

/* Mobile responsive */
@media (max-width: 800px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-badges {
    flex-direction: column;
  }
}


/* Forms */
form input, 
form textarea, 
form button { 
  width: 100%; 
  padding: 10px; 
  margin-top: 8px; 
  border-radius: 6px; 
  border: 1px solid #ddd; 
}

form button { 
  background: #b30000; 
  color: #fff; 
  border: none; 
  cursor: pointer; 
  padding: 12px; 
}

@media (max-width:600px) {
  header h1 { font-size: 20px; }
  .container { padding: 20px; }
}

/* Header */
header {
  background: #fff;
  color: #b30000;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Keep text on the left */
.header-left h1 {
  margin: 0;
  font-size: 45px;
}

/* Logo container */
.header-logo img {
  height: 180px;
  width: auto;
  object-fit: contain;
}

/* Nav Bar */
nav a {
  color: #286933;
  font-size: 20px;
}

nav a:hover {
  color: #D0DDD7; /* darker red */
}

nav a.active {
  font-weight: bold;
  border-bottom: 3px solid #ffffff;  /* white underline */
  padding-bottom: 4px;
  color: #A5AE9E; /* lighter red text */
}


/* Make logo smaller on mobile */
@media (max-width: 600px) {
  .header-logo img {
    height: 50px;
  }
}

.social-icons a {
  font-size: 28px;
  color: #b30000; /* red theme */
  margin-left: 12px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #800000; /* darker red on hover */
}

/* TOP MEDIA BANNER */
.top-banner {
  width: 100%;
  background: #f5f5f5;      /* light grey background */
  border-top: 6px solid #b30000;  /* red top bar */
  padding: 5px 10%; 
}

.top-banner-content {
  height: 100%;        
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 20px;
}

/* Social media icons */
.social-icons a {
  font-size: 22px;
  color: #00255c; /* dark blue like screenshot */
  margin-left: 10px;
  text-decoration: none;
}

.social-icons a:hover {
  opacity: 0.7;
}

/* DONATE + VOLUNTEER buttons */
.top-buttons a {
  padding: 8px 16px;
  border-radius: 3px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
}

.donate-btn {
  background: #b30000; /* blue */
}

.volunteer-btn {
  background: #286933; /* orange */
}

/* Mobile responsive */
@media (max-width: 700px) {
  .top-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.top-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
}
