/**
 * Washin Auto - Modern Custom Footer Styles
 */

:root {
  --primary-color: var(--main-color);
  --primary-dark: #005d96;
  --primary-light: #e6f3ff;
  --accent-color: #C12228;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a68;
  --text-light: #6e7191;
  --bg-light: #f8f9fa;
  --bg-dark: #16213e;
  --white: #ffffff;
  --black: #000000;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  --box-shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
  --box-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s ease;
  --transition-slow: all 0.8s ease;
  --font-primary: "Noto Sans", sans-serif;
  --font-secondary: "Oswald", sans-serif;
}

/* Footer Styles */
.site-footer {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
}

/* Footer Newsletter */
.footer-newsletter {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(90deg, var(--bg-dark), var(--primary-dark));
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.footer-newsletter:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://www.1ecst.com/tp_ecst/Public/upload/webData/2023-06-05/1685949479_1293114790.png) repeat center;
    /* opacity: 0.1; */
    z-index: 1;
}

.newsletter-wrapper {
  position: relative;
  z-index: 2;
}

.newsletter-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
}

.newsletter-content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 0;
}

.newsletter-form .form-group {
  position: relative;
  margin-bottom: 0;
}

.newsletter-form input {
  width: 100%;
  height: 60px;
  padding: 0 160px 0 25px;
  border: none;
  border-radius: var(--border-radius-xl);
  font-size: 16px;
  color: var(--text-dark);
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-form .btn-subscribe {
  position: absolute;
  top: 5px;
  right: 5px;
  height: 50px;
  padding: 0 25px;
  border: none;
  border-radius: var(--border-radius-xl);
  background: linear-gradient(45deg, var(--accent-color), #DD4045);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.newsletter-form .btn-subscribe:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #DD4045, var(--accent-color));
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 1;
}

.newsletter-form .btn-subscribe span,
.newsletter-form .btn-subscribe i {
  position: relative;
  z-index: 2;
}

.newsletter-form .btn-subscribe:hover {
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
  /*transform: translateY(-2px);*/
}

.newsletter-form .btn-subscribe:hover:before {
  opacity: 1;
}

.newsletter-form .btn-subscribe i {
  transition: var(--transition-fast);
}

.newsletter-form .btn-subscribe:hover i {
  transform: translateX(5px);
}

.form-response {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
}

.form-response.success {
  color: #28a745;
}

.form-response.error {
  color: #dc3545;
}

/* Footer Main */
.footer-main {
  position: relative;
  padding: 100px 0 70px;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.footer-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  background-color: var(--white);
}

.footer-shape.shape-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  right: -100px;
}

.footer-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  height: 50px;
}

.site-footer .widget-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  color: var(--white);
}

.site-footer .widget-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.site-footer .about-widget p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  line-height: 1.8;
}

.footer-contact {
  margin-bottom: 25px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact .contact-item i {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 114, 186, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 16px;
  flex-shrink: 0;
}

.footer-contact .contact-item p, .footer-contact .contact-item a {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social .social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition-fast);
}

.footer-social .social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links li a i {
  font-size: 12px;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-links li a:hover i {
  transform: translateX(3px);
}

.working-hours {
  margin-bottom: 30px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item .day {
  color: var(--white);
  font-weight: 600;
}

.hours-item .time {
  color: rgba(255, 255, 255, 0.7);
}

/*
.instagram-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-fast);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 114, 186, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-item .overlay i {
  color: var(--white);
  font-size: 24px;
  transform: scale(0);
  transition: var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:hover .overlay i {
  transform: scale(1);
}
*/

/* Footer Bottom */
.footer-bottom {
  padding: 25px 0;
  background-color: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.copyright p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
}

.footer-bottom-links ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-links ul li {
  margin-left: 20px;
}

.footer-bottom-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-bottom-links ul li a:hover {
  color: var(--white);
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
}

.payment-methods span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-right: 15px;
}

.payment-methods img {
  height: 25px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: -60px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 114, 186, 0.3);
  transition: var(--transition-fast);
}

.back-to-top.active {
  bottom: 30px;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 114, 186, 0.4);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .footer-newsletter {
    padding: 60px 0;
  }

  .footer-main {
    padding: 80px 0 50px;
  }

  .newsletter-content h3 {
    font-size: 28px;
  }
}

@media (max-width: 991.98px) {
  .newsletter-content {
    margin-bottom: 30px;
    text-align: center;
  }

  .site-footer .widget-title {
    font-size: 20px;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .footer-bottom-links ul li {
    margin-left: 0;
    margin-right: 20px;
  }

  .payment-methods {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .footer-newsletter {
    padding: 50px 0;
  }

  .footer-main {
    padding: 60px 0 30px;
  }

  .newsletter-content h3 {
    font-size: 24px;
  }

  .newsletter-form .btn-subscribe {
    padding: 0 15px;
  }

  .newsletter-form .btn-subscribe span {
    display: none;
  }

  .copyright {
    text-align: center;
    margin-bottom: 15px;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .payment-methods {
    justify-content: center;
  }

  .back-to-top {
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .back-to-top.active {
    bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  .newsletter-form input {
    height: 50px;
    padding: 0 60px 0 20px;
    font-size: 14px;
  }

  .newsletter-form .btn-subscribe {
    height: 40px;
    width: 40px;
    padding: 0;
    top: 5px;
    right: 5px;
  }

  .newsletter-form .btn-subscribe span {
    display: none;
  }

  .footer-bottom-links ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom-links ul li {
    margin: 5px 10px;
  }
}

