/* 
* aiclothingremoverLV.pw - Galvenā stila lapa
* Krāsu palete iedvesmota no Latvijas karoga
*/

:root {
  --primary-color: #9E0B0F; /* Tumši sarkans (Latvijas karoga krāsa) */
  --secondary-color: #5D4037; /* Brūna akcentu krāsa */
  --accent-color: #B71C1C; /* Spilgti sarkans */
  --light-color: #F5F5F5;
  --dark-color: #212121;
  --white: #FFFFFF;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(158, 11, 15, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* Pogas (Botones) */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(158, 11, 15, 0.25);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(158, 11, 15, 0.35);
  background: var(--accent-color);
}

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

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

/* Galvene (Header) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 18px 0;
}

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

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

.logo svg {
  margin-right: 12px;
  height: 36px;
  width: auto;
}

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

.nav-item {
  margin-left: 35px;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
}

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

.nav-link:hover {
  color: var(--primary-color);
}

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

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

.action-btn {
  margin-left: 35px;
}

/* Varonis sadaļa (Hero Section) */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--white), #f0e6e6);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f5f5f5' fill-opacity='1' d='M0,224L60,213.3C120,203,240,181,360,192C480,203,600,245,720,240C840,235,960,181,1080,170.7C1200,160,1320,192,1380,208L1440,224L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark-color);
  margin-bottom: 25px;
}

.hero-text h1 span {
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #555;
  max-width: 570px;
}

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

.hero-image {
  position: relative;
  text-align: center;
  z-index: 1;
}

/* Funkcijas (Features) */
.features {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

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

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 20px auto 0;
}

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

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(158, 11, 15, 0.2);
  border-bottom-color: var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(158, 11, 15, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-card p {
  color: #666;
  font-size: 1rem;
}

/* Kā tas darbojas (How it works) */
.how-it-works {
  padding: 100px 0;
  background-color: #f9f9f9;
  position: relative;
}

.steps-container {
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: var(--white);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  gap: 25px;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step:last-child {
  margin-bottom: 0;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(158, 11, 15, 0.15);
}

.step::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: var(--primary-color);
  border-radius: 3px 0 0 3px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(158, 11, 15, 0.1);
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.step-content p {
  color: #666;
}

/* Par mums (About) */
.about {
  padding: 100px 0;
  overflow: hidden;
}

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

.about-text h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: 20px;
  color: #666;
}

.about-text .btn {
  margin-top: 15px;
}

.about-image {
  text-align: center;
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80%;
  height: 80%;
  border: 5px solid rgba(158, 11, 15, 0.1);
  border-radius: var(--border-radius);
  z-index: -1;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='none'/%3E%3Cpath d='M0 50 A50 50 0 0 1 50 0 A50 50 0 0 1 100 50 A50 50 0 0 1 50 100 A50 50 0 0 1 0 50' stroke='%23ffffff' stroke-width='1' fill='none' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

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

.cta-content .btn {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Kājene (Footer) */
.footer {
  background-color: #1A1A1A;
  color: var(--white);
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-logo svg {
  margin-right: 12px;
  height: 36px;
  width: auto;
}

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

/* Responsīvais dizains (Responsive Design) */
@media (max-width: 991px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.3rem;
  }
  
  .hero-text p {
    margin: 0 auto 30px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 40px;
    order: 2;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    margin-bottom: 40px;
  }
  
  .about-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .action-btn {
    margin: 20px 0 0;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step::after {
    width: 100%;
    height: 5px;
    border-radius: 3px 3px 0 0;
  }
  
  .step-number {
    margin: 0 auto 20px;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-logo {
    justify-content: center;
  }
}
