/* 
   nudifyerIT.pw - Italian AI Nudify Website
   Colors inspired by Italian flag: 
   - Green: #009246
   - White: #FFFFFF
   - Red: #CE2B37
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #FAFAFA;
}

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

a {
  text-decoration: none;
  color: #009246;
  transition: all 0.3s ease;
}

a:hover {
  color: #006224;
}

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

.section {
  padding: 60px 0;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #009246, #FFFFFF, #CE2B37);
  border-radius: 2px;
}

h3 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 20px;
}

/* === Header & Navigation === */
header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #F0F0F0;
}

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

.logo {
  display: flex;
  align-items: center;
  font-weight: 900;
  font-size: 1.8rem;
}

.logo svg {
  margin-right: 10px;
  width: 32px;
  height: 32px;
}

.logo-text {
  color: #333;
}

.logo-highlight {
  color: #009246;
}

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

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #009246, #CE2B37);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

/* === Hero Section === */
.hero {
  background-color: #F5F5F5;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  min-height: 500px;
}

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

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #333;
}

.hero-title span {
  color: #009246;
}

.hero-title .highlight-red {
  color: #CE2B37;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  color: #555;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #009246, #006224);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 146, 70, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #006224, #009246);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 146, 70, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #009246;
  color: #009246;
}

.btn-secondary:hover {
  background-color: rgba(0, 146, 70, 0.05);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Italian flag inspired decorative elements */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 33.33%;
  height: 100%;
  background-color: rgba(0, 146, 70, 0.03);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 33.33%;
  height: 100%;
  background-color: rgba(206, 43, 55, 0.03);
  z-index: 0;
}

/* === Process Section === */
.process {
  background-color: #FFFFFF;
  position: relative;
}

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

.process-steps {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.step-1 .step-icon {
  background-color: rgba(0, 146, 70, 0.1);
  color: #009246;
}

.step-2 .step-icon {
  border: 2px solid #CE2B37;
  color: #CE2B37;
}

.step-3 .step-icon {
  background-color: rgba(206, 43, 55, 0.1);
  color: #CE2B37;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.step-description {
  color: #666;
  font-size: 0.9rem;
}

.process-connection {
  position: absolute;
  top: 35px;
  left: 20%;
  width: 60%;
  height: 2px;
  background-color: #E0E0E0;
  z-index: 0;
}

/* === Features Section === */
.features {
  background-color: #FAFAFA;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.feature-card:nth-child(3n+1) {
  border-top-color: #009246;
}

.feature-card:nth-child(3n+2) {
  border-top-color: #FFFFFF;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-card:nth-child(3n+3) {
  border-top-color: #CE2B37;
}

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

.feature-icon {
  margin-bottom: 20px;
  color: #009246;
  font-size: 2rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-description {
  color: #666;
  font-size: 0.95rem;
}

/* === About Section === */
.about {
  background-color: #FFFFFF;
  position: relative;
}

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

.about-description {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
}

.about-signature {
  display: block;
  margin-top: 30px;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  color: #009246;
}

/* === Footer === */
footer {
  background-color: #F5F5F5;
  padding: 40px 0;
  border-top: 1px solid #E0E0E0;
}

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

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

.footer-logo svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.footer-logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: #333;
}

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

.footer-links ul li {
  margin-left: 20px;
}

.footer-links ul li a {
  color: #555;
  font-size: 0.9rem;
}

.footer-copyright {
  color: #777;
  font-size: 0.9rem;
}

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

.animate {
  animation: fadeIn 0.8s ease forwards;
}

/* === Responsive Design === */
@media screen and (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .process-steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .process-connection {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }
  
  nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  nav ul {
    flex-direction: column;
    padding: 20px 0;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
    padding: 10px 0;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links ul {
    justify-content: center;
  }
  
  .footer-links ul li:first-child {
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
}
