/* YachtMLS - Custom Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2847 100%);
    min-height: 400px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/assets/images/placeholder-yacht.jpg') center/cover no-repeat;
    opacity: 0.15;
}

/* Listing Cards */
.listing-card {
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-img-top-wrapper {
    position: relative;
    overflow: hidden;
}

/* Browse by Type Cards */
.border-hover {
    transition: border-color 0.2s, box-shadow 0.2s;
    border: 1px solid #dee2e6;
}
.border-hover:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Dashboard Stats */
.card .fs-2 {
    font-weight: 700;
}

/* Listing Description */
.listing-description {
    line-height: 1.8;
    color: #444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
    }
    .hero-section .display-4 {
        font-size: 1.8rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
}

/* Badge colors for statuses */
.badge.bg-NEW { background-color: #198754 !important; }
.badge.bg-READ { background-color: #0d6efd !important; }
.badge.bg-REPLIED { background-color: #6c757d !important; }

/* Filter sidebar */
@media (max-width: 991px) {
    .col-lg-3 .card {
        margin-bottom: 1rem;
    }
}

/* Table actions */
.table .dropdown-menu {
    font-size: 0.875rem;
}

/* Footer links */
footer a:hover {
    color: white !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
