﻿.footer {
  background-color: #353535; 
  color: white;
  font-size: 14px;
  width: 100%;
  background-image: url(../img/bg.png);
  background-size: 90% auto;
  background-repeat: no-repeat;
  background-position: center calc(100% - 50px);
}

.footer .container {
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-top {
  background: #17AA00;
  align-items: center;
  padding: 14px 0;
  flex-wrap: wrap;
}

.footer-top-left {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  align-items: center;
}


.footer-content{
    width: 100%;
    display: inline-flex;
    justify-content: space-between;

}

.footer-top-left span,
.footer-top-left .footer-contact-link {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  margin: 0 auto;
  gap: 12px;
  transition: transform 0.22s ease, color 0.22s ease, text-decoration-color 0.22s ease;
  transform-origin: center;
  will-change: transform;
}

.footer-top-left > * {
  position: relative;
}

.footer-top-left > *:hover {
  transform: scale(1.08);
  z-index: 2;
}

.footer-address:hover {
  text-decoration: underline;
}

.footer-contact-link {
  text-decoration: none;
  transition: color 1s ease, opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-top-left .footer-contact-link {
  color: #fff;
}

.footer-top-left .footer-contact-link:hover {
  color: #e9ffe9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-work-time {
  color: #fff;
  transition: .5 ease;
}

.footer-work-time:hover{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-call{
  background: transparent;
  border: 2px solid #FFE600;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  color: #FFE600;
}

.footer-call:hover {
  transform: scale(1.1);
  background: white;
  color: #17AA00;
  border: 2px solid #17AA00;
}

.footer-main {
  display: flex;
  gap: 60px;
  padding: 60px 0 50px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h4 {
  color: #FFE600;
  /*margin-bottom: 12px;*/
  margin-top: 0;

}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.footer-column a:hover {
  color: #FFE600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-column .highlight {
  background: #FFE600;
  padding: 10px 12px;
  border-radius: 6px;
  color: black;
  line-height: 20px;
  font-size: 14px;
}

.footer-column .highlight:hover {
  color: black;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid #FFFFFF26;
  background: transparent;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  border-bottom: 1px solid #FFFFFF26;
  
}

.footer-socials a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-socials a:hover {
  transform: scale(1.2);
}

.footer-socials{
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
	align-items: center;
}

.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 40px;
  width: 45px;
  height: 45px;
  background: white;
  color: black;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.scroll-top:hover {
  transform: scale(1.1);
}

.footer-info{
    display: flex;
    align-items: center;
    gap: 140px;
}
.block-info{
    display: inline-flex;
    gap: 40px;
}

.block-info span{
    display: inline-flex;
    text-align: center;
    gap: 8px;
    font-size: 14px;
    align-items: center;
    color: white;
}

.block-info .footer-contact-link {
    color: white;
}

.block-info .footer-contact-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.block-info .phone-number{
    color: white;
    font-size: 20px;
}

.block-info .phone-subtext{
    color: white;
    font-size: 12px;
}

.footer-copy{
    background: #353535;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF99;
}

.footer-copy a{
    color: #FFFFFF99;
    text-decoration: none;
}

@media (max-width: 1200px) {
  .footer-info {
    gap: 20px;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .footer-main {
    gap: 40px;
    justify-content: center;
  }

}

@media (max-width: 768px) {
	.footer-top-left span, .footer-top-left .footer-contact-link {
		margin-left: 0;
		font-size: 16px;
	}

  .footer-top {
    padding: 20px;
  }

  .footer-top .container {
    padding: 0 16px;
  }

  .footer-content {
    flex-direction: column;
    gap: 0;
  }

  .footer-top-left {
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-bottom: 0;
  }

  .footer-top-left span {
    font-size: 16px;
    font-weight: 700;
    gap: 10px;
    align-items: center;
    color: white;
    display: inline-flex;
  }

  .footer-top-left span svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
  }

  .footer-call {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 10px;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #FFE600;
    background: transparent;
    color: #FFE600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 2;
    transform: none;
  }

  .footer-call:hover,
  .footer-call:active {
    background: #FFE600;
    color: #17AA00;
    transform: none;
  }

  .footer-main {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 0;
    align-items: stretch;
  }

  .footer-column {
    gap: 0;
    padding: 0 16px;
    border-bottom: 1px solid #444;
  }

  .footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: #FFE600;
    padding: 14px 0 6px;
    margin: 0;
  }

  .footer-column a {
    font-size: 14px;
    padding: 7px 0;
    color: #fff;
    display: block;
    line-height: 1.5;
  }

  .footer-column .highlight {
    display: inline-block;
    margin: 8px 0 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    background: #FFE600;
    color: black;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    border-top: 1px solid #444;
    border-bottom: none;
    padding: 20px 16px 0;
  }

  .footer-info {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
  }

  .footer-info img {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
  }

  .block-info {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .block-info span,
  .block-info a {
    font-size: 14px;
    gap: 8px;
    align-items: center;
    display: inline-flex;
    color: white;
    text-decoration: none;
  }

  .block-info .phone-number {
    font-size: 22px;
    font-weight: 700;
    color: white;
  }

  .block-info .phone-subtext {
    font-size: 12px;
    color: #ccc;
  }

  /* в”Ђв”Ђ SOCIALS в”Ђв”Ђ */
  .footer-socials {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
    padding: 0 16px;
  }

  .social-media {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .also-socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  /* в”Ђв”Ђ COPYRIGHT в”Ђв”Ђ */
  .footer-copy {
    flex-direction: column;
    gap: 4px;
    padding: 16px 16px 24px;
    font-size: 12px;
    color: #FFFFFF99;
  }

  .footer-copy a {
    color: #FFFFFF99;
  }

  /* в”Ђв”Ђ SCROLL TOP в”Ђв”Ђ */
  .scroll-top {
    right: 16px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Ascunde imaginea de fundal din footer pe mobil */
@media (max-width: 768px) {
  .footer {
    background-image: none;
  }
}


