body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f9f9f9;
}

/* NAVBAR STYLES */
.logo-img {
  max-height: 60px;
  width: auto;
  display: block;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: rgb(0, 0, 0);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.nav-btn {
  background: #000000;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 17px;
  cursor: pointer;
}

.nav-btn-rent {
  background: white;
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 17px;
  cursor: pointer;
}

.icon-btn {
  background: #000000;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 8px;
  font-size: 16px;
  cursor: pointer;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-img {
  height: 24px;
  width: 24px;
  filter: brightness(0) invert(1);
}

#user-info {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  margin-left: 10px;
  font-size: 14px;
}

/* PAGE LAYOUT */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

.title {
  font-size: 2rem;
  font-weight: bold;
}

.subtitle {
  color: gray;
  font-size: 1.2rem;
}

.car-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.main-preview img {
  width: 100%;
  max-width: 850px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.thumbnail-slider {
  position: relative;
  width: 100%;
  max-width: 850px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.thumb-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.thumb-container img {
  width: 120px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
  transition: outline 0.2s;
}

.thumb-container img:hover {
  outline: 2px solid #000;
}

.arrow {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.arrow.left {
  margin-right: 0.5rem;
}

.arrow.right {
  margin-left: 0.5rem;
}


/* Modal Zoom */
.img-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.info-card, .booking-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
}

.rating {
  color: green;
  float: right;
}

.info-card ul {
  list-style: none;
  padding: 0;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 15px;
}

.spec-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.price {
  font-size: 1.5rem;
  text-align: right;
}

.desc {
  font-size: 0.9rem;
  color: gray;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}

.booking-card label {
  display: block;
  margin: 0.5rem 0;
}

.booking-card input {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
}

.booking-card button {
  width: 100%;
  padding: 0.75rem;
  background: #e11d48;
  color: white;
  border: none;
  margin-top: 1rem;
  cursor: pointer;
  border-radius: 8px;
}

.booking-summary {
  margin: 1rem 0;
  font-size: 16px;
}

.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.total-divider {
  border-top: 1px solid black;
  margin: 1rem 0 0.5rem;
}

.total-row {
  font-weight: bold;
}


.host-info {
  border-top: 1px solid #ccc;
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* FOOTER STYLES */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 60px;
  background: #000;
  color: white;
  flex-wrap: wrap;
}

.footer-logo {
  height: 40px;
  margin-right: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-socials a img {
  height: 24px;
  margin-right: 15px;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.footer-socials a:hover img {
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer-links p {
  margin: 6px 0;
  font-size: 14px;
  cursor: pointer;
}

.custom-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}


.custom-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.signature-canvas {
  width: 100%;
  max-width: 100%;
  height: 150px;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}



.modal-link {
  display: inline-block;
  margin: 10px 0 20px;
  color: #e11d48;
  font-weight: bold;
  text-decoration: underline;
}

.modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.modal-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: #ccc;
  font-weight: bold;
  transition: background 0.3s ease;
}

.modal-btn.primary {
  background: #e11d48;
  color: white;
}

.modal-btn.primary:hover {
  background: #c4103c;
}

.modal-btn.secondary {
  background: #000;
  color: white;
}

.modal-btn.secondary:hover {
  background: #333;
}

