/* Galvenais stils vietnei aiclothesremoverLV.pw */
/* Krāsas iedvesmotas no Latvijas karoga - tumši sarkans un balts */
:root {
  --latvian-red: #9E3039;
  --latvian-dark-red: #7C0A02;
  --latvian-white: #FFFFFF;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --primary-gradient: linear-gradient(135deg, var(--latvian-red) 0%, var(--latvian-dark-red) 100%);
  --box-shadow: 0 5px 15px rgba(158, 48, 57, 0.15);
}

/* Atiestatīšana un pamata stili */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--latvian-white);
}

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

/* Galvene un navigācija */
.header {
  background-color: var(--latvian-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--latvian-red);
  font-weight: 700;
  font-size: 1.6rem;
}

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

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
}

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

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--latvian-red);
  bottom: -8px;
  left: 0;
  transition: width 0.3s;
}

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

/* Pogas */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(158, 48, 57, 0.25);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--latvian-red);
  color: var(--latvian-red);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--latvian-red);
  color: white;
}

/* Mobilā izvēlne */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--latvian-red);
}

/* Heroja sadaļa */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--latvian-red);
  opacity: 0.05;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: var(--latvian-red);
  opacity: 0.05;
  z-index: 0;
}

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

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image svg {
  max-width: 100%;
  height: auto;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 25px;
  color: var(--dark-gray);
  line-height: 1.2;
}

.hero h1 span {
  color: var(--latvian-red);
  position: relative;
  z-index: 1;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 10px;
  background-color: rgba(158, 48, 57, 0.1);
  bottom: 4px;
  left: 0;
  z-index: -1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 35px;
  color: var(--medium-gray);
  max-width: 90%;
}

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

/* Funkciju sadaļa */
.features {
  padding: 100px 0;
  background-color: var(--light-gray);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--latvian-red);
  opacity: 0.7;
}

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

.section-title h2 {
  font-size: 2.8rem;
  color: var(--dark-gray);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--latvian-red);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--medium-gray);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(158, 48, 57, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  height: 80px;
  width: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.feature-card p {
  color: var(--medium-gray);
}

/* Kā tas darbojas */
.how-it-works {
  padding: 100px 0;
  background-color: white;
  position: relative;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--latvian-red), transparent);
  opacity: 0.3;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px;
  position: relative;
}

.steps-container::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--latvian-red);
  opacity: 0.2;
  z-index: 0;
}

.step-card {
  width: 30%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  position: relative;
  box-shadow: var(--box-shadow);
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.step-content p {
  color: var(--medium-gray);
}

/* Par mums sadaļa */
.about {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
}

.about-image svg {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.8rem;
  color: var(--dark-gray);
  margin-bottom: 30px;
  position: relative;
}

.about-text h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--latvian-red);
  bottom: -15px;
  left: 0;
}

.about-text p {
  color: var(--medium-gray);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* CTA sadaļa */
.cta {
  padding: 100px 0;
  background: var(--primary-gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

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

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

.cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Kājene */
.footer {
  padding: 80px 0 30px;
  background-color: #2C2C2C;
  color: white;
}

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

.footer-column {
  width: 30%;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

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

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

.footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--latvian-red);
  bottom: 0;
  left: 0;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.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: 1rem;
}

/* Responsīvais dizains */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .hero-text {
    margin-top: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero p {
    max-width: 100%;
  }
  
  .step-card {
    width: 100%;
    margin-bottom: 70px;
  }
  
  .steps-container::after {
    display: none;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .footer-column {
    width: 48%;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    background-color: white;
    width: 80%;
    height: calc(100vh - 80px);
    transition: all 0.4s ease;
    box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-item {
    margin: 15px 0;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 10px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .footer-column {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
}

.header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.98);
}

/* Latvian folk pattern inspired decorative elements */
.latvian-pattern {
  position: relative;
}

.latvian-pattern::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: repeating-linear-gradient(45deg, var(--latvian-red) 0, var(--latvian-red) 3px, transparent 3px, transparent 6px);
  opacity: 0.2;
}
