/* Main Styles for clothremoverfrombody.love
   Using a purple/blue/teal color scheme
   Created: 2025-07-24
*/

/* ---------- CSS Variables ---------- */
:root {
  /* Color Palette */
  --primary-dark: #6A11CB;    /* Dark Purple */
  --primary: #2575FC;         /* Bright Blue */
  --primary-light: #37ECBA;   /* Teal */
  --dark-bg: #15152A;         /* Very Dark Blue */
  --secondary-bg: #1A1A2E;    /* Dark Blue-Purple */
  --text-light: #FFFFFF;      /* White */
  --text-secondary: #CCCCFF;  /* Light Purple */
  --text-dark: #15152A;       /* Dark Blue */
  --accent: #FD1D53;          /* Accent Red */
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
}

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

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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text-light);
  background-color: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url('../images/background-pattern.svg');
  background-size: 500px;
  background-repeat: repeat;
  background-attachment: fixed;
}

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

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  background: linear-gradient(to right, var(--primary-dark), var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-light);
}

p {
  margin-bottom: var(--spacing-sm);
}

.text-gradient {
  background: linear-gradient(to right, var(--primary-dark), var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
  text-decoration: none;
}

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

.btn-secondary:hover {
  background: rgba(37, 117, 252, 0.1);
  color: var(--primary-light);
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(253, 29, 83, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent), #FF4577);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 29, 83, 0.4);
  text-decoration: none;
}

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
}

@keyframes ripple {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
  background-color: rgba(21, 21, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(106, 17, 203, 0.2);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

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

.logo img, .logo svg {
  height: 40px;
  width: auto;
  margin-right: var(--spacing-sm);
  transition: all 0.3s ease;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-light);
  text-decoration: none;
}

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

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Header height offset */
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(37, 117, 252, 0.15) 0%, rgba(21, 21, 42, 0) 50%);
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.hero-btns {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.hero-image {
  position: relative;
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image svg {
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 10px 20px rgba(37, 117, 252, 0.3));
}

/* ---------- Features Section ---------- */
.features {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(21, 21, 42, 0.8));
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(106, 17, 203, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(37, 117, 252, 0.2);
  border-color: rgba(106, 17, 203, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--spacing-md);
}

.feature-title {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-light);
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--spacing-xl) 0;
  position: relative;
  background: linear-gradient(to bottom, rgba(21, 21, 42, 0), rgba(26, 26, 46, 0.5), rgba(21, 21, 42, 0));
}

.steps {
  counter-reset: step-counter;
  margin-top: var(--spacing-lg);
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.step-number {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 700;
}

.step-content {
  padding-top: var(--spacing-xs);
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--primary-light);
}

/* ---------- Gallery Section ---------- */
.gallery {
  padding: var(--spacing-xl) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(21, 21, 42, 0.8));
  border: 1px solid rgba(106, 17, 203, 0.1);
}

.gallery-item svg, .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover svg, .gallery-item:hover img {
  transform: scale(1.05);
}

/* ---------- CTA Section ---------- */
.cta {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.2), rgba(37, 117, 252, 0.2));
  border-top: 1px solid rgba(55, 236, 186, 0.1);
  border-bottom: 1px solid rgba(55, 236, 186, 0.1);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.cta-text {
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.2rem;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--secondary-bg);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-top: 1px solid rgba(106, 17, 203, 0.2);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-lg);
}

.footer-logo {
  margin-bottom: var(--spacing-sm);
}

.footer-logo img, .footer-logo svg {
  height: 40px;
  width: auto;
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-light);
}

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

.footer-link {
  margin-bottom: var(--spacing-xs);
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(106, 17, 203, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-legal {
  margin-top: var(--spacing-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in.active {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Typing animation for hero text */
.typing::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---------- Media Queries ---------- */
@media (max-width: 992px) {
  h1, .hero-title {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: var(--spacing-lg);
    order: 2;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-bg);
    padding: var(--spacing-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.4s ease;
  }
  
  .nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .nav-list {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .feature-card {
    text-align: center;
  }
  
  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .hero-btns .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
}
