/* 
 * Main Stylesheet for aiundressing.best
 * Color Scheme: Purple (#6A3093) to Green (#38ef7d) 
 */

:root {
  --primary-color: #6A3093;      /* Purple */
  --secondary-color: #38ef7d;    /* Bright Green */
  --accent-color: #FF9966;       /* Coral */
  --dark-color: #2A2438;         /* Dark Purple */
  --light-color: #F7F8FA;        /* Off White */
  --text-color: #333444;         /* Charcoal */
  --shadow-color: rgba(106, 48, 147, 0.15);
}

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

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 4px;
  width: 60px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

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

/* Hexagon Shape Utility Class */
.hex-shape {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Buttons & Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  transition: all 0.5s ease-out;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-color);
  color: white;
}

.btn:hover::before {
  width: 100%;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 30px 0 150px;
  position: relative;
  overflow: hidden;
}

/* Create a hexagonal clip path for the header */
.header-clip {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  background-color: var(--light-color);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

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

.logo-img {
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
}

.header-content {
  max-width: 700px;
  margin: 60px auto 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.header-content h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

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

/* Hexagon decorations for header */
.hexagon-decoration {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hex1 {
  width: 120px;
  height: 120px;
  top: 40px;
  left: 10%;
}

.hex2 {
  width: 80px;
  height: 80px;
  top: 120px;
  right: 15%;
}

.hex3 {
  width: 150px;
  height: 150px;
  bottom: 50px;
  left: 20%;
}

.hex4 {
  width: 100px;
  height: 100px;
  bottom: 80px;
  right: 10%;
}

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
}

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

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

.feature-item {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: white;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: rgba(106, 48, 147, 0.03);
  position: relative;
}

.how-it-works::before, 
.how-it-works::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 50px;
  background-color: var(--light-color);
}

.how-it-works::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.how-it-works::after {
  bottom: 0;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: steps;
}

.step-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 20px var(--shadow-color);
  counter-increment: steps;
}

.step-item::before {
  content: counter(steps);
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

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

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: white;
}

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

.testimonial-item {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px var(--shadow-color);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  left: -15px;
  top: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-details h4 {
  margin-bottom: 5px;
}

.author-location {
  font-size: 0.9rem;
  color: #666;
}

/* Call to Action Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  position: relative;
  overflow: hidden;
}

/* Hexagonal decorations for CTA */
.cta .hexagon-decoration {
  background-color: rgba(255, 255, 255, 0.05);
}

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

.cta-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

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

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

/* Footer */
.footer {
  padding: 80px 0 30px;
  background-color: var(--dark-color);
  color: white;
}

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

.footer-branding {
  grid-column: 1 / -1;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .footer-branding {
    grid-column: auto;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

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

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

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

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

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

/* Animation for scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .header {
    padding: 20px 0 120px;
  }
  
  .header-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .header {
    padding: 20px 0 100px;
  }
  
  .header-content h1 {
    font-size: 2.2rem;
  }
  
  .features-grid,
  .steps-container,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .hexagon-decoration {
    display: none;
  }
}

@media (max-width: 576px) {
  .header-content h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
}
