/* Single Property Page Styles */

.propstack-single-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #2c2c2c;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.propstack-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.propstack-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.propstack-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.propstack-hero-status {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 40px;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
    border-radius: 0;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.propstack-gallery-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #2c2c2c;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.propstack-gallery-btn:hover {
    background: #ffffff;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.propstack-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.propstack-hero-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.propstack-hero-address {
    font-size: 18px;
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.propstack-hero-id {
    font-size: 14px;
    margin: 0 0 40px 0;
    opacity: 0.7;
    letter-spacing: 1px;
}

.propstack-hero-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.propstack-detail-item {
    text-align: center;
}

.propstack-detail-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.propstack-detail-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.propstack-price-item .propstack-detail-value {
    font-size: 32px;
    color: #4CAF50;
}

/* Content Wrapper */
.propstack-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.propstack-content-main {
    min-width: 0; /* Prevents grid overflow */
}

/* Sections */
.propstack-section {
    margin-bottom: 80px;
}

.propstack-section h2 {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 30px 0;
    color: #ffffff;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 15px;
}

.propstack-description,
.propstack-location {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
}

.propstack-description p,
.propstack-location p {
    margin-bottom: 20px;
}

/* Features */
.propstack-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.propstack-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #444;
    position: relative;
    padding-left: 25px;
}

