/* ========================================================= */
/* 🎨 MAIN STYLESHEET - LORE-RC Website                    */
/* ========================================================= */

/* Full-page layout */
body, html {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  /* ✅ Prevent horizontal scroll on all devices */
  overflow-x: hidden;
}

/* ========================================================= */
/* 🎥 VIDEO BACKGROUND SECTION                              */
/* ========================================================= */

/* Video background - fixed behind all content */
#bgVideo {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Dark overlay for better text readability */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.5);
  z-index: -1;
} 

/* ========================================================= */
/* 🔤 TYPOGRAPHY & FONTS                                    */
/* ========================================================= */

/* Google Font - Share Tech for headings */
.share-tech-regular {
  font-family: "Share Tech", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 5rem;   /* bigger size */
  font-weight: 700;  /* bold */
  line-height: 1.2;
}

/* Hero description text */
.hero-desc {
  font-size: 1.5rem; /* smaller size than heading */
  font-weight: 400;
  line-height: 1.5;
}

/* Hero member text */
.hero-mem {
  font-size: 2rem; /* smaller size than heading */
  font-weight: 400;
  line-height: 1.5;
}

/* ========================================================= */
/* 🎯 HERO CONTAINER & CARDS SECTION                        */
/* ========================================================= */

/* ✅ FIXED: Changed from absolute to relative positioning to prevent overlaps */
/* ✅ CENTERED: Welcome card now centered vertically on screen */
.hero-container {
  position: fixed; /* Fixed positioning for viewport centering */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Perfect centering */
  width: 100%;
  max-width: 600px;
  padding: 0 20px; /* Side padding for mobile */
  text-align: center;
  z-index: 5; /* Above background but below navbar */
}

/* ✅ FIXED: Hero cards now stack properly without overlapping */
.hero-card {
  position: relative; /* Changed from absolute */
  width: 100%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none; /* prevent interaction when hidden*/ 
  margin-bottom: 20px; /* Add spacing between cards */
}

/* Active hero card - visible and interactive */
.hero-card.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto; /* allow interaction when active*/
}

/* ========================================================= */
/* 🧭 NAVBAR SECTION                                        */
/* ========================================================= */

/* ✅ FIXED: Navbar positioning - fixed at top with proper z-index */
.nav-custom {
  position: fixed; /* Changed from absolute to fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* Ensure navbar stays on top */
  width: 100%;
  padding: 15px 0; /* Add vertical padding */
}

/* ✅ FIXED: Container fluid with proper flexbox alignment */
.nav-custom .container-fluid {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 1200px; /* Prevent navbar from stretching too wide */
  margin: 0 auto;
  padding: 0 20px; /* Side padding */
}

/* Right side links positioning */
.right-links {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%); /* Center vertically */
}

/* ========================================================= */
/* 🖼️ LOGO STYLES                                          */
/* ========================================================= */

/* ✅ FIXED: Logo wrapper with proper flex alignment */
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center; /* Center logo */
  gap: 0.6rem;
  text-decoration: none;
  width: 100%; /* Full width for centering */
}

/* ✅ FIXED: Logo image size - reduced to prevent overlap */
.logo-img {
  height: 100px; /* Reduced from 140px to prevent overlap */
  width: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%; /* Prevent overflow on small screens */
}

/* Logo hover effect */
.logo-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(255,255,255,0.2);
}

/* Brand text styling */
.brand-text {
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* ========================================================= */
/* 🎴 GLASS CARD COMPONENTS                                 */
/* ========================================================= */

/* ✅ FIXED: Hero section positioning - relative instead of absolute */
.hero {
  position: relative; /* Changed from absolute */
  width: 100%;
  max-width: 700px;
  margin: 120px auto 40px; /* Top margin for navbar, bottom margin for spacing */
  padding: 0 20px; /* Side padding for mobile */
  z-index: 5;
  text-align: center;
}

/* Glass card styling */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 60px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: inline-block;
  text-align: center;
  color: #fff;
  max-width: 700px;
  width: 100%; /* Full width on mobile */
  margin: 0 auto;
}

