/* SUBSCRIBE NOW */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&family=Poppins:wght@400;500&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: #231F20;
}


.subscribe-section {
  position: relative;
  width: 100%;
  height: clamp(595px, 31vw, 1500px);
  background-color: #231F20;
  background-image: url('../assets/img/SubscribeNow - 7_Asset1.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.subscribe-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.80);
  pointer-events: none;
  z-index: 0;
}


.subscribe-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 1.56vw, 75px);
}


.subscribe-title {
  width: auto;
  color: #FFFFFF;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 4.17vw, 200px);
  font-style: italic;
  font-weight: 700;
  line-height: normal;
}


.subscribe-subtitle {
  width: auto;
  max-width: 60vw;
  margin-top: -10px;
  color: #FFFFFF;
  text-align: center;
  text-shadow: 4px 5px 6px rgba(0, 0, 0, 0.25);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 1.04vw, 50px);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.72px;
}


.subscribe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(230px, 12vw, 580px);
  height: clamp(60px, 3.125vw, 150px);
  border-radius: clamp(10px, 0.52vw, 25px);
  background: #900;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
  color: #E8F4F3;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 1.04vw, 50px);
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  transition: background 0.2s ease;
  cursor: pointer;
}

.subscribe-btn:hover {
  background: #b30000;
}

.subscribe-btn:active {
  background: #600000;
}


@media screen and (max-width: 1440px) {
  .subscribe-section {
    width: 100%;
    height: clamp(400px, 31vw, 595px);
    background-position: center;
    background-size: cover;
  }
  .subscribe-title  { width: auto; font-size: clamp(24px, 4.5vw, 72px); }
  .subscribe-subtitle { width: 90%; max-width: 90%; font-size: clamp(16px, 1.5vw, 24px); }
}

.mobile-br { display: none; }

@media screen and (max-width: 480px) {
  .mobile-br { display: inline; }
}


@media screen and (min-width: 550px) {
  .subscribe-subtitle { width: auto; max-width: 90vw; }
  .subtitle-line1 { white-space: nowrap; }
}

@media screen and (max-width: 768px) {
  .subscribe-section { height: auto; padding: 80px 24px; }
  .subscribe-subtitle { font-size: 16px; width: 90vw; max-width: 90vw; }
  .subscribe-btn { width: 180px; height: 64px; font-size: 18px; }
}


.sub-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sub-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sub-modal {
  background: #800000;
  border-radius: 18px;
  padding: 52px 48px 40px;
  width: clamp(320px, 90vw, 460px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.sub-modal-overlay.active .sub-modal {
  transform: translateY(0);
}

.sub-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  font-style: italic;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.sub-modal-text {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1.55;
}

.sub-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

.sub-modal-btn {
  padding: 14px 36px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.sub-modal-btn--back {
  background: #e8e0d5;
  color: #3a1010;
  border: none;
}

.sub-modal-btn--back:hover {
  background: #f3ece3;
}

.sub-modal-btn--yes {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.sub-modal-btn--yes:hover {
  background: rgba(255, 255, 255, 0.12);
}
