@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #05070A;
  --text: #E2E8F0;
  --accent-cyan: #00F0FF;
  --accent-red: #FF3B30;
}

html {
  background-color: var(--bg);
  min-height: 100vh;
}

body {
  background-color: transparent;
  color: var(--text);
  /* The ultimate sleek, modern sans-serif font stack */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;          /* Matches the spacious line spacing in the SpaceX quote */
  letter-spacing: -0.01em;    /* Gives it that premium, sleek editorial feel */
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased; /* Makes the text look ultra-sharp on dark backgrounds */
  -moz-osx-font-smoothing: grayscale;
}

/* Background Logo Watermark */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 500px; 
  opacity: 0.1; /* Slightly increased for visibility */
  z-index: -1;
  pointer-events: none;
}

/* Navigation Bar */
nav {
  background: rgba(5, 7, 10, 0.95);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  display: flex;
  justify-content: center;
  gap: 3rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  color: #8F9BA8;
  text-decoration: none;
  font-family: 'Inter', sans-serif; /* Updated to clean SpaceX style */
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  transition: 0.3s;
}

nav a:hover {
  color: var(--accent-cyan);
}

/* Main Content Container */
.container {
  max-width: 800px;
  margin: 4rem auto; 
  padding: 0 4rem;
  text-align: center; /* This centers the text inside the block */
}

h1, h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* Updated to clean SpaceX style */
  font-weight: 600;                 /* Solid, structural weight */
  letter-spacing: -0.02em;          /* Tighter tracking for titles */
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
}

.tech-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-left: 4px solid var(--accent-cyan);
  margin-top: 2rem;
  border-radius: 0 4px 4px 0;
}

.tech-box.red {
  border-left: 4px solid var(--accent-red);
}

/* Image Gallery Style */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 3rem;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: zoom-in;
    transition: transform 0.2s; /* adds a nice hover effect */
}

.image-gallery img:hover {
    transform: scale(1.02); /* slight zoom on hover */
}

/* Add spacing between list items in the tech box */
.tech-box ul li {
    margin-bottom: 1.2rem; /* This creates the space between the dots */
}

/* This keeps the bottom of the box tidy by not adding space after the final dot */
.tech-box ul li:last-child {
    margin-bottom: 0; 
}

/* Styling for the logo container and image */
.top-logo-wrapper {
    padding: 1rem 2rem; /* Add some space around the logo */
}

.top-logo {
    width: auto; /* Allow standard resizing */
    height: 60px; /* Precise layout control */
    max-width: 100%; /* Ensure standard scaling on smaller screens */
}

/* Styling for the website footer */
footer {
    padding: 2rem 0; /* Add standard vertical spacing */
}
