/* 
   L&L Properties - Premium Real Estate Styles
   Colors: Deep Royal Blue (#0a192f), Gold (#d4af37), White (#ffffff), Light Gray (#f4f4f4)
   Fonts: 'Outfit' (sans-serif), 'Playfair Display' (serif)
*/

:root {
    --primary-color: #0a192f;
    --secondary-color: #d4af37;
    --text-color: #333333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 60px;
    /* Adjust based on actual logo */
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    /* Ensure vertical centering */
}

/* Header CTA Button - Custom Size */
.nav-links .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-width: 1px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1rem;
    position: relative;
    white-space: nowrap;
    /* Prevent wrapping */
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    color: #cccccc;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888888;
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    /* Ensure no weird overflow */
    overflow: visible;
}

ul.dropdown-menu {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    z-index: 1000;
    border-radius: 5px;
    padding: 10px 0;
    border-top: 3px solid var(--secondary-color);
}

/* Show only when parent li is hovered */
.nav-links li.dropdown:hover>ul.dropdown-menu {
    display: block;
}

ul.dropdown-menu li {
    width: 100%;
    display: block;
    margin: 0;
}

ul.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 400;
    border-bottom: 1px solid #f0f0f0;
}

ul.dropdown-menu li:last-child a {
    border-bottom: none;
}

ul.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    padding-left: 25px;
    /* Slight movement effect */
}

/* Arrow indicator for dropdown */
/* Arrow indicator for dropdown */
.nav-links li.dropdown>a::after {
    content: '\f107';
    /* FontAwesome Down Arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.75rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;

    /* Reset properties from the generic underline style */
    position: static;
    width: auto;
    height: auto;
    background: none;
}

.nav-links li.dropdown:hover>a::after {
    transform: rotate(180deg);
}

/* Fix underline on hover for dropdown parent link */
.nav-links li.dropdown>a:hover::after,
.nav-links li.dropdown>a.active::after {
    width: auto;
}