html {
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(227, 206, 170, 0.95);
    z-index: 1000;
    padding: 7px 40px;
    display:flex;
    align-items: center;
}

/* LOGO FIX */
.nav-logo {
  width: 45px;          
  height: 45px;
  border-radius: 50%;  /* makes it circular */
  object-fit: cover;   
  display: block;
 
}


/* List */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

/* Links */
.navbar a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  padding-left: 10px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

/* Hover effect */
.navbar a:hover {
  border-left: 3px solid #000;
  color: #000;
}

header,
section {
  scroll-margin-top: 80px;
}
 

body {
    margin: 0;
    background-color: #E3CEAA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero {
    position: relative;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 60%;
  left: 50%;
    transform: translate(-50%, -50%);
  text-align: center;
  color: white;

  /* optional polish */
  background: rgba(0, 0, 0, 0.55);
  padding: 50px 80px;
  border-radius: 20px;
  max-width: 80%;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.3rem;
  font-style: italic;
  opacity: 0.9;
}

@media (max-width: 768px) {

  .hero-text {
    top: 40% !important;                 
    left: 50%;
    transform: translate(-50%, -50%) !important;

    padding: 8px 12px;                  
    max-width: 70%;                      
    border-radius: 10px;
  }

  .hero-text h1 {
    font-size: 1.6rem !important;        
    margin-bottom: 6px;
  }

  .hero-text p {
    font-size: 0.9rem !important;        
  }

}


 /* PROPERTY */
.properties {
  padding: 80px 0;
  text-align: center;
}

.properties h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* Slider layout */
.slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Images container */
.slides {
  position: relative;
  width: 700px;   
  height: 480px;  /* height of the slider */
}

/* All images */
.slide {
  position: absolute;         /* stack slides */
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  filter: blur(4px);
  opacity: 0.6;
  z-index: 1;
}


/* Active (center) image */
.slide.active {
  width: 460px;
  height: 380px;
  filter: blur(0);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}


/* Arrows */
.arrow {
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  padding: 20px;
  color: #e39776;
  position: absolute;
  z-index: 10;
}

.slide.prev {
  transform: translate(-140%, -50%);  /* shift left */
  z-index: 2;
}

.slide.next {
  transform: translate(40%, -50%);    /* shift right */
  z-index: 2;
}

.left,
.right {
  position: relative;
  z-index: 10;
}


/* ===== INTERIOR SECTION ===== */

.interiors {
  background: white;
  padding: 100px 60px;
}

.interiors h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 70px;
}

/* One interior level (Kitchen / Bedroom / etc.) */
.interior-level {
  margin-bottom: 90px;
}

.interior-level h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  text-align: center;
}

.interior-level p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.75;
}

/* Slider row */
.interior-slider {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Track */
.interior-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  padding: 10px 0;
}

/* Hide scrollbar */
.interior-track::-webkit-scrollbar {
  display: none;
}

/* Images */
.interior-track img {
  min-width: 70%;
  height: 300px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

/* Arrows */
.interior-arrow {
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: #e39776;
  padding: 10px;
}

@media (max-width: 768px) {

  .interiors {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .interior-track img {
    min-width: 100%;
    border-radius: 12px;
  }

}

@media (max-width: 768px) {

  .interior-slider {
    position: relative;
    gap: 0;               
  }

  .interior-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.4);
    color: white;
    padding: 6px 10px;
    border-radius: 50%;
  }

  .interior-arrow.left {
    left: 7px;
  }

  .interior-arrow.right {
    right: 7px;
  }

}



 /* ===== LAYER 2 =====*/

 .trust-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 8%;
  background: #e39776;
}

/* LEFT */
.trust-text {
  flex: 1;
}

.trust-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.trust-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.trust-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: bold;
  color: #000;
}

.stat-label {
  font-size: 14px;
  color: #777;
}

/* RIGHT SLIDER */
.trust-slider {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

@media (max-width: 768px) {
    .trust-slider {
        overflow: hidden;
        width: 100%;
    }
}

.trust-track {
  display: flex;
  width: max-content;
  gap: 8px;
  animation: autoScroll 20s linear infinite;
}

@media (max-width: 768px) {

  .trust-track {
    animation: autoScroll 20s linear infinite; 
    max-width: 100%;
    width: 100%;    

  }

}


.trust-track img {
  width: 300px;
  height: 220px;
  object-fit: cover;
 /*margin-right: 15px; */
  border-radius: 10px;
}

/* AUTO MOVE */
@keyframes autoScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .trust-section {
    flex-direction: column;
  }

  .trust-track img {
    width: 260px;
  }
}

.trust-track img:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}


/* ===== FOOTER ===== */

.footer {
  position: relative;
  height: 300px;
  background: url("images/rs-footer.jpg") center/cover no-repeat;
  color: white;
  background-position: center;
}

/* Black layer over image */
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

/* Content */
.footer-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px;
  justify-content: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
}

/* Heading */
.footer-content h3 {
  font-size: 2.4rem;
  font-weight: 700;
}

/* Contact section */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 1.1rem;
}

/* Divider line */
.footer-line {
  width: 80px;
  height: 3px;
  background: #e39776;
  margin: 10px 0;
}

/* Copyright */
.footer-content small {
  opacity: 0.7;
}

/* Floating container */
.floating-actions {
  position: fixed;
  left: auto;
  right: 0;                 
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1px;                
  z-index: 9999;
}
 
@media (max-width: 768px) {

  .footer {
    background-size: cover;
    background-position: center;
    height: auto;
    min-height: unset;
  }

  .footer-content {
    padding: 18px 14px;    
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content h3 {
    font-size: 1.2rem;    
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .footer-contact {
    gap: 10px;
  }

  .footer-contact span,
  .footer-contact a {
    font-size: 0.85rem;
  }

  .footer-overlay {
    padding: 16px 0;
  }

}


/* ICON BOX */
.fab {
  width: 48px;
  height: 48px;
  background: #e9a07c;
  display: flex;           
  align-items: center;     
  justify-content: center; 
  text-decoration: none;
}


/* Square stacked buttons */
.fab {
  width: 50px;
  height: 50px;
  background: #E39776;   /* PEACH */
  color: white;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: all 0.3s ease; 
}

@media (max-width: 768px) {
    .fab {
        width: 40px;
        height: 40px;
    }
}

/* Remove border on last */
.fab:last-child {
  border-bottom: none;
}

/* Hover slide-in effect */
.fab:hover {
  background: #D98463;
  transform: translateX(-6px);
}

/* ICON IMAGE */
.fab img {
  width: 100%;              
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {

  .navbar {
    padding: 10px 16px;        
    gap: 12px;
  }

  .navbar ul {
    gap: 16px;                 
    flex-wrap: wrap;           
  }

  .navbar a {
    font-size: 0.95rem;        
  }

  .nav-logo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 768px) {

  .hero-text {
    padding: 20px 18px;
    max-width: 90%;
    top: 55%;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

}

body {
  overflow-x: hidden;
}

   /*TRUST FIX*/

@media (max-width: 768px) {    /*LEFT SLIDE*/

  .trust-section {
    flex-direction: column;
    padding: 50px 20px;
  }

  .trust-stats {
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
  }

  .stat {
    text-align: left;
  }

}
   
@media (max-width: 768px) {

  .slides {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .slide {
    width: 220px;
    height: 300px;
  }

  .slide.active {
    width: 260px;
    height: 340px;
  }

}

