@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;700&display=swap');


body, html {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;    
}

.site-header {
  position: relative;
  width: 100%;
  overflow: hidden;
}



/* ====================================
 Final Custom Section  
==================================== */

.custom-section {
  background-image: url('/static/icons/rental-custom.jpg');
  background-size: cover;
  background-position: center;
  margin: 0;
  color: white;
  padding: 25px;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* Position headerrelative for absolute positioning of text */
  overflow: hidden; /* Hide overflow */
}

.custom-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  max-width: 1440px;
  background: none;
  overflow: hidden; /* Ensure no overflow */
  box-sizing: border-box;
}


/* Row to handle horizontal scrolling */
.custom-row {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 20px;
  margin: 0; /* Remove margins for alignment */
  width: 100%; /* Full width of the container */
  overflow-x: auto; /* Add horizontal scrollbar if content overflows */
  overflow-y: hidden; /* Hide vertical scrollbar */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
}

.custom-row::-webkit-scrollbar {
  display: none; /* Hide scrollbar in WebKit browsers */
}

/* Column styling */
.custom-column {
  flex: 0 0 175px; /* Fixed width for columns */
  height: 200px;
  background: transparent;
  text-align: center;
  margin: 0 auto; /* Center column horizontally */
  position: relative; 
  border: 2px solid #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Space out content vertically */
  padding: 0 20px; /* Add padding for alignment */
}

/* Icon Wrapper */
.custom-icon-widget {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center icon vertically within the space */
  height: calc(100% - 40px); /* Adjust based on the height of the button and desired spacing */
}



.custom-icon-selling {
  background-image: url('/static/icons/hand.png');
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(0) invert(1);
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}


/* Icon Styling */
.custom-icon-selling,
.custom-icon-homepage,
.custom-icon-head,
.custom-icon-contact {
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(0) invert(1);
  display: flex;
  z-index: 13;
  align-items: center;
  justify-content: center;
  margin: 0 auto; /* Center icon horizontally */
}

.custom-icon-homepage {
  background-image: url('/static/icons/home.png');
  width: 60px;
  height: 60px;
}

.custom-icon-head {
  background-image: url('/static/icons/head.png');
  width: 100px;
  height: 100px;
}

.custom-icon-contact {
  background-image: url('/static/icons/contact.png');
  width: 105px;
  height: 105px;
}

.custom-icon-selling {
  background-image: url('/static/icons/hand.png');
  width: 85px;
  height: 85px;
}


/* Button Link Styling */
.custom-button-link {
  font-size: 14px;
  line-height: 40px;
  font-weight: bold;
  width: 200px;
  box-sizing: border-box;
  text-decoration: none;        
  background: none;
  color: #ffffff;
  border: 2px solid #ffffff;
  overflow: hidden; /* or auto */
  border-radius: 1px;
  display: block; /* Ensure it takes up space as a block element */
  text-align: center; /* Center text inside the button */
  margin: 0 auto; /* Center button horizontally */
  margin-bottom: 25px; /* Fixed margin from the bottom */
}


/* Button Group */
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
}

#dcbutton-search-homes,
#dcbutton-rentals{
  display: none;
}

#dcButton,
#vaButton,
#mdButton,
.button-link {
  text-decoration: none;
  background: none;
  width: 250px; /* Fixed width for all buttons */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 14px;
  font-weight: 500;
  box-sizing: border-box;
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow if text exceeds button width */
  text-overflow: ellipsis; /* Add ellipsis if text overflows */
}

#vastateButton,
#mdstateButton,
#dcstateButton {
  text-decoration: none;
  background: none;
  width: 150px; /* Fixed width for all buttons */
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 14px;
  font-weight: 500;
  box-sizing: border-box;
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow if text exceeds button width */
  text-overflow: ellipsis; /* Add ellipsis if text overflows */

}

.custom-button-link:active a {
  color: #ffffff;
  text-decoration: none;
  justify-content: center;
}


.button-text:active a {
  color: #ffffff;
  text-decoration: none;
  justify-content: center;
  overflow: hidden; /* or auto */
}




