/* ========== FOOTER - GLASSMORPHISM STYLE ========== */
.footer {
  background: transparent;
  background-image: url('../img/footerbg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 4rem 0 2rem;
  margin-top: 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(19, 6, 23, 0.7) 0%, rgba(26, 6, 37, 0.7) 50%, rgba(37, 5, 43, 0.7) 75%, rgba(42, 6, 44, 0.7) 100%);
  z-index: 0;
}

.footer .container,
.footer-content {
  position: relative;
  z-index: 1;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

/* Left Section: Logo and Social */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.footer__logo:hover {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 6, 44, 0.8);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: rgba(147, 51, 234, 0.3);
  transform: translateY(-2px);
}

/* Middle Section: Navigation */
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}

.footer-nav-links li {
  margin: 0;
}

.footer-nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-nav-links a:hover {
  color: #ffffff;
}

/* Right Section: Newsletter */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-newsletter-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.footer-email-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(42, 6, 44, 0.6);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.footer-email-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-email-input:focus {
  border-color: rgba(147, 51, 234, 0.6);
  background: rgba(42, 6, 44, 0.8);
}

.footer-subscribe-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(90deg, #620080 0%, #ec4899 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5);
  background: linear-gradient(90deg, #ec4899 0%, #620080 100%);
}

/* Footer Info */
.footer-info {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(147, 51, 234, 0.2);
  margin-top: 2rem;
}

.footer-credits,
.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0.5rem 0;
  line-height: 1.6;
}

.footer-credits a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credits a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 2rem;
    background-attachment: scroll;
  }
  
  .footer .container {
    padding: 0 20px;
  }
  
  .footer-content {
    gap: 2.5rem;
    grid-template-columns: 1fr;
  }
  
  .footer-left {
    align-items: center;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-nav {
    justify-content: center;
  }
  
  .footer-nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-newsletter {
    align-items: center;
  }
  
  .footer-newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
  }
  
  .footer-email-input {
    width: 100%;
  }
  
  .footer-subscribe-btn {
    width: 100%;
  }
  
  .footer-credits,
  .footer-copyright {
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer .container {
    padding: 0 16px;
  }
  
  .footer-content {
    gap: 2rem;
  }
  
  .footer__logo {
    font-size: 1.3rem;
  }
  
  .footer-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .footer-nav-links a {
    font-size: 0.95rem;
  }
  
  .footer-newsletter-title {
    font-size: 0.95rem;
  }
  
  .footer-email-input {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }
  
  .footer-subscribe-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .footer-info {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .footer-credits,
  .footer-copyright {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer__logo {
    font-size: 1.2rem;
  }
  
  .footer-social {
    gap: 0.75rem;
  }
  
  .footer-social-link {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  
  .footer-nav-links {
    gap: 0.75rem;
  }
  
  .footer-nav-links a {
    font-size: 0.9rem;
  }
  
  .footer-newsletter-form {
    max-width: 100%;
  }
}

/* ========== SOCIAL SHARE BUTTONS STYLES ========== */
/* Social Share Buttons Styles */
.social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  padding: 15px 0;
}

.social-share__label {
  font-size: 14px;
  color: #666;
  margin-right: 10px;
  font-weight: 500;
}

.social-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  color: #fff;
}

.social-share__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.social-share__button--vk {
  background-color: #4C75A3;
}

.social-share__button--vk:hover {
  background-color: #3d5f8a;
}

.social-share__button--facebook {
  background-color: #1877F2;
}

.social-share__button--facebook:hover {
  background-color: #166fe5;
}

.social-share__button--twitter {
  background-color: #1DA1F2;
}

.social-share__button--twitter:hover {
  background-color: #1a91da;
}

.social-share__button--telegram {
  background-color: #0088cc;
}

.social-share__button--telegram:hover {
  background-color: #0077b5;
}

.social-share__button--linkedin {
  background-color: #0077B5;
}

.social-share__button--linkedin:hover {
  background-color: #006399;
}

.social-share__button--whatsapp {
  background-color: #25D366;
}

.social-share__button--whatsapp:hover {
  background-color: #20ba5a;
}

.social-share__button i {
  margin-right: 6px;
  font-size: 16px;
}

/* Стили для футера */
.social-share--footer {
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-share--footer .social-share__label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin-bottom: 12px;
}

.social-share--footer .social-share__buttons {
  justify-content: center;
}

.social-share--footer .social-share__button {
  padding: 6px 14px;
  font-size: 13px;
  opacity: 0.9;
}

.social-share--footer .social-share__button:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .social-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .social-share__label {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .social-share__button {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .social-share--footer {
    padding: 15px 0;
  }
  
  .social-share--footer .social-share__buttons {
    width: 100%;
    justify-content: center;
  }
}