html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'BentonSans-Regular';
  src: url("../fonts/BentonSans-Regular.otf") format("opentype");
}

@font-face {
  font-family: 'BentonSans-Light';
  src: url("../fonts/BentonSans-Light.otf") format("opentype");
}

@font-face {
  font-family: 'FreightBigProLight-Regular';
  src: url("../fonts/FreightBigProLight-Regular.otf") format("opentype");
}

@font-face {
  font-family: 'Freight-BigLight';
  src: url("../fonts/Freight-BigLight.otf") format("opentype");
}

@font-face {
  font-family: 'BentonSans-Medium';
  src: url("../fonts/BentonSans-Medium.otf") format("opentype");
}

.logoMain {
  max-height: 60px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #fff;
  transition: .3s ease;
  background: #fff;
}

.site-header.sticky {
  /* background: rgba(0, 32, 64, 0.5); */
  /* backdrop-filter: blur(8px); */
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
  /* transition: background 0.3s ease, backdrop-filter 0.3s ease; */
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  max-height: 40px;
}

/* Nav base */
.nav {
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'BentonSans-Regular';
  text-transform: uppercase;
}

.nav-list li a {
  text-decoration: none;
  font-weight: 500;
  color: #002040;
  transition: color 0.3s ease;
  font-size: 1.2rem;
  position: relative;
}

.nav-list li a:before {
  width: 100%;
  height: 2px;
  content: "";
  background-color: #002349;
  position: absolute;
  bottom: -5px;
  transform: scale(0);
  transition: all .3s ease;
}

.nav-list li a:hover:before {
  transform: scale(1);
}

/* Burger */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 999;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 3px;
  width: 100%;
  background: #002040;
  transition: 0.3s ease;
  border-radius: 3px;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  top: -8px;
}

.nav-toggle-label span::after {
  top: 8px;
}

/* Burger open state */
.nav-toggle:checked + .nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-label span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
    text-align: center;
  }
  
  .nav-list li a {
    font-size: 1.4rem;
    /* color: #fff; */
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-toggle:checked ~ .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* .nav-list li a:before {
    background: #fff;
  } */
}

/* section-2 */

.hero-slider {
  position: relative;
  /* height: 800px; */
  overflow: hidden;
}

.hero-img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  pointer-events: none;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.hero-img.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.2);
  z-index: 5;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-img.active + .hero-overlay {
  opacity: 1;
  z-index: 4;
}


.nav-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none; 
}

.arrow {
  border: none;
  padding: 2rem 1rem;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  transition: .3s ease;
  background: #002040;
}

.arrow:hover {
  opacity: .9;
}

.arrowImg {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotate {
  transform: rotate(180deg);
}

.left {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.right {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#thumb-carousel {
  /* position: absolute; */
  /* bottom: 20px;
  bottom: 0px; */
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  /* padding: 0 5%; */
  z-index: 6;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  background: #fff;
}

#thumb-carousel .splide__list {
  display: flex !important;
}

#thumb-carousel .splide__slide {
  width: 140px;
  height: 80px;
  flex: 0 0 auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid transparent;
  /* border-radius: 6px; */
  transition: border 0.3s ease;
  cursor: pointer;
  margin-right: 0 !important;
}

#thumb-carousel .splide__slide.is-active,
#thumb-carousel .splide__slide:hover {
  /* border-color: #002040; */
}

@media (max-width: 720px) {
  #thumb-carousel .splide__slide {
    width: 100px;
  }
}

@media (max-width: 420px) {
  #thumb-carousel .splide__slide {
    width: 80px;
  }
  .hero-slider {
    /* height: 75vh; */
  }
  .logoMain {
    max-height: 30px;
  }
  .arrow {
    padding: 1rem .5rem;
  }
}


/* section-3 */
.property-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
  font-family: 'BentonSans-Regular';
  background: #fff;
  color: #000;
}

.property-content {
  flex: 1 1 50%;
  min-width: 200px;
}


