/* 1. Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  width: 100%;
  min-height: 100%;
  overflow: hidden; /* Prevents unwanted scrollbars */
  font-family: 'Albert Sans', sans-serif;
  background-color: #0b111e; /* Dark fallback color */
}

html {
  height: -webkit-fill-available;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

/* 2. Fullscreen Video Background Layout */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  height: -webkit-fill-available;
  height: 100dvh;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Forces video to fill screen without stretching */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 17, 30, 0.2) 0%, rgba(11, 17, 30, 0.6) 100%);
  z-index: 2;
}

/* 3. Foreground Content Layout */
.content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes logo to middle/top and text to bottom */
  align-items: center;
  padding: 4rem 2rem calc(4rem + env(safe-area-inset-bottom));
  text-align: center;
}

/* Centers the logo perfectly vertically and horizontally in the top space */
.logo-area {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.main-logo {
  max-width: 620px;
  width: 85%; /* Scales smoothly on smaller screens */
  height: auto;
  user-select: none;
}

/* 4. Typography & Footer Section */
.footer-area {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: auto;
}

.tagline {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.6;
  opacity: 0.9;
}

.email-link {
  color: #c5a880; /* Subtle gold accent tone matching your design layout */
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.email-link:hover {
  opacity: 0.8;
  color: #ffffff;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .content-wrapper {
    padding: 3rem 1.5rem calc(5.5rem + env(safe-area-inset-bottom));
  }
  .tagline {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }
}
