/* Journey Section Styles */
:root {
  --journey-orange: #ff7b00;
  --journey-orange-light: #ffb800;
  --journey-navy: #0a1628;
  --journey-navy-light: #1e3a5f;
  --journey-cyan: #00d4ff;
  --journey-white: #ffffff;
}

#journey-section {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    sans-serif;
  background: linear-gradient(135deg, var(--journey-navy) 0%, #1a2332 100%);
  min-height: 100vh;
  padding: 2rem;
}

/* Journey Container */
.journey-container {
  max-width: 1400px;
  margin: 0 auto;
}

.journey-header {
  text-align: center;
  margin-bottom: 3rem;
}

.journey-header h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.journey-header h2 span {
  background: linear-gradient(
    135deg,
    var(--journey-orange),
    var(--journey-orange-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.journey-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
}

/* Tabs Navigation with Progress Line */
.journey-tabs-wrapper {
  position: relative;
  margin-bottom: 0;
}

/* Progress line behind tabs */
.journey-progress-line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  z-index: 1;
}

.journey-progress-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--journey-orange),
    var(--journey-orange-light)
  );
  transition: width 0.5s ease;
  width: var(--progress, 0%);
}

.journey-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 24px 24px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: visible;
  position: relative;
  z-index: 2;
  padding: 1rem 0.5rem;
}

.journey-tab-button {
  flex: 1;
  padding: 1rem 0.5rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

/* Tab number circles */
.journey-tab-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.journey-tab-button:hover .journey-tab-number {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.journey-tab-button.active .journey-tab-number {
  background: linear-gradient(
    135deg,
    var(--journey-orange),
    var(--journey-orange-light)
  );
  border-color: var(--journey-orange);
  color: white;
  box-shadow: 0 0 20px rgba(255, 123, 0, 0.4);
}

.journey-tab-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.journey-tab-subtitle {
  font-size: 0.75rem;
  opacity: 0.7;
}

.journey-tab-button.active {
  color: white;
}

.journey-tab-button.active .journey-tab-subtitle {
  opacity: 0.9;
}

/* Content Area */
.journey-content {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 0 0 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Stage Panel - Fixed consistent height */
.journey-stage-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  max-height: 520px;
  height: 520px;
}

.journey-stage-panel.active {
  display: grid;
  animation: journeyFadeIn 0.6s ease;
}

@keyframes journeyFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes journeyPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Animations for floating bubbles */
@keyframes journeyFloatBubble1 {
  0% {
    transform: translate(0, 100px) scale(0);
    opacity: 0;
  }
  20% {
    transform: translate(20px, 60px) scale(1);
    opacity: 1;
  }
  80% {
    transform: translate(80px, -20px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(100px, -30px) scale(0);
    opacity: 0;
  }
}

@keyframes journeyFloatBubble2 {
  0% {
    transform: translate(0, 120px) scale(0);
    opacity: 0;
  }
  20% {
    transform: translate(30px, 70px) scale(1);
    opacity: 1;
  }
  80% {
    transform: translate(70px, -10px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(90px, -20px) scale(0);
    opacity: 0;
  }
}

@keyframes journeyFloatBubble3 {
  0% {
    transform: translate(0, 90px) scale(0);
    opacity: 0;
  }
  20% {
    transform: translate(25px, 50px) scale(1);
    opacity: 1;
  }
  80% {
    transform: translate(85px, -25px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(105px, -35px) scale(0);
    opacity: 0;
  }
}

@keyframes journeySyncLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Left Panel - Visual with Background Images */
.journey-visual-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Cinematic backgrounds for each stage */
.journey-stage-1-visual {
  background-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828");
}

.journey-stage-2-visual {
  background-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05");
}

.journey-stage-3-visual {
  background-image: url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000");
}

.journey-stage-4-visual {
  background-image: url("https://images.unsplash.com/photo-1488085061387-422e29b40080");
}

.journey-stage-5-visual {
  background-image: url("https://images.unsplash.com/photo-1454391304352-2bf4678b1a7a");
}

/* Dark overlay for better content readability */
.journey-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.4) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(10, 22, 40, 0.6) 100%
  );
  z-index: 1;
}

/* Ensure content is above overlay */
.journey-visual-panel > *:not(.journey-visual-overlay) {
  position: relative;
  z-index: 2;
}

/* Right Panel - Information */
.journey-info-panel {
  background: rgba(10, 22, 40, 0.4);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 3rem;
}

.journey-info-content h3 {
  color: white;
  font-size: 1.85rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.journey-highlight {
  color: var(--journey-orange-light);
}

.journey-info-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Feature List */
.journey-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.journey-feature-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.journey-feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.journey-feature-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(
    135deg,
    var(--journey-orange),
    var(--journey-orange-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-feature-icon svg {
  width: 19px;
  height: 19px;
  fill: white;
}

.journey-feature-text .journey-feature-title {
  color: white;
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.journey-feature-text .journey-feature-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Service Grid for Your Stay - 6 cards in 3x2 */
.journey-services-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.journey-service-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.journey-service-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
  border-color: var(--journey-orange);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.journey-service-icon-large {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.75rem;
  background: linear-gradient(
    135deg,
    var(--journey-orange),
    var(--journey-orange-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-service-icon-large svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.journey-service-card h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.journey-service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.3;
}

/* Comparison Visual */
.journey-comparison-visual {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.journey-comparison-title {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.journey-comparison-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-comparison-item:last-child {
  border-bottom: none;
}

.journey-comparison-label {
  color: rgba(255, 255, 255, 0.7);
}

.journey-comparison-value {
  font-weight: 600;
  color: white;
}

.journey-comparison-value.journey-highlight {
  color: var(--journey-orange-light);
}

/* Logo placeholder for phones */
.journey-phone-logo {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: linear-gradient(
    135deg,
    var(--journey-orange),
    var(--journey-orange-light)
  );
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  font-weight: bold;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 968px) {
  .journey-stage-panel {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .journey-visual-panel {
    min-height: 300px;
  }

  .journey-services-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .journey-tabs {
    flex-direction: column;
  }

  .journey-tab-button {
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem;
  }

  .journey-tab-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}
