/* 
  Craig Auction & Sales, LLC. Homepage Styles
  Custom CSS for a professional auction business in Hastings, Nebraska
*/

/* -----------------
   Global Styles
   ----------------- */
:root {
  /* Primary colors - Deep blue for trust and professionalism */
  --primary-color: #134074;
  --primary-dark: #0b2545;
  --primary-light: #5c7d99;
  
  /* Secondary colors - Warm earth tone for Nebraska connection */
  --secondary-color: #E41C38; /* Husker red */
  --secondary-dark: #B91530; /* Darker Husker red for hover states */
  --secondary-light: #F05C72; /* Lighter Husker red */
  
  /* Neutral colors */
  --dark: #333333;
  --medium: #6c757d;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Font families */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--primary-dark);
}

/* Section titles with consistent styling */
.section-title {
  position: relative;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* -----------------
   Header/Navbar
   ----------------- */
.header {
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0;
  margin-right: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  overflow: visible;
}

.navbar-brand img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  transform: scale(2.25);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(2.25) translateY(-1px);
}

.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* CTA Button Styling - Consistent across site */
.cta-button {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* -----------------
   Hero Section
   ----------------- */
.hero-section {
  background: linear-gradient(rgba(11, 37, 69, 0.7), rgba(11, 37, 69, 0.7)), url('../images/jules-a-NvFkYV2ngOk-unsplash.webp') no-repeat center center;
  background-size: cover;
  height: 80vh;
  min-height: 500px;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 2rem;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-section .cta-button {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
}

/* -----------------
   Why Choose Us Section
   ----------------- */
.why-us-section {
  background-color: var(--light);
  padding: 5rem 0;
}

.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-placeholder {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.feature-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

/* -----------------
   Services Section
   ----------------- */
.services-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.service-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-img-placeholder {
  height: 200px;
  overflow: hidden;
}

.service-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-placeholder img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

/* -----------------
   Footer
   ----------------- */
.footer {
  background-color: var(--primary-dark);
  color: var(--light);
}

.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--secondary-light);
  text-decoration: none;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer hr {
  margin: 2rem 0;
  opacity: 0.1;
}

.copyright, .site-credit {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.area-served {
  margin-bottom: 0.5rem;
}

.site-credit {
  color: var(--light);
  opacity: 0.8;
}

/* -----------------
   Media Queries
   ----------------- */
/* Mobile adjustments */
@media (max-width: 767.98px) {
  .navbar-brand {
    height: 48px;
    margin-right: 1rem;
  }

  .navbar-brand img {
    transform: scale(2.25);
  }

  .navbar-brand:hover img {
    transform: scale(2.25) translateY(-1px);
  }

  .hero-section {
    height: 60vh;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .feature-card, .service-card {
    margin-bottom: 1.5rem;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-brand {
    height: 52px;
    margin-right: 1.5rem;
  }

  .navbar-brand img {
    transform: scale(2.25);
  }

  .navbar-brand:hover img {
    transform: scale(2.25) translateY(-1px);
  }

  .hero-section h1 {
    font-size: 2.25rem;
  }
}

/* Ensure high contrast for accessibility */
.navbar-nav .nav-link {
  color: var(--dark);
}

.footer p, .footer address {
  color: var(--light);
}

/* -----------------
   Page Title Section
   ----------------- */
.page-title-section {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0;
  position: relative;
}

.page-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--light);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--secondary-light);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/* -----------------
   About Page Elements
   ----------------- */
.content-section {
  padding: 5rem 0;
}

.about-img-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-img-placeholder {
  height: 300px;
  overflow: hidden;
}

.team-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.team-position {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Value Cards */
.value-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-card .icon-placeholder {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.value-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  color: var(--secondary-color);
}

.testimonial-text {
  font-style: italic;
}

.testimonial-location {
  color: var(--medium);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--light);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* -----------------
   Contact Page Elements
   ----------------- */
.contact-info-wrapper {
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  color: var(--primary-color);
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.contact-form-wrapper {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-title {
  color: var(--primary-dark);
  font-weight: 600;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(19, 64, 116, 0.15);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
  width: 100%;
  height: 450px;
  background-color: #f0f0f0;
}

/* -----------------
   Policy Page Elements
   ----------------- */
.policy-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.policy-card-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.policy-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.policy-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--white);
}

.policy-content {
  padding: 1.5rem;
}

.policy-item {
  margin-bottom: 1.5rem;
}

.policy-item:last-child {
  margin-bottom: 0;
}

.policy-item h4 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

/* Policy Boxes */
.policy-box {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.policy-box:hover {
  transform: translateY(-10px);
}

.policy-box-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.policy-box h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.policy-list {
  text-align: left;
  padding-left: 1.5rem;
}

.policy-list li {
  margin-bottom: 0.75rem;
}

/* Online Auction Steps */
.online-auction-steps {
  margin: 2rem 0;
}

.step-item {
  margin-bottom: 1.5rem;
}

.step-number {
  background-color: var(--secondary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.online-auction-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--white);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(19, 64, 116, 0.25);
} 