/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  opacity: 0.8;
}

.button-style-1 {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.button-style-2 {
  background-color: transparent;
  border: 2px solid #1E90FF;
  color: #1E90FF;
}

.button-style-2:hover {
  background-color: #1E90FF;
  color: #fff;
}

/* Header Nav */
nav.header-centered {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background-color: rgba(0,0,0,0.8);
  --color: #fff;
}

.header-centered__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo__img.dark {
  display: block;
}

.logo__img.light {
  display: none;
}

.dark .logo__img.dark {
  display: none;
}

.dark .logo__img.light {
  display: block;
}

.navigation {
  display: flex;
  align-items: center;
}

.navigation li {
  list-style: none;
  margin: 0 15px;
  position: relative;
}

.navigation__link {
  font-size: 16px;
  text-transform: capitalize;
  letter-spacing: 1px;
  padding: 5px 0;
  position: relative;
  color: var(--color);
  font-family: 'Playfair Display', serif;
}

.navigation__link::after {
  content: '';
  width: 0;
  height: 2px;
  background-color: var(--color);
  position: absolute;
  left: 0;
  bottom: -2px;
  transition: width 0.3s;
}

.navigation__link:hover::after {
  width: 100%;
}

.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0,0,0,0.9);
  padding: 10px 0;
  border-radius: 4px;
}

.sub-nav li {
  list-style: none;
  margin: 5px 0;
}

.sub-nav-link {
  display: block;
  padding: 10px 20px;
  color: #fff;
  transition: background 0.3s;
  font-family: 'Roboto', sans-serif;
}

.sub-nav-link:hover {
  background-color: rgba(255,255,255,0.1);
}

.navigation__item:hover .sub-nav {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color);
  transition: all 0.3s ease;
  position: relative;
}

.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
}

.hamburger span::before {
  top: -6px;
}

.hamburger span::after {
  top: 6px;
}

/* Side Menu */
.sidemenu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background-color: rgba(0,0,0,0.95);
}

.sidemenu.visible {
  transform: translateX(0);
  opacity: 1;
}

