/* ============================================================
   BookNow Platform - Main Stylesheet
   Font: Poppins (body) + Playfair Display (headings)
   Theme: Deep navy + coral accent
============================================================ */

/* -- Variables (replicated as literals for CSS2 compat) -- */
:root {
    --navy:   #1a1a2e;
    --coral:  #e94560;
    --gold:   #f5a623;
    --light:  #f8f9fa;
    --muted:  #6c757d;
    --border: #e0e0e0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
    padding-top: 60px; /* navbar offset */
}

h1,h2,h3 { font-family: 'Playfair Display', serif; }

a { color: #1a1a2e; }
a:hover { color: #e94560; text-decoration: none; }

/* ============================================================
   NAVBAR
============================================================ */
.bp-navbar {
    background: #1a1a2e;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.bp-navbar .navbar-brand.bp-brand {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    letter-spacing: 1px;
}
.bp-navbar .navbar-brand.bp-brand i { color: #e94560; }
.bp-navbar .nav > li > a { color: #ccc; font-size: 13px; }
.bp-navbar .nav > li > a:hover,
.bp-navbar .nav > li > a:focus { color: #fff; background: rgba(255,255,255,0.05); }
.bp-navbar .dropdown-menu { border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.bp-navbar .dropdown-menu > li > a { font-size: 13px; padding: 8px 16px; }
.bp-navbar .dropdown-menu > li > a i { margin-right: 8px; color: #e94560; }

.btn-nav-register {
    background: #e94560 !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 6px 18px !important;
    margin-top: 8px;
}
.btn-nav-register:hover { background: #c73652 !important; }

/* ============================================================
   FLASH MESSAGE
============================================================ */
.bp-flash {
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    z-index: 9999;
    border-radius: 0;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

/* ============================================================
   HERO SECTION (Homepage)
============================================================ */
.bp-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bp-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(233,69,96,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.bp-hero h1 { font-size: 46px; margin-bottom: 12px; color: #fff; }
.bp-hero h1 span { color: #e94560; }
.bp-hero p { font-size: 17px; color: #aab; margin-bottom: 36px; }

/* Search Box */
.bp-search-box {
    background: #fff;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.bp-search-box input[type=text] {
    border: none;
    outline: none;
    flex: 1;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    color: #333;
    padding: 8px 0;
}
.bp-search-box select {
    border: none;
    outline: none;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #666;
    padding: 8px 12px;
    background: transparent;
    cursor: pointer;
    border-left: 1px solid #e0e0e0;
    margin-left: 8px;
}
.bp-search-btn {
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 12px 28px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.bp-search-btn:hover { background: #c73652; }

/* ============================================================
   CATEGORIES STRIP
============================================================ */
.bp-categories { padding: 40px 0; background: #f8f9fa; }
.bp-categories h2 { text-align: center; margin-bottom: 30px; font-size: 26px; }

.bp-cat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    display: block;
    color: #333;
    border: 2px solid transparent;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.bp-cat-card:hover {
    border-color: #e94560;
    color: #e94560;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(233,69,96,0.15);
}
.bp-cat-card i { font-size: 32px; color: #e94560; display: block; margin-bottom: 10px; }
.bp-cat-card span { font-size: 13px; font-weight: 600; }

/* ============================================================
   SECTION HEADINGS
============================================================ */
.bp-section { padding: 50px 0; }
.bp-section-title {
    font-size: 28px;
    margin-bottom: 8px;
    color: #1a1a2e;
}
.bp-section-sub {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

/* ============================================================
   LISTING CARDS
============================================================ */
.bp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.25s;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}
.bp-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.bp-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.bp-card:hover .bp-card-img img { transform: scale(1.05); }

.bp-card-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #e94560;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bp-card-price {
    position: absolute;
    bottom: 10px; right: 10px;
    background: rgba(26,26,46,0.88);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.bp-card-body { padding: 16px; flex: 1; }
.bp-card-body h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    font-family: 'Poppins', sans-serif;
    color: #1a1a2e;
}
.bp-card-body .bp-card-location {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}
.bp-card-body .bp-card-location i { color: #e94560; margin-right: 3px; }
.bp-card-desc { font-size: 12px; color: #666; margin-bottom: 10px; }

.bp-card-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bp-rating { font-size: 12px; color: #888; }
.bp-rating .fa-star { color: #f5a623; }
.bp-btn-book {
    background: #1a1a2e;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    transition: background 0.2s;
}
.bp-btn-book:hover { background: #e94560; color: #fff !important; }

/* ============================================================
   LISTING DETAIL PAGE
============================================================ */
.bp-listing-gallery { margin-bottom: 24px; }
.bp-listing-gallery .main-img {
    width: 100%; height: 420px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}
.bp-listing-thumbs { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.bp-listing-thumbs img {
    width: 80px; height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.bp-listing-thumbs img:hover,
.bp-listing-thumbs img.active { border-color: #e94560; }

.bp-listing-title { font-size: 30px; color: #1a1a2e; margin-bottom: 4px; }
.bp-listing-vendor { font-size: 13px; color: #888; margin-bottom: 12px; }
.bp-listing-vendor strong { color: #1a1a2e; }

.bp-amenity-tag {
    display: inline-block;
    background: #f0f4ff;
    color: #1a1a2e;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    margin: 4px 4px 4px 0;
    font-weight: 500;
}
.bp-amenity-tag i { color: #e94560; margin-right: 4px; }

/* Booking Widget */
.bp-booking-widget {
    background: #fff;
    border: 2px solid #1a1a2e;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 75px;
}
.bp-booking-widget .price-display {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.bp-booking-widget .price-display span { font-size: 14px; color: #888; font-weight: 400; }
.bp-booking-widget label { font-weight: 600; font-size: 13px; color: #444; }
.bp-booking-widget .form-control { border-radius: 6px; font-size: 14px; }

.bp-btn-primary {
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}
.bp-btn-primary:hover { background: #c73652; }
.bp-btn-secondary {
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    text-align: center;
    margin-top: 10px;
}
.bp-btn-secondary:hover { background: #0d0d1e; color: #fff; }

/* ============================================================
   SEARCH PAGE
============================================================ */
.bp-search-header {
    background: #1a1a2e;
    padding: 28px 0;
    color: #fff;
}
.bp-search-header .bp-search-box { max-width: 100%; }

.bp-filter-panel {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.bp-filter-panel h5 {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a2e;
    margin-bottom: 14px;
}

.bp-results-count { color: #888; font-size: 13px; margin-bottom: 16px; }
.bp-sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

/* ============================================================
   CHECKOUT & CONFIRMATION
============================================================ */
.bp-checkout-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 28px;
    margin-bottom: 24px;
}
.bp-checkout-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    color: #1a1a2e;
}

.bp-order-summary { background: #f8f9fa; border-radius: 10px; padding: 20px; }
.bp-order-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.bp-order-row.total {
    font-weight: 700;
    font-size: 17px;
    color: #1a1a2e;
    border-top: 2px solid #ddd;
    padding-top: 12px;
    margin-top: 8px;
}

/* Confirmation page */
.bp-confirm-box {
    background: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 50px auto;
}
.bp-confirm-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.bp-confirm-icon i { font-size: 36px; color: #4cd964; }
.bp-confirm-ref {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 2px;
    margin: 16px 0 8px;
}
.bp-barcode {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #888;
    background: #f4f4f4;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 1px;
    margin: 10px 0;
}

/* ============================================================
   FORMS / ACCOUNT PAGES
============================================================ */
.bp-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: 480px;
    margin: 60px auto;
}
.bp-form-card h2 { font-size: 26px; margin-bottom: 6px; color: #1a1a2e; }
.bp-form-card .sub { color: #888; font-size: 13px; margin-bottom: 24px; }
.bp-form-card .form-group label { font-weight: 600; font-size: 13px; }
.bp-form-card .form-control { border-radius: 6px; height: 42px; font-size: 14px; }
.bp-form-card .bp-btn-submit {
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}
.bp-form-card .bp-btn-submit:hover { background: #c73652; }
.bp-form-card .bp-link { font-size: 13px; text-align: center; margin-top: 16px; }
.bp-form-card .bp-link a { color: #e94560; font-weight: 600; }

/* ============================================================
   FOOTER
============================================================ */
.bp-footer {
    background: #1a1a2e;
    color: #aab;
    padding: 50px 0 20px;
    margin-top: 60px;
}
.bp-footer h4, .bp-footer h5 { color: #fff; margin-bottom: 16px; }
.bp-footer h4 i { color: #e94560; }
.bp-footer p { font-size: 13px; }
.bp-footer ul li { margin-bottom: 8px; }
.bp-footer ul li a { color: #aab; font-size: 13px; }
.bp-footer ul li a:hover { color: #e94560; }
.bp-social a { color: #aab; margin-right: 12px; }
.bp-social a:hover { color: #e94560; }
.bp-footer hr { border-color: rgba(255,255,255,0.1); }
.bp-footer-copy { color: #666; font-size: 12px; }

/* ============================================================
   DASHBOARD SHARED
============================================================ */
.bp-dash-sidebar {
    background: #1a1a2e;
    min-height: 100vh;
    padding: 20px 0;
    color: #fff;
}
.bp-dash-sidebar .sidebar-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #556;
    padding: 20px 20px 6px;
}
.bp-dash-sidebar a {
    display: block;
    padding: 11px 20px;
    color: #aab;
    font-size: 13px;
    border-left: 3px solid transparent;
    transition: all 0.15s;
}
.bp-dash-sidebar a:hover,
.bp-dash-sidebar a.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-left-color: #e94560;
}
.bp-dash-sidebar a i { margin-right: 10px; width: 16px; text-align: center; }

.bp-stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.bp-stat-icon {
    width: 52px; height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}
.bp-stat-icon.navy   { background: #1a1a2e; }
.bp-stat-icon.coral  { background: #e94560; }
.bp-stat-icon.gold   { background: #f5a623; }
.bp-stat-icon.green  { background: #27ae60; }
.bp-stat-value { font-size: 24px; font-weight: 700; color: #1a1a2e; line-height: 1; }
.bp-stat-label { font-size: 12px; color: #888; margin-top: 2px; }

/* Tables */
.bp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bp-table th {
    background: #1a1a2e;
    color: #fff;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.bp-table td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.bp-table tr:hover td { background: #fafafa; }

/* Badges */
.badge-success  { background: #27ae60; color:#fff; }
.badge-warning  { background: #f5a623; color:#fff; }
.badge-danger   { background: #e94560; color:#fff; }
.badge-info     { background: #3498db; color:#fff; }
.badge-primary  { background: #1a1a2e; color:#fff; }
.badge-secondary{ background: #888;    color:#fff; }
.badge { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }

/* Misc */
.bp-page-header { background: #f8f9fa; padding: 28px 0; margin-bottom: 30px; border-bottom: 1px solid #e0e0e0; }
.bp-page-header h2 { margin: 0; font-size: 24px; color: #1a1a2e; }

/* Responsive */
@media (max-width: 768px) {
    .bp-hero h1 { font-size: 28px; }
    .bp-search-box { border-radius: 10px; flex-direction: column; padding: 12px; }
    .bp-search-box input { width: 100%; margin-bottom: 10px; }
    .bp-search-box select { width: 100%; margin: 0 0 10px; border-left: none; border-top: 1px solid #e0e0e0; }
    .bp-search-btn { width: 100%; border-radius: 6px; }
    .bp-form-card { padding: 24px 20px; margin: 20px; }
    body { padding-top: 50px; }
}
