:root {
  --font-primary: 'Rufina', serif;
}

body {
  font-family: var(--font-primary), 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  width: 100%;
  background-color: rgba(156, 138, 90, 0.32);
  padding-top: 100px; 
  min-height: 111vh; 
  display: flex;
  align-items: flex-start; 
  justify-content: center; 
}
.hero-image-container {
  border-radius: 50% 50% 50% 0;
  overflow: hidden;
  max-width: 100%;
  height: 600px;
  width: 80%;
  margin: 0 auto;
  margin-top: 50px; 
}
.ccontainer {
  width: 100%;
}

.front {
  height: 100px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  padding: 2rem;
  margin-top: 50px;
}

.hero-title {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 90px;
  font-family: var(--font-primary);
}

.hero-text {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: inherit;
}

.btn-primary {
  background-color: #9c8a5a;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
}

.btn-danger {
  background-color: #ff3366;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
}

@media (max-width: 768px) {
  .hero-section {
      padding-top: 150px;
      min-height: auto;
  }

  .hero-image-container {
      height: 400px;
      width: 90%;
      margin-top: 30px;
  }

  .hero-content {
      margin-top: 30px;
      padding: 1rem;
  }

  .hero-title {
      font-size: 60px;
  }
}

@media (max-width: 576px) {
  .hero-section {
      padding-top: 120px;
  }

  .hero-image-container {
      height: 300px;
      margin-top: 20px;
  }

  .hero-content {
      margin-top: 20px;
  }

  .hero-title {
      font-size: 48px;
  }
}

.tour-day {
  background-color: rgba(156, 138, 90, 0.32);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.day-number {
  background-color: #9c8a5a;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

.location-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.activity-list {
  list-style-type: none;
  padding-left: 0;
}

.activity-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.activity-list li:before {
  content: "•";
  color: #9c8a5a;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.location-images {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  height: 400px;
}

.location-images img {
  border-radius: 8px;
  width: calc(50% - 0.25rem);
  height: 400px;
  object-fit: cover;
}

.map-section {
  background-color: #333;
  color: white;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 3rem;
}

.journey-highlight {
  background-color: white;
  color: #333;
  border-radius: 10px;
  padding: 1.5rem;
}

.accommodation-section {
  margin-bottom: 3rem;
}

.hotel-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: 100%;
}

.hotel-image {
  height: 150px;
  width: 100%;
  object-fit: cover;
}

.hotel-info {
  padding: 1rem;
}

.tips-section {
  background-color: #fff5f5;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.faq-section {
  margin-bottom: 3rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-weight: 700;
  margin-top: 5%;
  position: relative;
  display: inline-block;
  font-size: 46px;
  font-family: var(--font-primary), Verdana, Geneva, Tahoma, sans-serif;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #9c8a5a;
}

.icon-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.icon-feature img {
  width: 24px;
  height: 24px;
}

.view-itinerary-btn {
  background-color: #0099ff;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  margin-top: 1rem;
}

.hbutton {
  margin-top: 30%;
  margin-left: 30%;
}

.btn {
  position: relative;
  padding: 20px 65px;
  margin: 0 15px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  text-align: center;
  color: white;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #9c8a5a;
}

.btn-secondary {
  background-color: #e74c3c;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
  z-index: -1;
}

.btn:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
      transform: scale(0, 0);
      opacity: 0.5;
  }
  20% {
      transform: scale(25, 25);
      opacity: 0.5;
  }
  100% {
      opacity: 0;
      transform: scale(40, 40);
  }
}

