/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

a {
    color: #d4af37;
    text-decoration: none;
}

button, .btn {
    background-color: #d4af37;
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #b59410;
}

/* Navigation */
nav {
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #d4af37;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #d4af37;
}

/* Dropdowns */
nav ul li ul {
    display: none;
    position: absolute;
    background-color: #111111;
    top: 100%;
    left: 0;
    padding: 1rem;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
    opacity: 0;
}

nav ul li:hover > ul {
    display: block;
    opacity: 1;
}

nav ul li ul li {
    display: block;
    margin-bottom: 0.5rem;
}

/* Hero with parallax */
.hero {
    background-image: url('https://placehold.co/1920x800?text=Luxury+House'); /* Replace with your image */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section:nth-child(even) {
    background-color: #111111;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    padding: 0.75rem;
    background-color: #111111;
    border: 1px solid #cccccc;
    color: #ffffff;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #d4af37;
}

/* Footer */
footer {
    background-color: #000000;
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #cccccc;
    border-top: 1px solid #333333;
}

/* Responsive 
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}
*/

@media (max-width: 768px) {
    nav {
        padding: 1rem;
        flex-wrap: wrap;           /* allow wrapping if needed */
    }

    nav ul {
        flex-direction: row;       /* keep horizontal */
        overflow-x: auto;          /* enable horizontal scroll */
        white-space: nowrap;       /* prevent wrapping */
        padding-bottom: 0.5rem;    /* space for scrollbar if visible */
        -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
        scrollbar-width: thin;     /* nicer scrollbar on Firefox */
    }

    nav ul li {
        margin-right: 1.5rem;      /* spacing between items */
        flex-shrink: 0;            /* don't shrink items */
    }

    nav ul li ul {
        position: static;          /* dropdowns become inline on tiny screens */
        box-shadow: none;
        background: transparent;
        padding: 0.5rem 0;
    }

    /* Optional: hide dropdown arrows or make them tappable better */
    nav ul li a::after {
        content: " ▼";
        font-size: 0.8rem;
    }
}