/* Reset & normalize */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased; /* smoother text rendering */
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Poppins', sans-serif;
 background: url('images/OuttaLifeStudios-05786.jpg') center center / cover no-repeat fixed;
  color: #fff;
  overflow-x: hidden;
  position: relative;

}

html {
  scroll-behavior: smooth;
}

/* Fullscreen overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0e0e0eaf; /* dark background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000; /* above everything */
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Loader animation (circle spinner) */
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #000000; /* accent */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hidden state */
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw; /* lock to viewport width */
  background: url('images/Copilot_20251217_225513.png') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Overlay layer */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0); /* Adjust opacity here */
  z-index: 0;
}

/* Center logo */
.center-logo {
  position: relative;
  z-index: 1;
  transform: translateY(40px); /* moves logo down consistently */
}

.center-logo img {
  height: 700px;
  width: auto;
  display: block; /* removes inline spacing inconsistencies */
}

/* Social media icons */
.social-icons {
  position: fixed;
  bottom: 10rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #f02929;
}

.social-icons a {
  color: white;
  transition: color 0.3s ease;
}

.social-icons.black a {
  color: #000 !important;
}

/* Scroll to hero button */
.scroll-to-hero {
  position: fixed;
  bottom: 5rem; /* Below social icons */
  right: 1rem;
  width: 40px;
  height: 40px;
  background-color: #f0292900;
  color: rgb(136, 93, 0);
  border-radius: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.scroll-to-hero i {
  font-size: 24px; /* Increase this value to make the arrow bigger */
}

.scroll-to-hero:hover {
  background-color: #ffffff00;
  color: #dfab01;
  transform: scale(1.1);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff00;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  width: auto;
  max-width: 90%;
  z-index: 999;
}

/* Nav list */
.bottom-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

/* Nav links */
.bottom-nav a {
  color: #ececec;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.bottom-nav a:hover {
  background-color: #ffffff;
  color: #000000;
}

.bottom-nav.black a {
  color: #000;
}

.bottom-nav.black a:hover {
  background-color: #000;
  color: #fff;
}

/* this is for the black and whit function  */


.social-icons a {
  color: white;
  transition: color 0.3s ease;
}

.social-icons.black a {
  color: #000 !important;
}

.bottom-nav a {
  color: #ececec;
  transition: color 0.3s ease;
}

.bottom-nav.black a {
  color: #000;
}

.bottom-nav.black a:hover {
  background-color: #000;
  color: #fff;
}














/* Hamburger icon */
.hamburger {
  position: absolute;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
  bottom: 4rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: rgb(255, 255, 255);
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0; /* hidden by default */
  background-color: #000000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: height 0.4s ease;
  z-index: 999;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  margin: 1rem 0;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.4s ease;
}

/* When menu is open */
.mobile-menu.show {
  height: 52vh; /* covers 40% of screen height */
}

/* Animate links flowing in */
.mobile-menu.show a {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive rules */
@media (max-width: 768px) {
  .hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    background: url('images/Copilot_20251217_225513.png') center center / 150% no-repeat; /* Zoom in */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Center logo */
  .center-logo {
    z-index: 1;
    transform: translateY(16%); /* consistent universal positioning */
    margin-left: 6%;
    margin-bottom: 6%;
  }

  .center-logo img {
    height: 400px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.show {
    display: flex;
  }

  .bottom-nav {
    display: none; /* Hide bottom nav on mobile */
  }
}


.contact-section {
  background-color: #ffffff;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  padding: 100px 40px;
  position: relative;
  z-index: 1;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* center vertically */
  max-width: 1200px;
  margin: 0 auto;
  min-height: 70vh;          /* ensures vertical centering space */
}

.contact-form {
  flex: 1;
  min-width: 320px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  transition: box-shadow 0.3s ease;
}

.contact-form h2 {
  font-size: 2rem;
  color: #bfa133;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  background-color: #ffffff;
  color: #383737;
  font-size: 1rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background-color: #ffffff;
  outline: none;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  padding: 14px 24px;
  background-color: #bfa133;
  color: #000;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #d7b94e;
  transform: translateY(-2px);
}

/* Contact Info (centered) */
.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontal centering */
  justify-content: center; /* vertical centering */
}

.contact-info h3 {
  font-size: 1.6rem;
  color: #a88e5c;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info p {
  font-size: 1rem;
  color: #000000;
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-info a {
  color: #bfa133;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-info a:hover {
  color: #fff;
}

.contact-socials {
  margin-top: 30px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}
.contact-socials a {
  font-size: 1rem;
  color: #a88e5c;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-socials a:hover {
  color: #000000;
}

/* Map Section stays below */
.map-section {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    min-height: auto; /* reset for mobile */
  }

  .contact-form {
    padding: 30px;
  }

  .contact-form h2 {
    font-size: 1.6rem;
  }

  .contact-info h3 {
    font-size: 1.4rem;
  }

  .map-section iframe {
    height: 300px;
  }
}
