/* 
 * dirtywaterz.info - AI Image Generator Website
 * Modern CSS with water theme design
 */

/* Base Reset & Root Variables */
:root {
  --primary: #0093E9;
  --primary-light: #80D0C7;
  --secondary: #5A3F8A;
  --accent: #43cea2;
  --dark: #333;
  --light: #f8f8ff;
  --gray: #777;
  --bg-gradient: linear-gradient(135deg, #0093E9 0%, #80D0C7 100%);
  --header-height: 80px;
  --footer-height: 300px;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0, 147, 233, 0.15);
  --transition: all 0.3s ease;
}

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

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

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

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

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

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

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

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

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

/* Layout */
.page-wrapper {
  position: relative;
  overflow: hidden;
}

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

section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--bg-gradient);
  margin: 15px auto;
  border-radius: 2px;
}

/* Background Effects */
.bg-effects {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%230093E920'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.2;
}

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%2380D0C720'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.2;
}

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

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

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

.logo h1 {
  font-size: 1.2rem;
  margin: 0 0 0 10px;
  color: var(--primary);
  font-weight: 600;
}

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

.main-nav li {
  margin: 0 15px;
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin-bottom: 5px;
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 80px);
  display: flex;
  align-items: center;
}

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

.hero-content {
  flex: 1;
  padding-right: 30px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 500px;
}

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

.hero-svg {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 10px 20px rgba(0, 147, 233, 0.2));
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

/* Process Section */
.process {
  background-color: #f9faff;
  position: relative;
  overflow: hidden;
}

.process:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230093e9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.step-card {
  flex: 1;
  min-width: 250px;
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 147, 233, 0.2);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

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

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

.feature-item {
  padding: 30px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.feature-item h3 {
  margin-bottom: 15px;
}

/* Showcase Section */
.showcase {
  background: #f9faff;
  position: relative;
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.showcase-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
  transition: var(--transition);
}

.showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 147, 233, 0.2);
}

.showcase-item svg {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-item h4 {
  padding: 15px;
  text-align: center;
  margin: 0;
  background: white;
  color: var(--primary);
}

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

.cta-section h2,
.cta-section p {
  color: white;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background-color: #f8f8ff;
  padding: 60px 0 30px;
  color: var(--dark);
  position: relative;
}

.site-footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--bg-gradient);
}

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

.footer-branding {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.site-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 15px;
}

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

.footer-col {
  flex: 1;
  min-width: 160px;
  margin-bottom: 30px;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-light);
}

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

.footer-col li {
  margin-bottom: 8px;
}

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

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

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

.btn-primary {
  background: var(--bg-gradient);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 147, 233, 0.3);
}

.btn-primary:hover {
  color: white;
  box-shadow: 0 7px 20px rgba(0, 147, 233, 0.5);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--bg-gradient);
  color: white;
}

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

.center-cta {
  text-align: center;
  margin-top: 30px;
}

/* Helper classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Responsive Styles */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .hero-content h2 { font-size: 2.5rem; }
  
  .process-steps {
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto 30px;
  }
  
  .step-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.active {
    max-height: 300px;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px 0;
  }
  
  .main-nav li {
    margin: 0;
    text-align: center;
  }
  
  .main-nav a {
    display: block;
    padding: 10px 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}
