/* Property Detail Page - Enhanced Modern Design */

.property-detail-page {
    background: linear-gradient(135deg, #F0FFF0 0%, #E8F5E8 50%, #F0FFF0 100%);
    min-height: 100vh;
    position: relative;
}

.property-detail-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(46,139,87,0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(50,205,50,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Breadcrumb Enhanced */
.breadcrumb-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,255,240,0.95) 100%);
    padding: 15px 0;
    border-bottom: 1px solid rgba(46,139,87,0.1);
    box-shadow: 0 2px 15px rgba(46,139,87,0.08);
    backdrop-filter: blur(10px);
}

.breadcrumb-section .container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: row;
}

.breadcrumb-section a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb-section a:hover {
    color: #2E8B57;
}

.breadcrumb-section i {
    color: #dee2e6;
    font-size: 10px;
}

.breadcrumb-section span {
    color: #2E8B57;
    font-size: 14px;
    font-weight: 600;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery Section Enhanced */
.property-gallery-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,255,248,0.98) 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(46,139,87,0.15), 0 5px 20px rgba(0,0,0,0.05);
    border: 2px solid rgba(46,139,87,0.08);
    position: relative;
    backdrop-filter: blur(10px);
}

.property-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(46,139,87,0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.main-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-gallery-section:hover .main-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(255,193,7,0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.listing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listing-badge.sale {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.listing-badge.rent {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

/* Details Section Enhanced */
.property-details-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,255,248,0.98) 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(46,139,87,0.15), 0 5px 20px rgba(0,0,0,0.05);
    border: 2px solid rgba(46,139,87,0.08);
    position: relative;
    backdrop-filter: blur(10px);
}

.property-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(50,205,50,0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 25px;
}

.property-details-section > * {
    position: relative;
    z-index: 2;
}

.property-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.3;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f0f3f5;
    flex-wrap: wrap;
    gap: 15px;
}

.property-location {
    color: #495057;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.property-location i {
    color: #2E8B57;
    font-size: 16px;
}

.property-views {
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
}

.property-views i {
    color: #2E8B57;
}

.property-price-box {
    background: linear-gradient(135deg, #2E8B57 0%, #32CD32 50%, #228B22 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(46,139,87,0.4), 0 3px 10px rgba(46,139,87,0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
}

.property-price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: shimmer 4s infinite;
}

.property-price-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    border-radius: 20px;
}

.property-price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    25% { 
        transform: translate(-10%, -10%) rotate(1deg); 
    }
    50% { 
        transform: translate(-20%, -20%) rotate(0deg); 
    }
    75% { 
        transform: translate(-10%, -10%) rotate(-1deg); 
    }
}

.price-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.price-value {
    font-size: 32px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.price-period {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}

/* Key Features Enhanced */
.key-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(240,255,240,0.8) 0%, rgba(255,255,255,0.9) 100%);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(46,139,87,0.1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46,139,87,0.05), transparent);
    transition: left 0.5s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(46,139,87,0.2), 0 5px 15px rgba(0,0,0,0.1);
    border-color: rgba(46,139,87,0.3);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,255,240,0.95) 100%);
}

.feature-item i {
    font-size: 32px;
    color: #2E8B57;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,255,240,0.9) 100%);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(46,139,87,0.25), inset 0 1px 3px rgba(255,255,255,0.5);
    border: 2px solid rgba(46,139,87,0.1);
    transition: all 0.3s;
}

.feature-item:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(46,139,87,0.35), inset 0 1px 3px rgba(255,255,255,0.7);
    border-color: rgba(46,139,87,0.2);
}

.feature-item strong {
    display: block;
    font-size: 20px;
    color: #2c3e50;
    font-weight: 700;
}

.feature-item span {
    display: block;
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

/* Action Buttons Enhanced - Compact & Premium */
.property-actions-box {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

.property-actions-box .btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex: 1;
    white-space: nowrap;
}

.property-actions-box .btn i {
    font-size: 16px;
}

.property-actions-box .btn-primary {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.property-actions-box .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.property-actions-box .btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.property-actions-box .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108,117,125,0.3);
}

/* Property Sections Enhanced */
.property-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(248,255,248,0.6) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 20px;
    border: 2px solid rgba(46,139,87,0.08);
    box-shadow: 0 5px 20px rgba(46,139,87,0.08);
    position: relative;
    backdrop-filter: blur(5px);
}

.property-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(50,205,50,0.02) 50%, transparent 100%);
    border-radius: 20px;
    pointer-events: none;
}

.property-section > * {
    position: relative;
    z-index: 2;
}

