:root {
  --primary: #858c94;
  --bg: #060505;
  --card: #cdd1d5;
  --light: #333;
  --hover: #0056b3;
  --gray: #666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--light);
  line-height: 1.6;
  padding: 0;
}

h1, h2, h3 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 1rem;
}

.container, main, .profile-container {
  width: 100%;
  max-width: 800px;
  margin: auto;
  background: var(--card);
  padding: 20px;
  border-radius: 14px;
  margin-top: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

input, select, textarea, button {
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

button {
  background-color: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: var(--hover);
}

.top-nav .nav-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
  font-size: 1.05rem;
}

.logo div:first-child {
  font-size: 2.8rem;
  color: #fff !important;
}

.logo div:last-child {
  font-size: 1.1rem;
  color: #eee !important;
}

/* ✅ HEADER */
header,
.top-nav {
  background-image: url('image/header-hornbill.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 130px;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #fff;
  position: relative;
  z-index: 10;
}

.top-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 130px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0,0,0,0.2));
  z-index: 0;
}

.top-nav > * {
  position: relative;
  z-index: 1;
}

.logo {
  text-align: center;
  line-height: 1;
}

footer {
  background: var(--card);
  padding: 20px;
  color: var(--gray);
  text-align: center;
  font-size: 0.85rem;
  margin-top: 40px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  padding: 0 10px;
}

.category-card {
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

.category-card i {
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.category-card:hover {
  transform: scale(1.03);
}

.full-width-box-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.full-width-box-list li {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 20px;
  text-align: center;
  transition: background 0.3s;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.full-width-box-list a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.review-card, .terms-card, .form-box {
  background: var(--card);
  padding: 20px;
  border-radius: 14px;
  margin: 1rem auto;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.booking-history ul {
  list-style: none;
  padding-left: 0;
}

.booking-history li {
  background: #f1f1f1;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.back-btn {
  position: relative;
  margin-bottom: 1rem;
}

.back-btn button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
}

.search-section {
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.search-section input {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

#suggestions {
  background: #fff;
  list-style: none;
  padding: 0;
  margin-top: 5px;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
  position: absolute;
  width: 100%;
}

#suggestions li {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  color: var(--light);
}

#suggestions li:hover {
  background: #f1f1f1;
}

.form-group label span {
  color: red;
}

.booking-summary {
  background: #e9ecef;
  padding: 15px;
  margin-top: 20px;
  border-left: 4px solid var(--primary);
  font-size: 0.95rem;
  border-radius: 6px;
}

.booking-summary p {
  margin-bottom: 8px;
}

.grand-heading {
  background-color: #060606ec;
  color: #fafaf7;
  padding: 12px 20px;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.provider-banner {
  position: relative;
  background-image: url('image/provider-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 20px;
  margin-top: 40px;
}

.provider-banner-overlay {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 40px 20px;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.provider-content {
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.provider-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffef9f;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.provider-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #f1f1f1;
  margin: 10px 0;
}

.provider-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 30px;
  font-size: 1rem;
  background-color: #ff5c00;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.provider-btn:hover {
  background-color: #e04800;
}

.label-box {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* --- 9anime-inspired minimalist improvements --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.card-title {
  padding: 10px;
  text-align: center;
  font-size: 0.95rem;
  color: #f0f0f0;
  background-color: #222;
}

@media screen and (max-width: 600px) {
  .card-title {
    font-size: 0.85rem;
    padding: 8px;
  }
}
