/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #f4f8fc;
  color: #222;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Back link */
.back-arrow {
  display: inline-block;
  font-size: 16px;
  color: #0077cc;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}
.back-arrow:hover {
  color: #005fa3;
}

/* Main layout */
.package-section {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  animation: slideIn 0.6s ease forwards;
}

/* Image */
.img-wrapper {
  flex: 1 1 40%;
}
.img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  object-fit: contain;
  max-height: 400px;
}

/* Text */
.text-content {
  flex: 1 1 55%;
}
h1 {
  font-size: 28px;
  color: #0077cc;
  margin-bottom: 15px;
  animation: fadeIn 1s ease forwards;
}

/* Button */
.btn {
  display: inline-block;
  background-color: #0077cc;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn:hover {
  background-color: #005fa3;
  transform: scale(1.05);
}

/* Details / Description */
details {
  background: #f9f9f9;
  padding: 14px 16px;
  border-radius: 6px;
  border-left: 4px solid #0077cc;
  overflow: hidden;
  transition: all 0.3s ease;
}
details summary {
  cursor: pointer;
  font-weight: bold;
  color: #0077cc;
  font-size: 18px;
  margin-bottom: 10px;
}
details ul {
  padding-left: 20px;
}
details li {
  margin-bottom: 6px;
}
.red {
  color: #c0392b;
}
.blue {
  color: #0077cc;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .package-section {
    flex-direction: column;
  }

  .img {
    max-height: none;
  }

  h1 {
    font-size: 24px;
  }
}