/* Placeholder style */
.placeholder {
  display: flex; /* Use flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  height: 50vh; /* Take up the full viewport height */
  width: 100vw; /* Take up the full viewport width */
  text-align: center; /* Center text horizontally */
  z-index: 10;
}

/* ====================================
   Disclousre
  ==================================== */
 .disclosure {
  font-size: 8px;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}


.separator {
  border: 0;
  border-top: 2px solid #ccc;
  margin: 20px 0;
}

.menu-separator {
  width: 25vw;
  text-align: center;
  align-items: center;
  justify-content: center;
  border: 0;
  border-top: 2px solid #ccc;
  margin-top: 20px;
  margin-bottom: 20px;
}

.custom-strong {
    font-weight: 500;
    margin: 5px;
}

/* ====================================
   Footer Styles
   ==================================== */
   .footer {
    background-color: #333333;
    color: #ffffff;
    padding: 20px 0;
    font-size: 12px;  /* Default font size for footer */
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
}
.footer-column {
    flex: 1 1 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
    justify-content: center;
    align-content: center;
}
.footer-heading {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
}
.footer-nav ul {
    list-style-type: none;
    padding: 0;
}
.footer-nav li {
    margin-bottom: 5px;
}
.footer-nav a {
    color: #ffffff;
    text-decoration: none;
}
.footer-nav a:hover {
    color: #ffffff;
}
.footer-info {
    font-size: 12px;
    text-align: left !important;
}
.footer-info p {
    margin: 5px 0;
    text-align: left !important;
    line-height: 1.6;
}

.footer-image {
    display: block;
    margin: 0 auto;
}



.ourlogo {
  width: 150px;
}

.realtorlogo {
  width: 70px;
  height: auto;
  object-fit: contain; 
  max-width: 100%; 
}


.samsonlogo {
  width: 200px;
}



/* ====================================
   Responsive Design
   ==================================== */
@media screen and (max-width: 719px) { 
   .disclosure {
       font-size: 6px;
    }  
    /* Footer Typography */
    .footer {
        font-size: 10px;  /* Smaller font size for mobile */
    }
    .footer-heading {
        font-size: 10px;  /* Smaller heading font size for mobile */
    }
    .footer-info {
        font-size: 10px;  /* Smaller info text for mobile */
    }

    .footer {
        text-align: center !important;
        padding: 50px;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        margin: 0 !important;
        height: auto;
        padding: 0 !important;
    }
    .footer-column, 
    .footer-text, 
    .footer-info, 
    .footer-nav .footer-heading {
        width: 100%;
        max-width: 300px;
        text-align: center !important;
    }
    .footer-info p {
        text-align: center !important;
    }
  
    .realtorlogo {
      width: 70px;
    }
   
    .ourlogo {
      width: 150px;
  }
    .samsonlogo {
        width: 150px;
    }
}


.custom-heading{
  padding: 10px;
  margin: 10px;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-weight: 500;
  font-size: 20px;
}


/* under 770px (mobile size) */
@media screen and (max-width: 768px) {
 
  .custom-icon-homepage {
    background-image: url('/static/icons/home.png');
    width: 35px;
    height: 35px;
  }


  .custom-icon-head {
    background-image: url('/static/icons/head.png');
    width: 70px;
    height: 70px;
  }

  .custom-icon-contact {
    background-image: url('/static/icons/contact.png');
    width: 75px;
    height: 75px;
  }

  .custom-icon-selling {
    background-image: url('/static/icons/hand.png');
    width: 55px;
    height: 55px;
  }

  /* Column styling */
  .custom-column {
    height: 150px;
  }

}




/* under 770px (mobile size) */
@media screen and (max-width: 768px) {
  .custom-icon-homepage {
    background-image: url('/static/icons/home.png');
    width: 35px;
    height: 35px;
  }


  .custom-icon-head {
    background-image: url('/static/icons/head.png');
    width: 70px;
    height: 70px;
  }

  .custom-icon-contact {
    background-image: url('/static/icons/contact.png');
    width: 75px;
    height: 75px;
  }

  .custom-icon-selling {
    background-image: url('/static/icons/hand.png');
    width: 55px;
    height: 55px;
  }

  /* Column styling */
  .custom-column {
    height: 150px;
  }

}


