/* homepageStyle.css */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fdfdfd;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.ucf-logo {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.navbar {
  background-color: #222;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f7e287;
}

.navbar-title {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.navbar-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #f7e287;
  font-weight: bold;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  margin-left: 10px;
  display: none;
  position: absolute;
  transform: translateX(-20px);
  background-color: #777777;
  width: 130%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateX(-20px);
  height: 40px;
  text-decoration: none;
  color: #f7e287;
  width: 100%;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a:hover {
  background-color: #3d3d3d;
}

.group-members {
  text-align: center;
  margin-top: 50px;
}

.project-vision h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.project-vision {
  max-width: 800px;           
  margin: 50px auto;          
  padding: 0 20px;            
  text-align: justify;
}

h1 {
  margin-top: 40px;
}

.section-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.overallSchematic-image {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  width: 100%;
}

.overallSchematic-image img {
  max-width: 90%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hardwareBlock-image {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  width: 100%;
}

.hardwareBlock-image img {
  max-width: 90%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.softwareFlowchart-image {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  width: 100%;
}

.softwareFlowchart-image img {
  max-width: 40%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.opticalSchematic-image {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  width: 100%;
}

.opticalSchematic-image img {
  max-width: 90%;
  height: auto;
  display: block;  
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.mechanicalSchematic-image {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  width: 100%;
}

.mechanicalSchematic-image img {
  max-width: 90%; 
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.mechColumn {
  float: right;
  width: 50%;
  padding: 10px;
}

.mechColumn img{
  float: right;
  max-width: 90%;
  height: auto;
}

.mechColumn-image img {
  float: left;
  max-width: 52%;
  height: auto;
}

/* ---------- Video Container ---------- */
/* VIDEO STYLES - CENTERED AND LARGE */
.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 70%;
  margin: 50px 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.video-container {           
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin: 0 auto; /* This helps Firefox centering */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}
