/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #f4f7f9;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0 0 10px 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 20px;
  background: #3498db;
  color: white;
}

nav .logo {
  font-weight: bold;
  font-size: 20px;
}

nav div a {
  margin-left: 15px;
  font-weight: 500;
  color: white;
}

nav div a:hover {
  text-decoration: underline;
}

/* ===== BACKGROUND MARQUEE ===== */
.background-marquee {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.marquee-track {
  display: flex;
  animation: scroll 40s linear infinite;
}

.marquee-track img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== BUTTONS & INPUTS ===== */
button, input, textarea, select {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

button {
  background: #3498db;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #2980b9;
}

input, textarea, select {
  margin-bottom: 10px;
}

/* ===== SECTIONS ===== */
section {
  margin: 30px 0;
}

.results, .bookings-list, #reviews-list, .posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ===== CARDS ===== */
.booking-card, .tour-card, .review-item, .post {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.booking-card h4, .tour-card h3, .review-item strong, .post strong {
  margin-bottom: 8px;
}

/* ===== DASHBOARD ===== */
.dashboard {
  padding: 20px 0;
}

.dashboard-stats {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.dashboard-trips .trip-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hidden { display: none; }

/* ===== CHATBOT ===== */
.chat-container {
  max-width: 500px;
  margin: 20px auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  padding: 10px;
  height: 300px;
  overflow-y: auto;
  background: #eef2f7;
}

.chat-input {
  display: flex;
}

.chat-input input {
  flex: 1;
  border: none;
  border-top: 1px solid #ccc;
}

.chat-input button {
  border: none;
  padding: 0 15px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 15px;
  background: #3498db;
  color: white;
  margin-top: 30px;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px) {
  .dashboard-stats {
    flex-direction: column;
  }
  nav div a {
    margin-left: 10px;
    font-size: 14px;
  }
  .background-marquee {
    height: 180px;
  }
  .marquee-track img {
    height: 180px;
  }
}

@media(max-width: 480px) {
  nav .logo { font-size: 18px; }
  button, input, textarea, select { font-size: 12px; padding: 8px; }
  .chat-messages { height: 200px; }
  .background-marquee { height: 150px; }
  .marquee-track img { height: 150px; }
}
.posts .post {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px 20px;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
}

.posts .post strong {
  font-size: 1.1rem;
  color: #1a73e8;
}

.posts .post span {
  display: block;
  margin: 8px 0;
  color: #333;
}

/* ===== BUTTON CONTAINER ===== */
.posts .post .post-actions {
  margin-top: 10px;
}

/* ===== EDIT & DELETE BUTTONS ===== */
.posts .post button {
  padding: 6px 14px;
  font-size: 0.85rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px; /* space between icon and text */
}

/* Edit Button */
.posts .post .edit-btn {
  background-color: #ffeb3b;
  color: #333;
}

.posts .post .edit-btn:hover {
  background-color: #fdd835;
}

/* Delete Button */
.posts .post .delete-btn {
  background-color: #f44336;
  color: #fff;
}

.posts .post .delete-btn:hover {
  background-color: #d32f2f;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .posts .post button {
    padding: 4px 10px;
    font-size: 0.8rem;
  }
}

/* ===== Trip Modal Styles ===== */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}
.modal-content {
  background: #fff;
  margin: 8% auto;
  padding: 20px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.4s ease;
}
.modal-content img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  object-fit: cover;
}
#modalClose {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
#modalBook {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
}
#modalBook:hover { background: #0097a7; }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

.message {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
}

.msg-bubble {
  padding: 10px 14px;
  border-radius: 15px;
  max-width: 85%;
  line-height: 1.4;
  font-size: 0.95rem;
}

.user-bubble {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: #333;
  align-self: flex-end;
  box-shadow: 0 3px 8px rgba(255, 182, 193, 0.4);
}

.bot-bubble {
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
  color: #00264d;
  align-self: flex-start;
  box-shadow: 0 3px 8px rgba(102, 166, 255, 0.4);
}

.deal-link {
  display: inline-block;
  margin-top: 4px;
  background: #00bfa6;
  color: white;
  padding: 4px 8px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.deal-link:hover {
  background: #009e8a;
}
/icons
   icon-192x192.png
   icon-512x512.png

html, body {
  height: 100%;
  margin: 0;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: background-image 1.5s ease-in-out;
}
