/* Farm Machinery Auction Site - Styled to match elfarmingmachinery.com */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --light-bg: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navigation */
.navbar {
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #0d6efd !important;
}

.navbar-brand i {
  margin-right: 8px;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
}

/* Hero Banner Section */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: stretch;
}

.hero-banner-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

.hero-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 42%, rgba(255, 255, 255, 0.8) 55%, transparent 70%);
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-banner-content {
  max-width: 650px;
}

.hero-banner-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-banner-content .lead {
  font-size: 1.4rem;
  color: #0d6efd;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-banner-content .description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-banner .btn-primary {
  padding: 16px 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  transition: all 0.3s ease;
  border: none;
  margin-bottom: 25px;
}

.hero-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-features span {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  display: block;
}

@media (max-width: 992px) {
  .hero-banner {
    min-height: 450px;
  }

  .hero-banner-overlay {
    min-height: 450px;
    background: rgba(255, 255, 255, 0.96);
    padding: 50px 0;
  }

  .hero-banner-content h1 {
    font-size: 2.5rem;
  }

  .hero-banner-content .lead {
    font-size: 1.2rem;
  }

  .hero-banner-content .description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    min-height: 400px;
  }

  .hero-banner-overlay {
    min-height: 400px;
    padding: 40px 0;
  }

  .hero-banner-content h1 {
    font-size: 2rem;
  }

  .hero-banner-content .lead {
    font-size: 1.1rem;
  }

  .hero-banner-content .description {
    font-size: 0.95rem;
  }

  .hero-banner .btn-primary {
    padding: 14px 40px;
    font-size: 1rem;
  }

  .hero-features span {
    font-size: 0.9rem;
  }
}

.about-stats {
  margin-bottom: 4rem;
}

.about-how-it-works {
  margin-top: 3rem;
}

/* Professional Hero Banner */
.hero-banner-pro {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 0;
  overflow: hidden;
}

.hero-content-pro {
  padding-right: 30px;
}

.hero-badges .badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
  padding: 20px;
}

.hero-image-wrapper img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 992px) {
  .hero-banner-pro {
    padding: 40px 0;
  }
  
  .hero-content-pro {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-image-wrapper {
    margin-top: 30px;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-badges > div {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    min-height: 350px;
  }

  .hero-banner-overlay {
    min-height: 350px;
  }

  .hero-banner-content h1 {
    font-size: 1.6rem;
  }

  .hero-banner-content .lead {
    font-size: 1rem;
  }

  .hero-banner .btn-primary {
    padding: 12px 35px;
    font-size: 0.95rem;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
}

.hero-section h1 {
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-section .lead {
  font-size: 1.2rem;
  color: #666;
  font-weight: 500;
}

.hero-section .btn-primary {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Category Browse Section */
.category-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

.category-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.category-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  height: 80px;
  width: 100%;
  margin-bottom: 1rem;
}

.category-icon i {
  font-size: 3.5rem;
  color: #0d6efd;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon i {
  transform: scale(1.15);
  color: #0b5ed7;
}

.category-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #f0f0f0;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 12px 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-xl-2-4 {
  flex: 0 0 20%;
  max-width: 20%;
}

/* Most Watched Section */
.vehicle-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.vehicle-image-placeholder {
  background-color: #e9ecef;
  height: 200px;
  overflow: hidden;
}

.vehicle-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.countdown-badge {
  z-index: 10;
  font-weight: 600;
  font-size: 0.75rem;
  right: 10px;
  top: 10px;
}

.vehicle-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.vehicle-card .card-title {
  margin-bottom: 8px;
}

/* Why Choose Us Section */
.feature-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  border-color: #0d6efd;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon i {
  color: #0d6efd;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
  transform: scale(1.2);
}

.feature-card h5 {
  color: #1a1a1a;
  font-size: 1.05rem;
  text-align: center;
}

.feature-card p {
  line-height: 1.6;
  text-align: center;
}

/* Review Cards */
.review-card {
  background: #fff;
  border: 1px solid #e9ecef !important;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: #0d6efd !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-card p {
  color: #666;
  line-height: 1.6;
}

.fa-star {
  font-size: 0.9rem;
  margin-right: 2px;
}

/* CTA Section */
.bg-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
}

.bg-primary .btn-light:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer.site-footer {
  background-color: #1e293b !important;
  color: #94a3b8 !important;
  padding: 60px 0 0 !important;
  font-size: 0.95rem;
}

footer.site-footer .footer-main {
  padding-bottom: 40px;
}

footer.site-footer .footer-brand {
  margin-bottom: 20px;
}

footer.site-footer .footer-logo {
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  display: block;
}

footer.site-footer .footer-company-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
}