/* Glass card heading spacing */
.glass-card h1 { 
  margin-bottom: 20px; 
}

/* Glass card paragraph spacing */
.glass-card p { 
  margin-bottom: 30px; 
}

/* Glass card button styling */
.glass-card .btn {
  box-shadow: 0 6px 28px rgba(255,193,7,0.25);
  transition: transform 0.3s ease;
}

/* Glass card button hover effect */
.glass-card .btn:hover { 
  transform: scale(1.05); 
}

/* ========================================================= */
/* 🔐 LOGIN CARD SPECIFIC STYLES                            */
/* ========================================================= */

/* Glassmorphism card for login */
.login-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 100%; /* Full width on mobile */
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  margin: 0 auto; /* Center the card */
}

/* Input fields styling */
.login-card input {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  width: 100%; /* Full width to prevent overflow */
}

/* Input placeholder styling */
.login-card input::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Button hover effect */
.login-card button:hover {
  background: #ffc107;
  color: #111;
}

/* ========================================================= */
/* 📄 FOOTER SECTION                                        */
/* ========================================================= */

/* Footer styling */
.footer {
  color: #fff;
  text-align: center;
  padding: 15px 0;
  width: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 5;
  position: relative; /* Relative positioning */
  margin-top: 40px; /* Space above footer */
}

/* ========================================================= */
/* 📱 RESPONSIVE DESIGN - MOBILE & TABLET                   */
/* ========================================================= */

/* Tablet and smaller desktop (max-width: 992px) */
@media (max-width: 992px) {
  /* Reduce logo size on tablets */
  .logo-img { 
    height: 90px; 
  }
  
  /* Adjust glass card padding */
  .glass-card { 
    padding: 30px 40px; 
    max-width: 90%; 
  }
  
  /* Hide right links on smaller screens */
  .right-links { 
    display: none; 
  }
  
  /* Adjust hero container padding */
  .hero-container {
    padding: 100px 15px 30px;
  }
}

/* Mobile devices (max-width: 767px) */
@media (max-width: 767px) {
  /* ✅ FIXED: Smaller logo on mobile to prevent overlap */
  .logo-img { 
    height: 70px; /* Further reduced for mobile */
  }
  
  /* ✅ FIXED: Reduced glass card padding for mobile */
  .glass-card { 
    padding: 20px 25px; /* Reduced padding */
    max-width: 95%; /* Slightly smaller on mobile */
  }
  
  /* ✅ FIXED: Adjust hero container for mobile */
  .hero { 
    padding: 0 15px; 
    margin-top: 100px; /* Account for navbar */
  }
  
  /* ✅ FIXED: Smaller font sizes on mobile */
  .share-tech-regular {
    font-size: 2.5rem; /* Reduced from 5rem */
  }
  
  .hero-desc {
    font-size: 1.1rem; /* Reduced from 1.5rem */
  }
  
  .hero-mem {
    font-size: 1.2rem; /* Reduced from 2rem */
  }
  
  /* ✅ FIXED: Navbar container adjustments */
  .nav-custom .container-fluid {
    padding: 0 15px; /* Reduced side padding */
  }
  
  /* ✅ FIXED: Hero container mobile adjustments */
  .hero-container {
    padding: 90px 10px 20px;
    min-height: calc(100vh - 70px);
  }
}

/* Extra small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
  /* Even smaller logo */
  .logo-img { 
    height: 60px; 
  }
  
  /* Minimal padding for very small screens */
  .glass-card { 
    padding: 15px 20px; 
  }
  
  /* Smaller heading */
  .share-tech-regular {
    font-size: 2rem;
  }
  
  /* Smaller description */
  .hero-desc {
    font-size: 1rem;
  }
  
  /* Smaller member text */
  .hero-mem {
    font-size: 1rem;
  }
}
