/* Better Man Project - Exact Mobile App Design Match */

:root {
  --dark-header: #2a2a2a;
  --brown-start: #8b4513;
  --brown-end: #d2691e;
  --light-green: #90ee90;
  --text-light: #ffffff;
  --text-cream: #f5f5dc;
  --card-border: #cd853f;
  --card-bg: rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background: linear-gradient(180deg, var(--brown-start) 0%, var(--brown-end) 100%);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.5;
}

/* Header - matches mobile app exactly */
header {
  background: var(--dark-header);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.logo {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: normal;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark-header);
  flex-direction: column;
  padding: 1rem;
  list-style: none;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  margin: 0.5rem 0;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: block;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--brown-end);
}

.nav-links a.cta {
  background: var(--light-green);
  color: var(--dark-header);
  font-weight: bold;
  text-align: center;
}

/* Main Content */
main {
  padding: 2rem 1rem;
  max-width: 100%;
}

/* AI Apologetics Section - exact match */
.ai-apologetics {
  margin-bottom: 3rem;
}

.ai-apologetics h1 {
  font-size: 2.5rem;
  color: var(--text-cream);
  margin-bottom: 1.5rem;
  font-weight: normal;
  font-style: italic;
  line-height: 1.2;
}

.ai-description {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Question Cards - exact mobile app styling */
.question-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.question-card {
  background: transparent;
  border: 2px solid var(--card-border);
  border-radius: 15px;
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.question-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.question-icon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: bold;
}

.question-card h3 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: normal;
  font-style: italic;
  text-align: center;
}

.question-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* Browse Themes Section - light green background */
.browse-themes {
  background: var(--light-green);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  margin: 3rem 0;
}

.browse-themes h2 {
  font-size: 1.8rem;
  color: var(--dark-header);
  margin-bottom: 1.5rem;
  font-weight: normal;
  font-style: italic;
}

.theme-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.theme-list li {
  padding: 0.5rem 0;
  color: var(--dark-header);
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.theme-list li:hover {
  opacity: 0.7;
}

.theme-list li:before {
  content: "•";
  color: var(--dark-header);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Buttons - exact mobile app styling */
.btn-primary {
  background: var(--light-green);
  color: var(--dark-header);
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
  margin: 1rem 0;
  width: 100%;
}

.btn-secondary {
  background: var(--card-border);
  color: var(--text-light);
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
  margin: 1rem 0;
  width: 100%;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Daily Devotionals Section */
.daily-devotionals {
  margin: 3rem 0;
}

.daily-devotionals h2 {
  font-size: 2rem;
  color: var(--text-cream);
  margin-bottom: 2rem;
  font-weight: normal;
  font-style: italic;
  text-align: left;
}

/* Theme Cards - dark background cards */
.theme-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.theme-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.theme-card h3 {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: normal;
  font-style: italic;
}

.theme-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

/* Forms */
.search-filter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-filter input,
.search-filter select {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem;
  color: var(--text-light);
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.search-filter input:focus,
.search-filter select:focus {
  outline: none;
  border-color: var(--light-green);
  box-shadow: 0 0 10px rgba(144, 238, 144, 0.3);
}

.search-filter input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Devotional Cards */
.devotional-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.devotional-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.devotional-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.devotional-card h2 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: normal;
}

.devotional-card .meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.devotional-card .scripture {
  color: var(--card-border);
  font-weight: bold;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(205, 133, 63, 0.1);
  border-radius: 8px;
  border-left: 4px solid var(--card-border);
}

.devotional-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Audio Controls */
audio {
  width: 100%;
  margin-top: 1rem;
  border-radius: 10px;
  background: var(--card-bg);
}

/* Study Themes */
.study-theme {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.study-theme:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.study-theme h2 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: normal;
}

.study-theme p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Journal Form */
.journal-form {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.journal-form label {
  display: block;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.journal-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem;
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 150px;
  backdrop-filter: blur(10px);
}

.journal-form textarea:focus {
  outline: none;
  border-color: var(--light-green);
  box-shadow: 0 0 10px rgba(144, 238, 144, 0.3);
}

.journal-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Signup Form */
.signup-form {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-light);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--card-border);
  border-radius: 8px;
  padding: 1rem;
  color: var(--text-light);
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.form-group input:focus {
  outline: none;
  border-color: var(--light-green);
  box-shadow: 0 0 10px rgba(144, 238, 144, 0.3);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
  line-height: 1.5;
}

/* Benefits Section */
.benefits {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.benefits h2 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: center;
  font-style: italic;
  font-weight: normal;
}

.benefits ul {
  list-style: none;
  padding: 0;
}

.benefits li {
  padding: 0.75rem 0;
  color: var(--text-light);
  font-size: 1rem;
  border-bottom: 1px solid rgba(205, 133, 63, 0.3);
}

.benefits li:last-child {
  border-bottom: none;
}

/* Footer */
footer {
  background: var(--dark-header);
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .navbar {
    padding: 0 2rem;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    gap: 2rem;
  }
  
  .nav-links li {
    margin: 0;
  }
  
  .nav-links a {
    padding: 0.5rem 1rem;
  }
  
  .theme-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .search-filter {
    flex-direction: row;
  }
  
  .search-filter input {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  main {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
  }
  
  .theme-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}