html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* Property gallery thumbnails */
.property-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 15px 0 25px;
}

.property-gallery img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.property-gallery img:hover {
    opacity: 0.75;
}

/* Mobile gallery */
@media (max-width: 600px) {
    .property-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .property-gallery img {
        height: 85px;
    }
}

.property-results {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 280px), 1fr)
    );
    gap: 24px;
    margin: 30px 0;
}

.property-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.property-card a {
    color: inherit;
    text-decoration: none;
}

.property-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.property-card-content {
    padding: 18px;
}

.property-card-content h2 {
    font-size: 1.2rem;
    color: #000033;
}

.property-card-content strong {
    color: #F28600;
    font-size: 1.3rem;
}

.property-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.city-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
}

.city-search-form input {
    max-width: 280px;
}

.city-search-form > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.city-search-form select {
    min-width: 170px;
}

.city-search-form button,
.city-search-form > a {
    align-self: flex-end;
}

/* Property pagination */

.pagination-summary {
    margin: 25px 0 15px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.property-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 40px;
}

.property-pagination a {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #000033;
    border-radius: 5px;
    color: #000033;
    background-color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.property-pagination a:hover {
    background-color: #F28600;
    border-color: #F28600;
    color: #fff;
}

.property-pagination a.active {
    background-color: #000033;
    border-color: #000033;
    color: #fff;
}

/* Property search panel */

.property-search-panel {
    background-color: #f5f6f8;
    border: 1px solid #e0e3e8;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0 30px;
    box-shadow: 0 3px 12px rgba(0, 0, 51, 0.05);
    display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 18px;
}

.property-search-panel label {
    display: block;
    color: #000033;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 7px;
}

.property-search-panel .form-control,
.property-search-panel .form-select {
    border-radius: 6px;
    border: 1px solid #cbd2dc;
}

.property-search-panel .form-control:focus,
.property-search-panel .form-select:focus {
    border-color: #F28600;
    box-shadow: 0 0 0 3px rgba(242, 134, 0, 0.15);
}

.property-search-panel .btn-primary {
    background-color: #F28600;
    border-color: #F28600;
    color: #fff;
    font-weight: 600;
}

.property-search-panel .btn-primary:hover {
    background-color: #d97600;
    border-color: #d97600;
}

/* Improved property card appearance */

.property-card {
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 51, 0.12);
}

.property-card-content {
    padding: 18px;
}

.property-card-content h2 {
    color: #000033;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.property-card-content p {
    color: #626b78;
    font-size: 14px;
    margin-bottom: 10px;
}

.property-card-content strong {
    display: block;
    color: #F28600;
    font-size: 22px;
    font-weight: 700;
    margin-top: 14px;
}

.property-card a {
    text-decoration: none;
}

.property-card a:hover h2 {
    color: #F28600;
}

/* Property results heading */

.property-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 25px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ebef;
}

.property-results-heading h2 {
    color: #000033;
    font-size: 23px;
    font-weight: 700;
    margin: 0;
}

.property-results-heading p {
    color: #626b78;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 600px) {
    .property-results-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Sorting dropdown above property results */

.property-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.property-sort-form label {
    color: #000033;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.property-sort-form .form-select {
    width: 210px;
    font-size: 14px;
    border-radius: 6px;
}

@media (max-width: 600px) {
    .property-sort-form {
        width: 100%;
    }

    .property-sort-form .form-select {
        flex: 1;
        width: auto;
    }
}

/* Property Overseas Group navigation */

.pog-navbar {
    background-color: #000033;
    padding: 16px 0;
    margin-bottom: 30px;
}

.pog-brand {
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.pog-brand span {
    color: #F28600;
}

.pog-brand:hover,
.pog-brand:focus {
    color: #ffffff;
}

.pog-navbar .nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 10px 16px !important;
}

.pog-navbar .nav-link:hover,
.pog-navbar .nav-link:focus {
    color: #F28600;
}

.pog-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.pog-navbar .navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991px) {
    .pog-navbar .navbar-nav {
        padding-top: 15px;
    }
}

