/* Newsletter Section */
.newsletter {
  padding: 80px 20px;
  background: url('../../../assets/images/bg_coffee.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  font-family: 'Bellefair', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.newsletter p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  font-family: 'Barlow', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px 0 0 8px;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-family: 'Barlow', sans-serif;
  transition: all 0.3s ease;
}

.newsletter input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter input[type="email"]::placeholder {
  color: #666;
  opacity: 0.8;
}

.newsletter button {
  padding: 16px 32px;
  background: #D2691E;
  color: white;
  border: 2px solid #D2691E;
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter button:hover {
  background: #B8860B;
  border-color: #B8860B;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.newsletter button:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .newsletter {
    padding: 60px 20px;
  }

  .newsletter h2 {
    font-size: 2rem;
  }

  .newsletter p {
    font-size: 1rem;
  }

  .newsletter form {
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
  }

  .newsletter input[type="email"],
  .newsletter button {
    border-radius: 8px;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .newsletter {
    padding: 40px 16px;
  }

  .newsletter h2 {
    font-size: 1.75rem;
  }

  .newsletter-content {
    max-width: 100%;
  }

  .newsletter form {
    max-width: 100%;
  }
}
