/* Custom CSS for Aurora Labs website */

/* Base Styles */
:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Utility Classes */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

/* Form Validation Styles */
.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-error.show {
  display: block;
}

input.error,
textarea.error,
select.error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 1rem;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
}

/* Portfolio Lightbox */
.portfolio-lightbox {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-lightbox:hover {
  transform: scale(1.02);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-500);
  background-color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.25rem;
}

.swiper-pagination-bullet {
  background-color: #cbd5e1;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--brand-500);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer.active {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  border-top: 3px solid var(--brand-500);
  width: 2rem;
  height: 2rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    color: black;
    background: white;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
