/* Homepage Layout Fixes - Professional Polish */

/* 1. Fix Header and Navigation Issues */
.luxury-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 250, 0.95));
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(10, 61, 98, 0.1);
  position: relative; /* Changed from sticky to relative */
  top: 0;
  z-index: 100; /* Reduced z-index */
  height: 80px;
  /* Remove any white bar issues */
  margin-bottom: 0;
  padding: 0;
}

/* Fix white bar issue - ensure smooth transition */
.luxury-header + * {
  margin-top: 0;
  padding-top: 0;
}

/* Fix navigation alignment */
.luxury-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.luxury-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.luxury-nav .member-login {
  margin-left: auto;
  padding: 8px 16px;
  background: rgba(10, 61, 98, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: #0a3d62;
  font-weight: 600;
  transition: all 0.3s ease;
}

.luxury-nav .member-login:hover {
  background: rgba(10, 61, 98, 0.2);
  transform: translateY(-1px);
}

/* 2. Hero Section Layout Fixes */
.luxury-hero {
  background: linear-gradient(135deg, #0a3d62 0%, #192a56 100%);
  color: white;
  padding: 12rem 0 6rem 0; /* MASSIVE top padding increase */
  position: relative;
  overflow: visible; /* Allow content to be visible */
  /* Ensure proper spacing from header */
  margin-top: 0;
  min-height: 800px; /* Much larger minimum height */
}

/* Force hero content to have proper top spacing */
.luxury-hero-content {
  padding-top: 5rem; /* Much larger top padding */
  margin-top: 4rem; /* Much larger margin */
}

/* Ensure the hero title is pushed down significantly */
.hero-title,
.luxury-hero h1 {
  margin-top: 4rem !important;
  padding-top: 2rem !important;
}

.luxury-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.luxury-hero-content,
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0 1.5rem; /* Added top padding */
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-container {
  margin-top: 3rem; /* Push content down */
  padding-top: 2rem;
}

.hero-text {
  margin-top: 2rem; /* Additional spacing for text */
}

/* 3. Fix "For Travel Professionals" Heading Visibility */
.luxury-hero h1,
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  /* Ensure proper z-index and spacing */
  position: relative;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 2rem; /* Add top margin to ensure visibility */
}

/* Specifically target the yellow highlight text */
.hero-highlight,
.hero-title .hero-highlight,
span.hero-highlight {
  color: #e1b12c !important;
  display: inline !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.luxury-hero .hero-subtitle {
  font-size: 1.5rem;
  color: #e1b12c !important;
  font-weight: 600;
  margin-bottom: 2rem;
  /* Ensure visibility and proper spacing */
  position: relative;
  z-index: 10;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.luxury-hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  /* Ensure proper spacing */
  position: relative;
  z-index: 10;
}

/* 4. Waitlist Section Improvements */
.waitlist-section {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 3rem auto 2rem auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  max-width: 600px;
  /* Add professional shadow */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 5;
}

.waitlist-headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  text-align: center;
}

.waitlist-subheadline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.5;
  text-align: center;
}

.waitlist-referral {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
}

/* 5. Form Styling Improvements */
.waitlist-form-simple {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form-simple input[type="email"] {
  flex: 1;
  min-width: 280px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.waitlist-form-simple input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.waitlist-form-simple input[type="email"]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.waitlist-form-simple .btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.waitlist-form-simple .btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
}

.waitlist-form-simple .btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* 6. View Partners Section Spacing */
.view-partners-section {
  margin-top: 3rem;
  text-align: center;
  position: relative;
  z-index: 5;
}

.view-partners-section .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.view-partners-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* 7. Hero Actions Layout */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* 8. CTA Section Improvements */
.cta-waitlist-container {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem auto;
  border: 1px solid rgba(15, 23, 42, 0.1);
  text-align: center;
  max-width: 600px;
  /* Add professional shadow */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.02);
}

.cta-waitlist-form .waitlist-form-simple {
  margin-top: 1.5rem;
}

