/* Reset default margins and ensure full height */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-width: 320px; /* Minimum width for mobile */
  width: 100vw; /* Full viewport width */
  min-height: 100vh; /* Full viewport height */
  overflow-x: hidden; /* Prevent horizontal scroll */
  font-family: Arial, sans-serif; /* Fallback for non-text elements */
  position: relative; /* For absolute positioning of children */
  height: 100%;
visibility: hidden; /* hide content initially */
}

/* Load Fonts */
@font-face {
  font-family: 'Lato Light';
  src: url('../fonts/tgnl.otf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'InkFree';
  src: url('../fonts/inkfree.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Header with Social Media Icons */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px 0;
  text-align: center;
  z-index: 6;
}

/* Background for CEO Page */
body.ceo-page {
  position: relative;
  z-index: 1;
}

body.ceo-page::before {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/suite.jpg');
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: left bottom;
  opacity: .3;
  z-index: 0;
  pointer-events: none;
}

/* INDEX Background Video */
#backgroundVideo, #backgroundVideoW {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

/* INDEX Overlay Image */
.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/overlay.jpg');
  background-size: cover;
  background-position: center;
  opacity: .04;
  z-index: 0;
}

/* Centered Text */
.text-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: auto;
  max-width: 96vw;
  padding: 0 15px;
  box-sizing: border-box;

  /* This is the magic line – kills the huge gaps */
  line-height: 1;                /* ← forces tight vertical spacing */
  font-size: 0;                  /* ← removes phantom space between inline children */
}



/* INDEX PAGE – Final bulletproof version */
.text-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: auto;
  max-width: 96vw;
  padding: 0 15px;
  box-sizing: border-box;

  /* These two lines are the magic */
  font-size: 0;                  /* kills unwanted gaps between lines */
  line-height: 1;
}

.fade-in-text {
  display: block;                /* ← THIS forces each line onto its own line */
  font-family: 'Lato Light', sans-serif;
  color: #fff;
  font-size: clamp(2.5rem, 10vw, 5rem);
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
  text-align: center;            /* centers the text inside each block */
  /* THIS IS THE NUCLEAR FIX */
  line-height: 0.82 !important;     /* forces the line height smaller than the font allows */
  padding: 0 !important;
  margin-block: 0 !important;      /* kills any browser-added paragraph spacing */
}

/* Fine-tune spacing with tiny, scalable margins */
.line-1 {
  animation-delay: 0.5s;
  margin-bottom: 0px;         /* tiny, perfectly tight gap */
}

.line-2 {
  animation-delay: 2.0s;
  margin-top: 6px;
}

.line-3 {
  animation-delay: 3.5s;
  font-size: clamp(0.8rem, 3vw, 1rem);
  letter-spacing: 0.6em;
  transform: scaleX(1.3);
  margin-top: 16px !important;             /* space before "company" */
line-height: 1 !important;
}



@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


/* ==== NEW TOP HORIZONTAL NAVIGATION ==== */
.top-nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);   /* same as footer */
  padding: 12px 0;
  text-align: center;
  z-index: 10;                            /* above video & overlay */
  backdrop-filter: blur(4px);             /* optional: nice modern glass effect */
  -webkit-backdrop-filter: blur(4px);
}

.top-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;                              /* space between buttons */
  margin: 0;
  padding: 0;
}

.top-nav li {
  margin: 0;
}

.top-nav a {
  display: block;
  padding: 10px 25px;
  background-color: rgba(0, 0, 0, 0.4);   /* slightly darker base */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  font-family: 'Lato Light', Arial, sans-serif;
  text-transform: uppercase;
}

.top-nav a:hover {
  background-color: rgba(0, 0, 0, 0.9);   /* same strong hover as old tabs */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Optional: make it a bit more elegant on mobile */
@media (max-width: 768px) {
  .top-nav ul {
    gap: 20px;
  }
  .top-nav a {
    padding: 8px 16px;
    font-size: 1rem;
  }
}




/* Footer with Social Media Icons */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 0;
  text-align: center;
  z-index: 3;
}

/* Footer with Social Media Icons */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 0;
  text-align: center;
  z-index: 3;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

/* Company Content */
.company-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 100px auto 0;
  padding: 20px;
  width: 100%;
}


/* ==== COMPANY PAGE – PERFECTLY CENTERED TEXT BLOCK ====
.ceo-section {
  position: relative;
  z-index: 2;
  max-width: 900px;              /* controls max readable width *
  width: 90%;                    /* fluid but never too wide/narrow *
  margin: 120px auto 60px;       /* top margin + auto horizontal centering *
  padding: 40px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.35);   /* subtle dark glass panel *
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  text-align: center;            /* centers inline content too *
  font-family: 'Lato Light', Arial, sans-serif;
  line-height: 1.8;
} */

