/* === ATX DevOps — Splash Page === */

:root {
  --orange-primary: #E6753D;
  --orange-dark: #d4652f;
  --brown-secondary: #6A4238;
  --bg-dark: #1a1210;
  --bg-card: #231a15;
  --text-light: #e8ddd4;
  --text-muted: #c4a882;
  --font-primary: 'Source Sans Pro', 'Myriad Pro', sans-serif;
  --font-secondary: 'Raleway', 'Quiet Sans Light', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--orange-primary);
  color: var(--bg-dark);
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* === Background Gear Decorations === */

.bg-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gear {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--brown-secondary);
  opacity: 0.06;
}

.gear--1 {
  width: 350px;
  height: 350px;
  top: -80px;
  right: -100px;
  border-style: dashed;
  border-width: 3px;
  animation: rotate 120s linear infinite;
}

.gear--2 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: -60px;
  border-style: dotted;
  border-width: 4px;
  animation: rotate 90s linear infinite reverse;
}

.gear--3 {
  width: 180px;
  height: 180px;
  top: 40%;
  right: 5%;
  border-style: dashed;
  border-width: 2px;
  animation: rotate 150s linear infinite;
}

.gear--4 {
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: 30%;
  border-style: dotted;
  border-width: 3px;
  opacity: 0.04;
  animation: rotate 200s linear infinite reverse;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* === Hero Section === */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.hero__logo {
  max-width: 280px;
  width: 100%;
  filter: drop-shadow(0 0 25px rgba(230, 117, 61, 0.35));
  animation: fadeInUp 1.2s ease-out both;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--orange-primary);
  margin-top: 1.5rem;
  animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero__divider {
  width: 200px;
  height: 1px;
  border: none;
  background: linear-gradient(to right, transparent, var(--brown-secondary), transparent);
  margin: 1.5rem auto 0;
  animation: fadeInUp 1.2s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Message Section === */

.message {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.message__text {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.message__tagline {
  color: var(--brown-secondary);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 2rem;
  letter-spacing: 0.05em;
}

/* === Contact Section === */

.contact {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.contact__heading {
  text-align: center;
  color: var(--orange-primary);
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
}

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

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--brown-secondary);
  color: var(--text-light);
  padding: 0.85rem 1rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  border-radius: 2px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange-primary);
  box-shadow: 0 0 10px rgba(230, 117, 61, 0.25);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #5a4a40;
}

.form__submit {
  display: block;
  width: 100%;
  background: var(--orange-primary);
  color: var(--bg-dark);
  border: none;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s, box-shadow 0.3s;
  margin-top: 0.5rem;
}

.form__submit:hover {
  background: var(--orange-dark);
  box-shadow: 0 0 18px rgba(230, 117, 61, 0.4);
}

.form__success {
  text-align: center;
  padding: 3rem 1rem;
}

.form__success h3 {
  color: var(--orange-primary);
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.form__success p {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-weight: 300;
}

.form__error {
  color: #e05a3a;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1rem;
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hidden {
  display: none;
}

/* === Scroll Reveal === */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* === Footer === */

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem 2rem;
  color: var(--brown-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* === Responsive === */

@media (max-width: 768px) {
  .hero__logo {
    max-width: 220px;
  }

  .hero__title {
    font-size: 1.8rem;
    letter-spacing: 0.2em;
  }

  .message__text {
    font-size: 1.05rem;
  }

  .contact__heading {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero__logo {
    max-width: 180px;
  }

  .hero__title {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
  }

  .message {
    padding: 3rem 1.5rem;
  }

  .message__text {
    font-size: 0.95rem;
  }

  .contact {
    padding: 3rem 1.5rem 2rem;
  }
}
