/* ===================================
   Institutional Church Event Website
   Escola Bíblica de Obreiros 2026
   =================================== */

/* CSS Variables - Color Palette */
:root {
  --deep-blue: #1e3a8a;
  --royal-blue: #2563eb;
  --turquoise: #14b8a6;
  --aqua: #06b6d4;
  --teal: #0d9488;
  --white: #ffffff;
  --white-soft: #f8fafc;
  --gray-light: #e2e8f0;
  --gray-medium: #64748b;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Lato', sans-serif;
  background-color: var(--white);
  color: var(--deep-blue);
  overflow-x: hidden;
}

/* Background Container */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ffffff 100%);
}

/* Gradient Orbs - Subtle Premium Effects */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--deep-blue);
  top: -200px;
  right: -100px;
}

.gradient-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--royal-blue);
  bottom: -150px;
  left: -100px;
}

.gradient-orb-3 {
  width: 400px;
  height: 400px;
  background: var(--turquoise);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
}

/* Main Content - Full Viewport */
.main-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

/* Content Wrapper */
.content-wrapper {
  max-width: 800px;
  width: 100%;
  text-align: center;
  position: relative;
}

/* Logos Container - Inside Content Wrapper */
.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  border-radius: 8px;
}

.logo-item {
  max-height: 70px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-item:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Logo 2 - Larger Size */
.logo-item-large {
  max-height: 120px;
  max-width: 240px;
}

/* Top Decorative Accent */
.top-accent {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--deep-blue), var(--royal-blue), var(--turquoise));
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Event Title - Poppins Bold */
.event-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--deep-blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(30, 58, 138, 0.1);
}

/* Event Theme - Lato Regular */
.event-theme {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: var(--gray-medium);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Divider */
.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--royal-blue), transparent);
  margin: 0 auto 2.5rem;
}

/* Main Message */
.main-message {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--deep-blue);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

/* Secondary Message */
.secondary-message {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-medium);
  margin-bottom: 3rem;
}

/* Loading Indicator - CSS Based */
.loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.loading-dot {
  width: 10px;
  height: 10px;
  background: var(--royal-blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
  background: var(--turquoise);
}

.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
  background: var(--teal);
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bottom Decorative Accent */
.bottom-accent {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
  margin: 2.5rem auto 0;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
}

.footer p {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: var(--gray-medium);
  letter-spacing: 0.05em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main-content {
    padding: 1.5rem;
  }
  
  .content-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .top-accent,
  .bottom-accent {
    width: 60px;
  }
  
  .event-title {
    letter-spacing: 0.05em;
  }
  
  .logos-container {
    gap: 1rem;
    padding: 1rem;
  }
  
  .logo-item {
    max-height: 50px;
    max-width: 80px;
  }

  .logo-item-large {
    max-height: 70px;
    max-width: 110px;
  }
}

/* Premium Card Effect (Optional Enhancement) */
.content-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.03), rgba(37, 99, 235, 0.03), rgba(20, 184, 166, 0.03));
  border-radius: 20px;
  z-index: -1;
}
