/* 
   freeaiporngenerator.site - Main Stylesheet
   Designed with a modern blue/cyan theme
*/

/* Base Reset & Variables */
:root {
  --primary: #2196F3;
  --secondary: #00BCD4;
  --accent: #FF5722;
  --dark: #263238;
  --light: #ECEFF1;
  --white: #FFFFFF;
  --gray: #607D8B;
  --gradient: linear-gradient(135deg, var(--secondary), var(--primary));
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1 {
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

h1 span {
  color: var(--secondary);
  font-weight: 800;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-small {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
  color: var(--white);
}

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

.btn-secondary:hover {
  background: rgba(33, 150, 243, 0.1);
  transform: translateY(-3px);
  color: var(--primary);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  background: var(--primary);
  color: var(--white);
}

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

/* Header */
header {
  background: var(--dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  color: var(--white);
  font-weight: 500;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--white);
}

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

.hero-content {
  max-width: 540px;
}

.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-align: left;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image svg {
  width: 100%;
  max-width: 500px;
}

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

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

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

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

/* Generator Section */
.generator {
  padding: 5rem 0;
  background-color: var(--white);
}

.generator-steps {
  margin: 3rem 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

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

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: var(--light);
}

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

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--gradient);
  text-align: center;
}

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

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

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

.cta-section .btn-primary:hover {
  background: var(--light);
}

/* Footer */
footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  color: var(--white);
}

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

.footer-logo {
  display: flex;
  gap: 1.5rem;
  max-width: 350px;
}

.footer-logo h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

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

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-link-group h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-link-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-group a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-link-group a:hover {
  color: var(--secondary);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    order: 1;
  }
  
  .hero-content h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: 0;
    margin: 0 auto;
    max-width: 400px;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: 0.5s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .footer-logo {
    margin: 0 auto;
    justify-content: center;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-around;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}
