/* Base Styles */
body {
  margin: 0; 
  font-family: 'Poppins', sans-serif; 
  background-color: rgb(255, 255, 255);
  line-height: 1.6;
  color: #333333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1 {
  font-size: 5.5rem; 
  margin-bottom: 1.7rem;
  font-weight: 500;
}



/* Navigation Header */
.site-header {
  background-color: #000;
  color: white;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 1000;
  width: 100%;
  pointer-events: auto;
  flex-shrink: 0;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1700px; 
  width: 100%; 
  margin-left: auto;  
  margin-right: auto; 
  padding: 0.5em 3vw;    
  position: relative;
  box-sizing: border-box; 
}



.nav-container {
  display: flex;
  flex-wrap: nowrap;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0%; 
  line-height: 1;
  align-items: center;
  justify-content: space-between; 
}

.logo a {
  font-size: 2.2rem;
  font-weight: 500;
  font-style: normal;
  color: white;
  text-decoration: none;
}

.nav-container .logo { 
    flex-shrink: 0; 
}

.nav-links {
  display: flex;
  align-items: center;
  padding-left: 2rem;
  padding-right: 2rem;
  gap: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  position: relative;
  white-space: nowrap;
}

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 0.4em;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  padding: 0.5rem 0rem;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 1001;
  border-radius: 0 0 4px 4px;
  box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 1rem;
  white-space: nowrap;
}

 .dropdown-content a:hover {
    background-color: #222; 
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav-cta { 
    flex-shrink: 0;
}

.nav-cta a {
  background-color: #FFFFFF;
  color: black;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.4rem;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.3s;
}

.nav-cta a:hover {
  background-color: #dddddd;
}



/* Hamburger Menu Button (Hidden on Desktop) */
.hamburger-menu {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px; 
    margin-left: 15px; 
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white; 
    margin: 5px 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; 
}

.hamburger-menu-text {
    display: none; 
}



/* Mobile Navigation Menu (Hidden on Desktop) */
.mobile-nav-menu {
    display: none; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    background-color: #0c0c0c; 
    padding: 60px 20px 20px;
    z-index: 1050;
    box-sizing: border-box;
    overflow-y: auto; 
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
}

.mobile-nav-menu.is-active {
    display: block; 
    transform: translateX(0%);
}

.mobile-nav-menu a,
.mobile-nav-menu .mobile-nav-parent-link {
    display: block;
    color: white;
    padding: 12px 15px;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #222;
}
.mobile-nav-menu .mobile-nav-parent-link {
    font-weight: 600; 
    color: #aaa;
}

.mobile-nav-menu a:last-of-type {
    border-bottom: none;
}

.mobile-nav-menu .mobile-dropdown-item {
    padding-left: 30px; 
    font-size: 1rem;
}

.mobile-nav-menu .mobile-nav-cta-item {
    background-color: white;
    color: black !important; 
    text-align: center;
    border-radius: 4px;
    margin: 20px 15px 0;
    padding: 12px 15px;
    font-weight: 600;
    border-bottom: none; 
}
.mobile-nav-menu .mobile-nav-cta-item:hover {
    background-color: #ddd;
}

@media (max-width: 850px) { 
    .nav-links {
        display: none; 
    }

    .nav-cta {
        display: none; 
    }

    .hamburger-menu {
        display: flex; 
        align-items: center; 
        background: none;
        border: none;
        color: white; 
        cursor: pointer;
        padding: 10px; 
    }

    .hamburger-menu-text {
        display: inline; 
        margin-left: 8px; 
        font-size: 1.6em; 
        font-weight: 500; 
    }

    .site-header-inner {
        padding: 0.8em 15px;
    }

    .nav-container {
        gap: 0;
    }

    .hamburger-menu.is-active .hamburger-icon-wrapper .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.is-active .hamburger-icon-wrapper .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.is-active .hamburger-icon-wrapper .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}



/* Footer */
.footer {
  background-color: #000;
  color: #fff;
  padding: 10px 20px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box; 
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2px 0px;
  color: #ffffff;
}

.footer-bottom p {
  margin: 0px;
}

.footer ul {
  list-style: none;
  margin: 2px 0px;
  padding: 0;
}

.footer ul li {
  margin: 4px 0;
}

.footer a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 0px;
  margin-top: 0px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-socials a {
  margin: 0 8px;
  color: #bbb;
  font-size: 1.8rem;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #fff;
}
