:root {
  --default-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-dark: #4b2743;
  --color-purple: #5a2a57;
  --color-main-bg: #fff6ef;
  --color-nav: #e7d2df;
  --color-white: #ffffff;
}

/* --- Global Reset --- */
html { font-size: 16px; }
body {
  margin: 0;
  font-family: var(--default-font-family);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden; 
}
*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }

.main-container { display: flex; flex-direction: column; min-height: 100vh; }

/* --- STANDARDIZED HEADER --- */
.header {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap; 
  padding: 1rem 2rem; 
  background: #ffffff;
  
  /* THIS IS THE NEW 3D SHADOW */
  box-shadow: 0 4px 15px rgba(75, 39, 67, 0.08); 
  
  position: relative; 
  z-index: 100; 
}

.logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: 'Cormorant Garamond', serif; color: var(--color-purple); font-size: 2rem;
}

.green-cross-design {
  width: 2.625rem; height: 3.9375rem;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2025-10-01/Y3qA72zk9z.png) no-repeat center;
  background-size: cover;
}

.hamburger {
  display: none; background: none; border: none;
  font-size: 2rem; color: var(--color-dark); cursor: pointer;
}

.nav-bar { display: flex; align-items: center; gap: 2rem; }
.nav-bar a {
  position: relative; color: #3c2139; font-size: 1.15rem; font-weight: 500; padding: 0.5rem 0;
}
.nav-bar a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  background-color: #3c2139; transform: translateX(-50%); transition: width 0.3s ease;
}
.nav-bar a:hover::after, .nav-bar a.active::after { width: 100%; }

/* --- CONTACT MAIN SECTION --- */
.main-section {
  display: flex; justify-content: center; align-items: center; gap: 6rem;
  padding: 5rem 2rem; background: var(--color-main-bg); width: 100%; flex-grow: 1;
}

.frame-f { width: 100%; max-width: 33rem; }
.st-christophers-church {
  width: 100%; padding-bottom: 130%; 
  background: url('./images/contactus.jpg') no-repeat center/cover;
  border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.frame-10 { display: flex; flex-direction: column; align-items: center; gap: 4rem; text-align: center; }
.contact-us-11 { font-family: 'Cormorant Garamond', serif; font-size: 3.75rem; font-weight: 600; line-height: 1.2; }
.frame-12 { display: flex; flex-direction: column; gap: 3rem; }
.frame-13, .frame-14, .frame-17 { display: flex; flex-direction: column; gap: 1rem; }
.email, .contact-us-15, .visit-us { font-weight: 600; font-size: 1.5625rem; }
.abc-gmail-com, .phone-number, .address { font-size: 1.5rem; font-weight: 400; max-width: 25rem; line-height: 1.4; }

/* Address Link Hover Effect */
.address a:hover { color: var(--color-purple); text-decoration: underline; }

/* --- STANDARDIZED FOOTER --- */
.footer { width: 100%; display: flex; flex-direction: column; }
.footer-top {
  display: flex; justify-content: space-evenly; padding: 4rem 2rem;
  background: var(--color-dark); flex-wrap: wrap; gap: 2rem;
}
.footer-column { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-title { color: #fff6ef; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; }
.footer-data { color: #fff6ef; font-size: 1rem; }

.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  padding: 2rem; background: #331a2d; position: relative; flex-wrap: wrap; gap: 1rem;
}
.footer-hall-booking { display: flex; gap: 1rem; align-items: center; }
.credits { position: absolute; right: 2rem; color: rgba(255, 255, 255, 0.3); font-size: 0.9rem; }

.credits {
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;

}


/* =========================================
   MOBILE RESPONSIVENESS (Screens < 768px)
========================================= */
@media (max-width: 768px) {
  
  /* Shared Header Mobile */
  .header { flex-wrap: nowrap; align-items: center; padding: 1rem; }
  .logo { font-size: 1.1rem; line-height: 1.2; flex: 1; }
  .green-cross-design { width: 2rem; height: 3rem; flex-shrink: 0; }
  .hamburger { display: block; margin-left: 1rem; padding: 0.5rem; }
  
  /* Right-Aligned Dropdown Nav */
  .nav-bar {
    display: none; flex-direction: column; align-items: flex-end; padding-right: 2rem;
    width: 100%; background-color: var(--color-nav); position: absolute;
    top: 100%; left: 0; padding-top: 1.5rem; padding-bottom: 1.5rem; box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  .nav-bar.active { display: flex; }

  /* Contact Us Layout Mobile */
  .main-section { flex-direction: column; padding: 3rem 1.5rem; gap: 3rem; }
  .contact-us-11 { font-size: 2.5rem; }
  .frame-10 { padding: 0; width: 100%; }
  
  /* Text resizing for small screens */
  .email, .contact-us-15, .visit-us { font-size: 1.3rem; }
  .abc-gmail-com, .phone-number, .address { font-size: 1.1rem; }

  /* Shared Footer Mobile */
  .footer-top { flex-direction: column; gap: 2rem; align-items: center; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-hall-booking { flex-direction: column; text-align: center; }
  .social-media { position: static; margin-top: 1rem; }
}