/* ===========================================
   Premier Lifestyle Holdings — Custom Styles
   Using Tailwind Play CDN for utilities.
   This file handles custom properties & effects.
   =========================================== */

/* --- Glass Morphism Utilities --- */
.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.3);
}

.glass-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}
.glass-input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
.glass-input option {
  background: #1F2E23;
  color: white;
}

/* --- Smooth Transitions --- */
.transition-smooth {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 400ms;
}

/* --- Hero Ken Burns --- */
@keyframes kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-bg-animate {
  animation: kenburns 25s linear infinite alternate;
}

/* --- Fade In Animation --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-fade-in-up-delay-1 { animation-delay: 0.15s; }
.animate-fade-in-up-delay-2 { animation-delay: 0.3s; }
.animate-fade-in-up-delay-3 { animation-delay: 0.45s; }

/* --- Navbar States --- */
.navbar-transparent {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Premium Light Glass on Scroll */
.navbar-scrolled, .navbar-solid {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1.5rem;
  width: 100%;
  max-width: 100%;
  border-radius: 0px;
  padding-bottom: 1rem !important;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar-solid {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Nav Link Color Logic */
.navbar-transparent .nav-link { color: white !important; }
.navbar-scrolled .nav-link, 
.navbar-solid .nav-link { color: #1F2E23; }

.navbar-transparent .nav-link:hover,
.navbar-scrolled .nav-link:hover,
.navbar-solid .nav-link:hover,
.nav-link.active { color: #C7772B !important; }

/* Transitions */
.transition-smooth {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Logo Pop Effect - Enhanced for dark backgrounds */
.logo-pop {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-pop:hover { transform: scale(1.05); }

/* Brand Text Logic */
.navbar-transparent .brand-text { color: white !important; }
.navbar-scrolled .brand-text,
.navbar-solid .brand-text { color: #1F2E23 !important; }

/* --- Line Clamp --- */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Mobile Menu --- */
.mobile-menu {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- Mobile Menu Overlay --- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
}
.menu-overlay.active {
  display: block;
}

/* --- Booking Step Visibility --- */
.booking-step { display: none; }
.booking-step.active { display: block; }

/* --- Mobile Hero Scaling (per skill guidelines) --- */
@media (max-width: 640px) {
  .hero-heading {
    font-size: 2rem !important;
    line-height: 1.15 !important;
  }
}

/* --- Footer Credit Bar --- */
.footer-credit {
  display: block;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .footer-credit {
    text-align: center;
    gap: 0.5rem;
  }
}

/* --- Premium Calendar Styles --- */
.calendar-day {
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
}
.calendar-day:hover {
  transform: scale(1.1);
  background: rgba(31, 46, 35, 0.05);
}
.rounded-none { border-radius: 0 !important; }
.rounded-l-none { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.rounded-r-none { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
/* --- Premium Footer --- */
.footer-premium {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  color: #1F2E23;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.footer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(199, 119, 43, 0.2), transparent);
}
.footer-heading {
  color: #1F2E23;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 1;
}
.footer-link {
  color: #1F2E23;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 0.875rem;
  position: relative;
  display: inline-block;
}
.footer-link:hover {
  color: #C7772B;
  transform: translateX(4px);
}
.footer-social-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #1F2E23;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-social-icon:hover {
  background: #C7772B;
  color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 20px -5px rgba(199, 119, 43, 0.3);
  border-color: #C7772B;
}
.newsletter-input {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: 0.875rem 1.25rem;
  color: #1F2E23;
  transition: all 0.3s ease;
}
.newsletter-input:focus {
  background: white;
  border-color: #C7772B;
  outline: none;
  box-shadow: 0 0 0 1px #C7772B;
}
.newsletter-button {
  background: #1F2E23;
  color: white;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.newsletter-button:hover {
  background: #C7772B;
  transform: scale(1.02);
  box-shadow: 0 8px 24px -6px rgba(199, 119, 43, 0.3);
}

/* Fix for footer container overlap on desktop */
.footer-container {
  max-width: 1400px !important;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (min-width: 1024px) {
  .footer-grid {
    gap: 4rem !important;
  }
}
