:root {
    --black: #000;
    --white: #fff;
    --gold: #D3BF75;
}

nav {
    background: #1F1E1E;
    color: #fff;
    padding: 10px 0;
}

.navbar-collapse {
    flex-grow: unset;
}

nav .address {
    margin-left: 6rem;
}

.line {
    height: 2px;
    background: #fff;
    width: 16px;
    margin-bottom: 3px;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    line-height: 1.875rem;
    margin-bottom: 0;
    font-weight: 300;
}

h2 {
    /* font-family: 'Gupter', serif; */
    font-family: 'PT Serif', serif;
    letter-spacing: 2px;
}

.disclaimer {
    font-size: 0.625rem;
    line-height: 1rem;
}

.address {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.price {
    font-family: 'PT Serif', serif;
    font-size: calc(72px + 1vw);
    letter-spacing: 4px;
    font-weight: 300;
}

.section-header {
    font-family: 'PT Serif', serif;
    font-weight: normal;
    text-transform: uppercase;
}

.appointment-header {
    font-family: 'PT Serif', serif;
    text-transform: uppercase;
}

.logo {
    width: 173px;
    height: auto;
}

.contact-logo {
    width: 117px;
    height: auto;
    margin-bottom: 16px;
}

button {
    border-radius: 10px;
    padding: 12px 20px;
    color: var(--black);
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
}

.button-secondary {
    background: var(--white);
    border: 2px solid var(--gold);
}

.input-row {
    display: flex;
}

.form-field {
    background: #f0f0f0;
    border: 1px solid #f0f0f0;
    padding: 8px 12px;
    border-radius: 4px;
    width: 100%;
}

.appointment {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
}

.appointment .button-primary {
    display: block;
    margin: 0 auto;
}

.time-button {
    height: 35px;
    border-radius: 6px;
    box-shadow: 0 11px 9px 0 rgb(0 0 0 / 9%), 0 2px 4px 0 transparent;
    margin: 8px;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    text-align: center;
    line-height: normal;
    letter-spacing: 0px;
    padding-top: 7px;
}

.selected-time-button {
    box-shadow: 0 13px 17px 0 rgb(0 0 0 / 10%), 0 2px 4px 0 rgb(0 0 0 / 22%);
    cursor: pointer;
}

footer {
    background: var(--black);
    color: var(--white);
}

.gallery-photo {
    object-fit: contain;
    max-width: 100%;
}

.skeleton-image {
    width: 100%;
    height: 174px;
    animation: loaderPulse 2s infinite;
}

.skeleton-text {
    height: 5px;
    animation: loaderPulse 2s infinite;
}

@keyframes loaderPulse {
    0% {
        background: #cecbcb
    }
    100% {
        background: #9b9898;
    }
}

.contact {
    background: #1F1D1D;
}

.agent-details {
    color: #fff;
}

.agent-photo {
    max-width: 215px;
    width: 100%;
    margin-right: 3rem;
}

.agent-details .name {
    font-size: 24px;
}

.agent-contact-form {
    background: #fff;
    padding: 30px;
    width: 100%;
    max-width: 447px;
}

.contact-form-title {
    font-size: 35px;
    text-transform: uppercase;
}

.contact-form-item {
    display: flex;
    flex-direction: column;
}

.contact-field {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #979797;
}

.contact-form-item label  {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #616161;
    margin-bottom: 1rem;
}

.property-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #000;
}

.hero-container {
    width: 100%;
    position: relative;
    aspect-ratio: 16/8;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.8));
}

.overlay .info {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    color: #fff;
    margin: 0 auto;
}

.agent-info {
    font-family: 'Poppins', sans-serif;
}

.agent-hero {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.agent-photo {
    width: 100%;
    max-width: 300px;
    border-radius: 0;
    box-shadow: none;
}

.agent-name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #000;
}

.company-name {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.agent-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.contact-details {
    margin-top: 1rem;
}

.contact-header {
    font-weight: 500;
    color: #555;
}

.contact-value {
    color: #333;
}

.phone-link, .email-link {
    color: #2374B7;
    text-decoration: none;
}

.agent-tabs {
    margin-top: 1rem;
}

.tab-row {
    display: flex;
}

.tab {
    padding: 8px 16px;
    background-color: #f5f5f5;
    margin-right: 2px;
    font-size: 0.8rem;
    font-weight: 500;
}

.contact-form-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1.5rem;
}

.form-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.65rem;
    width: 100%;
    margin-bottom: 0.75rem;
}

.submit-btn {
    background-color: #2374B7;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    color: white;
    font-weight: 500;
}

.form-disclaimer {
    font-size: 0.75rem;
    line-height: 1rem;
    color: #666;
    margin-top: 0.75rem;
}

.map-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: -20px;
}

.legend-container {
    display: flex;
    flex-direction: row;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    color: #666;
}

.marker-icon {
    width: 15px;
    height: 20px;
    margin-right: 8px;
}

.view-toggle {
    display: flex;
}

.map-btn, .list-btn {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 5px;
}

.filter-btn {
    display: inline-block;
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    color: #666;
}

