* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
:root {
  --primary-blue: #d37c2f;
  --light-blue: #e7f1ff;
  --dark-text: #333;
  --accent-red: #333;
}

body {
  background-color: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /*  padding: 20px; */
}

.boat-ride-container {
  display: flex;
  flex-direction: row;
  background: white;
  max-width: 1100px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Left Side */
.image-section {
  flex: 1.1;
  min-height: 300px;
  position: relative;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Side */
.info-section {
  flex: 1;
  padding: 20px;
}

.brand-name {
  color: #e76f51;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* h1 {
  color: #264653;
  margin: 5px 0 10px 0;
  font-size: 2.2rem;
}
 */
.owner {
  font-size: 0.7rem;
  color: #666;
  margin-bottom: 15px;
}

.description {
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Features Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pkg-item {
  background: #f1fcfb;
  border: 1px solid #d1ecea;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  text-align: center;
  color: #264653;
  font-weight: 600;
}

/* Pricing Table */
.price-table {
  width: 100%;
  border-collapse: separate;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #ddd;
  border-spacing: 0 10px;
}


/* 
      .price-table th {
        text-align: left;
        color: #2a9d8f;
        padding-bottom: 8px;
        border-bottom: 2px solid #f1fcfb;
      }
      */
.price-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.price-val {
  font-weight: bold;
  color: #e76f51;
}

.lang-title {
  margin-bottom: 10px;
  color: #264653;
  font-size: 1.1rem;
}

.languages {
  font-style: italic;
  color: #666;
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.cta-button {
  background-color: #e76f51;
  color: white;
  border: none;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.cta-button:hover {
  background-color: #d65d40;
  transform: translateY(-2px);
}

/* Modal Logic */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.form-container {
  background: white;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.4);
}

.close-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

.form-group ,.form-radio{
  margin-bottom: 15px;
}

.form-group label, .form-radio label {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input{
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Container for radio options */
.radio-options {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

/* Hide default radio */
.custom-radio input {
  display: none;
}

/* Style the radio as a button */
.radio-btn {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f9f9f9;
  width: 100%;
  text-align: center;
}

/* Active Radio State */
.custom-radio input:checked + .radio-btn {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(211, 124, 47, 0.3);
}

#date-time {
    display: none;
}


/* Checkbox Section */
.tc-group {
  margin: 20px 0;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  position: relative;
  user-select: none;
}

.custom-checkbox input {
  display: none; /* Hide default */
}

/* Custom Checkmark Box */
.checkmark {
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 4px;
  margin-right: 10px;
  display: inline-block;
  position: relative;
  transition: 0.3s;
  border: 1px solid #ccc;
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: #ddd;
}

/* Checked State */
.custom-checkbox input:checked ~ .checkmark {
  background-color: #28a745; /* Green for success/accept */
  border-color: #28a745;
}

/* The actual checkmark (white tick) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.tc-text a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: bold;
}

/* Specific styling for the datetime-local input to match others */
#date-time {
    margin-top: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}

    
.modal-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
.pricing-card {
  background: white;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #ddd;
  margin-bottom: 30px;
}

.header {
  background-color: var(--primary-blue);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  font-weight: bold;
}

.pricing-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.pricing-list li {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pricing-list li:last-child {
  border-bottom: none;
  background-color: #fff9f9;
}

.label {
  font-weight: bold;
  color: var(--primary-blue);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.value {
  color: var(--dark-text);
  font-size: 0.7rem;
  line-height: 1.4;
}

.capacity-note {
  color: var(--accent-red);
  font-weight: 600;
}

@media (max-width: 850px) {
  .boat-ride-container {
    flex-direction: column;
  }

  .image-section {
    min-height: 200px;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.slider-container {
  width: 95%;
  max-width: 1000px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 16 / 9;
  position: relative;
}

.slider-wrapper {
  display: flex;
  width: 400%;
  height: 100%;
  animation: back-and-forth 16s infinite alternate ease-in-out;
}

.slide {
  width: 25%;
  position: relative;
  /* This keeps the badge inside the slide */
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge Styling */
.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-family: sans-serif;
  font-weight: bold;
  z-index: 10;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  /* Modern frosted glass effect */
}

/* The same animation logic from before */
@keyframes back-and-forth {
  0%,
  15% {
    transform: translateX(0);
  }

  25%,
  40% {
    transform: translateX(-25%);
  }

  50%,
  65% {
    transform: translateX(-50%);
  }

  75%,
  100% {
    transform: translateX(-75%);
  }
}