.sidemenu__wrap {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidemenu__close-wrap {
  display: flex;
  justify-content: flex-end;
}

.sidemenu__close {
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 30px;
}

.sidemenu__close span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

.sidemenu__close span::after {
  content: '';
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.sidemenu__nav {
  margin-top: 40px;
}

.sidemenu__nav-item {
  margin-bottom: 19px;
  position: relative;
}

.sidemenu__nav-link {
  font-size: 26px;
  letter-spacing: 1px;
  opacity: 0.8;
  position: relative;
  transition: opacity 0.3s ease;
  color: #fff;
  font-family: 'Playfair Display', serif;
}

.sidemenu__nav-link:hover {
  opacity: 1;
  text-shadow: 1px 0 0 currentColor;
}

.sidemenu__nav-link::before {
  content: '';
  height: 1px;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.sidemenu__nav-link:hover::before {
  width: 100%;
}

.sub-nav-container .sidemenu__nav-link::after {
  content: '+';
  font-size: 30px;
  position: relative;
  left: 10px;
}

.sub-nav-container.visible-subnav .sidemenu__nav-link::after {
  transform: rotate(225deg);
}

.sidemenu__subnav {
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: none;
}

.sub-nav-container.visible-subnav .sidemenu__subnav {
  display: block;
}

.sidemenu__subnav-item {
  margin-bottom: 11px;
}

.sidemenu__subnav-link {
  font-size: 18px;
  letter-spacing: 1px;
  opacity: 0.8;
  display: block;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

.sidemenu__subnav-link:hover {
  opacity: 1;
  text-shadow: 1px 0 0 currentColor;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.hero-intro {
  text-align: center;
}

/* Property Slider */
.f-property__slider-item {
  min-width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.f-property__slider-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.f-property__slider-image {
  position: relative;
  height: 200px;
}

.f-property__slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f-property__slider-info {
  padding: 20px;
  font-family: 'Roboto', sans-serif;
}

.f-property__slider-headline {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #000;
  font-family: 'Playfair Display', serif;
}

.f-property__slider-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #555;
}

.f-property__slider-info ul li {
  margin-bottom: 5px;
}

.f-property__slider-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: #fff;
}

/* Real Estate Insights */
.real-estate-insights {
  padding: 80px 0;
  background: #f5f5f5;
}

.real-estate-insights h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #333;
}

.real-estate-insights p {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.2rem;
  color: #555;
  font-family: 'Roboto', sans-serif;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.insight-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.insight-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.insight-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #000;
  font-family: 'Playfair Display', serif;
}

.insight-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
  font-family: 'Roboto', sans-serif;
}

.insight-card a {
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s;
  font-family: 'Roboto', sans-serif;
}

.insight-card a:hover {
  border-bottom: 2px solid #000;
}

/* Testimonials */
.f-testimonials {
  background: #eee;
  padding: 60px 0;
}

.f-testimonials__container {
  padding: 40px;
  text-align: center;
  border-radius: 8px;
}

.f-testimonials__headline {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.f-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.f-testimonials__item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.f-testimonials__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.f-testimonials__item-content {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-family: 'Roboto', sans-serif;
}

.f-testimonials__item-author {
  font-weight: bold;
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
}

.f-testimonials__item p {
  font-size: 0.9rem;
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: #000;
  color: #fff;
  text-align: center;
}

.contact-card {
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.contact-details p,
.additional-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

.contact-form-container {
  margin: 0 auto;
  max-width: 600px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-form .form-group label {
  margin-bottom: 5px;
  font-size: 1rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: #222;
  color: #fff;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: #aaa;
}

.contact-form button {
  align-self: center;
}

.success-block {
  display: none;
  text-align: center;
  margin-top: 20px;
}

.error-block {
  display: none;
  text-align: center;
  margin-top: 20px;
}

/* Footer */
.footer {
  padding: 60px 0;
  background: #222;
  color: #fff;
  font-size: 14px;
}

.footer__logo {
  text-align: center;
  margin-bottom: 24px;
}

.footer__logo img {
  max-height: 60px;
}

.footer__info-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px 50px;
  text-align: left;
}

.footer__item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #fff;
}

.footer__item ul {
  list-style: none;
  padding: 0;
}

.footer__item ul li {
  margin-bottom: 8px;
}

.footer__item a {
  color: #fff;
  text-decoration: underline;
  font-family: 'Roboto', sans-serif;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.footer__bar-img img {
  max-width: 100px;
}

.footer__bar-socials .socials {
  display: flex;
  gap: 15px;
}

.footer__bar-socials .socials__link {
  color: #fff;
  text-decoration: underline;
}

.footer__copyright {
  font-size: 1rem;
  color: #fff;
}

.footer__broker-info {
  text-align: center;
  margin-top: 30px;
}

.footer__broker-info p {
  font-size: 1rem;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
  nav.header-centered__container {
    padding: 20px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .navigation {
    display: none;
  }
  
  .insights-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 480px) {
  .real-estate-insights h2 {
    font-size: 2rem;
  }
  
  .real-estate-insights p {
    font-size: 0.95rem;
  }
  
  .insight-card h3 {
    font-size: 1.1rem;
  }
  
  .insight-card p {
    font-size: 0.9rem;
  }
  
  .footer__item-title {
    font-size: 1.1rem;
  }
}

/* Slider Styles */
.slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  padding: 20px;
}

.f-property__slider-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.f-property__slider-image {
  position: relative;
  height: 200px;
}

.f-property__slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f-property__slider-info {
  padding: 20px;
  text-align: left;
  font-family: 'Roboto', sans-serif;
}

.f-property__slider-headline {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: #000;
  margin-bottom: 10px;
}

.f-property__slider-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
  color: #555;
}

.f-property__slider-info ul li {
  margin-bottom: 5px;
}

.f-property__slider-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.slider-button:hover {
  opacity: 1;
}

.slider-button.prev {
  left: 10px;
}

.slider-button.next {
  right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .slide {
    flex: 0 0 100%;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  .modal-content {
    width: 95%;
  }
}

/* City Grid Styles */
.city-card {
  background: #f9f9f9;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.city-card button {
  transition: background-color 0.3s, transform 0.3s;
}

.city-card button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

@media screen and (max-width: 600px) {
  .city-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .search-bar input {
    max-width: 100%;
  }
} /* <<< THIS CLOSING BRACE WAS MISSING */

/* --- Testimonials Section --- */

.testimonials-section {
    background-color: #f8f9fa; /* A light, clean background */
    padding: 100px 20px;
    font-family: 'Roboto', sans-serif;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-headline {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #2c3e50; /* A deep, professional blue */
    margin-bottom: 15px;
}

.testimonials-subheadline {
    font-size: 1.1rem;
    color: #7f8c8d; /* A soft gray for the subtext */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(44, 62, 80, 0.12);
}

.testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

.client-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.client-location {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 5px 0 0 0;
}

.star-rating {
    font-size: 1.1rem;
    color: #f1c40f; /* A bright, friendly yellow for stars */
    flex-shrink: 0;
    margin-left: 15px;
}

.client-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: #34495e; /* A slightly softer black for readability */
    flex-grow: 1;
    margin: 0;
}