/* ============================================
   TALOS ADVANCED SYSTEMS — MASTER STYLESHEET
   styles.css
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --white:        #ffffff;
  --off-white:    #f4f5f6;
  --border:       #e0e0e0;
  --text-primary: #1a1a1a;
  --text-secondary: #6b6b6b;
  --charcoal:     #2d2d2d;
  --mid-grey:     #4a4a4a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

p {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 80px 0;
}

.section--grey {
  background-color: var(--off-white);
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--mid-grey);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

.btn-primary:hover {
  background-color: var(--mid-grey);
}

.btn-outline {
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

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

/* --- Divider --- */
.divider {
  width: 48px;
  height: 3px;
  background-color: var(--charcoal);
  margin: 1rem 0 1.5rem 0;
}

/* --- Hero --- */
.hero {
  margin-top: 70px;
  width: 100%;
  min-height: 85vh;
  background-color: var(--charcoal);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 2rem;
  margin-left: calc((100vw - 1200px) / 2);
}

.hero h1 {
  color: var(--white);
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Tables --- */
table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
}

th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  background-color: var(--charcoal);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

tr:nth-child(even) td {
  background-color: var(--off-white);
}

/* --- Footer --- */
footer {
  background-color: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 3rem; }
  .hero-content { margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}