/* ============================================
   MAIN STYLESHEET
   (Imports are now handled in HTML for better stability)
   ============================================ */

/* --- Custom Cursor (Desktop Only) --- */

/* --- Custom Cursor (Desktop Only) --- */
.cursor-dot,
.cursor-outline {
   display: none;
}

@media (hover: hover) and (pointer: fine) {

   body,
   a,
   button,
   input,
   textarea {
      cursor: none !important;
   }

   .cursor-dot,
   .cursor-outline {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      z-index: 99999;
      pointer-events: none;
   }

   .cursor-dot {
      width: 10px;
      height: 10px;
      background-color: var(--primary-soft);
   }

   .cursor-outline {
      width: 45px;
      height: 45px;
      border: 1px solid var(--primary-soft);
      transition: width 0.2s, height 0.2s, background 0.2s;
   }

   /* Hover effect */
   .cursor-hover {
      transform: translate(-50%, -50%) scale(1.5);
      background-color: rgba(171, 115, 124, 0.1);
      border-color: transparent;
   }
}

/* --- NEW POPUP STYLES (Enforced) --- */
.newsletter-popup-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.6);
   backdrop-filter: blur(8px);
   z-index: 5000;
   display: none;
   align-items: center;
   justify-content: center;
}

.newsletter-popup-overlay.show {
   display: flex;
   animation: fadeIn 0.5s ease;
}

.newsletter-popup-content {
   background: white;
   /* Pure white background as requested */
   width: 90%;
   max-width: 850px;
   height: 450px;
   /* Fixed height for consistent look */
   border-radius: 25px;
   /* Large rounded corners */
   display: flex;
   overflow: hidden;
   box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
   position: relative;
}

.popup-close {
   position: absolute;
   top: 15px;
   right: 20px;
   font-size: 1.5rem;
   color: #999;
   cursor: pointer;
   z-index: 10;
   transition: 0.2s;
}

.popup-close:hover {
   color: var(--dark);
}

.popup-image {
   flex: 0 0 40%;
   /* 40% width */
   background: url('images/popup_spa_orchids.png');
   background-size: cover;
   background-position: center;
}

.popup-text {
   flex: 1;
   padding: 40px 50px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   text-align: center;
   /* Centered text */
}

.popup-title {
   font-family: 'Great Vibes', cursive;
   font-size: 3rem;
   color: #A85A66;
   /* Terracotta/Pinkish */
   margin-bottom: 15px;
   font-weight: 400;
   line-height: 1.2;
}

.popup-title span {
   font-family: 'Great Vibes', cursive;
   color: #A85A66;
}

.popup-desc {
   color: #666;
   font-size: 1rem;
   line-height: 1.6;
   margin-bottom: 30px;
   font-family: 'Montserrat', sans-serif;
}

.popup-form {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.newsletter-popup-content .popup-form input {
   width: 100%;
   padding: 15px 20px;
   border: 1px solid #e0e0e0;
   border-radius: 30px;
   /* Pill shape */
   font-size: 1rem;
   outline: none;
   transition: 0.3s;
   background: white;
}

.newsletter-popup-content .popup-form input:focus {
   border-color: #A85A66;
}

.newsletter-popup-content .popup-form button {
   width: 100%;
   padding: 15px 20px;
   background: #4A4A4A;
   /* Dark Grey */
   color: white;
   border: none;
   border-radius: 30px;
   /* Pill shape */
   font-weight: 600;
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   cursor: pointer;
   transition: 0.3s;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-popup-content .popup-form button:hover {
   background: #333;
   transform: translateY(-2px);
}

.popup-footer {
   margin-top: 20px;
   color: #aaa;
   font-size: 0.8rem;
   font-weight: 300;
   margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
   .newsletter-popup-content {
      flex-direction: column;
      height: auto;
      max-width: 400px;
   }

   .popup-image {
      height: 150px;
      flex: none;
   }

   .popup-text {
      padding: 30px 20px;
   }

   .popup-title {
      font-size: 2.2rem;
   }
}