/* 
* ai-artporn.site - Main Stylesheet
* Artistic purple/magenta theme with modern design
*/

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

/* Custom Variables */
:root {
  --primary: #8E24AA;
  --primary-light: #AB47BC;
  --primary-dark: #6A1B9A;
  --secondary: #D81B60;
  --secondary-light: #E91E63;
  --secondary-dark: #AD1457;
  --dark: #212121;
  --text: #333333;
  --text-light: #666666;
  --bg-light: #f9f0f6;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 10px 30px rgba(142, 36, 170, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Typography */
body {
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

/* Header */
.header {
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

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

.logo-icon {
  margin-right: 12px;
}

.logo h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

.logo h1 span {
  color: var(--secondary);
}

.nav ul.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

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

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gradient);
  left: 0;
  bottom: -5px;
  transition: var(--transition);
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

.nav a.btn {
  background: var(--gradient);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(216, 27, 96, 0.2);
}

.nav a.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(216, 27, 96, 0.3);
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 28px;
  height: 24px;
  position: relative;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  position: absolute;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle span:first-child {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:last-child {
  bottom: 0;
}

/* Hero Section */
.hero {
  padding: 150px 0 80px;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn.primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(216, 27, 96, 0.2);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(216, 27, 96, 0.3);
  color: var(--white);
}

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

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

.btn.large {
  padding: 15px 40px;
  font-size: 18px;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  max-height: 400px;
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  color: var(--text-light);
}

/* Gallery Section */
.gallery {
  background-color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  padding: 20px;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(142, 36, 170, 0.15);
}

.gallery-item svg {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
}

.gallery-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary);
}

.gallery-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Create Section */
.create {
  background-color: var(--bg-light);
}

.steps {
  max-width: 800px;
  margin: 0 auto 60px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 40px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.step-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

.cta-block {
  text-align: center;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
  margin-top: 30px;
}

.features-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.features-list li::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--gradient);
  border-radius: 50%;
  left: 0;
  top: 5px;
}

.about-visual svg {
  width: 100%;
  height: auto;
  max-height: 350px;
}

/* Footer */
.footer {
  background-color: #212121;
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

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

.footer-text h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.footer-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: var(--gradient);
  bottom: 0;
  left: 0;
  border-radius: 3px;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--secondary-light);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}

.copyright p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-content h2 {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav ul.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 50px 30px;
    box-shadow: -5px 0px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 9;
  }
  
  .nav ul.menu.active {
    right: 0;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-visual {
    order: 0;
  }
  
  .buttons {
    justify-content: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 15px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-logo {
    flex-direction: column;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .hero-content h2 {
    font-size: 30px;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
