/* Home specific styles - Premium Design */

.hero-section {
  position: relative;
  background-image: url('../images/hero-ocean.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 550px;
  display: flex;
  align-items: center;
  margin: 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(105deg, rgba(2, 132, 199, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Booking Widget Card */
.booking-widget-container {
  margin-top: -6rem;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.booking-card {
  width: 100%;
  max-width: 850px;
  padding: var(--spacing-2xl);
  background: var(--color-white);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.booking-card .card-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking-card .card-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 24px;
  background: linear-gradient(180deg, var(--color-primary), #0ea5e9);
  border-radius: 4px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: end;
}

.booking-full-width {
  grid-column: span 2;
}

.note-alert {
  background-color: var(--color-secondary);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary-hover);
  margin-top: var(--spacing-lg);
}

/* Features Section */
.features-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-md);
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  background: linear-gradient(135deg, var(--color-secondary), #e0f2fe);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.5);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.feature-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.feature-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Route Section */
.route-section {
  padding-top: 4rem;
  padding-bottom: 8rem;
}

.route-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--color-text);
}

.route-container {
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

.route-card {
  flex: 1;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.route-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #0ea5e9);
}

.route-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.route-icon {
  width: 64px;
  height: 64px;
  background: var(--color-secondary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.route-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.route-region {
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 500;
}

.route-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.route-type {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.route-dock {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 600;
}

.route-illustration {
  width: 80px;
  height: 80px;
  color: var(--color-secondary);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.route-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  z-index: 10;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    margin: 0;
    border-radius: 0;
    min-height: 400px;
  }

  .hero-title {
    font-size: 2.75rem;
  }
  
  .booking-widget-container {
    margin-top: -3rem;
    padding: 0 1rem;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-full-width {
    grid-column: span 1;
  }

  .route-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .route-arrow {
    transform: rotate(90deg);
    margin: -1.5rem auto;
  }
}
