/* ------------------------------ */
/* 🎨 FONT IMPORTS */
/* ------------------------------ */

/* Barlow Regular */
@font-face {
  font-family: 'Barlow';
  src: url('https://cdn-azure.searix.net/searixcdn/2025/11-defence/fonts/Barlow-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Barlow Semibold */
@font-face {
  font-family: 'Barlow';
  src: url('https://cdn-azure.searix.net/searixcdn/2025/11-defence/fonts/Barlow-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Barlow Bold */
@font-face {
  font-family: 'Barlow';
  src: url('https://cdn-azure.searix.net/searixcdn/2025/11-defence/fonts/Barlow-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------ */
/* 🌈 COLOR VARIABLES */
/* ------------------------------ */
:root {
  --primary-light: #0084ff;
  --primary-dark: #004585;
  --sure-blue: #005eb8;
  --white: #ffffff;
}

/* ------------------------------ */
/* 🧩 FONT CLASSES */
/* ------------------------------ */
.font-barlow {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
}

.font-barlow-semibold {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
}

.font-barlow-bold {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
}

/* ------------------------------ */
/* 🖼️ PAGE CONTAINER + BACKGROUND */
/* ------------------------------ */
.page-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;

  /* 🌄 Background */
  background-image: url('https://cdn-azure.Searix.net/searixcdn/2025/11-defence/vsh/homescreen-bg-v2.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover; /* ✅ Fill width, crop vertically if needed */
  background-color: #000;

  /* 🧭 Height fix for mobile toolbars */
  min-height: 100dvh;
}

/* 🖥️ Center page and limit max width on larger screens */
@media (min-width: 768px) {
  body {
    background-color: #000; /* black sides */
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .page-container {
    max-width: 768px; /* same width for iPad and desktop */
    background-size: cover; /* ✅ keep natural proportions */
    background-position: center top;
  }
}

/* ------------------------------ */
/* 🔗 LINKS LAYOUT */
/* ------------------------------ */
.links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

/* Link wrappers */
.links-container a {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

/* Link images */
.links-container a img {
  width: 100%;
  height: auto;
  max-width: 150px; /* default for mobile */
  border-radius: 8px;
  transition: transform 0.25s ease, max-width 0.25s ease;
}

/* First link full width */
.links-container a:first-child {
  flex-basis: 100%;
}

/* 🖥️ Medium screens (iPads, tablets, desktops) */
@media (min-width: 768px) {
  .links-container a img {
    max-width: 200px;
  }
}

/* ------------------------------ */
/* 🖤 BODY + FOOTER */
/* ------------------------------ */
body {
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.footer p {
  font-size: 0.85rem;
}

/* ------------------------------ */
/* 🪄 FALLBACK FOR OLD BROWSERS */
/* ------------------------------ */
@supports not (height: 100dvh) {
  .page-container {
    height: calc(var(--vh, 1vh) * 100);
  }
}
