.footer {
  padding-top: 50px;
  position: relative;
  width: 100%;
  color: #fff;
  font-family: "Arial", sans-serif;
  overflow: hidden;
  background: url("../images/grid.jpg"),
    linear-gradient(180deg, rgb(0, 0, 0), rgb(24, 24, 24));
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: overlay;
}

.footer-bg-text {
  position: absolute;
  bottom: 0;
  left: 60%;
  transform: translate(-50%, -50%);
  font-size: 7rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.09);
  letter-spacing: 1rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  position: relative;
  display: flex;
  justify-content: space-around;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo-section {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-description {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-socials a {
  margin-right: 15px;
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.3s, color 0.3s;
}

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

.footer-section {
  flex: 1 1 200px;
}

.footer-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul {
  margin: 0.5rem 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

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

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #bb8831;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-newsletter form {
  display: flex;
  margin-top: 10px;
}

.footer-newsletter input {
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  flex: 1;
}

.footer-newsletter button {
  padding: 10px 20px;
  border: none;
  background-color: #bb8831;
  color: #fff;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.footer-newsletter button:hover {
  background-color: #d1a94d;
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  .footer-section,
  .footer-logo-section {
    text-align: center;
    align-items: center;
  }
  .footer-bg-text {
    font-size: 5rem;
  }
}


#newsletterModal {
  position: fixed;
  inset: 0;
}

.newsletter-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.newsletter-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.newsletter-modal-card {
  position: relative;
  width: 90%;
  max-width: 420px;
  padding: 2rem;
  color: #f5f5f5;
  background: linear-gradient(
    135deg,
    #0b0b0b 0%,
    #1a1a1a 25%,
    #0f0f0f 50%,
    #1f1f1f 75%,
    #0b0b0b 100%
  );
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.newsletter-modal-overlay.active .newsletter-modal-card {
  transform: translateY(0) scale(1);
}

.newsletter-modal-content {
  display: none;
}

.newsletter-modal-overlay[data-status="success"]
  .newsletter-modal-content[data-type="success"],
.newsletter-modal-overlay[data-status="error"]
  .newsletter-modal-content[data-type="error"] {
  display: block;
}

.newsletter-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
