/* ==========================================================
   TERRY PUFFER / LEGACY REP BRANDING - MASTER STYLESHEET
   Fonts: Montserrat (Headings) & Open Sans (Body text)
   Colors: Dark Blue (#0b1120), Gold Gradient (#c8a96e)
========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding-top: 100px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
}

/* --- NAVIGATION --- */
.navbar {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    z-index: 1000;
}
.navbar-brand img { height: 75px; transition: height 0.3s ease; }
.navbar-nav .nav-link {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 14px;
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}
.navbar-nav .nav-link:hover { color: #c8a96e; }
.navbar-phone a { font-weight: 700; color: #1a1a2e; font-family: 'Montserrat', sans-serif; font-size: 18px; text-decoration: none; transition: color 0.2s ease;}
.navbar-phone a:hover { color: #c8a96e; }

/* --- HERO & PARALLAX --- */
.parallax-section {
    min-height: 100vh;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.parallax-section.short-hero { min-height: 60vh; }
.parallax-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(11, 17, 32, 0.6), rgba(11, 17, 32, 0.4));
    z-index: 1;
}
.parallax-section .container { position: relative; z-index: 2; }
.text-outline-white { color: white; text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8); }

/* --- BUTTONS --- */
.btn-legacy {
    background: linear-gradient(135deg, #c8a96e, #a8893e);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 15px rgba(200, 169, 110, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-legacy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 110, 0.5);
}

/* --- CARDS & FORMS --- */
.legacy-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
}
.legacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.legacy-card h4 { color: #1a1a2e; font-weight: 700; margin-bottom: 15px;}
.form-control { border-radius: 8px; border: 2px solid #e0e0e0; padding: 12px 16px; font-size: 15px; background-color: #fafafa; transition: all 0.3s ease;}
.form-control:focus { border-color: #c8a96e; background-color: #fff; box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);}

/* --- IDX SEARCH BAR --- */
.custom-search-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}
.custom-search-form { display: flex; flex-wrap: nowrap; gap: 10px; align-items: flex-end; justify-content: space-between; }
.search-field-group { display: flex; flex-direction: column; text-align: left; flex: 1; }
.search-field-group.city-field { flex: 2; }
.search-field-group label { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; color: #1a1a2e; margin-bottom: 5px; text-transform: uppercase; white-space: nowrap; }
.search-field-group input, .search-field-group select { font-family: 'Open Sans', sans-serif; padding: 12px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; color: #444; background-color: #fff; width: 100%; min-width: 0; box-sizing: border-box; }
.search-field-group input:focus, .search-field-group select:focus { border-color: #c8a96e; outline: none; }

/* --- FOOTER --- */
.footer { background-color: #0b1120; color: #aaa; padding: 60px 0 25px; margin-top: auto; }
.footer h4, .footer strong { color: #e1a948; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer p, .footer a { color: #e6e6e6; font-size: 15px; text-decoration: none; line-height: 1.6; transition: color 0.2s ease;}
.footer a:hover, .social-icons a:hover { color: #c8a96e; }
.social-icons a { color: #e1a948; margin: 0 10px 0 0; font-size: 1.5rem; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 20px; margin-top: 40px; text-align: center; font-size: 13px; color: #9ca3af; }

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    body { padding-top: 80px; }
    .navbar-brand img { height: 60px; }
    .custom-search-form { flex-wrap: wrap; }
    .search-field-group { flex: 1 1 45%; }
    .search-field-group.city-field { flex: 1 1 100%; }
    .search-submit-btn { width: 100%; margin-top: 10px; }
}
@media (max-width: 768px) {
    .parallax-section { min-height: 80vh; background-attachment: scroll; /* fixes mobile jitter */ }
}