.btn span {
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

.btn span:after {
  content: '→';
  position: absolute;
  opacity: 0;
  right: -20px;
  transition: 0.3s;
}

.btn:hover span {
  padding-right: 25px;
}

.btn:hover span:after {
  opacity: 1;
  right: 0;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.gap-3 {
  gap: 1rem;
}

@media (min-width: 576px) {
  .flex-sm-row {
      flex-direction: row;
  }
}

.tv-container {
  width: 100%;
  padding-bottom: 20px;
  perspective: 1000px;
}

.tv-frame {
  background: #343a40;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 2px rgba(255,255,255,0.1) inset;
  transform: rotateX(2deg);
}

.tv-screen {
  background: #000;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}

.tv-header, .tv-footer {
  background: rgba(0,0,0,0.7);
  color: #f8f9fa;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 100;
}

.tv-header {
  top: 0;
}

.tv-footer {
  bottom: 0;
}

.tv-logo {
  color: #9c8a5a;
}

.tv-recording {
  color: #ff0000;
}

.tv-controls {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 10px;
}

.tv-button {
  width: 15px;
  height: 15px;
  background: #877655;
  border-radius: 50%;
  border: 1px solid #9c8a5a;
}

.tv-content {
  height: 500px;
  width: 100%;
  filter: saturate(1.3) contrast(1.1);
}

.journey-container {
  background: rgba(156, 138, 90, 0.32);
  color: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.journey-header {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.journey-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #333;
  letter-spacing: 1px;
}

.journey-days {
  background: #9c8a5a;
  padding: 6px 12px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.days-count {
  font-size: 1.5rem;
  font-weight: bold;
}

.days-text {
  font-size: 0.7rem;
  font-weight: 600;
}

.journey-list {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
}

.journey-item {
  display: flex;
  margin-bottom: 25px;
  position: relative;
}

.journey-number {
  position: relative;
  margin-right: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.number-badge {
  background: #9c8a5a;
  color: #f8f9fa;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(156, 138, 90, 0.5);
  position: relative;
  z-index: 2;
}

.number-line {
  position: absolute;
  top: 30px;
  width: 2px;
  height: calc(100% + 10px);
  background: rgba(255,255,255,0.2);
  z-index: 1;
}

.journey-item:last-child .number-line {
  display: none;
}

.journey-details {
  flex-grow: 1;
  padding-bottom: 15px;
}

.journey-location {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.journey-day {
  font-size: 0.8rem;
  color: #9c8a5a;
  font-weight: 600;
  margin-bottom: 5px;
}

.journey-coordinates {
  font-size: 0.75rem;
  color: #333;
}

.leaflet-control-attribution {
  font-size: 8px;
  background: rgba(0,0,0,0.6) !important;
  color: rgba(255,255,255,0.5) !important;
}

.leaflet-control-attribution a {
  color: rgba(255,255,255,0.7) !important;
}

.leaflet-control-zoom {
  margin-top: 40px !important;
  border: none !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.3) !important;
}

.leaflet-control-zoom a {
  background: rgba(0,0,0,0.7) !important;
  color: #f8f9fa !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.leaflet-popup-content-wrapper {
  background: rgba(0,0,0,0.8);
  color: #f8f9fa;
  border-radius: 8px;
}

.leaflet-popup-tip {
  background: rgba(0,0,0,0.8);
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.5); }
  100% { opacity: 0.6; transform: scale(1); }
}
.pulse-marker {
  animation: pulse 2s infinite;
}

@keyframes tvOn {
  0% { filter: brightness(0.5) contrast(2) grayscale(0.5); }
  3% { filter: brightness(2) contrast(3) grayscale(0.2); }
  5% { filter: brightness(0.7) contrast(1.5) grayscale(0.1); }
  100% { filter: brightness(1) contrast(1.1) saturate(1.3); }
}
.tv-on {
  animation: tvOn 2.5s ease-out forwards;
}
.journey-container {
  max-height: 100%;
  display: flex;
  flex-direction: column;
}

.journey-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px; 
}

.journey-list::-webkit-scrollbar {
  width: 6px;
}

.journey-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.journey-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.journey-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.tour-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tour-detail-item {
    display: inline-flex;
    align-items: center;
}

.tour-detail-item i {
    font-size: 1.5rem;
    margin-right: 8px;
}