/* OneBoston Realty - Custom Styling */
:root {
  --primary-red: #971a1c;
  --primary-red-hover: #7a1416;
  --navy-blue: #263f55;
  --navy-dark: #1b2d3d;
  --light-bg: #f8f9fa;
  --card-bg: #ffffff;
  --text-color: #2b2b2b;
  --text-muted: #6c757d;
  --border-color: #e2e8f0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
}

/* Header & Nav */
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  padding: 0.8rem 1rem;
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.nav-link {
  color: var(--navy-blue) !important;
  font-weight: 600;
  margin: 0 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-primary-custom {
  background-color: var(--primary-red);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-red-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(151, 26, 28, 0.3);
}

.btn-navy-custom {
  background-color: var(--navy-blue);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-navy-custom:hover {
  background-color: var(--navy-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(38, 63, 85, 0.75), rgba(27, 45, 61, 0.85)), 
              url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 120px 0 100px;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
  font-weight: 300;
}

/* Page Headers */
.page-banner {
  background: linear-gradient(rgba(38, 63, 85, 0.85), rgba(38, 63, 85, 0.9)), 
              url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: white;
  padding: 70px 0;
  margin-bottom: 50px;
}

/* Section Titles */
.section-title {
  color: var(--navy-blue);
  font-weight: 700;
  position: relative;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: var(--primary-red);
  margin: 10px auto 30px;
  border-radius: 2px;
}

.title-underline-left {
  width: 60px;
  height: 4px;
  background-color: var(--primary-red);
  margin: 10px 0 25px;
  border-radius: 2px;
}

/* Cards & Components */
.custom-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
  background: #fff;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.service-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(151, 26, 28, 0.08);
  color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.custom-card:hover .service-icon-box {
  background-color: var(--primary-red);
  color: #ffffff;
}

/* Property Cards */
.property-img-wrapper {
  position: relative;
  height: 230px;
  overflow: hidden;
}

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

.custom-card:hover .property-img-wrapper img {
  transform: scale(1.06);
}

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-red);
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.property-price {
  color: var(--navy-blue);
  font-size: 1.4rem;
  font-weight: 700;
}

.property-meta {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact Details & Form */
.contact-info-card {
  background-color: var(--navy-blue);
  color: white;
  padding: 40px;
  border-radius: 12px;
  height: 100%;
}

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

.contact-info-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Footer */
footer {
  background-color: var(--navy-dark);
  color: #d1d5db;
  padding: 60px 0 20px;
}

footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
}

footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.88rem;
}
