/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body, html {
  height: 100%;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}


/* Headings Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  line-height: 1; /* Increased line height for readability */
  margin-bottom: 0.5em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  text-align: center; /* Center the h1 */
  margin: 0.5em 0 0.2em; /* Reduced margin */
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center; /* Center the h2 */
}

h3 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center; /* Center the h3 */
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center; /* Center the h4 */
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center; /* Center the h5 */
}

h6 {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-align: center; /* Center the h6 */
}

/* Paragraph Styles */
p {
  font-size: 1rem;
  margin-top: 0.2em; /* Reduced margin between h1 and p */
  margin-bottom: 0.5em; /* Keep some space between paragraphs */
  font-weight: 300;
  text-align: center; /* Center the paragraph text */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.fa-brands {
  font-weight: 400 !important;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hamburger menu (hidden by default) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #333;
  border-radius: 2px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* Landing Section */
.landing {
  position: relative;
  height: 100vh;
  background-image: url('grandmaoverlay.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 75%; /* Adjust vertical positioning here */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.landing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(96, 125, 139, 0.3); /* dark overlay with 40% opacity */
  z-index: 1;
}

.overlay {
  position: relative;
  z-index: 2; /* puts the text above the overlay */
  color: rgba(255, 255, 255, 0.9); /* optional: make text slightly translucent */
  text-align: center; /* Center the text */
  width: 100%;
  max-width: 900px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 2rem; /* Reduced top padding */
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  text-align: center; /* Center the h1 */
  margin: 0.5em 0 0.2em; /* Reduced margin */
}

p {
  font-size: 1rem;
  margin-top: 0.2em; /* Reduced margin between h1 and p */
  margin-bottom: 0.5em; /* Keep some space between paragraphs */
  font-weight: 300;
  text-align: center; /* Center the paragraph text */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
