/**
 * Properties Manager Single Property Styles
 * Brand Colors: #C2B5A3 (Light Beige) & #000000 (Black)
 */

/* ==== GENERAL CONTAINER ==== */
.property-single-container {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333333;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ==== HERO GALLERY ==== */
.property-hero-gallery {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    background: #f8f8f8;
}

.hero-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-gallery-main {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



button.gallery-nav-btn.gallery-nav-next {
    position: relative;
    left: -55px;
}

/* Gallery Navigation */
.hero-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.gallery-nav-btn {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-nav-btn:hover {
    background: rgba(194, 181, 163, 0.9);
    transform: scale(1.1);
}

/* Gallery Dots */
.hero-gallery-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active,
.gallery-dot:hover {
    background: #C2B5A3;
    border-color: #C2B5A3;
}

/* ==== PROPERTY HEADER ==== */
.property-header {
    background: #ffffff;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(194, 181, 163, 0.2);
}

.property-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.property-title-section {
    flex: 1;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #666666;
    font-size: 1rem;
}

.property-location i {
    color: #C2B5A3;
}

.property-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.property-type-badge {
    display: inline-block;
}

.property-type-badge span {
    background: #000000;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-price-section {
    text-align: right;
}

.property-price-section .price-label {
    display: block;
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-price-section .price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000000;
    line-height: 1;
}

/* ==== MAIN CONTENT ==== */
.property-main-content {
    padding: 3rem 0;
}

.property-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.property-left-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ==== PROPERTY DETAILS GRID ==== */
.property-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(194, 181, 163, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(194, 181, 163, 0.2);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: #C2B5A3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.5rem;
    color: white;
}

.detail-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content p {
    margin: 0;
    color: #666666;
    font-size: 0.9rem;
}

/* ==== SECTION STYLES ==== */
.property-description,
.property-facilities-section,
.property-amenities-section,
.property-terms-section,
.property-gallery-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.property-description h2,
.property-facilities-section h2,
.property-amenities-section h2,
.property-terms-section h2,
.property-gallery-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #C2B5A3;
}

/* Description */
.description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555555;
}

.description-content p {
    margin-bottom: 1.5rem;
}

/* ==== FACILITIES GRID ==== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(194, 181, 163, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(194, 181, 163, 0.2);
    transition: all 0.3s ease;
}

.facility-item:hover {
    background: rgba(194, 181, 163, 0.15);
    transform: translateY(-2px);
}

.facility-icon {
    width: 40px;
    height: 40px;
    background: #C2B5A3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facility-icon i {
    color: white;
    font-size: 1.2rem;
}

.facility-content span {
    font-weight: 600;
    color: #333333;
}

/* ==== AMENITIES LIST ==== */
.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(194, 181, 163, 0.2);
}

.amenity-item:last-child {
    border-bottom: none;
}

.amenity-item i {
    color: #C2B5A3;
    font-size: 1rem;
}

.amenity-item span {
    color: #333333;
    font-weight: 500;
}

/* ==== TERMS SECTION ==== */
.terms-content {
    background: rgba(194, 181, 163, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(194, 181, 163, 0.2);
}

.terms-content p {
    margin-bottom: 1rem;
    color: #555555;
    line-height: 1.6;
}

/* ==== GALLERY SECTION ==== */
.gallery-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(194, 181, 163, 0.3);
    background: transparent;
    color: #666666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: #C2B5A3;
    border-color: #C2B5A3;
    color: white;
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-expand {
    background: #C2B5A3;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-expand:hover {
    transform: scale(1.1);
}

/* ==== INQUIRY SIDEBAR ==== */
.property-inquiry-sidebar {
    position: sticky;
    top: 2rem;
}

.inquiry-card {
    background: #C2B5A3;
    color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.inquiry-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.inquiry-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.inquiry-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.inquiry-content {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.inquiry-form {
    padding: 2rem;
}

.inquiry-form h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.inquiry-submit-btn {
    width: 100%;
    padding: 1rem;
    background: #000000;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.inquiry-submit-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* ==== RESPONSIVE DESIGN ==== */

/* Tablet */
@media (max-width: 992px) {
    .property-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .property-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .property-price-section {
        text-align: left;
    }
    
    .property-title {
        font-size: 2rem;
    }
    
    .property-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .property-hero-gallery {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-gallery-nav {
        padding: 0 1rem;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .property-title {
        font-size: 1.8rem;
    }
    
    .property-price-section .price-amount {
        font-size: 1.8rem;
    }
    
    .property-main-content {
        padding: 2rem 0;
    }
    
    .property-left-column {
        gap: 2rem;
    }
    
    .property-details-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .detail-item {
        flex-direction: row;
        text-align: left;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .inquiry-header,
    .inquiry-content,
    .inquiry-form {
        padding: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .property-hero-gallery {
        height: 40vh;
        min-height: 250px;
    }
    
    .property-header {
        padding: 1.5rem 0;
    }
    
    .property-title {
        font-size: 1.5rem;
    }
    
    .property-details-grid {
        gap: 0.75rem;
    }
    
    .detail-icon {
        width: 50px;
        height: 50px;
    }
    
    .detail-icon i {
        font-size: 1.2rem;
    }
    
    .gallery-filters {
        gap: 0.25rem;
    }
    
    .gallery-filter {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ==== ANIMATIONS ==== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-description,
.property-facilities-section,
.property-amenities-section,
.property-terms-section,
.property-gallery-section {
    animation: fadeInUp 0.6s ease-out;
}

/* ==== PRINT STYLES ==== */
@media print {
    .hero-gallery-nav,
    .hero-gallery-dots,
    .inquiry-card,
    .gallery-overlay {
        display: none;
    }
    
    .property-content-grid {
        grid-template-columns: 1fr;
    }
    
    .property-hero-gallery {
        height: 300px;
    }
} 