/* === CENTRALIZOVANI STILOVI ZA PAKETE, OPIS, ITINERARY, TRUST, FORME, COUNTRY SELECTOR === */

.trust-included {
  color: #27ae60;
  font-weight: 500;
}
.trust-excluded {
  color: #e74c3c;
  font-weight: 500;
}
.package-info {
  padding: 1.5rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}
.package-info h3 {
  margin-bottom: 0.6rem;
  color: #f0c330;
}
.package-info p {
  margin: 0.4rem 0;
  line-height: 1.6;
}
.package-info img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.itinerary {
  margin-top: 1.2rem;
}
.itinerary h4 {
  color: #f0c330;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}
.itinerary ul {
  list-style: none;
  padding: 0;
}
.itinerary li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}
.itinerary li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #5ccbff;
}

.itinerary-collapsible {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.itinerary-day {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}

.itinerary-day summary {
  position: relative;
  padding: 0.75rem 2.2rem 0.75rem 0.9rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  transition: background 0.2s ease;
}

.itinerary-day summary::-webkit-details-marker {
  display: none;
}

.itinerary-day summary::after {
  content: "▸";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #5ccbff;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.itinerary-day:hover summary,
.itinerary-day[open] summary {
  background: rgba(92,203,255,0.08);
}

.itinerary-day[open] summary {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.itinerary-day[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.itinerary-day-body {
  padding: 0.75rem 0.9rem 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
}
.summary-section {
  margin: 1.5rem 0;
}
.trust-section {
  margin: 1.5rem 0;
}
.trust-block {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1.2rem;
}
.trust-title {
  color: #f0c330;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-title svg {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
.trust-column {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.trust-item::before {
  content: '✓';
  color: #27ae60;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.trust-column.excludes .trust-item::before {
  content: '✗';
  color: rgba(255,255,255,0.4);
}

/* Form, radio, country selector, phone */
form {
  background: rgba(255,255,255,0.04);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  display: grid;
  gap: 0.5rem;
}
form label {
  display: block;
  margin: 0.5rem 0 0.25rem;
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 1rem;
  background: rgba(0,0,0,0.45);
  color: #fff;
}
form input:focus,
form select:focus,
form textarea:focus {
  background: rgba(0,0,0,0.55);
  outline: 1px solid rgba(240,195,48,0.5);
}
form button,
.button.primary {
  background: #f0c330 !important;
  color: #222 !important;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.6rem;
  box-shadow: 0 2px 8px rgba(240,195,48,0.12);
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: block;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s, filter 0.2s;
}
.button.primary:hover,
form button:hover {
  background: #ffd700 !important;
  color: #222 !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.button.primary:active,
form button:active {
  transform: translateY(0);
}
.date-range,
.guests-range {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}
.guest-input {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
}
.radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hotel-group {
  justify-content: center;
  gap: 0.5rem;
}
.hotel-group .radio-option {
  flex: 1 1 28%;
  min-width: 96px;
  max-width: 140px;
}
.hotel-group .radio-box {
  width: 100%;
  padding: 0.65rem 0.9rem;
}
.hotel-group .radio-text {
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.2rem);
  letter-spacing: 0.5px;
}
.halal-group {
  justify-content: center;
  gap: 0.75rem;
}
.halal-group .radio-option {
  flex: 0 1 130px;
}
.halal-group .radio-box {
  width: 100%;
}
.plan-group {
  justify-content: center;
  gap: 0.75rem;
}
.plan-group .radio-option {
  flex: 0 1 130px;
}
.plan-group .radio-box {
  width: 100%;
}
.radio-option {
  position: relative;
  cursor: pointer;
  margin: 0;
}
/* Compact options row - Halal + Package Plan on same line (desktop) */
.compact-options-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.compact-option {
  display: flex;
  flex-direction: column;
}
.compact-option > label {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
@media (min-width: 768px) {
  .compact-options-row {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.radio-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  min-width: 100px;
}
.radio-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  transition: color 0.3s ease;
}
.radio-option:hover .radio-box {
  border-color: rgba(240,195,48,0.4);
  background: rgba(255,255,255,0.08);
}
.radio-option input[type="radio"]:checked + .radio-box {
  border-color: #f0c330;
  background: rgba(240,195,48,0.15);
  box-shadow: 0 0 0 3px rgba(240,195,48,0.1);
}
.radio-option input[type="radio"]:checked + .radio-box .radio-text {
  color: #f0c330;
  font-weight: 600;
}
.phone-wrapper {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  align-items: center;
  min-height: 44px;
  width: 100%;
  margin: 0 auto;
}
.phone-wrapper:focus-within {
  border-color: rgba(240,195,48,0.5);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(240,195,48,0.1);
}
@media (max-width: 600px) {
  .phone-wrapper { flex-direction: column; }
}
.custom-select-wrapper {
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}
@media (max-width: 600px) {
  .custom-select-wrapper { 
    border-right: none; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
    height: auto;
  }
}
.selected-country {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  padding: 0.55rem 0.75rem;
  min-width: 130px;
  gap: 0.5rem;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}
.selected-country:hover {
  background: rgba(240,195,48,0.08);
}
.selected-country img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.selected-country span {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
}
.selected-country::after {
  content: '▼';
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-left: 0.3rem;
  transition: transform 0.2s ease;
}
.selected-country.active::after {
  transform: rotate(180deg);
}
.phone-wrapper input[type="tel"] {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 0.55rem 1.2rem !important;
  color: #fff !important;
  font-size: 0.95rem;
  outline: none;
  min-width: 0;
  line-height: 1.4;
  height: 100%;
  align-self: center;
  text-align: left;
  vertical-align: middle;
}
.phone-wrapper input[type="tel"]::placeholder {
  color: rgba(255,255,255,0.4);
}
.country-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  max-height: 400px;
  background: #2a2a2a;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  z-index: 9999;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(240,195,48,0.1);
  animation: dropdownSlide 0.2s ease;
}
@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  .country-dropdown {
    width: 100%;
    max-height: 280px;
  }
}
.country-search {
  position: sticky;
  top: 0;
  padding: 0.75rem;
  background: #2a2a2a;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1;
}
.country-search input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}
.country-search input:focus {
  background: rgba(255,255,255,0.12);
  border-color: rgba(240,195,48,0.5);
}
.country-search input::placeholder {
  color: rgba(255,255,255,0.4);
}
.country-list {
  overflow-y: auto;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: rgba(240,195,48,0.3) transparent;
}
.country-list::-webkit-scrollbar {
  width: 6px;
}
.country-list::-webkit-scrollbar-track {
  background: transparent;
}
.country-list::-webkit-scrollbar-thumb {
  background: rgba(240,195,48,0.3);
  border-radius: 3px;
}
.country-list::-webkit-scrollbar-thumb:hover {
  background: rgba(240,195,48,0.5);
}
.country-dropdown .country-item {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.country-dropdown .country-item:last-child {
  border-bottom: none;
}
.country-dropdown .country-item:hover {
  background: rgba(240,195,48,0.15);
  padding-left: 0.9rem;
}
.country-dropdown .country-item.hidden {
  display: none;
}
.country-dropdown .country-item img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.country-dropdown .country-item .country-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.country-dropdown .country-item .country-name {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-dropdown .country-item .country-code {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.no-results {
  padding: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  display: none;
}
.no-results.show {
  display: block;
}
/* Grid */
.packages-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Card */
.package-card {
  border-radius: 14px;
  padding: 1.1rem;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  min-height: 300px;
}
.package-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,195,48,0.6);
  box-shadow: 0 16px 38px rgba(0,0,0,0.35);
}
.card-media {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.price-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(240,195,48,0.6);
  color: #f0c330;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.card-title {
  font-size: clamp(1rem, 1vw + 0.6rem, 1.15rem);
  margin: 0.1rem 0 0.05rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.card-desc {
  font-size: 0.95rem;
  margin: 0.25rem 0 0.35rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.price-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.04em;
  margin: 0.15rem 0 0.25rem;
}
.package-card .button {
  width: 100%;
  margin-top: auto;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0,0,0,0.88);
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
}

.modal-content {
  background: rgba(16,16,16,0.95);
  padding: 1.6rem;
  max-width: 800px;
  width: 100%;
  border-radius: 14px;
  position: relative;
  animation: fadeIn .35s ease;
  color: #fff;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
}

.modal-content h2 { margin-top: 0; }
.modal-content p { line-height: 1.6; }
.modal-content video {
  width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.modal-content .itinerary {
  text-align: left;
  margin-top: 1rem;
}
.modal-content .itinerary ul {
  padding-left: 1.1rem;
}
.modal-content .itinerary li {
  margin-bottom: 0.35rem;
}

.modal .close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-size: 1.6rem;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Packages loader styles (minimal, responsive) */
/* removed temporary .pkg- styles to restore original package-info appearance */
