/* 
 * God's Social Network - Main Stylesheet
 * Created for Philippine audience - English language
 * Optimized for SEO and mobile responsiveness
*/

:root {
  --primary-color: #3B82F6;
  --secondary-color: #4338CA;
  --accent-color: #8B5CF6;
  --text-color: #1F2937;
  --light-text: #F9FAFB;
  --background: #FFFFFF;
  --light-bg: #F3F4F6;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-color);
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
header {
  background-color: var(--background);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

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

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.logo-svg {
  width: 40px;
  height: 40px;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 6rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.primary-btn {
  background-color: var(--accent-color);
  color: var(--light-text);
  border: 2px solid var(--accent-color);
}

.primary-btn:hover {
  background-color: transparent;
  color: var(--light-text);
}

.secondary-btn {
  background-color: transparent;
  color: var(--light-text);
  border: 2px solid var(--light-text);
}

.secondary-btn:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.about-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: var(--primary-color);
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text {
  max-width: 800px;
}

.about-text p {
  font-size: 1.1rem;
  text-align: center;
}

/* Community Section */
.community-section {
  padding: 5rem 0;
}

.community-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: var(--primary-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.value-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Faith Section */
.faith-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.faith-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  color: var(--primary-color);
}

.faith-content {
  max-width: 900px;
  margin: 0 auto;
}

.faith-content > p {
  text-align: center;
  margin-bottom: 3rem;
}

.programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.program {
  background-color: var(--background);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.program h3 {
  color: var(--secondary-color);
}

/* Games Section */
.games-section {
  padding: 5rem 0;
}

.games-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.2rem;
  color: var(--primary-color);
}

.games-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.game-card {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.game-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Join Section */
.join-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
  text-align: center;
}

.join-section h2 {
  margin-bottom: 1rem;
  font-size: 2.2rem;
  color: var(--primary-color);
}

.join-section > p {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.join-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--background);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: left;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
footer {
  background-color: #1a1a2e;
  color: var(--light-text);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo p {
  font-weight: 600;
  margin-bottom: 0;
}

.footer-logo-svg {
  width: 50px;
  height: 50px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-section h3 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section a {
  color: #aaa;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--light-text);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
  header .container {
    padding: 1rem;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    padding: 1rem;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-section,
  .community-section,
  .faith-section,
  .games-section,
  .join-section {
    padding: 3rem 0;
  }
  
  .values-grid,
  .programs,
  .games-grid {
    gap: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}
