/* 
 * AINudeGeneratorIN.pw - CSS Styles
 * Designed for Indian market with colors inspired by the Indian flag
 * Fully responsive design for all devices
 */

:root {
  --primary-color: #FF9933;    /* Deep Saffron (Indian flag orange) */
  --secondary-color: #138808;  /* India Green */
  --accent-color: #000080;     /* Navy Blue (Ashoka Chakra color) */
  --light-color: #FFFFFF;      /* White */
  --dark-color: #333333;       /* Dark Gray for text */
  --gold-accent: #FFD700;      /* Gold accent for special elements */
  --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #f8f8f8;
  overflow-x: hidden;
}

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

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

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

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

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary-color);
  color: var(--light-color);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow);
}

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

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

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-color);
}

/* Header Styles */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

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

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

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

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

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

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  background: var(--gradient-bg);
  color: var(--light-color);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M435.9 64.9l-34.7 56.3-62.4-16.7-23.7 61.1-66.4 3.5-10.9 69.8-62.7 26.5-14.2 68.9-57 35.8-24.9 64.8-48.6 45.2-35.5 57.4-38 53.9-44.2 48.8-48.8 44.2-53.9 38-57.4 35.5-45.2 48.6-64.8 24.9-35.8 57-68.9 14.2-26.5 62.7-69.8 10.9-3.5 66.4-61.1 23.7 16.7 62.4-56.3 34.7-31.4 57.8 31.4 57.8 56.3 34.7-16.7 62.4 61.1 23.7 3.5 66.4 69.8 10.9 26.5 62.7 68.9 14.2 35.8 57 64.8 24.9 45.2 48.6 57.4 35.5 53.9 38 44.2 48.8 48.8 44.2 38 53.9 35.5 57.4 48.6 45.2 24.9 64.8 57 35.8 14.2 68.9 62.7 26.5 10.9 69.8 66.4 3.5 23.7 61.1 62.4-16.7 34.7 56.3 57.8-31.4 57.8 31.4z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--light-color);
}

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

.hero-btns {
  display: flex;
  gap: 15px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.feature-card {
  background: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

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

.feature-icon {
  margin-bottom: 20px;
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--light-color);
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

/* How It Works Section */
.steps {
  padding: 100px 0;
  background-color: #f8f8f8;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='30' fill='rgba(19, 136, 8, 0.03)'/%3E%3C/svg%3E");
  background-size: 100px 100px;
  z-index: 0;
}

.steps-container {
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.step-card {
  background: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  position: relative;
  box-shadow: var(--box-shadow);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background: var(--accent-color);
  color: var(--light-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-card h3 {
  margin-top: 15px;
  color: var(--primary-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--light-color);
}

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

.about-content h2 {
  color: var(--accent-color);
  margin-bottom: 25px;
}

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

.about-image {
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  overflow: hidden;
}

/* CTA Section */
.cta {
  background: var(--accent-color);
  color: var(--light-color);
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  color: var(--light-color);
  margin-bottom: 25px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta .btn {
  background: var(--primary-color);
  font-size: 1.1rem;
}

.cta .btn:hover {
  background: var(--secondary-color);
}

/* Footer */
footer {
  background: #222;
  color: var(--light-color);
  padding: 70px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.footer-widget h3 {
  color: var(--light-color);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

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

.footer-widget p {
  color: #aaa;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-logo {
  display: block;
  margin-top: 20px;
}

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

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .features-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.3rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .features-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .feature-card, .step-card {
    padding: 20px;
  }
}