/* ==== COMPANY PAGE – LIGHT GLASSY TEXT BLOCK WITH DARK TEXT ==== */
.ceo-section {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
  margin: 120px auto 60px;
  padding: 40px;
  box-sizing: border-box;

  background-color: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 0 40px rgba(255, 255, 255, 0.1);

  /* ← DARK TEXT (pick one) */
  color: #1a1a1a;                  /* almost black – very readable */
  /* color: #222222; */           /* pure black alternative */
  /* color: #2d2d2d; */           /* slightly softer dark grey */

  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);  /* subtle white glow behind dark text – makes it pop on the glass */

  text-align: center;
  font-family: 'Lato Light', Arial, sans-serif;
  line-height: 1.8;
}


/* Make the heading stand out */
.ceo-section h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Clean paragraph styling – remove all inline styles! */
.ceo-section p {
  font-family: 'Lato Light', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Signature / closing lines */
.ceo-section .closing {
  margin-top: 50px;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
}
.ceo-section .subtitle {
  font-size: 1.3rem;
  opacity: 0.8;
  margin-top: 8px;
}



/* Company Blurb Section */
.company-blurb {
  position: relative;
  padding: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  max-width: 3150px;
  margin: 0 auto;
}

.photo-scroller-wrapper {
  width: 100vw;                  /* full viewport width */
  background-color: rgba(0,0,0,0.7); /* dark/semi-dark background */
  padding: 20px 0;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;            /* keep it positioned properly */
  z-index: 1;                    /* above background but below overlays if needed */
}

.photo-scroller {
  display: flex;
  width: max-content;           /* allow scrolling */
  animation: scroll 120s linear infinite;
}

.photo-scroller img {
  width: 150px;
  height: 100%;
  object-fit: cover;
  margin-right: 10px;
  opacity: 0.5;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-3150px); }
}

/* Blurb Text */
.blurb-text {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.blurb-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.blurb-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
}

/* Responsive Adjustments
@media (max-width: 1920px) {
  .company-content {
    margin-top: 100px;
  }

  .ceo-photo {
    top: 100px;
    height: calc(100vh - 100px);
  }
}

@media (max-width: 1680px) {
  .ceo-section {
    margin-left: 25%;
    padding-left: 40px;
  }

  .ceo-bio,
  .photo-scroller,
  .blurb-text {
    width: 90%;
  }
}

@media (max-width: 1440px) {
  .ceo-section {
    margin-left: 25%;
    padding-left: 30px;
  }

  .ceo-bio,
  .photo-scroller,
  .blurb-text {
    width: 85%;
  }
}

@media (max-width: 1024px) {
  .company-content {
    margin-top: 120px;
  }

  .ceo-photo {
    top: 120px;
    height: calc(100vh - 120px);
  }

  .ceo-section {
    margin-left: 35%;
    padding-left: 60px;
  }

  .ceo-bio,
  .photo-scroller,
  .blurb-text {
    width: 70%;
  }
}

@media (max-width: 800px) {
  .company-content {
    margin-top: 60px;
  }

  .ceo-photo {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    z-index: 1;
  }

  .ceo-photo img {
    height: auto;
  }

  .ceo-section {
    margin-left: 0;
    padding-left: 0;
    padding-top: 0;
  }

  .ceo-bio,
  .photo-scroller,
  .blurb-text {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .photo-scroller {
    width: 2250px;
    height: 150px;
    z-index: 0;
  }

  .photo-scroller img {
    width: 150px;
  }

  .blurb-text {
    padding: 10px 0;
  }

  .company-blurb {
    max-width: 2250px;
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .fade-in-text {
    font-size: 2.5rem;
    letter-spacing: 0.12em;
    font-weight: 300;
  }

  .line-3 {
    font-size: 0.625rem;
    letter-spacing: 0.35em;
    white-space: nowrap !important;
    font-weight: 300;
    max-width: 100%;
  }

  .text-container {
    width: 80vw;
    min-width: 80vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tabs a {
    font-size: 1rem;
    padding: 8px 15px;
  }

  .social-icons img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 375px) {
  .company-content {
    margin-top: 60px;
  }

  .ceo-photo {
    margin-bottom: 10px;
  }

  .ceo-section {
    padding-top: 10px;
  }

  .ceo-bio h2 {
    font-size: 1.5rem;
  }

  .ceo-bio .bio-text {
    font-size: 0.9rem;
  }
}
*/

/* Wrapper to keep everything centered vertically */
.video-wrapper {
    text-align: center;
    margin: 40px 0;
}

/* NEW RELEASE + AVAILABLE EVERYWHERE styling */
.release-title {
    color: #ffffff;
    font-size: 3.5rem;            /* big */
    font-weight: 900;             /* extra thick bold */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);   /* optional glow for readability on video */
    font-family: 'Arial Black', Arial, sans-serif;  /* or any heavy font you have */
}

.release-title.top {
    margin-bottom: 30px;          /* space between top text and video */
}

.release-title.bottom {
    margin-top: 30px;             /* space between video and bottom text */
}

/* Make it responsive on small screens */
@media (max-width: 768px) {
    .release-title {
        font-size: 2.2rem;
    }
    .youtube-video {
        width: 95vw;
        height: 53.4375vw;   /* still 16:9 */
    }
}
