/* 
   Main Stylesheet for aichldporn.love
   Mobile-first responsive design with modern UI elements
*/

/* Base Styles & CSS Reset */
:root {
  --primary-color: #8A2BE2;     /* Vibrant purple */
  --secondary-color: #4ECDC4;   /* Turquoise */
  --accent-color-1: #FF6B6B;    /* Coral red */
  --accent-color-2: #FFE66D;    /* Sunshine yellow */
  --accent-color-3: #FF9F1C;    /* Orange */
  --dark-color: #1A535C;        /* Dark teal */
  --light-color: #F7FFF7;       /* Off-white */
  --text-color: #2B2D42;        /* Dark blue-gray */
  --text-light: #8D99AE;        /* Light blue-gray */
  --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, #6A5ACD 100%);
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

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

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

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

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.8rem;
  position: relative;
  margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
}

section {
  padding: 4rem 0;
}

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

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

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

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

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
}

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

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

/* Hero Section */
.hero {
  background: var(--bg-gradient);
  color: white;
  text-align: center;
  padding: 6rem 0;
  border-radius: 0 0 30px 30px;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.hero h2:after {
  display: none;
}

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

.highlight {
  color: var(--accent-color-2);
  position: relative;
  z-index: 1;
}

/* Call to Action Button */
.cta-button {
  display: inline-block;
  background: var(--accent-color-1);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
  background: var(--accent-color-3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
  color: white;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Featured Section */
.featured {
  background-color: white;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: center;
  padding: 30px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
}

.card p {
  color: var(--text-light);
  margin-bottom: 25px;
}

.card-button {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.card-button:hover {
  background: var(--accent-color-3);
  color: white;
}

/* Categories Section */
.categories {
  background-color: #f9f9f9;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  width: 120px;
  transition: var(--transition);
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
  margin-bottom: 15px;
}

.category-item span {
  font-weight: 600;
  color: var(--dark-color);
}

/* About Section */
.about {
  background: white;
}

.about p {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-light);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 3rem;
}

.feature {
  text-align: center;
  padding: 25px;
  border-radius: 15px;
  background: #f9f9f9;
  transition: var(--transition);
}

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

.feature-icon {
  margin-bottom: 15px;
}

.feature h3 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

.feature p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.cta-container {
  text-align: center;
  background: var(--dark-color);
  padding: 40px;
  border-radius: 15px;
  color: white;
  margin-top: 3rem;
}

.cta-container h3 {
  margin-bottom: 20px;
  color: white;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo p {
  margin-left: 15px;
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.site-logo-footer {
  margin-right: 10px;
}

.footer-links h4, 
.footer-legal h4 {
  color: var(--accent-color-2);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: white;
  opacity: 0.8;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--accent-color-2);
}

.footer-legal p {
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Media Queries for Responsive Design */
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  nav ul {
    margin-top: 0;
  }
  
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .hero h2 {
    font-size: 2.8rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero, .card, .feature, .category-item {
  animation: fadeIn 0.8s ease-out forwards;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.4s;
}

/* Accessibility Improvements */
:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
