.container-header .navbar-brand img {
    max-width: 180px;
    height: auto;
}

.home-hero {
    padding: 90px 30px;
    text-align: center;
    background-image: url('/images/property-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.home-hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.home-hero p {
    font-size: 20px;
}

.property-search {
    padding: 35px;
    background: #f4f4f4;
    text-align: center;
}

.property-search-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.property-search input,
.property-search select {
    min-width: 170px;
    padding: 12px;
}

.featured-properties {
    padding: 60px 20px;
    text-align: center;
}

.property-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.property-card {
    border: 1px solid #ddd;
    padding: 15px;
    background: white;
}

.property-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.home-services {
    padding: 60px 20px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.viewing-cta {
    padding: 60px 20px;
    text-align: center;
    background: #062a4e;
    color: white;
}

@media (max-width: 768px) {

    .home-hero {
        padding: 60px 20px;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .property-cards,
    .service-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .property-search-grid {
        flex-direction: column;
    }

    .property-search input,
    .property-search select,
    .property-search button {
        width: 100%;
    }
}

/* ==========================================
   ANDREW EVANS - INTERNAL PAGES
   ========================================== */

.ae-page {
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    line-height: 1.7;
}

.ae-page * {
    box-sizing: border-box;
}

.ae-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}


/* PAGE HERO */

.ae-page-hero {
    background: #102b4e;
    color: #ffffff;
    text-align: center;
    padding: 70px 20px;
}

.ae-page-hero h1 {
    color: #ffffff;
    font-size: 44px;
    margin: 0 0 15px;
}

.ae-page-hero p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 19px;
}


/* SECTIONS */

.ae-section {
    padding: 65px 0;
}

.ae-section-grey {
    background: #f5f6f7;
}

.ae-section-title {
    text-align: center;
    margin-bottom: 35px;
}

.ae-section-title h2 {
    color: #102b4e;
    font-size: 32px;
}

.ae-content-narrow {
    max-width: 850px;
}


/* SEARCH */

.ae-search-box {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
    gap: 10px;
    padding: 25px;
    background: #f5f6f7;
    border-top: 4px solid #c5a24a;
}

.ae-search-box input,
.ae-search-box select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    background: #ffffff;
}


/* PROPERTY CARDS */

.ae-property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ae-property-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.ae-property-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.ae-property-content {
    padding: 20px;
}

.ae-property-price {
    color: #c5a24a;
    font-weight: 700;
    font-size: 24px;
}

.ae-property-card h3 {
    color: #102b4e;
}


/* LIST */

.ae-list {
    padding-left: 20px;
}

.ae-list li {
    margin-bottom: 8px;
}


/* BUTTONS */

.ae-btn {
    display: inline-block;
    padding: 12px 22px;
    border: 0;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.ae-btn-navy {
    background: #102b4e;
    color: #ffffff;
}

.ae-btn-navy:hover {
    background: #c5a24a;
    color: #ffffff;
}

.ae-btn-gold {
    background: #c5a24a;
    color: #ffffff;
}

.ae-btn-gold:hover {
    background: #102b4e;
    color: #ffffff;
}


/* VALUATION TWO COLUMN */

.ae-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}


/* FORM */

.ae-form-card {
    background: #f5f6f7;
    padding: 30px;
    border-top: 4px solid #c5a24a;
}

.ae-form-card h2 {
    color: #102b4e;
}

.ae-form-row {
    margin-bottom: 18px;
}

.ae-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.ae-form-row input,
.ae-form-row select,
.ae-form-row textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #cccccc;
    background: #ffffff;
}


/* CTA */

.ae-valuation {
    background: #102b4e;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.ae-valuation h2 {
    color: #ffffff;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .ae-search-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .ae-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    .ae-page-hero h1 {
        font-size: 34px;
    }

    .ae-search-box,
    .ae-property-grid,
    .ae-two-column {
        grid-template-columns: 1fr;
    }

    .ae-btn {
        width: 100%;
        text-align: center;
    }
}


/* =====================================
   LA-ARCH - HIDE ARTICLE DETAILS
===================================== */

.article-info {
    display: none !important;
}

.article-info-term {
    display: none !important;
}

dl.article-info {
    display: none !important;
}

/* =========================================
   LA-ARCH - REMOVE JOOMLA ARTICLE METADATA
========================================= */

/* Hide article details/metadata block */
.article-info,
.article-info-term,
.article-info-muted,
dl.article-info,
dd.createdby,
dd.category-name,
dd.published,
dd.hits {
    display: none !important;
}


