/* 
 * Main stylesheet for aiporngeneratorfromphoto.pw
 * Mobile-first responsive design with dark purple/pink color scheme
 */

/* Base styles and reset */
:root {
  --primary: #2E0854;       /* Dark Purple */
  --secondary: #D442F5;     /* Bright Pink */
  --accent: #9D27B0;        /* Medium Purple */
  --text: #333333;          /* Dark Gray for text */
  --text-light: #ffffff;    /* White text */
  --bg-light: #f8f8f8;      /* Light background */
  --bg-dark: #1a1a1a;       /* Dark background */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  transform: translateX(-50%);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

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

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

/* Header Styles */
header {
  background-color: #ffffff;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo {
  height: 40px;
  width: auto;
}

.logo-text {
  fill: var(--primary);
  font-size: 20px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 8px;
}

.nav-toggle span:nth-child(3) {
  top: 16px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin-left: 2rem;
}

.nav-list li a {
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.nav-list li a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: all 0.3s ease;
}

.nav-list li a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  padding: 140px 0 80px;
  color: var(--text-light);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hero-text {
  flex: 1;
}

.hero-text h1,
.hero-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.primary-button {
  display: inline-block;
  background-color: #ffffff;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.primary-button:hover {
  background-color: var(--secondary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 66, 245, 0.4);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 66, 245, 0.6);
  }
  100% {
    transform: scale(1);
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: #ffffff;
}

.feature-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-box {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.feature-box.animated {
  opacity: 1;
  transform: translateY(0);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

/* Process Section */
.process {
  padding: 100px 0;
  background-color: #f5f5f5;
}

.process-steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.step.animated {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
}

.process-visual {
  max-width: 100%;
  overflow: hidden;
}

.process-flow {
  max-width: 100%;
  height: auto;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(rgba(46, 8, 84, 0.8), rgba(46, 8, 84, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%232E0854"/><circle cx="50" cy="50" r="30" fill="%23D442F5" opacity="0.1"/></svg>');
  background-size: cover;
}

.testimonials h2 {
  color: #ffffff;
}

.testimonials h2:after {
  background: #ffffff;
}

.testimonial-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.testimonial.animated {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(255, 255, 255, 0.9);
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
}

/* Call to Action Section */
.call-to-action {
  padding: 80px 0;
  background: var(--gradient);
  text-align: center;
  color: var(--text-light);
}

.call-to-action h2,
.call-to-action p {
  color: var(--text-light);
}

.call-to-action p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: #f5f5f5;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-logo-text {
  fill: #ffffff;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}

.footer-links {
  flex: 1;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.link-group {
  margin-bottom: 20px;
  min-width: 150px;
}

.link-group h4 {
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.link-group h4:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.link-group ul {
  list-style: none;
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: #cccccc;
}

.link-group ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-icon {
  width: 40px;
  height: 40px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-text {
    text-align: center;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    padding-top: 80px;
  }
  
  nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-list li {
    margin: 1.5rem 0;
  }
  
  .process-steps {
    flex-direction: column;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    width: 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .feature-boxes {
    grid-template-columns: 1fr;
  }
  
  nav {
    width: 85%;
  }
}