footer.site-footer .footer-description {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

footer.site-footer .footer-social-label {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

footer.site-footer .footer-social {
  display: flex;
  gap: 10px;
}

footer.site-footer .footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

footer.site-footer .footer-social a:hover {
  background: #0d6efd;
  color: #ffffff !important;
  transform: translateY(-2px);
}

footer.site-footer .footer-heading {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

footer.site-footer ul.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer.site-footer ul.footer-links li {
  margin-bottom: 12px;
  list-style: none !important;
}

footer.site-footer ul.footer-links li::before {
  display: none !important;
}

footer.site-footer ul.footer-links a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

footer.site-footer ul.footer-links a:hover {
  color: #0d6efd !important;
}

footer.site-footer ul.footer-contact {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer.site-footer ul.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #94a3b8;
  font-size: 0.9rem;
  list-style: none !important;
}

footer.site-footer ul.footer-contact li::before {
  display: none !important;
}

footer.site-footer ul.footer-contact li i {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

footer.site-footer ul.footer-contact a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

footer.site-footer ul.footer-contact a:hover {
  color: #0d6efd !important;
}

footer.site-footer .footer-bottom {
  border-top: 1px solid #334155;
  padding: 24px 0;
  margin-top: 10px;
}

footer.site-footer .footer-bottom p {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
}

footer.site-footer .footer-bottom a {
  color: #0d6efd !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

footer.site-footer .footer-bottom a:hover {
  color: #3b82f6 !important;
}

/* Legacy footer fallback (admin pages) */
footer:not(.site-footer) {
  background-color: #1a1a1a !important;
}

footer:not(.site-footer) h5 {
  color: #fff;
  font-weight: 700;
}

footer:not(.site-footer) ul li {
  margin-bottom: 8px;
}

footer:not(.site-footer) a {
  transition: color 0.3s ease;
}

footer:not(.site-footer) a:hover {
  color: #0d6efd !important;
}

footer:not(.site-footer) .text-white-50 {
  color: #aaa !important;
}

footer:not(.site-footer) hr {
  border-color: #333;
  margin: 30px 0;
}

@media (max-width: 767px) {
  footer.site-footer {
    padding: 40px 0 0 !important;
  }

  footer.site-footer .footer-heading {
    margin-bottom: 15px;
  }
}

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-light {
  background-color: #fff;
  border-color: #fff;
  color: #0d6efd;
  font-weight: 600;
}

.btn-light:hover {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

/* Forms */
.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Breadcrumb */
.breadcrumb {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
  margin-bottom: 30px;
}

/* Alerts */
.alert {
  border: none;
  border-left: 4px solid #0d6efd;
  border-radius: 5px;
}

.alert-info {
  background-color: #e7f1ff;
  color: #0d5db5;
}

/* Tables */
.table {
  background-color: #fff;
}

.table-light {
  background-color: #f8f9fa !important;
}

.table td, .table th {
  border-color: #e9ecef;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .vehicle-card {
    margin-bottom: 20px;
  }

  .category-icon {
    font-size: 2.2rem;
    height: 80px;
  }

  .category-card h5 {
    font-size: 0.95rem;
  }

  footer:not(.site-footer) .row {
    text-align: center;
  }

  .text-md-end {
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  .category-icon {
    font-size: 1.8rem;
    height: 70px;
  }

  .category-card {
    padding: 15px 8px;
  }

  .category-card h5 {
    font-size: 0.9rem;
  }

  .category-card .btn {
    font-size: 0.8rem;
  }
}

/* Important Notice Section */
.important-notice {
  background: linear-gradient(135deg, #fff3cd 0%, #fffbea 100%);
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
  margin-top: 20px;
  margin-bottom: 20px;
}

.notice-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffc107;
}

.notice-header i {
  font-size: 1.2rem;
  color: #ff9800;
}

.notice-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff6f00;
}

.notice-content {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
}

.notice-content p {
  margin-bottom: 8px;
  color: #666;
}

.notice-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .important-notice {
    padding: 12px;
  }

  .notice-header h5 {
    font-size: 1rem;
  }

  .notice-content {
    font-size: 0.85rem;
  }
}

/* Inventory Page Sidebar */
.admin-sidebar {
  padding: 20px 0;
}

.admin-nav a {
  padding: 10px 15px;
  display: block;
  color: #333;
  text-decoration: none;
  border-left: 3px solid transparent;
  margin-bottom: 5px;
  transition: all 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
  background-color: #f0f0f0;
  border-left-color: #0d6efd;
  color: #0d6efd;
}

/* Bid Panel Footer Styling */
.bid-panel-footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 16px;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid #dee2e6;
}

.bid-info-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #333;
  gap: 8px;
}

.bid-info-item:last-child {
  margin-bottom: 0;
}

.bid-info-item i {
  font-size: 1.1rem;
  color: #0d6efd;
  min-width: 24px;
  flex-shrink: 0;
}

.bid-info-label {
  font-weight: 600;
  color: #1a1a1a;
  display: inline;
}

.bid-info-value {
  font-weight: 700;
  color: #0d6efd;
  font-size: 1rem;
  display: inline;
}

.bid-info-text {
  font-weight: 500;
  color: #555;
  display: inline;
}

@media (max-width: 576px) {
  .bid-panel-footer {
    padding: 14px;
  }

  .bid-info-item {
    font-size: 0.85rem;
    margin-bottom: 10px;
    gap: 6px;
  }

  .bid-info-item i {
    font-size: 1rem;
    min-width: 20px;
  }

  .bid-info-label {
    font-size: 0.85rem;
  }

  .bid-info-value {
    font-size: 0.95rem;
  }

  .bid-info-text {
    font-size: 0.85rem;
  }
}

/* Important Notice Section */
.important-notice-section {
  background: linear-gradient(to bottom, #fffef5, #fffbea);
  border: 3px solid #f0d070;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e74c3c;
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
}

.notice-badge::before {
  content: '⚠';
  display: inline-block;
}

.notice-content {
  color: #8b6a47;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 500;
}

.notice-content p {
  margin-bottom: 12px;
}

.notice-content p:last-child {
  margin-bottom: 0;
}


