/* Dark Theme Styling with Celestial Background */
body {
  background: #0a0a0a;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.48) 50%,
      rgba(0, 0, 0, 0.48) 100%
    ),
    url(var(--public-url, "/images/background.png"));
  background-attachment: fixed;
  background-size: cover, cover, cover;
  background-position: center, center, center;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
        /* Earth-like circle */ radial-gradient(
      circle at 85% 25%,
      rgba(150, 200, 255, 0.12) 0%,
      transparent 25%
    ),
    /* Doves/birds - stylized paths */
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path d="M200 400 Q300 300 400 400 T600 400" stroke="%23ffffff" stroke-width="1.5" fill="none" opacity="0.12"/><path d="M800 500 Q900 400 1000 500 T1200 500" stroke="%23ffffff" stroke-width="1.5" fill="none" opacity="0.12"/><path d="M300 600 Q400 500 500 600 T700 600" stroke="%23ffffff" stroke-width="1.5" fill="none" opacity="0.12"/><path d="M100 300 Q150 250 200 300" stroke="%23ffffff" stroke-width="1.5" fill="none" opacity="0.1"/><path d="M900 350 Q950 300 1000 350" stroke="%23ffffff" stroke-width="1.5" fill="none" opacity="0.1"/></svg>');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.inlineLinks {
	color:#FFF;
	text-decoration: none;
}

/* Navbar Styling */
.navbar {
  background-color: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 1rem 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 400;
  font-size: 1rem;
  color: #ffffff !important;
  line-height: 1.4;
}

.navbar-brand-text {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
  white-space: normal;
  max-width: 200px;
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 400;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #4a9eff !important;
}

.navbar-nav .nav-link.active {
  background-color: #6bb6ff;
  color: #ffffff !important;
  border-radius: 5px;
}

/* Main Content */
.main-content {
  flex: 1;
  padding-top: 80px; /* Account for fixed navbar */
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Home Section */
.home-section {
  padding: 1.5rem 0;
}

.home-section h1 {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
}

.welcome-text {
  text-align: left;
  font-size: 1.3rem;
  font-family: "Times New Roman", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

.welcome-text p {
  color: #ffffff;
}

.welcome-text strong {
  color: #6bb6ff;
  font-weight: 600;
}

.church-image-wrapper {
  margin-top: 1rem;
}

.church-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

label {
  font-family: "Times New Roman", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Footer */
.footer {
  background-color: rgba(10, 10, 10, 0.95);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  width: 100%;
  z-index: 1;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin: 0;
}

.recaptcha-wrapper {
  transform: scale(1);
  transform-origin: 0 0;
  transform-origin: center;
}

/* Scale down on small smartphones */
@media (max-width: 380px) {
  .recaptcha-wrapper {
    transform: scale(0.90);
  }
}

/* Extra small devices (narrow screens) */
@media (max-width: 340px) {
  .recaptcha-wrapper {
    transform: scale(0.80);
  }
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .home-section h1 {
    font-size: 2rem;
  }

  .welcome-text {
    text-align: left;
    margin-top: 2rem;
  }

  .main-content {
    padding-top: 70px;
  }
}

@media (max-width: 575.98px) {
  .home-section h1 {
    font-size: 1.75rem;
  }

  .welcome-text {
    font-size: 1rem;
  }

  .navbar-brand {
    font-size: 0.95rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