.filter-btn.active {
    color: #2374B7;
    font-weight: 500;
}

.cities-list {
    margin-top: 1rem;
}

.city-link {
    display: block;
    margin-bottom: 0.5rem;
    color: #2374B7;
    text-decoration: none;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    margin-right: 10px;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 4px;
    padding: 0.5rem;
}

.search-input {
    width: 250px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.all-listings-btn {
    background-color: #2374B7;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 1rem;
}

.search-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
}

.search-btn:hover {
    color: #2196F3;
}

.address {
    font-size: 1.2rem;
    margin: 0;
    color: white;
}

.restaurants {
    background: #1F1D1D;
    padding: 30px 30px 0 30px;;
    color: #fff;
}

.place {
    margin-bottom: 30px;
}

.place .distance {
    color: #666;
}

.place i::before {
    display: block;
    font-size: 2rem;
}

.place .custom-icon {
    height: 24px;
    width: auto;
    margin: 0 auto;
}

.restaurants .count {
    font-size: 24px;
    font-weight: 700;
}

.restaurants .restaurant {
    width: calc(20%);
    margin-bottom: 2rem;
}


.notfound-wrapper {
    padding: 20% 0;
}


.notfound-header {
    font-size: 5rem;
    font-weight: bold;
    font-family: 'PT Serif', sans-serif;
}

/* Add photoviewer styles */
.photo-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    /* max-width: 90%; */
}

.modal-dialog-centered {
    justify-content: center;
}

.modal-photo {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-button {
    position: absolute;
    top: -53px;
    right: 2px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #000;
    font-size: 24px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev {
    left: -16px;
}

.next {
    right: -16px;
}

.photo-counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
}

/* Add gallery photo styles */
.gallery-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s;
}

.gallery-photo:hover {
    transform: scale(1.02);
}

.agent-tagline {
    margin-top: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    white-space: pre-wrap;
}

/* Property Card Styles */
.property-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    position: relative;
    height: 100%;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.property-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2374B7;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-status i {
    font-size: 12px;
}

.property-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-details {
    padding: 20px;
}

.listing-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.price-value {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.property-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}

.property-specs span {
    color: #333;
}

.property-location {
    font-size: 15px;
    line-height: 1.4;
    color: #666;
}

.property-location div {
    color: #666;
    margin-top: 4px;
}

/* Property List Styles */
.properties-list {
    margin-top: 20px;
}

.property-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white;
    position: relative;
}

.property-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1;
}

.property-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.nav-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.9);
}

.property-details {
    padding: 15px;
}

.listing-price {
    margin-bottom: 12px;
}

.price-label {
    font-size: 14px;
    color: #666;
    display: block;
}

.price-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.property-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    color: #666;
}

.spec {
    display: flex;
    align-items: center;
    gap: 5px;
}

.spec i {
    font-size: 16px;
}

.property-address {
    font-size: 18px;
    /* font-size: 14px;
    color: #666; */
    line-height: 1.4;
}

.toast-container {
    z-index: 99999;
}

.rep-label {
    text-transform: uppercase;
}

@media (max-width: 599px) {
    .logo {
        width: 153px;
    }
    .overlay {
        display: none;
    }

    .address {
        font-size: 14px;
    }

    nav .address {
        text-align: center;
        margin-left: 0;
        margin-top: 1rem;
    }

    .price {
        font-size: calc(60px + 1vw);
        text-align: center;
    }

    .property-hero .address {
        font-size: 18px;
        text-align: center;
        margin-top: 36px;
        color: #000;
    }

    .section-header {
        text-align: center;
        font-size: 36px;
    }

    .appointment {
        padding: 20px;
    }

    .appointment-header {
        text-align: center;
    }

    .time-button-container {
        padding-left: 0;
        padding-right: 0;
    }

    .overview-info {
        flex-direction: column;
        align-items: center;
    }

    .overview-info p {
        margin-bottom: 2rem;
    }

    .button-primary,
    .button-secondary {
        margin: 0 auto;
        display: block;
    }

    .contact-row {
        flex-direction: column-reverse;
    }

    .agent-row {
        flex-direction: column;
        align-items: center;
    }

    .rep-label {
        text-align: center;
    }

    .agent-details p {
        text-align: center;
    }

    .agent-photo {
        display: block;
        margin: 0 auto;
    }

    .agent-details .name {
        margin-top: 2rem;
    }

    .property-address {
        margin-top: 2rem;
    }

    .agent-name,
    .company-name,
    .contact-details {
        text-align: center;
    }

    .contact-form-title {
        font-size: 32px;
    }

    .appointment {
        margin-top: 2rem;
    }

    .amenities {
       justify-content: center;
    }

    .restaurants .restaurant {
        width: calc(50%);
    }

    .notfound-wrapper {
        padding: 56% 0;
    }

    .gallery-photo {
        margin-bottom: 1rem;
    }

    .search-container {
        width: 100%;
        margin: 0;
    }

    .search-box {
        margin-right: 0;
        width: 100%;
    }

    .place {
        width: calc(50%);
    }

    .nav-button {
        color: #fff;
    }
}

