﻿@charset "utf-8";

/* ======================================================
   BASE & RESETS
====================================================== */
html {
  background-color: #F3F3F3;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Google Sans Flex', serif;
  font-size: 18px;
  color: #8C8B8B;
  background-color: #F3F3F3!important;
  line-height: 1.15;
  margin: 0;
}

p{
margin-bottom:15px;	
}

img, object, embed, video {
  max-width: 100%;
  height: auto;
}

.ie6 img {
  width: 100%;
}

.fluid {
  clear: both;
  margin-left: 0;
  width: 100%;
  float: left;
  display: block;
}

.fluidList {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ======================================================
   TYPOGRAPHY & LINKS
====================================================== */
a:link,
a:visited {
  color: #ff0000;
  text-decoration: underline;
  font-family: 'Google Sans Flex', serif;
}

a:hover,
a:active {
  color: #8C8B8B;
  text-decoration: none;
}

a.menu:link,
a.menu:visited,
a.menu:hover,
a.menu:active {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

a.sm:link,
a.sm:visited,
a.sm:active {
  color: #ffffff;
  text-decoration: underline;
  font-family: 'Google Sans Flex', Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight:200;
}

a.sm:hover {
  color: #ccc;
  text-decoration: none;
}

/* ======================================================
   LAYOUT HELPERS
====================================================== */
.mainContent,
.page-content {
  max-width: 1300px;
  display: block;
  margin: 0 auto;
  padding: 60px 20px 20px;
}

.page-content h2 {
  color: #202020;
  text-align: center;
  font-size: 2.5rem;
  font-family: 'Sofia Sans Condensed', serif;
  text-transform: uppercase;
}


.page-content h3 {
  color: #202020;
  text-align: center;
  font-weight:200;
  font-size: 2.25rem;
  line-height:1.25;
  font-family: 'Sofia Sans Condensed', serif;
  margin-top:40px;
}

.button-container input {
  display: inline;
  vertical-align: middle;
  margin: 0 5px 10px 0;
  text-align: center;
}

.button-container form,
.button-container form div {
  display: inline;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
  max-width: 800px;
  margin: 0 auto;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

blockquote {
  text-align: center;
  color: #C2681A;
  font-style: italic;
  margin: 30px auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.45);
}

.img {
margin:5px;
  border: 1px solid #ccc;
  padding: 5px;
  background: #f2f2f2;
  -webkit-box-shadow: 0 28px 16px -26px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 28px 16px -26px rgba(0, 0, 0, 0.5);
  box-shadow: 0 28px 16px -26px rgba(0, 0, 0, 0.5);
 }

/* ======================================================
   BACK TO TOP
====================================================== */
#return-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: rgba(255, 0, 0, 0.75);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#return-to-top i {
  color: #fff;
  font-size: 22px;
  margin: 0;
  transition: transform 0.3s ease;
}

#return-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
}

#return-to-top:hover i {
  transform: translateY(-3px);
}

/* This class is toggled by JavaScript */
#return-to-top.show {
  opacity: 1;
  visibility: visible;
}
/* ======================================================
   SITE BACKGROUNDS
====================================================== */
#navBackground {
  background: #000;
  display: block;
  margin: 0 auto;
  text-align: center;
  padding: 10px;
}

#contentBackground {
  background-color: #F7F9F9;
  display: block;
  margin: 0 auto;
  color: #5D5D5C;
}

#footerBackground {
  background-color: #000;
  color: #fff;
  display: block;
  margin: 0 auto;
  text-align: center;
  font-family: 'Google Sans Flex', Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 20px;
}

/* ======================================================
   HERO / SLIDESHOW
====================================================== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* fill one screen on laptop & wider */
}

/* Slightly shorter on smaller screens so it doesn’t feel huge */
@media (max-width: 999px) {
  .hero {
    min-height: 85vh;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 80vh;
  }
}

/* Slideshow */
.slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Gradient overlay */
.hero-gradient {
  position: absolute;
  top: 200px; /* matches logo-section height */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
}

@media (max-width: 800px) {
  .hero-gradient {
    background: rgba(0, 0, 0, 0.50);
  }
}

/* Logo */
.logo-section {
  position: relative;
  z-index: 10;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.logo {
  max-height: 190px;
  width: auto;
  display: block;
}

/* Menu */
.main-nav {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

/* Hero text – vertically centered in remaining space */
.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical centering */
  padding: 40px 10%;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1000px) {
  .hero-content {
    width: 75%;
    text-align: left;
  }
}

@media (min-width: 801px) and (max-width: 999px) {
  .hero-content {
    width: 90%;
    text-align: left;
  }
}

@media (max-width: 800px) {
  .hero-content {
    width: 100%;
    text-align: center;
    padding: 40px 6%;
  }
}

.hero-content h1 {
  font-family: 'Sofia Sans Condensed', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.1em;
}

.hero-content p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.25;
  margin: 0 0 1.8em;
  max-width: 38em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .hero-buttons {
    justify-content: center;
  }
}

/* ======================================================
   BUTTONS
====================================================== */
.btn {
  background: #c00510;
  border-color: #c00510;
  display: inline-block;
  padding: 14px 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  color: #fff;
}

.btn:link,
.btn:visited,
.btn:hover,
.btn:active,
.btn:focus {
  color: #fff;
  text-decoration: none;
}

.btn-primary {
  background: #e30613;
  border: 2px solid #e30613;
}

.btn-primary:hover {
  background: #c00510;
  border-color: #c00510;
}

/* ======================================================
   PROPERTY CARDS
====================================================== */
.propertyContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 20px 0;
  clear: both;
}

.propertyItem {
  flex: 1 1 calc(32.333% - 1.34rem);
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #000;
}

