/* =========================================
   Reset & Base
   ========================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  background-color: #0F0F0F;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 25px;
  background-color: #0F0F0F;
  padding: 15px 10px;
  flex-wrap: nowrap;
}
.navbar a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
}
.navbar a.active {
  color: #FF5900;
}
.nav-video video {
  height: 50px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
}

/* =========================================
   (Legacy) Home Intro Video – safe to keep
   ========================================= */
#intro video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* =========================================
   “What We Do” – Thumbnail + Modal
   ========================================= */
#thumbnailImage {
  max-width: 960px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 40px auto 0 auto;
  object-fit: cover;
}

/* Single modal system used site-wide where needed */
.modal,
#videoModal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 960px;
  height: 540px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
}
.modal-content iframe,
.modal-content video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  background: #000;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #FF5900;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1001;
  transition: color .3s ease, transform .3s ease;
}
.close:hover {
  color: #ffffff;
  transform: scale(1.2);
}

/* Optional mute toggle used on some pages */
#muteToggle {
  margin-top: 15px;
  padding: 8px 20px;
  background-color: #FF5900;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .3s, color .3s;
  display: none; /* shown via JS only where relevant */
}
#muteToggle:hover {
  background-color: #ffffff;
  color: #FF5900;
}

/* =========================================
   (Legacy) Our Work – simple grid (kept for compatibility)
   ========================================= */
.work-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}
.work-item {
  width: 380px;
  text-align: center;
}
.thumb-wrapper {
  width: 100%;
  height: 213px;
  overflow: hidden;
  border-radius: 8px;
}
.thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.hover-text {
  margin-top: 10px;
  font-size: 16px;
  color: #FF5900;
  display: none;
}
.work-item:hover .hover-text { display: block; }

/* =========================================
   About & Coming Soon – simple video layout
   ========================================= */
.about-container,
.coming-soon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.about-container video,
.coming-soon-container video {
  width: 90%;
  max-width: 960px;
}
#muteBtn {
  margin-top: 15px;
  background-color: #FF5900;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}
#muteBtn:hover {
  background-color: #0F0F0F;
  color: #FF5900;
}

/* =========================================
   Contact Page
   ========================================= */
.contact-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 60px 60px;
  gap: 40px;
}
.contact-left {
  flex: 1;
}
.contact-left video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.contact-right {
  flex: 0.7;
  background-color: #0F0F0F;
  padding: 40px 20px 20px;
  border-radius: 10px;
  margin-top: 60px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.row {
  display: flex;
  gap: 10px;
}
.row.full {
  flex-direction: column;
}
input, textarea {
  width: 100%;
  padding: 6px;
  font-size: 11px;
  background: #FFF;
  color: #000;
  border: 2px solid #FF5900;
  border-radius: 5px;
}
textarea {
  resize: none;
  height: 60px;
}
button#connectBtn {
  width: 100%;
  background: #FF5900;
  color: #FFFFFF;
  padding: 7px;
  font-size: 11px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
  transition: color 0.3s ease;
}
button#connectBtn:hover {
  background: #0F0F0F;
  color: #FF5900;
}
#formResponse {
  margin-top: 10px;
  font-size: 14px;
}
