/* ===============================
   Refined Why Book With Us (Premium Clean Layout)
   Enhanced for Nilan Travels
   =============================== */

/* Section shell: clean white with reduced padding */
#why-book-with-us {
  padding: var(--spacing-8) 0;
  background: var(--primary-white);
  position: relative;
}

/* Container with optimal spacing */
.container--narrow { 
  max-width: 1400px; 
  margin-inline: auto; 
  padding: 0 var(--spacing-4);
}

/* Three-column grid with wider image prominence */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.1fr;
  gap: var(--spacing-5);
  align-items: stretch;
  min-height: 380px;
}

/* ---------------- LEFT CONTENT CARD ---------------- */
.why-card {
  background: var(--primary-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.why-card-body { 
  padding: var(--spacing-3) var(--spacing-2);
}

.why-title {
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-2);
  letter-spacing: -0.01em;
}

.why-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: var(--spacing-3);
  font-weight: 400;
}

.why-points {
  margin: 0 0 var(--spacing-4);
  padding: 0; 
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.why-points li { 
  display: flex; 
  align-items: center; 
  gap: var(--spacing-1);
  font-size: 0.7rem;
  color: var(--text-primary);
  font-weight: 400;
  padding: 1px 0;
}

.why-points li::before {
  content: "✓";
  color: var(--primary-ocean-blue);
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 12px;
}

/* Clean badge styling */
.badge-ocean, .badge-emerald, .badge-golden {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  font-size: inherit;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-primary);
  min-width: auto;
}

.why-cta { 
  display: flex; 
  align-items: flex-start; 
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-1);
  padding: var(--spacing-2) var(--spacing-3);
  background: var(--primary-emerald);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: 0.7rem;
  transition: var(--transition-elegant);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-premium:hover {
  background: var(--primary-emerald-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
  color: var(--text-white);
  text-decoration: none;
}

/* ---------------- MIDDLE IMAGE (PROMINENT WITH ANIMATIONS) ---------------- */
.why-image {
  position: relative;
  background: var(--primary-white);
  border: none;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  flex: 1;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Image hover animations */
.why-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.why-image:hover .why-photo {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.05);
}

.why-image:hover .why-chip {
  transform: translateY(-4px);
  background: linear-gradient(135deg, 
    rgba(30, 136, 229, 0.98) 0%, 
    rgba(255, 214, 0, 0.98) 100%);
  box-shadow: 0 8px 32px rgba(30, 136, 229, 0.3);
}

.why-chip {
  position: absolute; 
  left: var(--spacing-4); 
  bottom: var(--spacing-4);
  right: var(--spacing-4);
  padding: var(--spacing-3) var(--spacing-4);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, 
    rgba(30, 136, 229, 0.92) 0%, 
    rgba(255, 214, 0, 0.92) 100%);
  color: var(--text-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-chip {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.chip-subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: var(--spacing-1);
  font-style: italic;
  opacity: 0.95;
  line-height: 1.3;
}

/* ---------------- RIGHT FEATURES (COMPRESSED) ---------------- */
.why-right { 
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--spacing-3);
  padding: var(--spacing-2);
}

.feat-card { 
  background: var(--primary-white);
  border: none;
  box-shadow: none;
  padding: 0;
}

.feat-body { 
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2);
  padding: 0;
}

.feat-ico {
  width: 28px; 
  height: 28px; 
  display: flex; 
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 50%;
  background: var(--primary-ocean-blue);
  color: var(--text-white);
  flex-shrink: 0;
  margin-top: 1px;
}

.feat-content {
  flex: 1;
}

.feat-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1px;
  line-height: 1.2;
}

.feat-text { 
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin: 0;
}

/* ---------------- SUBTLE ANIMATIONS ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .why-card { 
    animation: slideInLeft 0.8s ease both; 
  }
  .why-image { 
    animation: fadeInScale 0.8s ease 0.2s both; 
  }
  .why-right { 
    animation: slideInRight 0.8s ease 0.4s both; 
  }
  
  .feat-card:nth-child(1) { 
    animation: fadeInUp 0.6s ease 0.6s both; 
  }
  .feat-card:nth-child(2) { 
    animation: fadeInUp 0.6s ease 0.7s both; 
  }
  .feat-card:nth-child(3) { 
    animation: fadeInUp 0.6s ease 0.8s both; 
  }
  .feat-card:nth-child(4) { 
    animation: fadeInUp 0.6s ease 0.9s both; 
  }
}

@keyframes slideInLeft {
  from { 
    opacity: 0; 
    transform: translateX(-30px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@keyframes slideInRight {
  from { 
    opacity: 0; 
    transform: translateX(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@keyframes fadeInScale {
  from { 
    opacity: 0; 
    transform: scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: scale(1); 
  }
}

@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Subtle hover effects */
.feat-card:hover .feat-ico {
  transform: scale(1.1);
  transition: var(--transition-elegant);
}

.feat-card:hover {
  transform: translateX(4px);
  transition: var(--transition-elegant);
}

/* ---------------- RESPONSIVE DESIGN ---------------- */
@media (max-width: 1200px) {
  .why-grid { 
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
    min-height: auto;
  }
  
  .why-card {
    order: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .why-image { 
    order: 2;
    max-width: 500px;
    margin: 0 auto;
    min-height: 350px;
  }
  
  .why-right { 
    order: 3;
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
  }
  
  .why-title {
    font-size: 1.6rem;
  }
  
  .why-sub {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  #why-book-with-us { 
    padding: var(--spacing-6) 0; 
  }
  
  .container--narrow {
    padding: 0 var(--spacing-3);
  }
  
  .why-grid {
    gap: var(--spacing-5);
  }
  
  .why-title {
    font-size: 1.4rem;
  }
  
  .why-sub {
    font-size: 0.85rem;
  }
  
  .why-points li {
    font-size: 0.75rem;
  }
  
  .why-image {
    min-height: 300px;
  }
  
  .why-chip {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: 0.9rem;
  }
  
  .chip-subtitle {
    font-size: 0.7rem;
  }
  
  .why-right {
    grid-template-columns: 1fr;
    gap: var(--spacing-3);
  }
  
  .feat-body {
    gap: var(--spacing-2);
  }
  
  .feat-ico {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  
  .feat-title {
    font-size: 0.9rem;
  }
  
  .feat-text {
    font-size: 0.7rem;
  }
  
  .btn-premium {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .why-title {
    font-size: 1.2rem;
  }
  
  .why-sub {
    font-size: 0.8rem;
  }
  
  .why-right {
    gap: var(--spacing-2);
  }
  
  .why-points {
    gap: 0;
  }
  
  .why-points li {
    font-size: 0.7rem;
  }
  
  .why-image {
    min-height: 280px;
  }
  
  .why-chip {
    left: var(--spacing-3);
    right: var(--spacing-3);
    bottom: var(--spacing-3);
    padding: var(--spacing-2);
    font-size: 0.85rem;
  }
  
  .chip-subtitle {
    font-size: 0.65rem;
  }
  
  .feat-ico {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }
  
  .feat-title {
    font-size: 0.8rem;
  }
  
  .feat-text {
    font-size: 0.6rem;
  }
}