.property-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2c3e50;
}

.property-section h3 i {
    color: #2E8B57;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,255,240,0.9) 100%);
    padding: 12px;
    border-radius: 12px;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(46,139,87,0.2), inset 0 1px 3px rgba(255,255,255,0.5);
    border: 2px solid rgba(46,139,87,0.1);
}

.property-section p {
    color: #495057;
    line-height: 1.8;
    font-size: 15px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 2px solid #f8f9fa;
    transition: all 0.3s;
}

.detail-item:hover {
    background: #f8f9fa;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.detail-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
}

.detail-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

/* Features List Enhanced */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: linear-gradient(135deg, rgba(240,255,240,0.9) 0%, rgba(255,255,255,0.9) 100%);
    border-radius: 30px;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(46,139,87,0.15);
    position: relative;
    overflow: hidden;
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46,139,87,0.1), transparent);
    transition: left 0.5s;
}

.feature-tag:hover::before {
    left: 100%;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,255,240,0.95) 100%);
    border-color: #2E8B57;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(46,139,87,0.25), 0 3px 10px rgba(0,0,0,0.1);
}

.feature-tag i {
    color: #2E8B57;
    font-size: 13px;
}

/* Similar Properties Enhanced */
.similar-properties-section {
    padding: 50px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,255,248,0.98) 100%);
    border-radius: 25px;
    padding: 50px 40px;
    margin-top: 30px;
    box-shadow: 0 15px 50px rgba(46,139,87,0.15), 0 5px 20px rgba(0,0,0,0.05);
    border: 2px solid rgba(46,139,87,0.08);
    position: relative;
    backdrop-filter: blur(10px);
}

.similar-properties-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(50,205,50,0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 25px;
}

.similar-properties-section > * {
    position: relative;
    z-index: 2;
}

.similar-properties-section h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
}

.similar-properties-section h2::before {
    content: '🏠';
    font-size: 32px;
}

.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.property-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,255,248,0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(46,139,87,0.12), 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(46,139,87,0.08);
    position: relative;
    backdrop-filter: blur(5px);
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(46,139,87,0.02) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    border-radius: 20px;
}

.property-card:hover::before {
    opacity: 1;
}

.property-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(46,139,87,0.2), 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(46,139,87,0.2);
}

.property-card > * {
    position: relative;
    z-index: 2;
}

.property-card .property-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.property-card .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.property-card:hover .property-image img {
    transform: scale(1.15);
}

.property-card .property-info {
    padding: 20px;
}

.property-card .property-price {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #2E8B57 0%, #32CD32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.property-card .property-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.property-card .property-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.property-card .property-title a:hover {
    color: #2E8B57;
}

