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

/* Body Styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* background-image: url('/myimages/trailer.jpeg');  */
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
  animation: fadeInPage 1s ease-out;
}

/* Fade-in page animation */
@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Header Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: #4b4f54; /* Elegant dark background */
  color: #f1f1f1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

header:hover {
  background-color: #444b4e;
}

header .logo img {
  width: 140px; /* Adjust size as necessary */
  height: auto;
}

nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #6fd6eb;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #6fd6eb; /* Blue hover color */
}

nav ul li a:hover::after {
  width: 100%; /* Hover underline effect */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  /* background: #333; */
  padding: 15px;
  border-radius: 40px;
  transition: transform 0.3s ease;
}

.hamburger.active {
  transform: rotate(760deg); /* Rotate when active */
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 20px;
    z-index: 1000;
  }

  nav ul li {
    margin: 30px 0;
  }

  nav ul li a {
    font-size: 1.5rem;
    color: #ffffff;
  }

  #nav-menu.active {
    display: flex;
  }
}

/* Main Section */
section {
  padding: 80px 20px;
  text-align: center;
  background-color: #fff;
  margin-bottom: 40px;
  min-height: 80vh;
}

section h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

section p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}


/* Section Styling with Backgrounds and Light Visibility */
.bg-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.bg-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0.6, 0.7); /* Dark overlay to add opacity */
  z-index: 1;
}

.container {
  z-index: 2; /* Ensuring content is above the overlay */
  text-align: left;
}

section h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

section p {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.section-text {
  flex: 1;
  margin-right: 20px;
}

.section-image {
  flex: 1;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* Footer Styling */
footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px;
  font-size: 1.1rem;
}

footer .footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

footer .footer-column {
  flex: 1;
  margin-right: 30px;
}

footer .footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

footer .footer-column p {
  margin-bottom: 10px;
}

footer .social-icons {
  display: flex;
  list-style: none;
}

footer .social-icons li {
  margin-right: 20px;
}

footer .social-icons li a {
  font-size: 1.8rem;
  color: #fff;
  transition: color 0.3s ease;
}

footer .social-icons li a:hover {
  color: #6fd6eb;
}

footer .footer-column #map {
  height: 300px;
  background-color: #777;
}

/* Animations */
.fade-in-section {
  animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
