:root {
  --primary-color-footer: var(--light-accent-color);
  --footer-background: var(--dark-color, #121a23);
  --footer-text-color: var(--text-color-light, #fff);
  --footer-accent-color: var(--light-accent, #fff);
  --button-color-footer: var(--primary-color, #0077b6);
}
.footer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--footer-background, #121a23);
  color: var(--footer-text-color, #fff);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/pattern-2.png");
  background-size: 50%;
  opacity: 0.03;
  pointer-events: none;
}

.footer-main {
  display: flex;
  flex: 1;
  padding: 8rem 5% 5rem;
}

.footer-column {
  flex: 1;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
}

/* Left Column - Navigation */
.footer-navigation {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-nav-title {
  font-size: 1.7rem;
  font-weight: 200;
  text-transform: uppercase;

  margin-bottom: 2rem;
  color: var(--primary-color-footer);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-nav-item {
  margin-bottom: 1.2rem;
}

.footer-nav-link {
  color: var(--footer-text-color, #fff);
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  font-weight: 300;
}

.footer-nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color-footer);
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--primary-color-footer);
  transform: translateX(5px);
}

.footer-nav-link:hover::after {
  width: 100%;
}

/* Middle Column - Logo and Tagline */
.footer-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo {
  max-width: 300px;
  margin-bottom: 2rem;
}

.footer-tagline {
  font-size: 1.1rem;
  font-weight: 250;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--button-color-footer);
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-button:hover {
  background-color: var(--button-color-footer);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Right Column - Contact Info and Social Links */
.footer-contact {
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
}

.footer-contact-title {
  font-size: 1.7rem;
  font-weight: 200;
  text-transform: uppercase;

  margin-bottom: 2rem;
  color: var(--primary-color-footer);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  border-bottom: var(--primary-color-dark) 1px solid;
  padding: 10px 5px;
}

.contact-icon {
  font-size: 1.2rem;
  color: var(--primary-color-footer);
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

.contact-text {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 250;
}

.contact-text a {
  color: var(--footer-text-color, #fff);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--primary-color-footer);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--primary-color-footer);
  transform: translateY(-5px);
}

/* Copyright Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: var(--primary-color-footer);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .footer-main {
    padding: 6rem 4% 4rem;
  }

  .footer-column {
    padding: 0 1.5rem;
  }

  .footer-logo {
    max-width: 250px;
  }
}

@media (max-width: 992px) {
  .footer-main {
    flex-direction: column;
    padding: 5rem 5% 3rem;
  }

  .footer-column {
    margin-bottom: 3rem;
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .footer-logo-container {
    order: 1;
  }

  .footer-navigation {
    order: 2;
    align-items: center;
  }

  .footer-contact {
    order: 3;
    align-items: center;
  }

  .footer-content-block {
    align-items: center;
    width: 100%;
    max-width: 500px;
  }

  .footer-nav-links,
  .contact-info {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 5% 4rem;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .footer {
    min-height: auto;
  }

  .footer-main {
    padding: 4rem 5% 2rem;
  }

  .footer-nav-title,
  .footer-contact-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-nav-link,
  .contact-text {
    font-size: 1.1rem;
  }

  .footer-logo {
    max-width: 220px;
    margin-bottom: 1.5rem;
  }

  .footer-tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .footer-button {
    padding: 0.8rem 2rem;
  }

  .contact-info {
    margin-bottom: 1.5rem;
  }

  .contact-item {
    margin-bottom: 1rem;
    padding: 8px 5px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 3rem 5% 1.5rem;
  }

  .footer-column {
    margin-bottom: 2rem;
  }

  .footer-nav-title,
  .footer-contact-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }

  .footer-logo {
    max-width: 180px;
  }

  .footer-tagline {
    font-size: 0.9rem;
  }

  .footer-button {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
  }

  .footer-nav-link {
    font-size: 1rem;
  }

  .contact-text {
    font-size: 0.95rem;
  }

  .social-links {
    gap: 0.7rem;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .copyright {
    font-size: 0.8rem;
  }

  .footer-legal-link {
    font-size: 0.8rem;
  }
}
