/* ==========================================
   RHINO LISTING - OFFICIAL BRANDING & THEME CSS
   Derived directly from rhinolisting.com
   ========================================== */

:root {
  /* Brand Core Palette */
  --rhino-primary: #444752;           /* Dark Slate / Charcoal */
  --rhino-primary-rgb: 68, 71, 82;
  --rhino-primary-dark: #333640;
  --rhino-secondary: #F2F3F5;         /* Soft Gray */
  --rhino-secondary-rgb: 242, 243, 245;

  /* Accent & Status Colors */
  --rhino-green: #28A800;             /* Success / Website Button Green */
  --rhino-green-hover: #228f00;
  --rhino-amber: #FA8B0C;             /* Star Rating / Featured Amber */
  --rhino-red: #F80718;               /* Danger / Alert Red */
  --rhino-pink: #F51957;              /* Popular Badge Pink */
  --rhino-navy: #122069;              /* New Badge Deep Navy */

  /* Neutral Surface & Text Colors */
  --rhino-bg-main: #F4F5F6;
  --rhino-card-bg: #FFFFFF;
  --rhino-text-dark: #1E2530;
  --rhino-text-body: #404040;
  --rhino-text-muted: #6C757D;
  --rhino-border: #E9E9E9;
  --rhino-border-dark: #D9D9D9;

  /* Shadows */
  --rhino-shadow-sm: 0 2px 5px rgba(0,0,0,0.04);
  --rhino-shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --rhino-shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

/* Base Body Styling */
body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--rhino-bg-main);
  color: var(--rhino-text-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Helper Text Classes */
.text-dark-slate {
  color: var(--rhino-primary) !important;
}

.text-rhino-green {
  color: var(--rhino-green) !important;
}

.text-hover-green:hover {
  color: var(--rhino-green) !important;
}

/* Navbar Branding & Styling */
.rhino-navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--rhino-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.rhino-navbar .nav-link {
  color: var(--rhino-primary) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  transition: all 0.2s ease;
}

.rhino-navbar .nav-link:hover,
.rhino-navbar .nav-link.active {
  color: var(--rhino-green) !important;
}

.rhino-brand {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--rhino-primary) !important;
  text-decoration: none;
}

/* Buttons System */
.btn-rhino-primary {
  background-color: var(--rhino-primary) !important;
  border-color: var(--rhino-primary) !important;
  color: #ffffff !important;
  transition: all 0.2s ease;
}

.btn-rhino-primary:hover,
.btn-rhino-primary:focus {
  background-color: var(--rhino-primary-dark) !important;
  border-color: var(--rhino-primary-dark) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(68, 71, 82, 0.25);
}

.btn-rhino-green {
  background-color: var(--rhino-green) !important;
  border-color: var(--rhino-green) !important;
  color: #ffffff !important;
  transition: all 0.2s ease;
}

.btn-rhino-green:hover,
.btn-rhino-green:focus {
  background-color: var(--rhino-green-hover) !important;
  border-color: var(--rhino-green-hover) !important;
  color: #ffffff !important;
}

.btn-rhino-secondary {
  background-color: var(--rhino-secondary) !important;
  border-color: var(--rhino-secondary) !important;
  color: var(--rhino-text-body) !important;
}

.btn-rhino-secondary:hover {
  background-color: #E2E4E8 !important;
  color: var(--rhino-primary) !important;
}

.btn-outline-rhino {
  border-color: var(--rhino-primary) !important;
  color: var(--rhino-primary) !important;
  background-color: transparent !important;
}

.btn-outline-rhino:hover {
  background-color: var(--rhino-primary) !important;
  color: #ffffff !important;
}

.btn-outline-green {
  border-color: var(--rhino-green) !important;
  color: var(--rhino-green) !important;
  background-color: transparent !important;
}

.btn-outline-green:hover {
  background-color: var(--rhino-green) !important;
  color: #ffffff !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #444752 0%, #2A2D36 100%);
  color: #ffffff;
  padding: 80px 0 90px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(40,168,0,0.15) 0%, rgba(40,168,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-search-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border: 1px solid var(--rhino-border);
}

/* Category & Listing Cards */
.rhino-card {
  background: var(--rhino-card-bg);
  border-radius: 12px;
  border: 1px solid var(--rhino-border);
  box-shadow: var(--rhino-shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.rhino-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rhino-shadow-md);
  border-color: var(--rhino-border-dark);
}

.category-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(68, 71, 82, 0.08);
  color: var(--rhino-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.rhino-card:hover .category-icon-box {
  background: var(--rhino-primary);
  color: #ffffff;
}

/* Badges & Rating System */
.star-rating {
  color: var(--rhino-amber);
}

.badge-featured {
  background-color: var(--rhino-amber) !important;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-status {
  font-weight: 600;
  text-transform: capitalize;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-pending {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-approved {
  background-color: #D1FAE5;
  color: #065F46;
}

.badge-rejected {
  background-color: #FEE2E2;
  color: #991B1B;
}

/* Rhino Divisions Partner Showcase */
.rhino-divisions-section {
  background-color: #ffffff;
  border-top: 1px solid var(--rhino-border);
  border-bottom: 1px solid var(--rhino-border);
  padding: 40px 0;
}

.partner-logo-card {
  background: #ffffff;
  border: 1px solid var(--rhino-border);
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  transition: all 0.25s ease;
}

.partner-logo-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border-color: var(--rhino-primary);
  transform: translateY(-2px);
}

.partner-logo-card img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
}

/* Admin Dashboard Cards */
.admin-stat-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--rhino-border);
  box-shadow: var(--rhino-shadow-sm);
}

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Footer Styling */
.rhino-footer {
  background-color: var(--rhino-primary) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.rhino-footer h5 {
  color: #ffffff !important;
}

.rhino-footer a:hover {
  color: var(--rhino-green) !important;
}

/* Maps & Interactive Containers */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 300px;
  background-color: #E2E8F0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
