/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Black background for the page */
body {
  background-color: #000;
  color: #fff;
}

/* Page Wrapper */
.page-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}

/* Full-Width Header (Left Aligned, No Bottom Border) */
.main-header {
  width: 100%;
  padding: 20px 40px;
  background-color: #fff;
  box-sizing: border-box;
  text-align: left;
}

.header-name {
  font-size: 3rem;
  color: #000;
  margin: 0;
}

.header-title {
  font-size: 1.5rem;
  color: #000;
  margin: 0;
  font-weight: normal;
}

/* Presentation Section with 60% width */
.presentation {
  width: 52%;
  margin: 40px;
  text-align: left;
  font-size: 1.2rem;
  color: #000;
}

/* Content Area: Two Columns */
.content-area {
  width:100%;
  padding: 40px;
}


/* Portfolio Grid (2x2 Videos) */
.media-grid {
  width:100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.media-grid video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Video Thumbnail Container */
.video-thumb {
  position: relative;
  overflow: hidden;
}

/* Ensure videos fill their container */
.video-thumb video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Overlay text on hover */
.thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px;
  pointer-events: none; /* Allow clicks to pass through to the video */
}

.video-thumb:hover .thumb-overlay {
  opacity: 1;
}

/* Fullscreen Video Overlay (Hidden by Default) */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-overlay video {
  width: 80%;
  max-width: 800px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 1001;
}

/* Three-Column Footer */
.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  padding: 60px 40px 100px 40px;
  background-color: #eee;
  color: #444;
  text-align: left;
}

.righttxt-align {
	text-align: right;
}

.site-footer a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.site-footer a:hover {
  text-decoration: underline;
}