/*
Theme Name: Altaira Tech
Description: Landing page, product slide deck, and Request Info page for Altaira Technology.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Altaira Technology Inc.
Text Domain: altaira
*/

:root {
  --altaira-navy: #1f2a6b;
  --altaira-orange: #e8912d;
  --altaira-ink: #1a1a1a;
  --altaira-muted: #5b6270;
  --altaira-bg: #f4f6f9;
  --altaira-surface: #ffffff;
  --altaira-border: #d6dbe3;
}

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

body {
  margin: 0;
  background: var(--altaira-bg);
  color: var(--altaira-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header / footer */

.site-header {
  background: var(--altaira-surface);
  border-bottom: 1px solid var(--altaira-border);
}

.site-header__inner,
.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
}

.site-header__brand {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--altaira-navy);
  letter-spacing: -0.01em;
}

.site-header__brand span {
  color: var(--altaira-orange);
}

.site-footer {
  color: var(--altaira-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Buttons */

.altaira-button {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 6px;
  border: 2px solid var(--altaira-navy);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.altaira-button--primary {
  background: var(--altaira-navy);
  color: #fff;
}

.altaira-button--primary:hover,
.altaira-button--primary:focus-visible {
  background: #162056;
}

.altaira-button--secondary {
  background: var(--altaira-orange);
  border-color: var(--altaira-orange);
  color: #fff;
}

.altaira-button--secondary:hover,
.altaira-button--secondary:focus-visible {
  background: #cf7b1b;
  border-color: #cf7b1b;
}

.altaira-button:focus-visible {
  outline: 3px solid var(--altaira-orange);
  outline-offset: 3px;
}

/* Landing page: slide 1 with buttons placed in the empty area under its text */

.landing {
  max-width: 1280px;
  margin: 0 auto;
}

.landing__slide {
  position: relative;
  container-type: inline-size;
}

.landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 16px;
  justify-content: center;
}

@media (min-width: 700px) {
  /* Slide 1's paragraph ends ~75% down on the left; overlay buttons just beneath it. */
  .landing__actions {
    position: absolute;
    left: 5.4%;
    top: 78%;
    padding: 0;
    justify-content: flex-start;
  }

  .landing__actions .altaira-button {
    font-size: clamp(0.9rem, 1.6cqi, 1.2rem);
  }
}

/* Product details: full deck, vertically scrollable */

.deck {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.deck__title {
  margin: 0 0 20px;
  color: var(--altaira-navy);
}

.deck__slides {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.deck__slide img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(20, 30, 60, 0.12);
  background: var(--altaira-surface);
}

/* Generic page (Request Info) */

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.page-content h1 {
  color: var(--altaira-navy);
  margin-top: 0;
}
