/* ============================= */
/* VARIABLES & THEMES            */
/* ============================= */
:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --white: #fff;
  --black: #000;
  --transition: all 0.3s ease;
  --body-bg: linear-gradient(135deg, #000, #222);
  --text-color: var(--white);
  --purple: #4b0082;
  --light-gray: #ddd;
}

/* LIGHT MODE */
body.light-mode {
  --glass-bg: rgba(0, 0, 0, 0.05);
  --glass-border: rgba(0, 0, 0, 0.15);
  --white: #000;
  --black: #fff;
  --body-bg: linear-gradient(135deg, #f0f0f0, #fff);
  --text-color: #000;
}

/* ============================= */
/* GLOBAL STYLES                 */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
  background: var(--body-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition);
}

/* ============================= */
/* NAVBAR                        */
/* ============================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-menu button {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.navbar-menu button:hover {
  color: #aaa;
}

.dropdown-menu {
  display: none;
  position: absolute;
  margin-top: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.navbar-menu:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(0,0,0,0.05);
}

/* AUTH BUTTONS & PROFILE */
.auth-buttons {
  display: flex;
  gap: 15px;
}

.auth-btn {
  color: var(--text-color);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--text-color);
  border-radius: 20px;
  transition: var(--transition);
}

.auth-btn:hover {
  background: var(--text-color);
  color: var(--black);
}

.profile-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-inline img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--text-color);
}

.profile-actions a {
  margin-left: 10px;
  color: var(--text-color);
  font-size: 14px;
  text-decoration: none;
}

.profile-actions a:hover {
  text-decoration: underline;
}

/* ============================= */
/* LOGO & NAME                   */
/* ============================= */
.logo-section {
  text-align: center;
  margin: 40px 0 20px;
}

.logo-section img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--text-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.church-name {
  font-size: 30px;
  font-weight: 700;
  margin-top: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================= */
/* SLIDER                        */
/* ============================= */
.slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  margin: 20px auto;
  max-width: 1000px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider img.active {
  opacity: 1;
  z-index: 1;
}

/* ============================= */
/* DAILY VERSE                   */
/* ============================= */
.daily-verse {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  text-align: center;
  padding: 30px 20px;
  margin: 40px auto;
  border-radius: 16px;
  max-width: 700px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.daily-verse h2 {
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.verse-box {
  font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  padding: 20px;
  background: rgba(0,0,0,0.05);
  border-left: 4px solid var(--text-color);
  border-radius: 8px;
}

.verse-ref {
  margin-top: 10px;
  font-weight: bold;
  display: block;
}

/* ============================= */
/* BUTTONS                       */
/* ============================= */
.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
}

.action-buttons button {
  width: 220px;
  padding: 14px;
  font-size: 18px;
  font-weight: 600;
  background: var(--glass-bg);
  color: var(--text-color);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.action-buttons button:hover {
  background: rgba(0,0,0,0.05);
  transform: scale(1.05);
}

.action-buttons a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* ============================= */
/* FOOTER                        */
/* ============================= */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  color: var(--text-color);
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid var(--glass-border);
}

footer h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 1px;
}

footer p {
  font-size: 14px;
  margin-bottom: 10px;
}

.social-icons {
  margin: 15px 0;
}

.social-icons a {
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* ============================= */
/* LIGHT MODE TOGGLE BUTTON      */
/* ============================= */
.toggle-btn {
  background: transparent;
  border: 1px solid var(--text-color);
  border-radius: 20px;
  color: var(--text-color);
  padding: 6px 14px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.toggle-btn:hover {
  background: var(--text-color);
  color: var(--black);
}

/* ============================= */
/* AUTH PAGES (LOGIN & SIGNUP)   */
/* ============================= */
.signup-container,
.login-container {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  margin: 60px auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  text-align: center;
  transition: var(--transition);
}

.signup-container:hover,
.login-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.8);
}

.signup-container img.logo,
.login-container img.logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white);
  margin-bottom: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.brand-name {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.signup-container h2,
.login-container h2 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: bold;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  font-weight: 500;
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: var(--transition);
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.7);
}

.form-group input:focus {
  border-color: var(--white);
  outline: none;
  background: rgba(255,255,255,0.15);
}

.signup-btn,
.login-btn {
  width: 100%;
  padding: 12px;
  background: var(--purple);
  color: var(--white);
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.signup-btn:hover,
.login-btn:hover {
  background: #360061;
  transform: scale(1.05);
}

.login-link,
.signup-link {
  display: block;
  margin-top: 20px;
  font-size: 14px;
}

.login-link a,
.signup-link a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.login-link a:hover,
.signup-link a:hover {
  color: #aaa;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */
@media(max-width:768px) {
  .navbar { padding: 10px 5%; }
  .logo-section img { width: 100px; height: 100px; }
  .church-name { font-size: 22px; }
  .slider { height: 250px; }
  .slider img { height: 250px; }
  .action-buttons button { width: 80%; }

  .signup-container, .login-container {
    width: 90%;
    padding: 30px 20px;
  }
}