.property-card .property-location {
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-card .property-location i {
    color: #2E8B57;
}

/* Tablet */
@media (min-width: 768px) {
    .property-detail-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 25px;
    }
    
    .main-image {
        height: 420px;
    }
    
    .property-title {
        font-size: 28px;
    }
    
    .key-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-actions-box {
        flex-direction: row;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .property-detail-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 30px;
    }
    
    .main-image {
        height: 500px;
    }
    
    .property-title {
        font-size: 30px;
    }
    
    .key-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .property-detail-grid {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .main-image {
        height: 520px;
    }
    
    .properties-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Features and Amenities Section */
.features-amenities-section {
    margin-top: 30px;
}

/* Mobile Specific - Enhanced Responsiveness */
@media (max-width: 767px) {
    .property-detail-page {
        padding-bottom: 20px;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        padding: 12px 0;
    }
    
    .breadcrumb-section .container {
        padding: 0 15px;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .breadcrumb-section .container::-webkit-scrollbar {
        display: none;
    }
    
    .breadcrumb-section a,
    .breadcrumb-section span {
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Gallery Section */
    .property-gallery-section {
        border-radius: 15px;
        margin-bottom: 20px;
    }
    
    .main-image {
        height: 280px;
        border-radius: 15px 15px 0 0;
    }
    
    .featured-badge {
        top: 12px;
        left: 12px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .listing-badge {
        top: 12px;
        right: 12px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    /* Description */
    .property-gallery-section .property-section {
        padding: 20px 15px !important;
        border-radius: 0 0 15px 15px !important;
    }
    
    .property-gallery-section .property-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .property-gallery-section .property-section h3 i {
        font-size: 16px;
        padding: 8px;
    }
    
    .property-gallery-section .property-section p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Property Details Section */
    .property-details-section {
        padding: 25px 20px;
        border-radius: 20px;
        margin-bottom: 20px;
        box-shadow: 0 10px 30px rgba(46,139,87,0.12);
    }
    
    .property-section {
        padding: 20px 15px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .property-title {
        font-size: 22px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .property-location {
        font-size: 14px;
    }
    
    .property-location i {
        font-size: 14px;
    }
    
    .property-views {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .property-price-box {
        padding: 20px;
        border-radius: 15px;
        margin-bottom: 20px;
        box-shadow: 0 8px 25px rgba(46,139,87,0.35);
    }
    
    .price-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .price-period {
        font-size: 16px;
    }
    
    /* Key Features */
    .key-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .feature-item {
        padding: 15px;
        border-radius: 10px;
    }
    
    .feature-item i {
        font-size: 24px;
        padding: 10px;
    }
    
    .feature-item strong {
        font-size: 18px;
    }
    
    .feature-item span {
        font-size: 12px;
    }
    
    /* Action Buttons - Mobile Optimized */
    .property-actions-box {
        margin-bottom: 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .property-actions-box .btn {
        font-size: 12px;
        padding: 10px 16px;
        border-radius: 8px;
        width: 100%;
        min-width: auto;
    }
    
    .property-actions-box .btn i {
        font-size: 14px;
    }
    
    /* Property Sections */
    .property-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .property-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .property-section h3 i {
        font-size: 16px;
        padding: 8px;
    }
    
    .property-section p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .details-grid {
        gap: 0;
    }
    
    .detail-item {
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-label,
    .detail-value {
        font-size: 13px;
    }
    
    .detail-label {
        font-weight: 700;
    }
    
    /* Features List */
    .features-list {
        gap: 8px;
    }
    
    .feature-tag {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .feature-tag i {
        font-size: 12px;
    }
    
    /* Features and Amenities Section */
    .features-amenities-section {
        margin-top: 20px;
    }
    
    .features-amenities-section .property-section {
        padding: 20px 15px !important;
        border-radius: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .features-amenities-section .property-section:last-child {
        margin-bottom: 0 !important;
    }
    
    .features-amenities-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .features-amenities-section h3 i {
        font-size: 16px;
        padding: 8px;
    }
    
    /* Similar Properties */
    .similar-properties-section {
        padding: 30px 20px;
        border-radius: 15px;
        margin-top: 20px;
    }
    
    .similar-properties-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .similar-properties-section h2::before {
        font-size: 26px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .property-card .property-image {
        height: 200px;
    }
    
    .property-card .property-info {
        padding: 15px;
    }
    
    .property-card .property-price {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .property-card .property-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .property-card .property-location {
        font-size: 13px;
    }
    
    /* On mobile, reorder sections */
    .container {
        display: flex;
        flex-direction: column;
    }
    
    .property-detail-grid {
        order: 1;
        display: flex;
        flex-direction: column;
    }
    
    .property-gallery-section {
        order: 1;
    }
    
    .property-details-section {
        order: 2;
    }
    
    .features-amenities-section {
        order: 3;
    }
    
    .similar-properties-section {
        order: 4;
    }
}

/* Extra Small Mobile (320px - 374px) */
@media (max-width: 374px) {
    .property-title {
        font-size: 20px;
    }
    
    .price-value {
        font-size: 24px;
    }
    
    .main-image {
        height: 240px;
    }
    
    .feature-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .property-actions-box .btn {
        font-size: 13px;
        padding: 12px 16px;
    }
}

/* Print Styles */
@media print {
    .property-actions-box,
    .similar-properties-section,
    .breadcrumb-section {
        display: none;
    }
    
    .property-detail-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   PROPERTY GALLERY - MULTIPLE IMAGES
======================================== */

/* Gallery Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.gallery-nav:hover {
    background: rgba(46,139,87,0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Gallery Counter */
.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    max-height: 150px;
    overflow-x: auto;
    overflow-y: hidden;
}

.thumbnail {
    position: relative;
    width: 100%;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: #2E8B57;
    transform: translateY(-3px);
}

.thumbnail.active {
    border-color: #2E8B57;
    box-shadow: 0 4px 15px rgba(46,139,87,0.4);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive for Gallery */
@media (max-width: 767px) {
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-counter {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
        padding: 10px;
        max-height: 120px;
    }
    
    .thumbnail {
        height: 60px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}

/* Desktop - Horizontal Scroll for Many Images */
@media (min-width: 1024px) {
    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        max-height: 160px;
    }
    
    .thumbnail {
        height: 90px;
    }
}

/* Scrollbar Styling for Thumbnail Gallery */
.thumbnail-gallery::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: #2E8B57;
    border-radius: 10px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb:hover {
    background: #32CD32;
}
