/* 
 * dirtylittleivy.info - AI Image Generator Website
 * Modern CSS with ivy theme design
 */

:root {
  --primary: #4CAF50;
  --primary-light: #8BC34A;
  --primary-dark: #2E7D32;
  --accent: #FF9800;
  --dark: #333333;
  --light: #FFFFFF;
  --gray: #757575;
  --light-gray: #F5F5F5;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.highlight {
  color: var(--primary);
  font-weight: 700;
}

/* Layout */
.wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* Ivy Background Decoration */
.ivy-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.ivy-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='600' viewBox='0 0 100 600'%3E%3Cpath d='M10,0 C30,150 5,300 30,450 C55,600 80,600 90,600' stroke='%234CAF5020' stroke-width='2' fill='none' /%3E%3Cpath d='M30,150 L50,130 M30,150 L10,130 M30,300 L50,280 M30,300 L10,280 M30,450 L50,430 M30,450 L10,430' stroke='%234CAF5020' stroke-width='1.5' /%3E%3C/svg%3E");
  background-repeat: repeat-y;
  opacity: 0.5;
}

.ivy-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='600' viewBox='0 0 100 600'%3E%3Cpath d='M90,0 C70,150 95,300 70,450 C45,600 20,600 10,600' stroke='%234CAF5020' stroke-width='2' fill='none' /%3E%3Cpath d='M70,150 L90,130 M70,150 L50,130 M70,300 L90,280 M70,300 L50,280 M70,450 L90,430 M70,450 L50,430' stroke='%234CAF5020' stroke-width='1.5' /%3E%3C/svg%3E");
  background-repeat: repeat-y;
  opacity: 0.5;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

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

.logo-svg {
  margin-right: 0.75rem;
}

.logo-text {
  font-size: 1.25rem;
  margin: 0;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

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

.nav-list li {
  margin: 0 1rem;
}

.nav-list a {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

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

.hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 2rem 0;
}

.hero-title {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-visual {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 2rem 0;
}

.hero-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.1));
}

/* How It Works Section */
.how-it-works {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  padding: 1.5rem;
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}

.step h3 {
  margin-bottom: 1rem;
}

.cta-container {
  text-align: center;
  margin-top: 3rem;
}

/* Features Section */
.features {
  background-color: var(--light);
}

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

.feature {
  padding: 2rem;
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.feature h3 {
  margin-bottom: 1rem;
}

/* Examples Section */
.examples {
  background-color: var(--light-gray);
}

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

.example {
  background-color: var(--light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.example:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.example svg {
  width: 100%;
  height: auto;
  display: block;
}

.example h4 {
  padding: 1rem;
  text-align: center;
  margin: 0;
  background-color: var(--light);
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--light);
  text-align: center;
  padding: 4rem 0;
}

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

.cta-section h2 {
  color: var(--light);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: var(--light);
  padding: 4rem 0 2rem;
  margin-top: auto;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary) 0%, var(--primary-light) 100%);
}

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

.footer-brand {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 150px;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--gray);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 5px;
}

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

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--light);
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .steps {
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .step {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    padding-bottom: 0;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--light);
    transition: height 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.active {
    height: auto;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .nav-list li {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .features-grid, 
  .examples-grid {
    grid-template-columns: 1fr;
  }
}
