/* style.css for Sea Gal Tech Website */

/* ===============================
   Global Reset & Base Styles
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: url('images/tech-bg.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* ===============================
   Header & Navigation
   (Global styles assumed; adjust as needed)
=============================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.3s ease;
  
}
.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0);
}
.logo {
  background-color: #ffffff50;  /* White background behind the logo */
  padding: 5px 10px;
  border-radius: 5px;
}
.logo, .navbar {
  display: inline-block;
  vertical-align: middle;
}
.logo img {
  height: 50px;
  display: block;
  filter: drop-shadow(0 0 15px #ffffff);
}

.hero-logo img {
  filter: drop-shadow(0 0 15px #ffffff);
}

.navbar {
  margin-left: 20px;
  text-align: center;
  background-color: rgba(0, 80, 158, 0.8);
  padding: 10px 20px;
  border-radius: 5px;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.navbar ul li {
  position: relative;
}
.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.navbar ul li a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}
.navbar ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0,80,158,0.9);
  padding: 10px 0;
  margin: 0;
  border-radius: 5px;
  min-width: 150px;
  z-index: 100;
}
.navbar ul li:hover .dropdown {
  display: block;
}
.navbar ul li .dropdown li a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  font-size: 1em;
  transition: background 0.3s;
  white-space: nowrap;
}
.navbar ul li .dropdown li a:hover {
  background: rgba(255,255,255,0.3);
}

/* ===============================
   Hero Video Section
=============================== */
.hero-video {
  padding-top: 100px;
  position: relative;
  width: 100%;
  text-align: center;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: transparent;
}
.hero-video .bg-video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  filter: blur(20px);
  z-index: 1;
  background-color: transparent;
}
.hero-video .foreground-video {
  width: 60%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===============================
   Sections Wrapper (for content below hero)
=============================== */
.sections-wrapper {
  background: url('images/sections-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 40px 0;
}
.sections-wrapper section {
  background-color: transparent;
}

/* ===============================
   Vision & Mission Section
=============================== */
.vision-mission {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.vision-mission .block {
  position: relative;
  flex: 1 1 45%;
  height: 600px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
}
.text-box {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  background: rgba(62,62,62,0.3);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-sizing: border-box;
}
.mission-block .text-box {
  top: 0;
  bottom: auto;
}
.text-box h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
  font-family: Verdana, serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
}
.text-box p {
  font-size: 1.2em;
  color: #fff;
}

.company-updates-section {
  padding: 40px;
  margin: 40px auto;
  background: rgba(62, 62, 62, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  max-width: 1200px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-updates-section:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(62, 62, 62, 0.3);
}

.company-updates-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-family: 'verdana', serif;
  text-transform: uppercase;
  color: #ffffff;
}

.company-updates-section p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ffffff;
}

.company-updates-section a {
  color: #00c3ff;
  text-decoration: underline;
}


/* ===============================
   Footer
=============================== */
.footer-container {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Hide menu toggle button on desktop */
.menu-toggle {
  display: none;
}

/* Show it only on screens 768px or narrower */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
  }

  .navbar {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 80, 158, 0.95);
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 10px 0;
    border-radius: 0;
    z-index: 999;
  }

  .navbar.active {
    display: flex;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .navbar ul li .dropdown {
    position: static;
    background: rgba(0, 80, 158, 0.9);
    box-shadow: none;
    border-radius: 0;
  }

  .header-container {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}
