/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: #1e1e1e;
  color: #eee;
  padding: 50px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-left p {
  max-width: 300px;
  color: #ccc;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin-bottom: 10px;
}

.footer-center ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

.footer-center ul li a:hover {
  color: #77b254;
}

.footer-right p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  margin: 8px 0;
}

.social-icons a {
  margin-right: 10px;
  display: inline-block;
  transition: transform 0.2s;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #333;
  padding-top: 15px;
}

/* =========================================================
   NAVBAR (Sticky + Blur + Mobile Dropdown)
   ========================================================= */
#nav-bar-wrapper {
  position: sticky;
  top: 0;
  z-index: 2000;
}

#nav-bar {
  height: 86px;
  width: 100%;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: space-around;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

#logo-wrapper {
  display: flex;
  align-items: center;
}

.bcn-logo-small {
  width: 200px;
  height: auto;
  display: block;
}

/* Desktop nav links */
#nav-bar-items-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-bar-items {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  color: #111;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-bar-items:hover {
  background: rgba(119, 178, 84, 0.12);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger-icon {
  display: none; /* shows on mobile via media query */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.hamburger-icon .line {
  height: 3px;
  width: 100%;
  background-color: #000;
  border-radius: 5px;
  transition: 0.25s ease;
}

/* Hamburger animation when menu-active */
#nav-bar.menu-active .hamburger-icon .line {
  background-color: #77b254;
}

#nav-bar.menu-active .hamburger-icon .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#nav-bar.menu-active .hamburger-icon .line:nth-child(2) {
  opacity: 0;
}

#nav-bar.menu-active .hamburger-icon .line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #1e1e1e;
}

li {
  list-style: none;
}

section {
  scroll-margin-top: 100px;
}

/* =========================================================
   BUTTON (Your animation — cleaned + responsive-safe)
   ========================================================= */
#button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;

  padding: 16px 36px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-size: 16px;
  border-radius: 999px;
  font-weight: 800;

  background-color: #ffffff;
  color: #000;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.35s ease;
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: #77b254;
  z-index: 9;
  transition: all 0.35s ease;
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 20px;
  height: 20px;
  background-color: #77b254;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.45s ease;
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-10px);
  transition: all 0.35s ease;
}

.animated-button:hover {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(10px);
}

.animated-button:hover svg {
  fill: #000;
}

.animated-button:hover .circle {
  width: 260px;
  height: 260px;
  opacity: 1;
}

.animated-button:active {
  transform: translateY(0px) scale(0.98);
}
