/* YourBeat - duplicated site stylesheet

:root {
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Quicksand', sans-serif;
  --color-primary: #ff0000;
  --color-dark: #111111;
  --color-bg: #1a1a1a;
  --color-card-bg: #232323;
  --color-light: #ffffff;
  --color-gray-bg: #f4f4f4;
  --color-text: #cfcfcf;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

a {
  color: inherit;
  text-decoration: none;
}

img, .placeholder-block {
  max-width: 100%;
  display: block;
}

/* Placeholder image blocks. Swap background-image / replace element with
   <img> once your hosted images are ready. */
.placeholder-block {
  width: 100%;
  height: 320px;
  background-color: #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #555555;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px dashed #999999;
}

.placeholder-block.small {
  height: 160px;
}

/* Top background wrapper: covers header + hero with a shared banner image */
.top-background {
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("images/Top-Background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.top-background .hero h1,
.top-background .hero p {
  color: var(--color-light);
}

/* Header / Nav */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  flex-wrap: wrap;
}

.logo-img {
  height: 120px !important;
  width: auto !important;
  display: block;
}

header.site-header nav.main-nav a,
header.site-header .social-icons a {
  color: var(--color-light);
}

header.site-header .btn-outline {
  color: var(--color-light);
  border-color: var(--color-light);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav.main-nav a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-light);
}

.btn-outline {
  background: transparent;
  color: var(--color-light);
  border: 1px solid var(--color-light);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
}

/* Sections */
section {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.donate-section {
  text-align: center;
  background: var(--color-dark);
  max-width: 100%;
}

.donate-section p {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Community cards */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.community-card {
  background: var(--color-card-bg);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}

.community-card .card-img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  margin: 2rem auto 0;
}

.community-card .card-body {
  padding: 1.5rem;
  text-align: left;
}

.community-card h4 {
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  color: var(--color-light);
  text-align: center;
}

.community-card .full-text {
  display: none;
}

.community-card.expanded .full-text {
  display: block;
}

.community-card.expanded .short-text {
  display: none;
}

.toggle-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.9rem;
}

/* Grow section */
.grow-section {
  text-align: center;
  background: var(--color-dark);
  color: var(--color-light);
  max-width: 100%;
}

.grow-section h2 {
  color: var(--color-light);
}

/* Newsletter */
.newsletter-section {
  text-align: center;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.newsletter-form input[type="email"] {
  padding: 0.7rem 1rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  min-width: 260px;
}

/* News page */
.news-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 1.5rem 0;
}

.news-item .news-date {
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.news-item h4 {
  margin: 0.4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

/* Contact page */
.contact-info {
  text-align: center;
  margin-bottom: 2rem;
}

form.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
}

form.contact-form input,
form.contact-form textarea {
  padding: 0.7rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-family: var(--font-body);
}

.form-note {
  font-size: 0.8rem;
  color: #777777;
  text-align: center;
}

.map-note {
  text-align: center;
  font-size: 0.85rem;
  color: #777777;
  margin-top: 1rem;
}

/* Footer */
footer.site-footer {
  background: var(--color-dark);
  color: var(--color-light);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

footer.site-footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

footer.site-footer .social-icons {
  justify-content: center;
  margin-bottom: 1rem;
}

footer.site-footer p {
  font-size: 0.85rem;
  margin: 0.2rem 0;
}

footer.site-footer a.powered-by {
  color: #aaaaaa;
  text-decoration: underline;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-light);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 100;
}

.cookie-banner p {
  font-size: 0.85rem;
  max-width: 700px;
}

.cookie-banner.hidden {
  display: none;
}

@media (max-width: 700px) {
  nav.main-nav ul {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  header.site-header {
    flex-direction: column;
    gap: 1rem;
  }
}