/* Responsive logo header */

.pog-logo-header {
    background-color: #ffffff;

    background-image:
        linear-gradient(
            to right,
            #ffffff 0%,
            #ffffff 42%,
            rgba(255, 255, 255, 0.95) 55%,
            rgba(255, 255, 255, 0) 85%
        ),
        url('/images/pogbannerbackgroud.jpg');

    background-repeat: no-repeat;
    background-position: center, right center;
    background-size: cover, auto 100%;

    min-height: 200px;
    display: flex;
    align-items: center;
}

.pog-logo-container {
    width: 100%;
    padding: 15px 25px;
}

.pog-logo-link {
    display: inline-block;
    max-width: 100%;
}

.pog-logo-header .pog-logo {
    display: block;
    width: 620px;
    max-width: 100%;
    height: auto;
}

/* Mobile layout */

@media (max-width: 767px) {
    .pog-logo-header {
        background-image: none;
        min-height: 0;
        justify-content: center;
    }

    .pog-logo-container {
        padding: 15px 12px;
        text-align: center;
    }

    .pog-logo-header .pog-logo {
        width: 100%;
        max-width: 500px;
        height: auto;
    }
}

/* Navigation below logo */

.pog-navbar {
    padding: 8px 0;
    margin-bottom: 30px;
}

/* Main property photograph */
.property-main-image {
    width: 100%;
    margin-bottom: 20px;
}

.property-main-image img {
    display: block;
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #f5f5f5;
}

/* Property details slideshow */

.property-slideshow {
    position: relative;
    width: 100%;
    height: 550px;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
}

.property-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: white;
    border: none;
    padding: 15px 18px;
    font-size: 26px;
    cursor: pointer;
    z-index: 2;
}

.slideshow-prev {
    left: 10px;
}

.slideshow-next {
    right: 10px;
}

.slideshow-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slideshow-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
}

/* Mobile slideshow */

@media (max-width: 600px) {
    .property-slideshow {
        height: 300px;
    }

    .slideshow-arrow {
        padding: 10px 12px;
        font-size: 20px;
    }
}


/* Property photo layout */

.property-photo-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 12px;
    height: 480px;
    margin-bottom: 30px;
}

.property-photo-layout .property-slideshow {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
}

.property-side-photos {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.property-side-photos img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    border-radius: 8px;
}

/* Mobile layout */

@media (max-width: 600px) {
    .property-photo-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 300px 110px;
        height: auto;
        gap: 8px;
    }

    .property-side-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(0, 110px);
        gap: 8px;
    }
}

/* Property details summary */

.property-summary {
    margin-bottom: 30px;
}

.property-summary h1 {
    color: #F28600;
    margin-bottom: 10px;
}

.property-detail-price {
    color: #F28600;
    font-size: 30px;
    margin: 10px 0;
}

.property-detail-location {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.property-features > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 6px;
}

.property-features strong {
    font-size: 13px;
    color: #666;
}

.property-features span {
    font-size: 17px;
    color: #000033;
}

@media (max-width: 700px) {
    .property-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Property enquiry form */

.property-enquiry {
    margin: 40px 0;
    padding: 30px;
    background: #f5f5f5;
    border-radius: 8px;
}

.property-enquiry h2 {
    color: #000033;
    margin-bottom: 15px;
}

.property-enquiry form {
    max-width: 650px;
}

.enquiry-field {
    margin-bottom: 18px;
}

.enquiry-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    color: #000033;
}

.enquiry-field input,
.enquiry-field textarea {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font: inherit;
    box-sizing: border-box;
}

.enquiry-field textarea {
    resize: vertical;
}

.enquiry-field input:focus,
.enquiry-field textarea:focus {
    outline: 2px solid #F28600;
    outline-offset: 1px;
}

