@charset "UTF-8";

/* === Base === */
body {
  font-family: 'Source Sans Pro', sans-serif;
  background: #f2f2f2;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  background: #fff;
}

/* Visually hidden (accessible) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* === Header/Nav === */
header {
  background: #52bad5;
  border-bottom: 1px solid #2C9AB7;
  padding: 1rem;
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.nav a:hover {
  color: #2C9AB7;
}

/* === Hero === */
.hero {
  background: #52bad5;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}

.hero_header {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-family: Constantia, Georgia, serif;
  color: #00c;
  margin: 1rem 0;
}

.tagline {
  font-size: 1.5rem;
  color: #00c;
  font-weight: 600;
}

/* Position logos inside hero */
.RYElogo, .RotaryLogo {
  position: absolute;
  width: 187px;
  height: auto;
  top: 50px;
  left: 20px;
}
.RotaryLogo {
  top: 250px;
}

/* === About Section === */
.about {
  padding: 3rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  color: #0000cc;
}

.about .highlight {
  color: #c00;
  font-weight: bold;
}

.email-link {
  color: #c00;
  text-decoration: underline;
}

/* === Parallax Banner === */
.banner {
  background: #2D9AB7 url('../images/parallax.png') no-repeat center/cover;
  color: #fff;
  text-align: center;
  padding: 5rem 1rem;
}

.parallax {
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.parallax_description {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  font-weight: lighter;
}

.ripplesT {
  font-size: 1.2rem;
  font-style: italic;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* === Footer === */
footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  background: #fff;
  padding: 2rem;
}

footer h3 {
  font-size: 1.5rem;
  color: #900;
  font-family: Constantia, Georgia, serif;
  margin-bottom: 0.5rem;
}

footer h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

footer p {
  background: #f0f0f0;
  padding: 1rem;
  color: #00c;
  text-align: justify;
}

.expl1 {
  font-size: 1.1rem;
  color: #900;
  font-weight: 700;
}

/* === Footer Banner with Download === */
.footer_banner {
  background: #b3b3b3 url('../images/YEgroup.jpg') no-repeat center/cover;
  padding: 6rem 1rem;
  text-align: center;
  position: relative;
}

.footer_banner_overlay {
  background: #fff;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

.latest_news {
  font-size: 1.8rem;
  color: #996633;
  font-weight: 600;
  margin-bottom: 1rem;
}

.button {
  background: #fff;
  border: 3px solid #996633;
  color: #996633;
  padding: 1rem 2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s ease;
  cursor: pointer;
}
.button:hover {
  background: #996633;
  color: #fff;
}

/* === Copyright === */
.copyright {
  text-align: center;
  background: #717070;
  color: #fff;
  padding: 1rem;
  text-transform: uppercase;
  font-weight: lighter;
  letter-spacing: 2px;
}

/* === Responsive tweaks === */
@media (min-width: 768px) {
  .hero {
    padding: 8rem 2rem;
  }
  .about {
    grid-template-columns: repeat(3, 1fr);
  }
  footer {
    grid-template-columns: repeat(2, 1fr);
  }
}
