/* Danrex Aperturex - Stylesheet */

:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #e6f2ff;
  --background: #fafaf8;
  --background-light: #f5f5f3;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
  --white: #ffffff;
}

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

html,
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 100%);
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-section h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-section .lead {
  font-size: 1.25rem;
  line-height: 1.8;
}

/* Background Colors */
.bg-light-secondary {
  background-color: var(--background-light);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

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

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

/* Cards */
.card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Service Card */
.service-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: var(--primary-light);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  padding-right: 50%;
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: 50%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  top: 0;
  z-index: 10;
}

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.timeline-item:nth-child(even) .timeline-content {
  border-left: none;
  border-right: 3px solid var(--primary);
}

/* Stats Cards */
.stat-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Forms */
.form-control,
.form-select {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

.form-label {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Accordion */
.accordion-button {
  background-color: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.15);
}

/* Navbar */
.navbar {
  background-color: var(--background) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

/* Footer */
footer {
  background-color: var(--primary) !important;
  color: var(--white);
}

footer a {
  transition: all 0.2s ease;
}

footer a:hover {
  opacity: 0.8;
}

/* Shadows */
.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 70px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-marker {
    left: 0;
    transform: translateX(0);
  }

  .timeline-content {
    border-left: 3px solid var(--primary);
    border-right: none;
  }
}

/* Display utilities */
.display-7 {
  font-size: 1.75rem;
  font-weight: 700;
}

.min-vh-100 {
  min-height: 100vh;
}

.py-md-8 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.gap-lg-0 {
  gap: 0 !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.7);
}

.border-light-subtle {
  border-color: var(--border-color) !important;
}

.rounded-lg {
  border-radius: 12px;
}

/* Utilities */
.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}