.cta-waitlist-form input[type="email"] {
  background: white;
  color: #1e293b;
  border: 2px solid #e2e8f0;
  min-width: 280px;
  flex: 1;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cta-waitlist-form input[type="email"]::placeholder {
  color: #64748b;
}

.cta-waitlist-form input[type="email"]:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

/* 9. Mobile Responsiveness */

/* Tablet and small desktop */
@media (max-width: 1024px) {
  .luxury-hero h1 {
    font-size: 3rem;
  }
  
  .waitlist-section {
    margin: 2.5rem 1.5rem;
    padding: 2.25rem;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .luxury-header {
    height: 70px;
    padding: 0 1rem;
  }
  
  .luxury-nav {
    padding: 0 1rem;
  }
  
  .luxury-hero {
    padding: 3rem 0 5rem 0;
  }
  
  .luxury-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }
  
  .luxury-hero .hero-subtitle {
    font-size: 1.25rem !important;
    color: #e1b12c !important;
    margin-bottom: 1.75rem;
    display: block !important;
    opacity: 1 !important;
  }
  
  .luxury-hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .waitlist-section {
    margin: 2rem 1rem;
    padding: 2rem;
    border-radius: 16px;
  }
  
  .waitlist-headline {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .waitlist-subheadline {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .waitlist-referral {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .waitlist-form-simple {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .waitlist-form-simple input[type="email"] {
    min-width: auto;
    width: 100%;
    padding: 16px 18px;
  }
  
  .waitlist-form-simple .btn {
    width: 100%;
    padding: 16px 24px;
  }
  
  .view-partners-section {
    margin-top: 2rem;
  }
  
  .cta-waitlist-container {
    margin: 2rem 1rem;
    padding: 2rem;
    border-radius: 16px;
  }
  
  .cta-waitlist-form .waitlist-form-simple {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-waitlist-form input[type="email"] {
    width: 100%;
    min-width: auto;
  }
  
  .waitlist-success {
    margin: 1.5rem 1rem;
    padding: 1.25rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .luxury-header {
    height: 65px;
  }
  
  .luxury-hero {
    padding: 2.5rem 0 4rem 0;
  }
  
  .luxury-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }
  
  .luxury-hero .hero-subtitle {
    font-size: 1.1rem !important;
    color: #e1b12c !important;
    margin-bottom: 1.5rem;
    display: block !important;
    opacity: 1 !important;
    padding: 0 0.5rem;
  }
  
  .luxury-hero p {
    font-size: 1rem;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .waitlist-section {
    margin: 1.5rem 0.5rem;
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .waitlist-headline {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  .waitlist-subheadline {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  .waitlist-referral {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }
  
  .waitlist-form-simple input[type="email"] {
    padding: 14px 16px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .waitlist-form-simple .btn {
    padding: 14px 20px;
    font-size: 16px;
  }
  
  .cta-waitlist-container {
    margin: 1.5rem 0.5rem;
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .waitlist-success {
    margin: 1rem 0.5rem;
    padding: 1rem;
    border-radius: 10px;
  }
  
  .waitlist-success h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
}

/* Extra small screens */
@media (max-width: 375px) {
  .luxury-hero h1 {
    font-size: 1.75rem;
    padding: 0 0.25rem;
  }
  
  .luxury-hero .hero-subtitle {
    font-size: 1rem !important;
    color: #e1b12c !important;
    padding: 0 0.25rem;
  }
  
  .luxury-hero p {
    font-size: 0.95rem;
    padding: 0 0.25rem;
  }
  
  .waitlist-section {
    margin: 1rem 0.25rem;
    padding: 1.25rem;
  }
  
  .cta-waitlist-container {
    margin: 1rem 0.25rem;
    padding: 1.25rem;
  }
}

/* 10. Success/Error Message Styling */
.waitlist-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem auto;
  text-align: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  max-width: 500px;
  position: relative;
  z-index: 10;
}

.waitlist-success h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.waitlist-success p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.error-message {
  color: #ef4444;
  font-size: 14px;
  margin: 1rem auto;
  text-align: center;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  max-width: 500px;
  /* Hide empty error containers */
  display: none;
}

.error-message:not(:empty) {
  display: block;
}

/* Fix pink box issue - hide empty form containers */
.waitlist-form > div:empty {
  display: none !important;
}

.waitlist-form .error-message:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}/* Force yellow text visibility */ .hero-subtitle, .luxury-hero .hero-subtitle, h2.hero-subtitle { color: #e1b12c !important; display: block !important; opacity: 1 !important; visibility: visible !important; }
/* Additional fix for hero highlight visibility */ .hero-section .hero-highlight { color: #e1b12c !important; font-weight: 600 !important; display: inline !important; opacity: 1 !important; visibility: visible !important; } .hero-content { padding-top: 2rem; } .hero-container { margin-top: 2rem; }
/* COMPREHENSIVE YELLOW TEXT FIX */ .hero-highlight, .hero-title .hero-highlight, span.hero-highlight, .hero-text .hero-highlight, .hero-section .hero-highlight { color: #e1b12c !important; display: inline !important; opacity: 1 !important; visibility: visible !important; font-weight: 600 !important; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important; }
/* ULTIMATE YELLOW TEXT FIX - FORCE VISIBILITY */ .hero-highlight { color: #e1b12c !important; font-size: 1.5rem !important; font-weight: 700 !important; display: block !important; margin-bottom: 1rem !important; text-align: center !important; opacity: 1 !important; visibility: visible !important; z-index: 999 !important; position: relative !important; text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5) !important; }
