@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0px;
    padding: 0px;
    font-family: "Poppins", serif;
    scrollbar-width: thin;
    scrollbar-color: #FFD700 #111;
}

p {
    font-size: 15px;
}

@font-face {
    font-family: 'GoodTimes';
    src: url('../../css/GoodTimes-Regular.otf');
}

html{
    margin: 0px;
    padding: 0px;
}

body{
    height: auto;
    width: 100%;
    background-color: #111;
    /* overflow: hidden; */
}

.body-bg{
    background-image: url('../../images/main/shared/landingpage-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

/* Centering navigation links */
.navbar {
    padding: 12px 8px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 20000;
    background: transparent !important;
    transition: background-color 0.3s ease;
}

/* Flex container aligned to the left */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto; /* Full width */
}

/* Logo */
.nav-container img {
    width: 180px;
    height: auto;
    align-items: center; /* Vertically center it with the logo */
    justify-content: center;
    margin: 0; /* Remove auto-centering */
}

/* Centering navigation links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

/* Nav links styling */
.nav-links li {
    display: inline-block;
}

.nav-links a {
    font-weight: 600;
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f4a261; /* Change color on hover */
}

/* Hamburger icon */
.hamburger {
    display: none;  /* Hide by default */
    font-size: 30px;
    cursor: pointer;
    color: white;
    align-items: center; /* Vertically center it with the logo */
    justify-content: center;
    height: 100%; /* Matches nav height */
    position: absolute;  /* Use absolute positioning */
    top: 20px;  /* Adjust top distance */
    right: 20px;  /* Adjust right distance */
    z-index: 1100; 
}

/* Media Queries for smaller screens */
@media screen and (max-width: 835px) {
    /* Positioning the nav links when mobile menu is active */
    .nav-links {
        display: none; /* Hide nav links by default */
        width: 40%;
        flex-direction: column;
        position: absolute;
        top: 28px; /* Adjust top distance to just below the hamburger icon */
        background-color: #333; /* Background color for mobile menu */
        padding-top: 10px;
        transition: right 0.3s ease; /* Slide effect */
        border-radius: 8px;
    }

    /* When active, show nav links */
    .nav-links.active {
        display: flex;
        right: 18px;
    }

    .hamburger {
        display: block;  /* Show the hamburger icon on small screens */
    }

    .nav-links li {
        margin: 15px 0; /* Space between menu items */
        text-align: center;
    }
}

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.85) !important;
}

body.realty-offers-page, html.realty-offers-page {
    overflow: hidden !important;
    height: 100vh !important;
}

body.realty-offers-page .navbar {
    background: #111 !important;
    opacity: 1 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: none !important;
}

/* Footer */

footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    background-color: black;
    padding: 20px 40px 8px 40px;
    width: 100%;
    box-sizing: border-box;
}

.footer-full-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

footer a, footer h2, footer ul {
    color: white;
    text-decoration: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

footer h2 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 15px;
}

footer a {
    font-size: clamp(0.875rem, 1.5vw, 1.1rem);
    line-height: 1.5;
}

footer a:hover {
    color: #f4a261; /* Change color on hover */
}

.footer-logo-icon{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.footer-logo img {
    width: 100%;
    max-width: 172px;
    height: auto;
    object-fit: contain;
}

.footer-icons-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 8px;
}

.alphapremiernav-container{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.alphapremiernav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.footer-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    gap: 12px;
}

.footer-icons img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-icons img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.footer-copyright {
    text-align: center;
    color: white;
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 775px) {
    footer {
        padding: 30px 20px;
    }

    .footer-full-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .alphapremiernav-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-logo {
        margin-bottom: 8px;
    }

    footer h2 {
        font-size: clamp(1.1rem, 3vw, 1.25rem);
    }

    footer a {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }
}

@media (max-width: 480px) {
    footer {
        padding: 20px 15px;
    }

    .footer-full-container {
        gap: 20px;
    }

    .alphapremiernav-container {
        display: none;
    }

    .footer-icons-container {
        flex-wrap: wrap-reverse;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    footer h2 {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }

    footer a {
        font-size: clamp(0.75rem, 2.5vw, 0.8rem);
    }

    .footer-copyright {
        font-size: clamp(0.7rem, 2vw, 0.75rem);
    }
}

.inquire-btn {
    background-color: #e3b66c;
    border-radius: 8px;
    border: none;
    padding: 8px 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inquire-btn:hover {
    background-color: #b30c2b;
}

hr {
    border: none;
    height: 1px;
    background-color: #e3b66c;
    margin: 48px 0px 8px 0px;
    width: 100%;
}

hr.dark {
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.alphapremiernav ul {
    list-style: disc inside;
    padding-left: 0.5em;
    margin: 0;
}

.alphapremiernav li {
    margin-bottom: 10px; 
    list-style: inherit;  
    padding-left: 6px; 
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
    background-color: white;
}

::-webkit-scrollbar-track {
    background-color: red;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border: none;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6c200;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #E3B66C white;
}

.custom-scroll-container {
    position: relative;
    z-index: 1;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 0; /* Match the scrollbar width */
}

.custom-scrollbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 6px;
    height: 100vh;
    background-color: transparent;
    z-index: 20001; /* Higher than navbar */
    display: flex;
    align-items: flex-start;
    transition: opacity 0.3s;
}

.custom-thumb {
    width: 100%;
    min-height: 40px;
    height: 80px;
    background: #856618;
    border-color: #111;
    cursor: pointer;
    position: relative;
    border-left: 1px solid black;
    outline: none;
}

.custom-scrollbar.hide-scrollbar {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.custom-scroll-container::-webkit-scrollbar {
    display: none;
    background-color: transparent;
}
.custom-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html, body {
  /* Hide native scrollbars for all browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}