/* --- APB Properties of Florida: Homepage Stylesheet --- */

/* 1. Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333; /* Dark gray for text */
    line-height: 1.6;
    background-color: #f4f4f9; /* Light gray background */
}

a {
    text-decoration: none;
    color: #0077b6; /* Aqua Blue for links */
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    margin-bottom: 0.5em;
    font-weight: 700;
    color: #001f3f; /* Deep Navy Blue */
}

section {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Header & Navigation */
.main-header {
    background-color: #ffffff;
    border-bottom: 3px solid #0077b6; /* Aqua accent line */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-top-bar {
    background-color: #001f3f; /* Deep Navy Blue */
    color: #ffffff;
    text-align: center;
    padding: 5px 0;
    font-size: 0.85em;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8em;
    color: #001f3f;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.cta-link:hover {
    color: #0077b6; /* Aqua accent on hover */
    text-decoration: none;
}

.nav-links a.cta-link {
    background-color: #0077b6;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 700;
}

.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6f61; /* Coral/Urgency color for chat */
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    z-index: 1000;
}

.chat-button:hover {
    background-color: #e55a4e;
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    padding: 0;
    height: 70vh; /* Set a standard height for the hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background-visual {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../photos/Banner.jpg); /* Placeholder image */
    background-size: cover;
    background-position: center;
    /* filter: brightness(0.7); Darken the image for better text readability */
	opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #001f3f;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3em;
    color: #001f3f;


    margin-bottom: 0.2em;
}