.enquiry-submit {
    background: #F28600;
    color: #000033;
    border: none;
    padding: 13px 28px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.enquiry-submit:hover {
    background: #d97800;
}

@media (max-width: 600px) {
    .property-enquiry {
        padding: 20px;
    }
}

/* Property enquiry confirmation messages */

.enquiry-success {
    background: #e6f4ea;
    color: #176534;
    padding: 15px;
    border: 1px solid #a8d5b5;
    border-radius: 6px;
    margin-bottom: 20px;
}

.enquiry-error {
    background: #fdeaea;
    color: #a12626;
    padding: 15px;
    border: 1px solid #e5aaaa;
    border-radius: 6px;
    margin-bottom: 20px;
}
/* Hide the spam-trap field from normal visitors */

.enquiry-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Property details feature boxes */

.property-features-section {
    margin: 30px 0;
}

.property-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.property-feature-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f5f6f8;
    border: 1px solid #e0e3e8;
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.feature-check {
    color: #F28600;
    font-weight: bold;
    font-size: 18px;
}

@media (max-width: 600px) {
    .property-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Property running costs */

.property-running-costs {
    margin: 30px 0;
}

.running-cost-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.running-cost-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    background: #f5f6f8;
    border: 1px solid #e0e3e8;
    border-top: 3px solid #F28600;
    border-radius: 6px;
}

.running-cost-box strong {
    color: #000033;
}

.running-cost-box span {
    font-size: 18px;
}

@media (max-width: 600px) {
    .running-cost-grid {
        grid-template-columns: 1fr;
    }
}
/* Responsive property search form */

@media (max-width: 1100px) {
    .property-search-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .property-search-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .property-search-panel {
        grid-template-columns: 1fr;
    }
}
.property-card-location {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000033;
    margin-bottom: 8px;
}
.property-virtual-tour {
    margin-top: 24px;
    margin-bottom: 24px;
}

.virtual-tour-button {
    display: inline-block;
    background-color: #F28600;
    color: #000033;
    padding: 13px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.virtual-tour-button:hover {
    background-color: #d97700;
    color: #000033;
}
.property-back-link {
    margin-top: 35px;
    margin-bottom: 30px;
    text-align: center;
}

.back-to-search-button {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #000033;
    border-radius: 6px;
    color: #000033;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-to-search-button:hover {
    background-color: #000033;
    color: #ffffff;
}
/* HOME PAGE */

/* HOME PAGE INTRODUCTION */

.home-welcome {
    background: white;
    min-height: auto;
    padding: 15px 25px 0;
    display: block;
    text-align: left;
}

.home-welcome-content {
    max-width: 1200px;
    margin: 0 auto;
}

.home-welcome h1 {
    color: #F28600;
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: left;
}

.home-welcome p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left;
}

.home-search-button {
    display: inline-block;
    background: #F28600;
    color: white;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.home-search-button:hover {
    background: #d97700;
    color: white;
}
/* HOME PAGE QUICK SEARCH */

.home-quick-search {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 0 25px;
}

.home-quick-search h2 {
    color: #000033;
    text-align: left;
    margin-bottom: 25px;
}

.home-search-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: end;

    background: #f5f6f8;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 25px;
}

.home-search-field label {
    display: block;
    font-weight: 600;
    color: #000033;
    margin-bottom: 8px;
}

.home-search-field .form-control {
    width: 100%;
}

.home-search-submit {
    background: #F28600;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
}

.home-search-submit:hover {
    background: #d97700;
}

@media (max-width: 850px) {
    .home-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .home-search-form {
        grid-template-columns: 1fr;
    }
}
.home-special-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
/* HOME PAGE PHOTOGRAPHIC BANNER */

.home-photo-banner {
    background:
        linear-gradient(
            rgba(0, 0, 33, 0.55),
            rgba(0, 0, 33, 0.55)
        ),
        url('/images/home/home-banner.jpg') center center / cover no-repeat;

    min-height: 350px;
    padding: 70px 25px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-photo-banner-content {
    max-width: 850px;
    margin: 0 auto;
}

.home-photo-banner h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.home-photo-banner p {
    color: white;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .home-photo-banner {
        min-height: 300px;
        padding: 50px 20px;
    }

    .home-photo-banner h2 {
        font-size: 1.7rem;
    }
}
.home-special-pages {
    max-width: 1200px;
    margin: 60px auto 60px;
    padding: 20px 25px;
}
.home-special-card {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 33, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Homepage feature buttons: desktop */

.home-special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.home-special-card img {
    display: block;
    width: 70%;
    height: auto;
    margin: 0 auto;
}

/* Homepage feature buttons: mobile */

@media (max-width: 767px) {
    .home-special-pages {
        margin: 25px auto;
        padding: 10px 12px;
    }

    .home-special-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        max-width: 100%;
    }

    .home-special-card img {
        width: 100%;
        height: auto;
    }
}

.home-special-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 33, 0.15);
}
/* HOME PAGE CONTENT SECTIONS */

