/* 
 * Main stylesheet for aipornart.site
 * Featuring a teal and red color scheme with artistic theme
 */

:root {
  /* Primary Colors */
  --primary: #1abc9c;
  --primary-dark: #16a085;
  --primary-light: #48c9b0;
  
  /* Secondary Colors */
  --secondary: #e74c3c;
  --secondary-dark: #c0392b;
  --secondary-light: #ec7063;
  
  /* Accent Colors */
  --accent1: #f1c40f;
  --accent2: #3498db;
  --accent3: #9b59b6;
  
  /* Neutrals */
  --dark: #2c3e50;
  --gray-dark: #34495e;
  --gray: #7f8c8d;
  --gray-light: #bdc3c7;
  --light: #ecf0f1;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --secondary-gradient: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  --accent-gradient: linear-gradient(135deg, var(--accent1) 0%, var(--accent2) 50%, var(--accent3) 100%);
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Lato', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 20px;
}

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

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

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

h1 {
  font-size: 3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-sm);
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-md);
}

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

h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
}

p {
  margin-bottom: var(--space-md);
}

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

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

ul {
  list-style-position: inside;
  margin-bottom: var(--space-md);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

section {
  padding: var(--space-lg) 0;
}

section:nth-child(even) {
  background-color: rgba(236, 240, 241, 0.5);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  color: var(--gray);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--heading-font);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 6px rgba(26, 188, 156, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(26, 188, 156, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn-large {
  padding: 15px 32px;
  font-size: 1.1rem;
}

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

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--dark);
  font-weight: 700;
}

.logo span {
  margin-left: var(--space-xs);
  font-size: 1.2rem;
  font-family: var(--heading-font);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  margin: 0;
}

.main-nav ul li a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.hamburger, .hamburger:before, .hamburger:after {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--dark);
  transition: all 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger:before, .hamburger:after {
  content: '';
  position: absolute;
}

.hamburger:before {
  top: -8px;
}

.hamburger:after {
  bottom: -8px;
}

/* Hero Section */
.hero {
  padding-top: calc(70px + var(--space-xl));
  padding-bottom: var(--space-xl);
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(26, 188, 156, 0.05);
  z-index: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: var(--space-md);
}

.hero-image {
  flex: 1;
}

/* Gallery Section */
.gallery {
  text-align: center;
}

.gallery h2 {
  margin-left: auto;
  margin-right: auto;
}

.gallery h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.art-item {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.art-item h3 {
  margin: var(--space-sm) 0 var(--space-xs);
  font-size: 1.2rem;
}

.art-item p {
  color: var(--gray);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

.view-more {
  margin-top: var(--space-md);
}

/* Styles Section */
.styles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.style-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.style-icon {
  margin-bottom: var(--space-sm);
  transition: all 0.3s ease;
}

.style-card:hover .style-icon {
  transform: scale(1.1);
}

.style-card h3 {
  margin-bottom: var(--space-xs);
}

.style-card p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Create Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.feature {
  text-align: center;
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.feature-icon {
  margin-bottom: var(--space-sm);
  transition: all 0.3s ease;
}

.feature:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
}

.feature h3 {
  margin-bottom: var(--space-xs);
}

.feature p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-text {
  order: 1;
}

.about-image {
  order: 2;
}

.benefits {
  list-style-type: none;
}

.benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-xs);
}

.benefits li:before {
  content: '•';
  color: var(--primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.5rem;
}

/* CTA Section */
.cta-section {
  background: var(--primary-gradient);
  color: white;
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta-section h2, .cta-section p {
  color: white;
}

.cta-section h2:after {
  background: white;
  left: 50%;
  transform: translateX(-50%);
}

.cta-section p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: var(--light);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-nav h4, .footer-legal h4 {
  color: white;
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.footer-nav ul, .footer-legal ul {
  list-style-type: none;
  margin: 0;
}

.footer-nav ul li, .footer-legal ul li {
  margin-bottom: var(--space-xs);
}

.footer-nav ul li a, .footer-legal ul li a {
  color: var(--gray-light);
}

.footer-nav ul li a:hover, .footer-legal ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--gray-light);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: var(--space-md);
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: var(--space-md);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-toggle.active .hamburger {
    background: transparent;
  }
  
  .menu-toggle.active .hamburger:before {
    top: 0;
    transform: rotate(45deg);
  }
  
  .menu-toggle.active .hamburger:after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .styles-container, .features {
    grid-template-columns: 1fr;
  }
}
