/* --- Global Styles --- */
body { 
    margin: 0; 
    font-family: sans-serif; 
    background-color: #ffffff; /* Changed to white */
    color: #333333; /* Changed to dark grey for readability */
}

.gold { color: #D4AF37; }

.gold-accent { 
    color: #D4AF37; 
    font-weight: bold; 
    font-style: italic; 
    font-family: 'Sofia', sans-serif; 
}

/* --- Header & Navigation --- */
header { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 20px; 
    background: #ffffff; /* Changed to white */
    border-bottom: 2px solid #D4AF37; 
}

.logo-container img { height: 120px; margin-bottom: 15px; }

.nav-container { 
    display: flex; 
    gap: 30px; 
    align-items: center; 
}

.menu-link, .dropbtn { 
    color: #333333; /* Changed text to dark */
    text-decoration: none; 
    font-weight: bold; 
    cursor: pointer; 
    border: none; 
    background: none; 
    font-size: 16px; 
    /* NEW: Makes the background behave like a block */
    display: inline-block; 
    
    /* NEW: Adds space inside the block so the color extends past the text */
    padding: 12px 20px; 
    
    /* OPTIONAL: Rounds the corners slightly for a cleaner look */
    border-radius: 5px; 
    
    /* Smooth transition for the hover effect */
    transition: all 0.3s ease;
}
.menu-link:hover, .dropbtn:hover { 
    background-color: #D4AF37; 
    color: #fff; 
}
/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { 
    display: none; position: absolute; background-color: #ffffff; /* Light dropdown */
    min-width: 160px; box-shadow: 0px 8px 16px rgba(0,0,0,0.1); z-index: 1; 
    border: 1px solid #e0dcd3;
}
.dropdown-content a { color: #333333; padding: 12px 16px; display: block; text-decoration: none; }
.dropdown-content a:hover { background-color: #D4AF37; color: #fff; }
.dropdown:hover .dropdown-content { display: block; }

/* --- Hero Section --- */
.hero { 
  	color: #fff;
    height: 60vh; 
    background: url('jeswin-thomas-DdsXgbHVg7M-unsplash.jpg') center/cover; 
    display: flex; align-items: center; justify-content: center; 
    text-align: center;
}

/* --- Content & MLS Listings --- */
.content-area { padding: 40px 20px; min-height: 60vh; text-align: center; }

.listing-section { padding: 40px 20px; text-align: center; }

.mls-container {
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    border: 3px solid #D4AF37;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Softened shadow */
}

.mls-iframe { width: 100%; height: 800px; border: none; display: block; }

/* --- Help Form Card --- */
.help-card {
    max-width: 600px; margin: 0 auto; padding: 40px; 
    background: #F8F6F0; /* Elegant beige */
    border: 1px solid #D4AF37; border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 20px; text-align: left; }
label { display: block; color: #D4AF37; margin-bottom: 5px; font-weight: bold; }
select, input {
    width: 100%; padding: 12px; 
    background: #ffffff; border: 1px solid #cccccc; /* Light inputs */
    color: #333333; border-radius: 6px; box-sizing: border-box;
}
select:focus, input:focus { border-color: #D4AF37; outline: none; }

button {
    width: 100%; padding: 15px; background: #D4AF37; color: #000; border: none;
    border-radius: 6px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: background 0.3s;
}
button:hover { background: #b8962f; }

/* --- Jazzed Up Promo Section --- */
.promo-split-section { 
    display: flex; 
    background: #ffffff; /* White background */
    color: #333333; min-height: 500px; align-items: center; overflow: hidden;
}

.promo-content { flex: 1; padding: 60px 80px; }

.promo-image { 
    flex: 1; background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1000') center/cover;
    height: 100%; min-height: 600px; border-top-left-radius: 150px; border-left: 10px solid #D4AF37;
}

.promo-title { color: #333333; font-size: 2.5rem; margin-top: 0; margin-bottom: 5px; }
.promo-tagline { font-size: 1.2rem; margin-bottom: 30px; line-height: 1.5; color: #555555; } /* Darker tagline text */

.earn-badge {
    background: linear-gradient(90deg, #ffffff 0%, #F8F6F0 100%); /* Light gradient */
    color: #333333;
    padding: 15px 25px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    border: 1px solid #e0dcd3;
    border-left: 4px solid #D4AF37;
    border-radius: 6px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.earn-badge i { color: #D4AF37; font-size: 1.8rem; }

.incentive-row { display: flex; gap: 20px; margin-bottom: 40px; }
.promo-box { 
    background: #F8F6F0; /* Beige background */
    border: 1px solid #e0dcd3; border-bottom: 3px solid #D4AF37; 
    padding: 25px 15px; border-radius: 10px; flex: 1; text-align: center; transition: all 0.3s ease;
}
.promo-amount { font-size: 2.8rem; font-weight: bold; color: #333333; margin-bottom: 5px; }
.promo-desc { font-size: 1.1rem; line-height: 1.3; }

.works-container { 
    background: #F8F6F0; /* Beige background */
    padding: 25px; border-radius: 12px; border: 1px solid #e0dcd3;
}
.works-title { color: #D4AF37; font-size: 1.1rem; margin-top: 0; margin-bottom: 20px; font-weight: bold; letter-spacing: 1px; }
.steps-row { display: flex; align-items: center; justify-content: space-between; }
.step-item { display: flex; flex-direction: column; align-items: center; flex: 1; text-align: center; }
.icon-wrapper {
    background: #ffffff; /* White circle */
    border: 1px solid #e0dcd3; padding: 15px; border-radius: 50%;
    margin-bottom: 12px; transition: all 0.3s ease;
}
.step-icon { font-size: 1.5rem; color: #D4AF37; }
.step-text { font-weight: bold; font-size: 1rem; color: #333333; }
.step-arrow { color: #888; font-size: 1.5rem; }
.step-item:hover .icon-wrapper {
    border-color: #D4AF37; box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); transform: scale(1.1);
}

/* --- Jazzed Up Services Section --- */
.services-section { 
    padding: 80px 20px; 
    background: radial-gradient(circle at center, #ffffff 0%, #F8F6F0 100%); /* Light radial background */
    color: #333333; 
    text-align: center;
}

.section-title { font-size: 2.8rem; margin-bottom: 50px; text-transform: uppercase; letter-spacing: 2px; }

/* Grid defaults to 1x4 on mobile, switches to 2x2 on desktop */
.services-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card { 
    background: #ffffff; /* White cards */
    border: 1px solid #e0dcd3; border-bottom: 4px solid #D4AF37; 
    padding: 40px 20px; border-radius: 12px; transition: all 0.4s ease; position: relative;
}
.service-icon { font-size: 2.5rem; color: #D4AF37; margin-bottom: 20px; }
.service-card h3 { color: #D4AF37; font-size: 1.4rem; margin-bottom: 15px; }

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15); /* Gold shadow still pops nicely on white */
    border-color: #D4AF37;
}

.fee-box { 
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(255,255,255,0) 100%);
    border: 2px solid #D4AF37; padding: 40px; margin: 60px auto; 
    border-radius: 15px; max-width: 800px; position: relative;
}
.glow-effect:hover { box-shadow: 0 0 25px rgba(212, 175, 55, 0.3); }

.guarantee-card {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962f 100%);
    color: #000; max-width: 600px; margin: 0 auto; padding: 40px 30px;
    border-radius: 12px; box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}
.guarantee-card h3 { color: #000; font-size: 1.8rem; margin-top: 0; text-transform: uppercase; }
.guarantee-card p { font-size: 1.1rem; font-weight: bold; opacity: 0.9; margin-bottom: 0; }

/* --- Footer --- */
footer { 
    padding: 40px; 
    background: #F8F6F0; /* Beige footer */
    color: #333333;
    text-align: center; border-top: 2px solid #D4AF37; 
}