* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #081c24, #0f3057);
  color: white;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  padding: 25px 60px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.nav-title {
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  color: white;
}

.logo {
  font-size: 24px;
  font-weight: 600;
}

.nav-links a {
  margin-left: 30px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00d4ff;
}

/* HERO */
.hero {
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: 0.8;
}

/* SEARCH */
.search-section {
  padding: 40px;
}

.search-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.search-container input,
.search-container select {
  padding: 12px 18px;
  border-radius: 30px;
  border: none;
  min-width: 200px;
}

.primary-btn {
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  background: #00d4ff;
  color: black;
  font-weight: 600;
  cursor: pointer;
}

/* MAIN */
.main-content {
  display: flex;
  gap: 40px;
  padding: 60px;
}

/* MAP */
.map-container {
  flex: 1;
}

#map {
  height: 500px;
  border-radius: 20px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.4);
}

.service-title {
  font-weight: 600;
  font-size: 15px;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 13px;
}

.price {
  background: #f4f0ff;
  color: #6a4cff;
  padding: 4px 10px;
  border-radius: 20px;
}

.duration {
  background: #eef5ff;
  color: #3478f6;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ==========================
   BOOKING MODAL
========================== */

.booking-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);

  justify-content: center;
  align-items: center;
}

.booking-container {
  width: 900px;
  max-height: 80vh;
  overflow-y: auto;

  background: white;
  color: #222;

  border-radius: 18px;
  padding: 40px;
  position: relative;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* CLOSE BUTTON */

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
}

/* HEADER */

.booking-header {
  text-align: center;
  margin-bottom: 30px;
}

.booking-header h2 {
  font-size: 28px;
  margin-bottom: 5px;
  color: #111;
}

.booking-header p {
  color: #666;
}

/* SERVICES GRID */

.services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* SERVICE CARD */

.popup-service {
  background: #f5f7fa;
  padding: 20px;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-name {
  font-size: 18px;
  font-weight: 600;
}

.service-meta {
  font-size: 14px;
  color: #666;
}

/* INPUTS */

.booking-inputs {
  display: flex;
  gap: 10px;
}

.input-group {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.input-group input {
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* BOOK BUTTON */

.book-btn {
  margin-top: 10px;
  padding: 10px;
  border: none;
  background: #00d4ff;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.book-btn:hover {
  background: #00bde4;
}

/* ==========================
   NOTIFICATIONS
========================== */

.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
}

/* BELL */

.notification-wrapper {
  position: relative;
}

.notification-bell {
  position: relative;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.notification-bell:hover {
  transform: scale(1.1);
}

/* BADGE */

.notification-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ff3b3b;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 20px;
  font-weight: 600;
}

/* DROPDOWN */

.notification-dropdown {
  position: absolute;
  right: 0;
  top: 40px;

  width: 320px;
  background: white;
  color: #333;

  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

  overflow: hidden;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: all 0.25s ease;
}

.notification-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* HEADER */

.notification-header {
  padding: 15px 20px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

/* ITEM */

.notification-item {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.notification-item:hover {
  background: #f5f7fb;
}

.notification-item.unread {
  background: #f0f7ff;
}

/* AVATAR */

.notif-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* CONTENT */

.notif-content p {
  font-size: 13px;
  margin-bottom: 3px;
}

.notif-content span {
  font-size: 11px;
  color: #888;
}

/* MOBILE */

@media (max-width: 768px) {
  .notification-dropdown {
    right: -80px;
  }
}

/* ==========================
   MESSAGE ICON
========================== */

.messages-icon {
  font-size: 20px;
  cursor: pointer;
  position: relative;
}

.messages-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff3b3b;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 20px;
}

/* ==========================
   OVERLAY
========================== */

.messaging-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.messaging-container {
  width: 1000px;
  height: 650px;
  background: white;
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  color: black;
}

/* LEFT PANEL */

.chat-list {
  width: 320px;
  border-right: 1px solid #eee;
}

.chat-search input {
  width: 100%;
  padding: 14px;
  border: none;
  border-bottom: 1px solid #eee;
}

.chat-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-meta {
  margin-left: auto;
  font-size: 11px;
}

/* ==========================
   CHAT WINDOW
========================== */

.chat-window {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* HEADER */

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 20px;

  border-bottom: 1px solid #eee;
}

.chat-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.online {
  font-size: 12px;
  color: #2ecc71;
}

.close-chat {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

/* ==========================
   MESSAGES
========================== */

.chat-messages {
  flex: 1;
  overflow-y: auto;

  padding: 20px;

  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* bubbles */

.message {
  max-width: 60%;
  padding: 12px 16px;

  border-radius: 16px;

  font-size: 14px;

  position: relative;
}

.message span {
  display: block;
  font-size: 10px;

  margin-top: 4px;

  opacity: 0.6;
}

/* received */

.received {
  background: #f1f1f1;

  align-self: flex-start;
}

/* sent */

.sent {
  background: #1b75d1;
  color: white;

  align-self: flex-end;
}

/* ==========================
   INPUT
========================== */

.chat-input {
  display: flex;
  gap: 10px;

  padding: 16px;

  border-top: 1px solid #eee;
}

.chat-input input {
  flex: 1;

  padding: 10px 14px;

  border-radius: 20px;
  border: 1px solid #ddd;
}

.chat-input button {
  background: #1b75d1;
  color: white;

  border: none;

  padding: 8px 16px;

  border-radius: 20px;

  cursor: pointer;
}

.image-upload {
  cursor: pointer;
  font-size: 18px;
}
