/* Property Details - matches Next.js PropertyDetailsType & PropertyDetailsContact */
:root {
  --primary-color: #173B45;
  --secondary-color: #006847;
  --tertiary-color: #131b20;
  --yellow-color: #ffc107;
  --text-gray-color: #606060;
  --white-color: #ffffff;
  --white-color-2: #fafcff;
  --white-color-3: hsl(212, 100%, 97%);
  --border-color: #f0ecf6;
  --alert-color: #FA9505;
}

.property-details-container {
    margin-top: 2rem;
}

.modern-card {
    background: var(--white-color-2);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.modern-card-header {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 16px 16px 0 0;
    padding: 1rem 1.5rem;
}

.modern-card-body {
    padding: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    background: var(--white-color-3);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--tertiary-color);
}
.detail-item span:first-child {
    color: var(--text-gray-color);
}

/* Contact Card */
.property-contact-container {
    margin-top: 2rem;
}

.contact-card {
    background: var(--white-color-2);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.contact-card-header {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white-color);
    background: var(--primary-color);
    border-radius: 16px 16px 0 0;
    padding: 1rem 1.5rem;
}

.contact-card-body {
    padding: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-number {
    background: var(--white-color-3);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color);
    text-align: center;
    transition: all 0.3s ease;
}
.contact-number:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

.chat-button {
    background: var(--secondary-color);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    color: var(--white-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.chat-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: var(--white-color);
}

/* Login Note */
.login-note {
    background: var(--yellow-color);
    color: var(--tertiary-color);
    border-left: 5px solid var(--alert-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.login-note-btn {
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.login-note-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    color: var(--white-color);
}

/* Similar Properties section (matches Next.js) */
.mb-35 { margin-bottom: 35px; }

/* Breadcrumbs */
.product-details-breadcrumbs .product-d-breadcrumbs-menu li {
    display: inline-flex;
    align-items: center;
}
.product-details-breadcrumbs .product-d-breadcrumbs-menu a {
    color: var(--primary-color);
    text-decoration: none;
}
.product-details-breadcrumbs .product-d-breadcrumbs-menu a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .contact-numbers {
        flex-direction: row;
        gap: 1rem;
    }
    .contact-number {
        min-width: 150px;
    }
}

/* Image gallery fullscreen button (matches Next.js PropertyImageSlider) */
.property-image-swiper {
    position: relative;
}
.property-image-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}
.property-image-fullscreen-btn:hover {
    background: rgba(255,255,255,0.95) !important;
}

#imageLightboxModal .modal-content {
    background: transparent;
}
#imageLightboxModal .modal-dialog {
    max-width: 95vw;
}

@media (max-width: 575px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    .chat-button, .contact-number {
        width: 100%;
    }
    .contact-card-body {
        padding: 1rem;
    }
    .contact-card-header {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }
}
