/* OTA Section Styling - Premium & Glassmorphism */

:root {
  --ota-primary: #19326b;
  --ota-gold: #D4AF37;
  --ota-bg: #f8f9fa;
  --ota-text: #333;
  --ota-grey: #666;
  --ota-white: #ffffff;
  --ota-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --ota-radius: 16px;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

/* Global Reset for OTA pages */
body.ota-page {
  font-family: var(--font-body);
  color: var(--ota-text);
  background-color: var(--ota-bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ota-primary);
}

.container-ota {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Components --- */

/* Buttons */
.btn-ota {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-ota-primary {
  background-color: var(--ota-primary);
  color: var(--ota-white);
  box-shadow: 0 4px 15px rgba(25, 50, 107, 0.3);
}

.btn-ota-primary:hover {
  background-color: #122550;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 50, 107, 0.4);
}

.btn-ota-gold {
  background-color: var(--ota-gold);
  color: #fff;
}

.btn-ota-gold:hover {
  background-color: #b5952f;
}

.btn-ota-outline {
  border-color: var(--ota-primary);
  color: var(--ota-primary);
  background: transparent;
}

.btn-ota-outline:hover {
  background-color: var(--ota-primary);
  color: var(--ota-white);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.badge-luxury { background: #000; color: #fff; }
.badge-offer { background: #e74c3c; color: #fff; }

/* Filter Bar */
.filter-bar {
  background: var(--ota-white);
  padding: 20px;
  border-radius: var(--ota-radius);
  box-shadow: var(--ota-shadow);
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  min-width: 150px;
}

/* Package Grid */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.package-card {
  background: var(--ota-white);
  border-radius: var(--ota-radius);
  overflow: hidden;
  box-shadow: var(--ota-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.package-image-wrapper {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.package-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.package-card:hover .package-image-wrapper img {
  transform: scale(1.1);
}

.package-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255,255,255,0.9);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ota-primary);
  backdrop-filter: blur(5px);
}

.package-content {
  padding: 20px;
}

.package-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.package-meta {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px;
  color: var(--ota-grey);
  font-size: 0.9rem;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ota-gold);
}

.package-price span {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

/* Banner */
.custom-banner {
  background: linear-gradient(135deg, var(--ota-primary), #2c3e50);
  color: #fff;
  border-radius: var(--ota-radius);
  padding: 40px;
  text-align: center;
  margin: 60px 0;
}

.custom-banner h2 { color: #fff; margin-bottom: 15px; }

/* Sticky Quote Bar */
.sticky-quote {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 15px 20px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.sticky-quote.visible {
  transform: translateY(0);
}

/* Details Page Specifics */
.package-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 10px;
    border-radius: var(--ota-radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.itinerary-day {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.day-marker {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--ota-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.day-marker::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 24px;
    width: 2px;
    height: calc(100% + 10px); /* Connects to next marker */
    background: #eee;
    z-index: 1;
}

.itinerary-day:last-child .day-marker::after {
    display: none;
}

/* Form Styles */
.form-input-ota {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.form-input-ota:focus {
    border-color: var(--ota-primary);
    outline: none;
}

@media (max-width: 768px) {
    .package-grid { grid-template-columns: 1fr; }
    .package-gallery-grid { grid-template-columns: 1fr; grid-template-rows: 250px; }
    .gallery-item:not(:first-child) { display: none; }
    .filter-bar { padding: 10px; margin-top: 20px; }
    .sticky-quote { flex-direction: column; gap: 10px; }
}
