/* =========================
   ROOT / GLOBAL
========================= */
:root {
    --primary: #ff385c;
    --bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
    padding: 2rem 1rem;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    height: 4.8rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.4rem;
}

.fa-compass {
    color: var(--primary);
    font-size: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #222 !important;
    transition: 0.2s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* =========================
   BUTTONS
========================= */
.add-btn,
.del-btn,
.btn {
    border-radius: 30px !important;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* =========================
   GENERAL CARDS
========================= */
.card {
    border: none !important;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* =========================
   LISTING CARDS (INDEX)
========================= */
.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 0.8rem;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.card-text {
    font-size: 1rem;
}

.listing-link {
    text-decoration: none !important;
    color: inherit;
}

/* =========================
   SHOW PAGE
========================= */
.show-card {
    width: 42rem !important;
    margin: 2rem auto !important;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.show-card img {
    height: 320px;
    object-fit: cover;
}

/* =========================
   REVIEW SECTION
========================= */
.review-section {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 2rem auto;
}

.review-card {
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.2s ease;
}

.review-card:hover {
    transform: scale(1.02);
}

.review-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    text-align: left;
}

.review-label {
    color: var(--primary);
    font-weight: 600;
}

/* =========================
   FOOTER
========================= */
.f-info {
    text-align: center;
    height: 8rem;
    background-color: #ebebeb;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.f-info-links {
    width: 100%;
}

.f-info-links a {
    text-decoration: none;
    color: #222;
}

.f-info-links a:hover {
    text-decoration: underline;
}

.f-info-social {
    width: 100%;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.f-info-social i {
    margin-right: 1rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .review-section {
        grid-template-columns: 1fr;
    }

    .show-card {
        width: 90% !important;
    }
}

.map-wrapper {
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

#map {
  height: 100px;
  width: 100vh;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #eee;
}
/* Airbnb Style Search Box */
.search-container {
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 3px 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.search-container:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.search-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    width: 250px;
}

.search-btn {
    background-color: #fe424d; /* Airbnb Pink/Red */
    display:inline !important;
    align-items: center;
    color: white !important;
    border-radius: 50%;
    padding: 6px 10px;
    margin-left: 5px;
}

.search-btn:hover {
    background-color: #d93b44;
}

/* Base Dark Mode Overrides */
[data-bs-theme="dark"] {
    --bs-body-bg: #1a1a1a;
    --bs-body-color: #f8f9fa;
}

[data-bs-theme="dark"] .card {
    background-color: #2b2b2b;
    border-color: #444;
}

[data-bs-theme="dark"] .nav-link, 
[data-bs-theme="dark"] .footer-link {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .search-input {
    background-color: #333;
    border-color: #555;
    color: white;
}

.star-summary {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.star-summary i {
    color: #fe424d; 
}

h2 {
    font-weight: 700;
}