/* Property Detail Page Styles - Modern Design */

.property-detail-section {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Gallery / Carousel */
.property-gallery {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.property-carousel-container {
    width: 100%;
}

.property-carousel-main {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f5f3;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    border-color: var(--primary);
    width: 12px;
    height: 12px;
}

/* Property Info */
.property-info {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(71, 70, 45, 0.08);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.property-header {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(71, 70, 45, 0.1);
}

.property-category-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.property-header h1 {
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.property-price-large {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.property-meta {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(71, 70, 45, 0.1);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(71, 70, 45, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.meta-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.available-from-item {
    background: linear-gradient(135deg, rgba(71, 70, 45, 0.05), rgba(104, 104, 69, 0.03));
    padding: 14px 18px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-top: 8px;
}

.available-from-value {
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

.property-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(71, 70, 45, 0.1);
}

.feature-box {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f3 100%);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(71, 70, 45, 0.05);
}

.feature-box:hover {
    background: linear-gradient(135deg, #f5f5f3 0%, #f0f0ee 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(71, 70, 45, 0.15);
}

.feature-value {
    font-size: 32px;
    color: var(--primary-dark);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 8px;
    line-height: 1;
}

.feature-label {
    font-size: 13px;
    color: rgba(71, 70, 45, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.property-tags {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(71, 70, 45, 0.1);
}

.property-tags h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f3 100%);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(71, 70, 45, 0.1);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.property-actions {
    display: flex;
    gap: 16px;
    margin-top: 35px;
}

.btn-schedule,
.btn-call {
    flex: 1;
    padding: 18px 32px;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-schedule {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 16px rgba(71, 70, 45, 0.2);
}

.btn-schedule:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(71, 70, 45, 0.3);
}

.btn-call {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-call:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Description Section */
.property-description-section,
.property-location-section {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(71, 70, 45, 0.08);
    margin-bottom: 40px;
}

.property-description-section h2,
.property-location-section h2 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.description-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.location-info p {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.location-info strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Schedule Modal */
.schedule-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.schedule-modal-content {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.schedule-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(71, 70, 45, 0.1);
}

.schedule-modal-header h2 {
    font-size: 32px;
    color: var(--primary-dark);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.schedule-modal-close {
    background: none;
    border: none;
    font-size: 36px;
    color: rgba(71, 70, 45, 0.6);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.schedule-modal-close:hover {
    background: rgba(71, 70, 45, 0.1);
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(71, 70, 45, 0.12);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
    color: var(--text-dark);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%2347462D' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 50px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(71, 70, 45, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(71, 70, 45, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.notification {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Related Properties */
.related-properties-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

/* Responsive */
@media (max-width: 968px) {
    .property-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .property-gallery,
    .property-info {
        position: relative;
        top: 0;
    }
    
    .property-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-actions {
        flex-direction: column;
    }
    
    .main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .property-detail-section {
        padding: 120px 0 60px;
    }
    
    .property-info {
        padding: 30px;
    }
    
    .property-header h1 {
        font-size: 28px;
    }
    
    .property-price-large {
        font-size: 32px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .property-description-section,
    .property-location-section {
        padding: 30px;
    }
    
    .property-description-section h2,
    .property-location-section h2 {
        font-size: 28px;
    }
    
    .schedule-modal-content {
        padding: 30px 20px;
    }
    
    .schedule-modal-header h2 {
        font-size: 24px;
    }
    
    .property-features-grid {
        grid-template-columns: 1fr;
    }
}