.home-content-section {
    max-width: 1200px;
    margin: 45px auto;
    padding: 0 25px;
}

.home-content-section h2 {
    color: #000033;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: left;
}

.home-content-section p {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 18px;
}
.home-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.home-guide-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 18px;
    background: #f5f6f8;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    color: #000033;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-guide-grid a:hover {
    border-color: #F28600;
    transform: translateY(-3px);
    color: #000033;
}

@media (max-width: 768px) {
    .home-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .home-guide-grid {
        grid-template-columns: 1fr;
    }
}
/* FOOTER SOCIAL MEDIA ICONS */

.pog-footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
}

.pog-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pog-footer-social img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.pog-footer-social a:hover img {
    transform: scale(1.12);
}
/* FOOTER LINKS AND COPYRIGHT */

.pog-footer-info {
    text-align: center;
    padding: 0 20px 25px;
    color: #555;
    font-size: 0.9rem;
}

.pog-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.pog-footer-info a {
    color: #000033;
    text-decoration: none;
}

.pog-footer-info a:hover {
    color: #F28600;
    text-decoration: underline;
}

.pog-footer-info p {
    margin-bottom: 8px;
    line-height: 1.6;
}
/* About Us page images */

.about-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 35px 0;
}

.about-images img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 180px;
}
/* Contact enquiry form */

.contact-enquiry-form {
    background-color: #f5f6f8;
    padding: 25px;
    border-radius: 8px;
    max-width: 700px;
}
/* List Your Property page image */

.listings-image {
    text-align: center;
    margin: 30px 0;
}

.listings-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}
/* Guides page */

.guides-list {
    padding-left: 25px;
    margin: 20px 0 35px;
}

.guides-list li {
    margin-bottom: 14px;
    line-height: 1.6;
}

.guides-list a {
    color: #555555;
    text-decoration: none;
}

.guides-list a:hover {
    color: #F28600;
    text-decoration: underline;
}
h1 {
    color: #F28600;
}
/* Softer grey for main page text */
main p {
    color: #555555;
}

/* Property descriptions */
.property-description,
.property-description p {
    color: #555555;
}

.property-card .property-card-content .development-town {
    color: #F28600;
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 10px;
}
/* New Development photo gallery */
.development-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 30px;
}

.development-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .development-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .development-gallery img {
        height: 160px;
    }
}
/* New Development specifications */
.development-specifications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 25px;
    background: #f5f6f8;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0 30px;
}

.development-specifications p {
    margin: 0;
    color: #555555;
}

.development-specifications strong {
    color: #000033;
}

@media (max-width: 600px) {
    .development-specifications {
        grid-template-columns: 1fr;
    }
}
/* New Developments sorting */

.development-sort-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 20px 0;
}

.development-sort-form label {
    margin: 0;
    white-space: nowrap;
}

.development-sort-form select {
    width: 230px;
    max-width: 100%;
    flex: 0 0 auto;
}
/* New Developments pagination */

.development-results-count {
    margin: 24px 0 12px;
    color: #555555;
    font-weight: 700;
}

.development-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 40px;
}

.development-pagination a {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #ffffff;
    color: #000033;
    text-decoration: none;
    font-weight: 500;
}

.development-pagination a:hover {
    background: #f5f6f8;
    border-color: #F28600;
}