/* ==================================== 
   Menu
   ==================================== */

/* Navigation Menu Styling */
.page-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 13; /* Ensure it's above other page elements */
  display: flex;
  justify-content: center; /* Center the menu horizontally */
}

/* Menu Typography */
.mobile-menu-overlay.active ~ .hamburger-menu {
  display: none;
}

.menu-bar .menu-link {
    font-size: 12px;
}

.mobile-menu .menu-item {
    font-size: 14px;
    z-index: 13;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: block;
    padding: 10px;
    text-align: center;
}

.menu-item {
  z-index: 13;
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.menu-item:hover {
  color: #f0f0f0;
}

/* Menu Bar Transitions */
#menu-bar,
#header-info-container {
    transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s ease;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 12;
    position: absolute;
    top: 15px;
    left: 15px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  opacity: 0;
}

/* Close Button */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 14;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #ffd700;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 12;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-100%); /* Initially off-screen */
  overflow-y: scroll; /* Invisible scroll */
}

.mobile-menu-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transform: translateY(0); /* Slide in when active */
}

/* Mobile Menu Content */
.mobile-menu-content {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 2rem 0;
  max-height: 80vh; /* Limit the height */
  transition: transform 0.3s ease;
  overflow-y: auto; /* Enable scrolling if content overflows */
}

.dropdown-content span {
  display: block;
  text-align: center;
  padding: 1rem;
  background-color: #333;
  border-radius: 5px;
  color: #fff;
}

.mobile-menu-content .menu-item {
    display: block;
    color: white;
    text-decoration: none;
    margin: 10px 0;
    text-align: center;
    transition: color 0.3s ease;
}

.mobile-menu-content .menu-item:hover {
    color: #ffd700;
}

/* Prevent scrolling when the mobile menu is open */
body.menu-active {
  overflow: hidden; /* Disable scrolling on the body */
}

/* Prevent dropdown hover when the mobile menu is open */
body.menu-active .dropdown:hover .dropdown-content {
  display: none !important; /* Prevent dropdowns from opening when mobile menu is active */
}

/* Menu Bar Layout */
.menu-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    background-color: transparent;
    width: 100%;
    max-width: 1200px;
}

/* Menu Column Layout */
.menu-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 14;
    border-radius: 4px;
    margin-top: 0.5rem;
}

/* Desktop-only dropdown behavior */
@media (min-width: 769px) {
    .dropdown::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }

    .dropdown-content {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        pointer-events: none;
    }

    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
        pointer-events: auto;
    }

    .dropdown-content:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.dropdown-content a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    display: block;
    font-size: 12px;
    text-align: left;
    transition: color 0.3s ease;
}

.dropdown-content a:hover {
    color: #ffd700;
}

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

    .hamburger-menu {
        display: flex;
    }

    .dropdown-content {
        position: static;
        background-color: transparent;
        box-shadow: none;
        margin-top: 0;
        width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .dropdown:hover .dropdown-content {
        display: none; /* Prevent any hover interactions on mobile */
    }

    .dropdown-content a {
        font-size: 12px;
        padding: 10px 0;
        color: #f0f0f0;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    .mobile-menu-content .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu-content {
        padding: 4rem 0;
    }

    .menu-column {
        display: none;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(0,0,0,0.9);
        text-align: center;
    }

    .menu-column.active {
        display: flex;
    }

    .menu-column .menu-item {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        margin: 0;
        text-align: center;
    }

    /* Prevent desktop hover effects when mobile menu is active */
    body.menu-active .dropdown:hover .dropdown-content {
      display: none;
    }

    /* Ensure dropdown content is hidden when mobile menu is active */
    body.menu-active .dropdown-content {
        display: none !important;
    }
}


/* CSS for hidden footer */
.footer.hidden {
  display: none;
}

/* Make sure you have this hidden class in your CSS */
.hidden {
  display: none !important;
}