.propstack-features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Attributes */
.propstack-attributes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.propstack-attributes-list li {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

/* Sidebar */
.propstack-content-sidebar {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.propstack-sidebar-section {
    margin-bottom: 40px;
}

.propstack-sidebar-section:last-child {
    margin-bottom: 0;
}

.propstack-sidebar-section h3 {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    color: #4CAF50;
}

/* Info Table */
.propstack-info-table {
    width: 100%;
    border-collapse: collapse;
}

.propstack-info-table td {
    padding: 12px 0;
    border-bottom: 1px solid #444;
    font-size: 14px;
}

.propstack-info-table td:first-child {
    font-weight: 600;
    color: #ccc;
    width: 40%;
}

.propstack-info-table td:last-child {
    color: #fff;
    text-align: right;
}

/* Costs */
.propstack-costs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.propstack-cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #444;
}

.propstack-cost-label {
    font-size: 14px;
    color: #ccc;
}

.propstack-cost-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.propstack-main-price {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    padding: 20px 15px;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
}

.propstack-main-price .propstack-cost-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.propstack-main-price .propstack-cost-value {
    font-size: 24px;
    color: #fff;
}

/* Buttons */
.propstack-expose-btn,
.propstack-contact-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333333;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.propstack-expose-btn:hover,
.propstack-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.propstack-contact {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

/* Image Gallery Modal */
.propstack-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.propstack-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 5% auto;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

.propstack-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.propstack-modal-close:hover {
    color: #ccc;
}

.propstack-gallery-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.propstack-gallery-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.propstack-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.propstack-gallery-prev,
.propstack-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #333333;
    border: none;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.propstack-gallery-prev {
    left: 20px;
}

.propstack-gallery-next {
    right: 20px;
}

.propstack-gallery-prev:hover,
.propstack-gallery-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.propstack-gallery-thumbs {
    height: 120px;
    display: flex;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
    background: #2c2c2c;
}

.propstack-gallery-thumb {
    height: 80px;
    width: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.propstack-gallery-thumb:hover,
.propstack-gallery-thumb.active {
    opacity: 1;
    transform: scale(1.05);
    border: 2px solid #4CAF50;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .propstack-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 30px;
    }
    
    .propstack-content-sidebar {
        position: static;
        order: -1;
    }
    
    .propstack-hero-title {
        font-size: 36px;
    }
    
    .propstack-hero-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .propstack-hero {
        min-height: 60vh;
    }
    
    .propstack-hero-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .propstack-hero-status {
        font-size: 20px;
        padding: 10px 25px;
        top: 20px;
    }
    
    .propstack-hero-details {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .propstack-detail-value {
        font-size: 20px;
    }
    
    .propstack-price-item .propstack-detail-value {
        font-size: 24px;
    }
    
    .propstack-content-wrapper {
        padding: 40px 20px;
    }
    
    .propstack-section {
        margin-bottom: 50px;
    }
    
    .propstack-section h2 {
        font-size: 24px;
    }
    
    .propstack-content-sidebar {
        padding: 30px 20px;
    }
    
    .propstack-features-list {
        grid-template-columns: 1fr;
    }
    
    .propstack-attributes-list {
        grid-template-columns: 1fr;
    }
    
    .propstack-modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .propstack-gallery-thumbs {
        height: 100px;
        padding: 15px;
    }
    
    .propstack-gallery-thumb {
        height: 60px;
        width: 90px;
    }
}

@media (max-width: 480px) {
    .propstack-hero-content {
        padding: 30px 15px;
    }
    
    .propstack-hero-title {
        font-size: 24px;
    }
    
    .propstack-gallery-btn {
        font-size: 12px;
        padding: 12px 20px;
        bottom: 20px;
    }
    
    .propstack-modal-close {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }
    
    .propstack-gallery-prev,
    .propstack-gallery-next {
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
    
    .propstack-gallery-prev {
        left: 10px;
    }
    
    .propstack-gallery-next {
        right: 10px;
    }
}

/* Loading States */
.propstack-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    color: #fff;
}

.propstack-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #444;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    animation: propstack-spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes propstack-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
.propstack-single-container *:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .propstack-gallery-btn,
    .propstack-expose-btn,
    .propstack-contact-btn,
    .propstack-modal {
        display: none !important;
    }
    
    .propstack-single-container {
        background: #333333 !important;
        color: black !important;
    }
    
    .propstack-hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    .propstack-hero-image::before {
        display: none;
    }
}


         .property-detail {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
         }
        .property-header {
            text-align: left;
        
     
        }
        .property-title {
          font-family: Teko, sans-serif;
    font-weight: 300;
    color: #333333;
    text-transform: uppercase;
    line-height: 1;
        font-size: 2.7rem;
        }
        .property-location {
            color: #333333;
            font-size: 20px;
            font-family: Mukta, sans-serif;
            margin: 10px 0;
            display: flex;
            font-size: .9rem;
    font-weight: 400;
 
        }
        .property-header-sub {
    display: flex
;
    justify-content: space-between;
}
        .property-id {
            color: #95a5a6;
            font-size: 14px;
            margin-top: 10px;
        }
        .property-price {
            font-size: 20px;
            color: #333333;
            font-weight: 400;
       
            letter-spacing: -1px;
        }
        .property-status {
            display: inline-block;
            padding: 10px 25px;
            border-radius: 30px;
            color: #333333;
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.5px;
            margin: 20px 0;
            text-transform: uppercase;
        }
        .property-gallery {
            margin: 50px 0;
        }
        .main-image {
            width: 100%;
            max-width: 1000px;
            height: auto;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            margin: 0 auto;
            display: block;
        }
        .image-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        .gallery-thumb {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .gallery-thumb:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }
        .property-details {
            display: flex;
           justify-content: space-between;
        }
        .detail-card {
             text-align: center;
             transition: transform 0.3s ease;
        } 
        .detail-icon {
            font-size: 48px;
            margin-bottom: 15px;
        }
        .detail-label {
            font-size: 12px;
            color: #aaa;
           
        }
        .detail-value {
                font-family: Mukta, sans-serif;
    text-transform: none;
    line-height: 1.3;
          font-size: 1.62rem;
           font-weight: 300;
    color: #333333;
        }
        body > div > div > div > div > div.container > div > div > div.property-details > div:nth-child(1) > div.detail-label
        {text-align:left;}
        body > div > div > div > div > div.container > div > div > div.property-details > div:nth-child(4) > div.detail-label{text-align:right;}
        .property-info-section {
        
            padding: 40px 0;
          
        }
        
        
        .property-info-section h2{
                         font-family: Teko, sans-serif;
color:#333333;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }
        .info-item {
            display: flex;
            justify-content: space-between;
            
        }
        .info-label {
            font-weight: 400;
            color: #aaa;
        }
        .info-value {
            color: #333333;
            font-weight: 500;
        }
        .property-contact {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #333333;
            padding: 60px 40px;
            border-radius: 16px;
            text-align: center;
            margin: 60px 0;
            box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
        }
        .property-contact h2 {
            font-size: 36px;
            margin-bottom: 20px;
            font-weight: 300;
        }
        .contact-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 18px 40px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        .btn-white {
            background: #333333;
            color: #667eea;
        }
        .btn-outline {
            background: transparent;
            color: #333333;
            border: 2px solid #333333;
        }
        .btn-outline:hover {
            background: #333333;
            color: #667eea;
        }
        @media (max-width: 768px) {
            .property-title { font-size: 32px; }
            .property-price { font-size: 36px; }
            .detail-card { padding: 20px; }
            .detail-icon { font-size: 36px; }
            .detail-value { font-size: 24px; }
        }