body {
    overflow-x: hidden; /* Prevent horizontal scrolling */ /* Ensure body takes full width of viewport */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

header {
    margin: 0 auto; /* Ensure header takes full width of viewport */
    background-color: #000000; /* Ensure it's a solid black to match the logo */
    color: #f0c75e; /* Golden color for text */
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    width: fit-content;
    margin: 0 auto; /* Center navigation */
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #f0c75e;
    text-decoration: none;
}

.welcome-banner {
    margin: 0 auto; /* Ensure welcome banner takes full width of viewport */
    background-color: #1d1d1d; /* Set to a consistent dark gray to avoid mismatch */
    color: #f0c75e; /* Ensure text color is readable */
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.about-us {
    background-color: #333333; /* Darker gray, ensuring consistency */
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.banner-content {
    max-width: 90%;
    margin: 0 auto; /* Center content within the banner */
    position: relative;
    z-index: 1;
}

.logo {
    height: 220px; 
    background: none;
    border: none;
    margin: 0 auto;
    display: block;
}

/* Add styles for sections and cards */
.property-card {
    border: 1px solid #ccc;
    margin: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

section {
    overflow-x: hidden; /* Prevent any overflow from sections */ /* Ensure sections take full width of viewport */
    margin: 0;
    padding: 0 20px;
}

button {
    background-color: #f0c75e;
    color: #1d1d1d;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #d4a246;
    transform: scale(1.05);
}

.nav-links a.active {
    font-weight: bold;
    text-decoration: underline;
}

h1, h2, h3 {
    font-weight: 700; 
}

p {
    font-weight: 300; 
    line-height: 1.6;
}

.about-us, .contact-us, .available-properties {
    max-width: 800px;
    margin: 0 auto; /* Center sections within viewport */
    padding: 30px 40px;
    background-color: #333333; /* Ensure all cards have consistent background color */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h2, h3 {
    letter-spacing: 1px;
    line-height: 1.4;
}

.footer-container {
    width: 100%; /* Ensure the footer takes full width */
    max-width: 800px;
    margin: 0 auto; /* Center the footer */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #000000; /* Solid black background for consistency */
    color: #f0c75e;
}

.footer-container div {
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .nav-links {
        flex-direction: column;
        padding: 10px;
    }

    .property-card {
        width: 90%;
        margin: 10px auto;
    }

    .logo {
        height: 120px; 
    }

    .footer-container {
        padding: 20px 0;
    }
}