.agent-card {
  flex: 1 1 35%;
  min-width: 180px;
  max-width: 400px;
  /* max-height: 475px; */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2rem;
  padding: 1.7rem 2rem 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  align-self: flex-start;
}

.property-address {
  font-size: 2.2rem;
  font-weight: normal;
  margin-bottom: 2rem;
  line-height: 1.3;
  font-family: 'FreightBigProLight-Regular';
}

.property-stats {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  text-align: center;
  font-family: 'BentonSans-Light';
}

.property-stats > div {
  flex: 1 1 120px;
  position: relative;
  padding: 0 1rem;
  min-width: 120px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.property-stats > div:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ccc;
}

.property-stats strong {
  font-size: 1.2rem;
  display: block;
  word-break: break-word;
  white-space: normal;
}


.property-stats span {
  font-family: 'Freight-BigLight';
  text-transform: uppercase;
}


.property-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.outline-button {
  border: .5px solid #000;
  background: transparent;
  padding: 0.84rem 1.5rem 0.7rem 1.5rem;
  font-family: 'BentonSans-Regular';
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #000;
  text-decoration: none;
  transition: 0.3s ease;
  border-radius: 25px;
}
.outline-button:hover {
  background: #002040;
  color: #fff;
}

.additional {  
  min-width: 120px;
  text-align: center; 
}

.section-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Freight-BigLight';
}

.property-description {
  font-family: 'BentonSans-Light';
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
}

.agent-title {
  font-family: 'Freight-BigLight';
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2rem;
}

.agent-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.agent-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 2rem;
}

.agent-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agent-name {
  font-size: 0.95rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  color: #000;
}

.agent-phone a {
  font-size: 0.95rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  font-family: 'BentonSans-Medium';
}

.agent-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  border: none;
  background: #000;
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
  border-radius: 999px;
}

.agent-button.outline {
  background: transparent;
  color: #000;
  border: .5px solid #000;
}

.agent-button:hover {
  opacity: 0.85;
}

.agent-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
}

.outline-button.small-button {
  padding: .77rem 1rem .7rem 1rem;
  font-size: 0.85rem;
  border-radius: 20px;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}


/* Responsive */
@media (max-width: 768px) {
  .property-section {
    flex-direction: column;
  }

  .property-buttons {
    flex-direction: column;
  }

  .property-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .outline-button {
    text-align: center;
  }

  .agent-card {
    align-self: center;
  }
}

@media (max-width: 468px) {
  .agent-block {
    flex-direction: column;
  }

  .agent-card {
    max-height: none;
    align-self: center;
    width: 100%;
    padding: 1.7rem 0rem 0rem;
  }

  .agent-photo {
    width: 200px;
    height: 200px;
  }

}


/* footer */

.site-footer {
  background: #002040;
  color: #fff;
  padding: 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer .logo img {
  max-height: 30px;
  object-fit: contain;
}

.footer-disclaimer {
  margin-top: 1.5rem;
  font-family: 'BentonSans-Light';
  font-size: 0.6rem;
  line-height: 1.6;
  color: #ccc;
}

@media (max-width: 768px) {
  .footer-disclaimer {
    font-size: .5rem;
    text-align: center;
  }
  .site-footer .logo {
    text-align: center;
  }
}

#main-carousel {
  /* height: 100%; */
  height: 91vh;
  margin-bottom: 0;
}

#main-carousel-track {
  height: 100%;
}


.splide {
  margin-bottom: 0;
  position: relative;
  
}
.splide-wrap {
}
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.splide__slide__thumb img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.splide__slide {
  opacity: 0.6;
}

.splide__slide.is-active {
  opacity: 1;
}

.splide__list li {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slider .splide__track {
  height: 100%;
}

.hero-slider .splide__slide {
  height: 100%;
}

#thumb-carousel .splide__slide {
  overflow: hidden;
}

@media (max-width: 768px) {
  #main-carousel {
    height: 70vh;
  }
}