.propertyItem:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Image + Sold banner */
.propertyImage {
  position: relative;
  overflow: hidden;
}

.propertyItem img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  object-position: top center;
  display: block;
  margin: 0;
  flex-shrink: 0;
}

.sold-banner {
  position: absolute;
  top: 18px;
  right: -38px;
  left: auto;
  z-index: 3;
  background: #e30613;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 7px 45px;
  transform: rotate(45deg);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  text-align: center;
  pointer-events: none;
}

.propertyItem h2 {
  text-align: center;
  background: #3B3A3A;
  color: #fff;
  min-height: 100px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 10px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.propertyDetails {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.propertyDetails .address {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 0.6rem;
  line-height: 1.35;
}

.propertyDetails .beds-baths {
  font-size: 0.95rem;
  color: #444;
  margin: 0 0 0.75rem;
}

.propertyDetails .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e30613;
  margin: 0 0 1.25rem;
}

.propertyDetails .btn {
  margin: auto;
  text-align: center;
}

/* Responsive property grid */
@media (max-width: 1000px) {
  .propertyItem {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 600px) {
  .propertyItem {
    flex: 1 1 100%;
  }
}

/* ======================================================
   FOOTER
====================================================== */
#footerBackground {
  background-color: #000;
  color: #fff;
  padding: 50px 20px 30px;
  font-family: 'Google Sans Flex', Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight:200;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Social + MLS logos */
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}

.footer-logos a {
  color: #fff;
  font-size: 24px;
  transition: color 0.25s ease;
  text-decoration: none;
}

.footer-logos a:hover {
  color: #e30613;
}

.footer-logos .mls-logos {
  height: 24px;
  width: auto;
  display: block;
}

/* Company info */
.footer-company {
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.footer-company a {
  color: #fff;
  text-decoration: none;
}

.footer-company a:hover {
  color: #e30613;
}

/* Agents */
.footer-agents {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px 50px;
  margin-bottom: 35px;
}

.footer-agents .agent {
  min-width: 160px;
}

.footer-agents a {
  color: #fff;
  text-decoration: none;
}

.footer-agents a:hover {
  color: #e30613;
}

/* Copyright */
.footer-bottom {
  font-size: 0.9rem;
  opacity: 0.75;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 10px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .footer-agents {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-logos {
    gap: 18px;
  }
}

/* ======================================================
   TEAM SECTION
====================================================== */
.team-section {
  padding: 40px 0 60px;
  padding-top:0;
  padding-bottom:0;
}

.teamContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 30px;
}

.teamMember {
  flex: 1 1 280px;
  max-width: 340px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teamMember:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Circular photo */
.teamPhoto {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 0px solid #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.teamPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* helps with tall/narrow photos */
  display: block;
}

.teamMember h3 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  font-family: 'Sofia Sans Condensed', serif;
}

.teamTitle {
  margin: 0 0 18px;
  font-size: 1rem;
  color: #e30613;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.teamContact {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.teamContact a {
  color: #444;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

.teamContact a:hover {
  color: #e30613;
}

.teamContact i {
  color: #e30613;
  font-size: 0.9rem;
  width: 16px;
}

.team-bio-btn {
  margin-top: 18px;
  display: inline-block;
}

/* Responsive */
@media (max-width: 900px) {
  .teamMember {
    flex: 1 1 260px;
  }
}

@media (max-width: 600px) {
  .teamContainer {
    gap: 1.5rem;
  }
  
  .teamMember {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .teamPhoto {
    width: 160px;
    height: 160px;
  }
}

/* ======================================================
   BIO MODAL
====================================================== */
.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bio-modal.active {
  opacity: 1;
  visibility: visible;
}

.bio-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.bio-modal-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 40px;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.bio-modal.active .bio-modal-content {
  transform: translateY(0);
}

.bio-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.bio-modal-close:hover {
  color: #e30613;
}

.bio-modal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.bio-modal-photo {
  width: 220px;
  height: 300px;
  /*border-radius: 50%;*/
  overflow: hidden;
  border: 0px solid #000;
  margin: 0 auto 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.32);
}

.bio-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bio-modal-left {
  text-align: center;
}

.bio-modal-left h3 {
  margin: 0 0 4px;
  font-size: 1.6rem;
  color: #1f2937;
  font-family: 'Sofia Sans Condensed', serif;
}

.bio-modal-title {
  color: #e30613;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
}

.bio-modal-contact {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.bio-modal-contact a {
  color: #444;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bio-modal-contact a:hover {
  color: #e30613;
}

.bio-modal-contact i {
  color: #e30613;
  width: 16px;
}

.bio-modal-right {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333;
}

.bio-modal-right p {
  margin: 0 0 1.1em;
}

/* Mobile */
@media (max-width: 700px) {
  .bio-modal-content {
    padding: 30px 20px;
  }
  
  .bio-modal-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .bio-modal-photo {
    width: 160px;
    height: 160px;
  }
}


/*********TESTIMONIALS*******/

:root {
  --star-color: #e63946;          /* red stars */
  --card-bg: #ffffff;
  --text: #333;
  --muted: #666;
  --accent: #3B3A3A;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

#reviews {
	margin:40px auto 0px;
	padding:40px 20px;
	width:100%;
	display:block;
	background-color:rgba(0,0,0,0.05);
}
.testimonials-section {
  max-width: 720px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonials-static .testimonial-card:last-child {
  margin-bottom: 0;
}

.stars {
  color: var(--star-color);
  font-size: 1.25rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.quote {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid #eee;
  padding-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.author {
  font-weight: 600;
  color: var(--accent);
}

.extra, .date {
  color: var(--muted);
}

/* ===== Carousel mode (for homepage) ===== */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.testimonials-carousel .testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  margin-bottom: 0;
}

.testimonials-carousel .testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--accent);
}