/* 
 * Main Stylesheet for freeaipornreddit.love
 * Fully responsive design optimized for all devices
 */

:root {
  --primary-color: #FF5733;
  --secondary-color: #FF8D33;
  --accent-color: #C84000;
  --text-color: #333333;
  --light-text: #666666;
  --bg-color: #FFFFFF;
  --light-bg: #FFF5F2;
  --dark-bg: #2E2E2E;
  --border-radius: 10px;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  --transition: all 0.25s ease;
}

/* Base Styles */
* {
  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(--bg-color);
}

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

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

/* Header Styles */
header {
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-svg {
  height: 2rem;
  width: auto;
}

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

nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 1.5rem;
  position: relative;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-bg) 0%, #FFE0D5 100%);
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

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

.section-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--light-text);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon {
  margin-bottom: 1.5rem;
}

/* Community Section */
.community {
  padding: 5rem 0;
  background-color: var(--dark-bg);
  color: white;
}

.community h2 {
  color: white;
}

.stats {
  display: flex;
  justify-content: space-around;
  max-width: 800px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.label {
  font-size: 1.1rem;
}

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

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
  color: var(--primary-color);
}

/* Join Section */
.join {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.join h2, .join p {
  color: white;
}

.join p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.join .cta-button {
  background-color: white;
  color: var(--primary-color);
}

.join .cta-button:hover {
  background-color: var(--light-bg);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: #CCC;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.footer-menu {
  display: flex;
  gap: 4rem;
}

.menu-column h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.menu-column ul li {
  margin-bottom: 0.75rem;
}

.menu-column a {
  color: #BBB;
}

.menu-column a:hover {
  color: white;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  nav li {
    margin: 1.5rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
  }
  
  .about-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-menu {
    gap: 2rem;
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .about, .community, .resources, .join {
    padding: 3rem 0;
  }
}
