/* Newsletter Section - Minimalistic Design */

.newsletter-section {
  width: 100%;
  background: #000;
  padding: 80px 0;
  margin: 0;
}

.newsletter-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.newsletter-content {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 30px;
  text-align: center;
}

/* Newsletter Image */
.newsletter-image {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.newsletter-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  pointer-events: none;
}

.newsletter-image img {
  max-height: 350px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Header */
.newsletter-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newsletter-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #c5c5c5;
  line-height: 1.5;
  margin: 0 0 30px 0;
}

/* Form */
.newsletter-form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.newsletter-form-group input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-form-group input[type="email"]::placeholder {
  color: #888;
}

.newsletter-form-group input[type="email"]:focus {
  border-color: rgba(236, 105, 26, 0.5);
}

/* Button */
.newsletter-submit-button {
  padding: 16px 32px;
  background: #2E5C9Dc2;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.newsletter-submit-button:hover {
  background: #2e5c9d9e;
}

.newsletter-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success message */
.newsletter-message {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: 6px;
  margin-top: 15px;
  animation: fadeIn 0.3s ease-in;
}

.newsletter-message.success {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

/* Small text */
.newsletter-disclaimer {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: #888;
  margin-top: 12px;
  font-weight: 400;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive - Mobile First */
@media screen and (max-width: 768px) {
  .newsletter-section {
    padding: 60px 0;
  }

  .newsletter-content {
    padding: 30px 20px;
  }

  .newsletter-image {
    margin-bottom: 20px;
  }

  .newsletter-image img {
    max-height: 250px;
    max-width: 100%;
  }

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

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

  .newsletter-form-group {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-submit-button {
    width: 100%;
    padding: 18px 32px;
  }
}