/* Hide "Details" heading */
.article-info-term {
    display: none !important;
}


/* Hide Next / Previous article navigation */
.pager,
.pagination,
ul.pager,
nav.pagenavigation {
    display: none !important;
}


/* Joomla article info variants */
.com-content-article__info,
.com-content-article__info-above,
.com-content-article__info-below {
    display: none !important;
}


/* =====================================
   SELL YOUR PROPERTY PAGE
   ===================================== */

.ae-sell-highlight {
    background: #f5f6f7;
    padding: 30px;
    border-top: 4px solid #c5a24a;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

.ae-sell-highlight h3 {
    color: #102b4e;
    font-size: 26px;
    margin-top: 0;
}


/* Selling process */

.ae-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ae-process-card {
    background: #ffffff;
    padding: 30px 24px;
    text-align: center;
    border-top: 4px solid #c5a24a;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

.ae-process-card h3 {
    color: #102b4e;
}

.ae-process-number {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #102b4e;
    color: #ffffff;

    border-radius: 50%;

    font-size: 22px;
    font-weight: bold;
}


/* Responsive */

@media (max-width: 900px) {

    .ae-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .ae-process-grid {
        grid-template-columns: 1fr;
    }

}


/* =====================================
   BOOK A VIEWING PAGE
   ===================================== */

.ae-viewing-info {
    margin-top: 30px;
    background: #f5f6f7;
    padding: 25px;
    border-left: 4px solid #c5a24a;
}

.ae-viewing-info h3 {
    margin-top: 0;
    color: #102b4e;
}


/* Viewing form */

.ae-form-card {
    background: #f5f6f7;
    padding: 30px;
    border-top: 4px solid #c5a24a;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

.ae-form-card h2 {
    color: #102b4e;
    margin-top: 0;
}

.ae-form-row {
    margin-bottom: 18px;
}

.ae-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #102b4e;
}

.ae-form-row input,
.ae-form-row select,
.ae-form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #ffffff;
    font-size: 15px;
}

.ae-form-row input:focus,
.ae-form-row select:focus,
.ae-form-row textarea:focus {
    outline: none;
    border-color: #c5a24a;
}


/* Privacy checkbox */

.ae-checkbox-row label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
}

.ae-checkbox-row input {
    width: auto;
    margin-top: 5px;
}


/* Four viewing steps */

.ae-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ae-process-card {
    background: #ffffff;
    padding: 28px 22px;
    text-align: center;
    border-top: 4px solid #c5a24a;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

.ae-process-number {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #102b4e;
    color: #ffffff;

    border-radius: 50%;

    font-size: 22px;
    font-weight: 700;
}

.ae-process-card h3 {
    color: #102b4e;
}


/* Tablet */

@media (max-width: 900px) {

    .ae-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Mobile */

@media (max-width: 650px) {

    .ae-process-grid {
        grid-template-columns: 1fr;
    }

    .ae-form-card {
        padding: 22px;
    }

}

/* =====================================
   CONTACT US PAGE
   ===================================== */

.ae-contact-box {
    margin-top: 25px;
    padding: 25px;
    background: #f5f6f7;
    border-left: 4px solid #c5a24a;
}

.ae-contact-box h3 {
    margin-top: 0;
    color: #102b4e;
}

.ae-contact-box p {
    margin-bottom: 18px;
}


/* Contact form */

.ae-form-card {
    background: #f5f6f7;
    padding: 30px;
    border-top: 4px solid #c5a24a;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

.ae-form-card h2 {
    color: #102b4e;
    margin-top: 0;
}

.ae-form-row {
    margin-bottom: 18px;
}

.ae-form-row label {
    display: block;
    margin-bottom: 6px;
    color: #102b4e;
    font-weight: 600;
}

.ae-form-row input,
.ae-form-row select,
.ae-form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #ffffff;
}

.ae-form-row input:focus,
.ae-form-row select:focus,
.ae-form-row textarea:focus {
    outline: none;
    border-color: #c5a24a;
}


/* Privacy checkbox */

.ae-checkbox-row label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
}

.ae-checkbox-row input {
    width: auto;
    margin-top: 5px;
}


/* Map placeholder */

.ae-map-placeholder {
    padding: 60px 25px;
    background: #eeeeee;
    border: 1px solid #dddddd;
    text-align: center;
    color: #555555;
}


/* Mobile */

@media (max-width: 700px) {

    .ae-contact-box,
    .ae-form-card {
        padding: 22px;
    }

}