@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&family=Open+Sans:wght@300;400&display=swap');
@import url('https://fonts.cdnfonts.com/css/avenir');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Figtree:ital,wght@0,300..900;1,300..900&family=Lexend+Zetta:wght@100..900&display=swap');


:root {
  --link-color: #6C7FA5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Avenir', sans-serif;
  background-color: #000;
  color: white;
  line-height: 1.6;
  opacity: 1;
  transition-duration: 0.7s;
  transition-property: opacity;
}



header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.logo img {
  height: 100px;
  width: auto;
}



/* VERTICAL SIDE MENU */
nav {
  position: fixed;
  top: 0;
  left: 100px;
  width: 200px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1rem;
  z-index: 1001;
}

nav a {
  display: block;
  margin: 1rem 0;
  color: var(--link-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: white;
}

/* Push content away from left nav */
body {
  padding-left: 200px;
}

/* Styles for mailto links */
a[href^="mailto:"] {
  color: #6C7FA5; /* Example color: a bright orange-red */
  text-decoration: underline; /* Or 'none' if you prefer no underline */
}

a[href^="mailto:"]:hover {
  color: #FF5733; /* A bright orange-red on hover */
}

a {
  color: #6C7FA5;
}

a:hover {
  color: #FF5733;
}
.active {
  color: white;
}

.hero {
  height: 100vh;
  background: url('https://source.unsplash.com/1600x900/?space,stars') no-repeat center center/cover;
  display: flex;
  align-items: flex-start; /* align content to the top */
  justify-content: center;
  text-align: center;
  padding: 2rem;
  padding-top: 220px; /* space for the fixed header */
  box-sizing: border-box;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  width: 70%; /* This limits the width to 60% of the page */
  max-width: 900px;
  margin-left: 1rem;

}


.hero h1 {
  font-family: 'Avenir', sans-serif;
  letter-spacing: 15px;
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.hero p {
  font-family: 'Avenir', sans-serif;
  color: white;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}


.logo-strip {
  background-color: #000;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1000px;
}

.logo-row img {
   height: 60px;
  width: auto;
  object-fit: contain;
  /*filter: brightness(0) invert(1); /* makes logos white if they're dark */
  transition: transform 0.3s ease;

}

.logo-row img:hover {
  transform: scale(1.1);
}


main {
  padding: 6rem 2rem 2rem;
  max-width: 900px;
  margin: auto;
}

section {
  margin-bottom: 4rem;
}

section h2 {
  font-family: "EB Garamond", serif;
  color: var(--link-color);
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
}

footer {

  margin-top: 25rem; /* or try 6rem or more */
  text-align: center;
  padding: 2rem;
  /*background-color: #111;*/
  color: #777;
  font-size: 0.9rem;
}

/* Loader styles */

/* Preloader container */
/* Preloader container */
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  overflow: hidden;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease;
}

/* Fade-out after 2s */
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Dot container covers full screen */
.dot-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

/* Dot animation */
.dot {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: drift var(--duration) forwards ease-in-out;
}





/* Keyframe to animate from current position to end position */
@keyframes drift {
  to {
    top: var(--endY);
    left: var(--endX);
    opacity: 0.2;
  }
}



/* Media + responsiveness */

@media (max-width: 768px) {
  .hero-content {
    width: 90%;
  }
}
@media (max-width: 768px) {
  .hero {
    padding-top: 160px; /* adjust for smaller logo/menu */
  }
}
@media (max-width: 600px) {
  .logo-row {
    gap: 1.5rem;
  }

  .logo-row img {
    height: 40px;
  }

  
}

}
