/*
 Theme Name: Hello Child
 Template: hello-elementor
 Author: Zygis
 Version: 1.0
 Description: Child theme for Hello Elementor
*/

@import url('fonts/stylesheet.css');

/* Global font */
html, body {
  background-color: #1a1a1a !important;
  color: #ffffff;
  margin: 0;
  padding-top: 80px;
  font-family: 'Poppins', sans-serif;
  overflow: visible !important;
}

/* Header */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;          
  background: #001f3f;
  color: white;
  font-family: 'Poppins', sans-serif;
  z-index: 999;
  transition: transform 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

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

/* Menu */
.nav-menu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-menu .menu > li {
  position: relative;
}

.nav-menu .menu > li > a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu .menu > li > a:hover {
  color: #4da6ff; 
}

/* Dropdowns */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #001a33;
  display: none;
  flex-direction: column;
  min-width: 180px;
}

.nav-menu .sub-menu li a {
  padding: 10px;
}

.nav-menu .menu li:hover > .sub-menu {
  display: flex;
}

/* Mobile */
.nav-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}
.nav-header.hidden-header {
  transform: translateY(-100%);
}

/* Page content */
.page-content-inner {
  background-color: #202020;  /* slightly lighter than #1a1a1a */
  padding: 30px;
  border-radius: 6px;
}

/* Footer */
.site-footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 50px 20px 20px 20px;
  background: #001f3f;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.footer-widget {
  padding: 10px;
}

.footer-widget h4 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.footer-widget p,
.footer-widget a {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.footer-widget a:hover {
  color: #4da6ff;
}

.footer-widget iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: #aaa;
  font-family: 'Poppins', sans-serif;
}

.footer-links {
  display: block; 
}
.footer-links a {
  display: inline-block;
  font-size: 14px;  /* restore text size */
}

.footer-links a:hover {
  color: #4da6ff;
}
.footer-links .elementor-inline-wrap {
  display: inline;       /* force inline instead of inline-block */
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit;    /* reset any font-size changes */
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

.site-footer .footer-bottom .footer-links a + a::before {
  content: "|";
  margin: 0 10px !important; /* The !important rule forces this style to apply */
  color: #aaa;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* stack blocks */
    text-align: left;
  }
  .footer-widget iframe {
    height: 250px;
  }

  .nav-menu {
    display: none;
    width: 100%;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu .menu {
    flex-direction: column;
    background: #001f3f;
  }

  .nav-menu .menu li a {
    padding: 12px;
  }

  .nav-toggle {
    display: block;
  }
}
