/* Amethyst Staffing - Main Stylesheet */

:root {
  /* Amethyst color palette */
  --amethyst-dark: #4a148c;
  --amethyst-primary: #7b1fa2;
  --amethyst-medium: #9c27b0;
  --amethyst-light: #ce93d8;
  --amethyst-pale: #f3e5f5;
  --amethyst-gradient: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 50%, #ba68c8 100%);

  --white: #ffffff;
  --text-dark: #2d2d2d;
  --text-muted: #666666;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(123, 31, 162, 0.3);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amethyst-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 55px;
  width: auto;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.85) 0%, rgba(123, 31, 162, 0.8) 100%),
              url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: var(--white);
  padding: 0 5%;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
  font-size: 1.5rem;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.hero .slogan {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.hero .btn-primary:hover {
  background: var(--amethyst-pale);
}

.hero .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

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

/* Section Styles */
section {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--amethyst-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Preview Section */
.about-preview {
  background: var(--white);
  padding: 5rem 5%;
}

.about-preview-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-preview-content h2 {
  font-size: 2.2rem;
  color: var(--amethyst-dark);
  margin-bottom: 1.5rem;
}

.about-preview-content p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-preview-content .btn {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .about-preview-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-preview-image {
    order: -1;
  }
}

/* Screening Preview Section */
.screening-preview {
  background: var(--amethyst-pale);
  padding: 5rem 5%;
}

.screening-preview-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.screening-preview-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.screening-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screening-preview-content h2 {
  font-size: 2.2rem;
  color: var(--amethyst-dark);
  margin-bottom: 1.5rem;
}

.screening-preview-content p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.screening-preview-content .btn {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .screening-preview-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .screening-preview-image {
    order: -1;
  }
}

/* Testimonials Section */
.testimonials {
  background: var(--white);
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}

.testimonial-content {
  background: var(--amethyst-pale);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 5rem;
  color: var(--amethyst-light);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  color: var(--amethyst-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amethyst-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--amethyst-primary);
  transform: scale(1.2);
}

/* Partners Section */
.partners {
  background: var(--amethyst-pale);
  overflow: hidden;
}

.partners-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.partner-logo {
  flex-shrink: 0;
  width: 150px;
  height: 80px;
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer */
footer {
  background: var(--amethyst-dark);
  color: var(--white);
  padding: 3rem 5%;
  text-align: center;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-tagline {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--amethyst-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-email {
  margin-bottom: 1.5rem;
}

.footer-email a {
  color: var(--amethyst-light);
  text-decoration: none;
}

.footer-copyright {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Form Pages */
.form-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--amethyst-pale) 0%, var(--white) 100%);
  padding-top: 100px;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h1 {
  color: var(--amethyst-dark);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-muted);
}

.form-notice {
  background: var(--amethyst-pale);
  border-left: 4px solid var(--amethyst-primary);
  padding: 1rem 1.5rem;
  border-radius: 0 10px 10px 0;
  margin-bottom: 1.5rem;
}

.form-notice p {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amethyst-primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.h-captcha {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

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

.form-submit .btn {
  min-width: 200px;
}

.form-message {
  text-align: center;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  display: block;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  display: block;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--amethyst-primary);
  text-decoration: none;
  margin-bottom: 1rem;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .nav-buttons {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}
