* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #FFF8DC; /* cream */
  font-family: 'Source Sans 3', sans-serif;
  color: #000000;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
}

/* navigation */
.navbar {
  background-color: #004D40; /* teal-green */
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* college identity at top LEFT */
.college-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background-color: rgba(255,248,220,0.15);
  padding: 0.3rem 1.2rem 0.3rem 1rem;
  border-radius: 40px;
}
.college-logo {
  width: 70px;   /* change size if needed */
  height: auto;
}
.college-name {
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.college-name small {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.9;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* main container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

/* ----- HERO SECTION ----- */
.hero-section {
  margin-bottom: 4rem;
}

.hero-image {
  position: relative;
  height: 500px;
  background-image: url('confback2.png');
  background-size: cover;
  background-position: center 30%;
  mask: linear-gradient(to right, transparent 0%, black 25%);
  -webkit-mask: linear-gradient(to right, transparent 0%, black 25%);
}

.hero-title {
  text-align: center;
  margin-top: 2rem;
}
.hero-title h1 {
  font-size: 3.5rem;
  color: #004D40;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.02);
}

/* ----- GALLERY (clustered five) ----- */
.gallery-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin: 4rem 0;
}
.gallery-item {
  flex: 0 1 180px;
  height: 140px;
  position: relative;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- CHOIR SECTION (left image, right text) ----- */
.choir-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 4rem 0;
  align-items: center;
}
.choir-image {
  flex: 1 1 300px;
  position: relative;
  height: 260px;
  overflow: hidden;
}
.choir-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.choir-text {
  flex: 1 1 300px;
}
.choir-text h2 {
  font-size: 2.2rem;
  color: #004D40;
  margin-bottom: 1rem;
}
.choir-text p {
  font-size: 1.2rem;
}

/* ----- LEADERSHIP (staggered rows) ----- */
.leader-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  margin: 5rem 0;
}
.leader-row.reverse {
  flex-direction: row-reverse;
}
.leader-text {
  flex: 1 1 300px;
}
.leader-text h3 {
  font-size: 2rem;
  color: #004D40;
  margin-bottom: 1rem;
}
.leader-text p {
  font-size: 1.2rem;
}
.leader-image {
  flex: 1 1 100px;
  position: relative;
  height: 350px;
  overflow: hidden;
}
.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* special shape for bottom frame */
.special-frame {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  margin: 5rem 0 3rem;
}
.special-text {
  flex: 1 1 300px;
}
.special-text p {
  font-size: 1.2rem;
}
.special-image {
  flex: 1 1 300px;
  position: relative;
  height: 340px;
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 85% 100%, 15% 100%, 0% 75%);
}
.special-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- FOOTER (with background image and no solid green overlay) ----- */
footer {
  margin-top: 2rem;
  position: relative;
  color: white;
  padding: 3rem 2rem 2rem;
  background-image: url('confbackground.png'); /* church in green landscape */
  background-size: cover;
  background-position: center;
}

/* subtle dark overlay to make white text pop, but image remains visible */
footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  pointer-events: none;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

/* left: college logo+name (bottom left) */
.footer-brand {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.footer-brand .logo-wrapper {
  background-color: #FFF8DC;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #004D40;
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}
.footer-brand .brand-name {
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}
.footer-brand .brand-sub {
  font-size: 1rem;
  opacity: 0.95;
}

/* quick links column (middle) */
.footer-links {
  flex: 1 1 200px;
}
.footer-links h3 {
  color: white;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.quik-links {
  list-style: none;
}
.quik-links li {
  margin-bottom: 0.6rem;
}
.quik-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.quik-links a:hover {
  text-decoration: underline;
}

/* address + social column (right) */
.footer-address-social {
  flex: 1 1 240px;
}
.instagram-address {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.instagram-address i {
  font-size: 2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.address p {
  line-height: 1.6;
}

hr {
  border: 1px solid rgba(255,255,255,0.2);
  margin: 2rem 0 1rem;
}
.copyright {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ---------- FEATHERED OVERLAY (applies to all images to blend into cream) ---------- */
.gallery-item::after,
.choir-image::after,
.leader-image::after,
.special-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle, transparent 55%, #FFF8DC 95%);
  mix-blend-mode: normal;
}

.leader-image.oval-mask::after {
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, #FFF8DC 95%);
}
.leader-image.circle-mask::after {
  background: radial-gradient(circle, transparent 50%, #FFF8DC 95%);
}
.leader-image.vignette::after {
  background: radial-gradient(circle, transparent 40%, #FFF8DC 100%);
}
.choir-image::after {
  background: radial-gradient(circle, transparent 60%, #FFF8DC 95%);
}
.special-image::after {
  background: radial-gradient(circle, transparent 50%, #FFF8DC 100%);
}

.leader-image.oval-mask {
  clip-path: ellipse(45% 35% at 50% 50%);
}
.leader-image.circle-mask {
  clip-path: circle(40% at 50% 50%);
}

/* responsive tweaks */
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-title h1 {
    font-size: 2.5rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
  }
}