/* ---------------------------- */
/*           VARIABLES          */
/* ---------------------------- */
:root {
  --color-brand: #ff6f1e; /* TopVIEW’s primary orange */
  --color-dark: #333333;
  --color-gray: #515151;
  --color-light: #f6f6f6;
  --color-white: #fff;

  --font-base: 'Open Sans', sans-serif;

  --transition-speed: 0.3s;
}

/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  color: var(--color-gray);
  background-color: var(--color-light);
  line-height: 1.6;
}

/* Container utility class */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------------------------- */
/*       SITE HEADER / NAV      */
/* ---------------------------- */
.site-header {
  background-color: #000; /* topVIEW often uses black or dark gray in header */
  padding: 1rem 0;
  color: var(--color-white);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: inline-block;
}

.topview-logo {
  max-height: 50px;
}

.site-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  margin-left: 2rem;
  transition: color var(--transition-speed);
}

.site-nav a:hover {
  color: var(--color-brand);
}

/* ---------------------------- */
/*         HERO SECTION         */
/* ---------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Adjust hero height as desired */
  min-height: 400px; /* Ensures a minimum height for smaller screens */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff; /* If you have text on top, ensure color contrast */
}

/* Video container absolute positioning */
.video-background {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-background iframe {
  width: 100%;
  height: 100%;
  pointer-events: none;  /* So user can’t click on the video player controls */
  /* Force aspect ratio fill:
     The next two lines help fill the area, but keep in mind 
     YouTube's iframe might letterbox if the aspect ratio doesn’t match exactly. */
  object-fit: cover;
  object-position: center;
}

/* Optional overlay if you want to darken the video behind the text */
.hero-overlay {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Adjust darkness as desired */
  z-index: 2;
}

/* Hero Content on top of everything */
.hero-content {
  position: relative;
  z-index: 3; 
  max-width: 700px;
  margin: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Example primary button styling */
.btn-primary {
  display: inline-block;
  background-color: #ff6f1e; /* topVIEW orange */
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #e65f10;
}

.extra-info {
  margin-top: 1.5rem;
}

.extra-info a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s;
}

.extra-info a:hover {
  color: #ddd;
}

/* ---------------------------- */
/*        MAIN CONTENT          */
/* ---------------------------- */
.main-content {
  background-color: var(--color-white);
  padding: 2rem 0;
}

main h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  border-left: 4px solid var(--color-brand);
  padding-left: 0.75rem;
  margin-top: 2rem;
}

.project-list {
  list-style-type: none;
  margin: 1rem 0;
}

.project-list li {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.project-list a {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-speed);
}

.project-list a:hover {
  color: #e65f10;
  text-decoration: underline;
}

.updated-date {
  margin-left: 0.5rem;
  color: #999;
  font-size: 0.9rem;
}

/* ---------------------------- */
/*          FOOTER              */
/* ---------------------------- */
.site-footer {
  background-color: #1a1a1a;
  color: var(--color-white);
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}