.development-pagination a.active {
    background: #000033;
    border-color: #000033;
    color: #ffffff;
}
/* Development results and sorting toolbar */

.development-results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.development-results-toolbar .development-results-count {
    margin: 0;
    font-weight: 700;
}

.development-results-toolbar .development-sort-form {
    margin: 0;
}
/* New Development Details photo gallery */

.development-photo-gallery {
    margin: 25px 0 30px;
}

.development-main-photo {
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.development-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.development-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.development-thumbnail {
    padding: 0;
    border: 3px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
}

.development-thumbnail img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.development-thumbnail:hover {
    border-color: #F28600;
}

.development-thumbnail.active {
    border-color: #000033;
}

/* Tablet */
@media (max-width: 768px) {
    .development-main-photo {
        height: 350px;
    }

    .development-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .development-main-photo {
        height: 250px;
    }

    .development-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .development-thumbnail img {
        height: 75px;
    }
}
/* Back to New Developments button */

.property-back-navigation {
    margin: 30px 0 40px;
}

.property-back-navigation .back-to-search {
    display: inline-block;
    padding: 12px 22px;
    background: #000033;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.property-back-navigation .back-to-search:hover {
    background: #F28600;
    color: #ffffff;
}
/* Development gallery navigation arrows */

.development-main-photo {
    position: relative;
}

.development-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 50px;
    border: none;
    border-radius: 5px;
    background: rgba(0, 0, 51, 0.65);
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    z-index: 2;
}

.development-gallery-prev {
    left: 15px;
}

.development-gallery-next {
    right: 15px;
}

.development-gallery-arrow:hover {
    background: #F28600;
}

@media (max-width: 480px) {
    .development-gallery-arrow {
        width: 36px;
        height: 42px;
        font-size: 22px;
    }

    .development-gallery-prev {
        left: 8px;
    }

    .development-gallery-next {
        right: 8px;
    }
}
/* Keep property and development thumbnails in one row */

.development-thumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.development-thumbnail {
    flex: 0 0 150px;
}

.development-thumbnail img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}

/* Smaller thumbnails on mobile */
@media (max-width: 480px) {
    .development-thumbnail {
        flex-basis: 100px;
    }

    .development-thumbnail img {
        height: 75px;
    }
}
/* Taller main photograph on both detail pages */

.development-main-photo {
    height: 600px;
}

/* Tablet */
@media (max-width: 768px) {
    .development-main-photo {
        height: 420px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .development-main-photo {
        height: 300px;
    }
}
/* Featured Developments & Complexes */

.areas-page {
    max-width: 1200px;
    margin: 40px auto 70px;
    padding: 0 20px;
}

.areas-page h1 {
    color: #000033;
    margin-bottom: 20px;
}

.areas-page > p {
    line-height: 1.7;
}

.areas-search {
    max-width: 520px;
    margin: 30px 0 20px;
}

.areas-search label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.areas-search input {
    padding: 13px 15px;
}

.areas-count {
    color: #666;
    margin-bottom: 20px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.areas-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    min-height: 125px;
    padding: 22px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.areas-card:hover {
    border-color: #F28600;
    box-shadow: 0 4px 14px rgba(0, 0, 51, 0.1);
}

.areas-card-name {
    color: #000033;
    font-size: 19px;
    font-weight: 600;
}

.areas-card-link {
    color: #F28600;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 800px) {
    .areas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }
}
/* Complex page navigation tab */

.complex-navigation {
    margin: 25px 0 30px;
    border-bottom: 2px solid #000033;
}

.complex-back-tab {
    display: inline-block;
    padding: 12px 22px;
    background-color: #000033;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.2s ease;
}

.complex-back-tab:hover {
    background-color: #F28600;
    color: #ffffff;
}
/* Soft background for complex cards on the Areas page */

.areas-card {
    background-color: #F0F4F8;
    border: 1px solid #DCE4ED;
}

.areas-card:hover {
    background-color: #E4EDF6;
    border-color: #F28600;
}
/* Bold complex count below the search box */

.areas-count {
    font-weight: 700;
}