.hero-content .subtitle {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.idx-search-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.search-tabs {
    display: flex;
    margin-bottom: 10px;
    justify-content: center;
}

.search-tabs button {
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.search-tabs button.active {
    color: #0077b6;
    border-bottom: 2px solid #0077b6;
    font-weight: 700;
}

.search-input-group {
    display: flex;
}

.search-input-group input {
    flex-grow: 1;
    padding: 12px 15px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.search-input-group .cta-button {
    background-color: #ff6f61; /* Coral CTA button */
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.3s;
}

.search-input-group .cta-button:hover {
    background-color: #e55a4e;
}

/* 4. Service Pillars */
.service-pillars {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 60px 5%;
    text-align: center;
    background-color: #ffffff;
}

.pillar {
    flex-basis: 30%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.pillar .icon {
    font-size: 3em;
    display: block;
    margin-bottom: 10px;
}

.pillar h3 {
    color: #0077b6;
    font-size: 1.4em;
}

.pillar .secondary-cta {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: #001f3f;
    border-bottom: 2px solid #0077b6;
}

/* 5. Lead Capture & Seller Tools */
.lead-capture-section {
    text-align: center;
    padding: 60px 5%;
    background-color: #eaf6ff; /* Very light blue/aqua background */
}

.capture-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.capture-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    flex-basis: 45%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.valuation-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.capture-card .cta-button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #0077b6;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.capture-card .cta-button:hover {
    background-color: #005f93;
    text-decoration: none;
}

.cta-button-light {
    display: inline-block;
    padding: 10px 20px;
    background-color: #001f3f; /* Navy for high contrast */
    color: #ffffff;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 15px;
    transition: opacity 0.3s;
}

.cta-button-light:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* 6. Featured Properties & Community Guides */
.featured-listings-section {
    padding-top: 60px;
    text-align: center;
}

.community-highlights {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.community-card {
    flex-basis: 33%;
    text-align: center;
    padding: 15px;
}

.community-card .card-image-space-coast {
     height: 150px;
    background-color: #ccc; /* Placeholder color */
    background-image: url('../photos/Space-Coast.jpg'); /* Placeholder image */
    background-size: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.community-card .card-image-orlando {
    height: 150px;
    background-color: #ccc; /* Placeholder color */
    background-image: url('../photos/Orlando.jpg'); /* Placeholder image */
    background-size: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.community-card .card-image-tampa {
    height: 150px;
    background-color: #ccc; /* Placeholder color */
    background-image: url('../photos/tampa.jpg'); /* Placeholder image */
    background-size: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.community-card h3 {
    color: #0077b6;
    margin-bottom: 5px;
}

.community-card a {
    font-weight: 700;
}

.featured-carousel {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Simple listing card for mockup - in a real site this would be a flex/grid carousel */
.listing-card {
    width: 300px; 
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: left;
    margin: 15px;
}

.listing-card .listing-photo {
    height: 200px;
    background-color: #eee; /* Placeholder color */
    background-image: url(../photos/featured-listing-1.jpg); /* Placeholder image */
    background-size: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.listing-card .price {
    font-size: 1.5em;
    font-weight: 700;
    color: #ff6f61;
    margin-bottom: 5px;
}

.listing-card .view-details {
    display: block;
    text-align: center;
    padding: 8px;
    margin-top: 10px;
    background-color: #001f3f;
    color: #ffffff;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.listing-card .view-details:hover {
    background-color: #0077b6;
    text-decoration: none;
}

/* 7. Trust and Credibility */
.trust-section {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 5%;
    background-color: #f4f4f9;
}

.testimonials {
    flex-basis: 60%;
}

.brokerage-stats {
    flex-basis: 35%;
    padding: 20px;
    background-color: #ffffff;
    border-left: 5px solid #0077b6;
}

.testimonial {
    font-style: italic;
    margin-top: 20px;
    padding: 15px;
    border-left: 4px solid #ff6f61;
    background-color: #fff;
}

.testimonial cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 700;
    color: #333;
}

.stats-list {
    list-style: none;
    margin-top: 15px;
}

.stats-list li {
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
    font-weight: 500;
}

/* 8. Footer */
.main-footer {
    background-color: #001f3f; /* Deep Navy Footer */
    color: #ccc;
    padding: 40px 5%;
    font-size: 0.9em;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px;
    gap: 30px;
}

.footer-grid h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-grid p {
    margin-bottom: 8px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 5px;
}

.footer-grid a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-grid a:hover {
    color: #0077b6;
    text-decoration: none;
}

.social-icons i {
    font-size: 1.5em; /* INCREASE the size of the icon (was likely 1.5em default) */
    color: #ffffff; /* Make the icons white (instead of using filter: invert) */
    margin-right: 10px;
    transition: color 0.3s;
}

.social-icons a:hover i {
    color: #0077b6; /* Aqua blue on hover */
}


.footer-disclaimer {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-disclaimer p {
    font-size: 0.8em;
    margin-bottom: 5px;
}

<!-- COMPLIANCE NOTE
.compliance-note {
    color: #ff6f61; /* Highlight compliance text */
}
-- COMPLIANCE NOTE -->

/* 9. Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    
    .nav-links {
        display: none; /* Hide main nav on small screens */
    }

    .navbar {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content .subtitle {
        font-size: 1em;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-input-group input,
    .search-input-group .cta-button {
        width: 100%;
        border-radius: 4px;
        margin-top: 5px;
        border: 1px solid #ccc; /* Fix border on mobile input */
    }

    .service-pillars,
    .capture-cards-container,
    .community-highlights,
    .trust-section,
    .footer-grid {
        flex-direction: column;
        gap: 20px;
    }

    .pillar,
    .capture-card,
    .community-card,
    .testimonials,
    .brokerage-stats {
        flex-basis: 100%; /* Full width for all sections */
        margin-bottom: 10px;
    }

    .brokerage-stats {
        border-left: none;
        border-top: 5px solid #0077b6;
    }
}

/* Hides the default HubSpot chat bubble */
.grecaptcha-badge { /* Target any CAPTCHA badges which often float near the chat */
    visibility: hidden; 
}
.messages-button-bar {
    display: none !important; /* Hides the button bar if it's visible */
}
.go2072408551 {
    display: none !important; /* This is a common class name for the HubSpot launcher */
}
/* This targets the iframe container that holds the chat launcher */
iframe[title="HubSpot Live Chat"] {
    display: none !important;
}

/* You may need to inspect the live page to find the exact class HubSpot is using for the launcher */