/* Icons for property features */
.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

/* Lightbox customization */
.lightbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.lightbox-item {
    flex: 0 0 calc(33.333% - 10px);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.lightbox-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.lightbox-item:hover img {
    transform: scale(1.05);
}

/* Video section */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 40px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f3e7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-placeholder i {
    font-size: 48px;
    color: #d98324;
    margin-bottom: 15px;
}

/* Property map */
.property-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f5f3e7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder i {
    font-size: 48px;
    color: #1a3c5a;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    background-color: #f5f3e7;
    padding: 80px 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    text-align: center;
    padding: 30px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: #1a3c5a;
}

/* Image comparison slider */
.comparison-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.comparison-before {
    left: 0;
    background-size: cover;
    background-position: center;
}

.comparison-after {
    left: 50%;
    background-size: cover;
    background-position: center;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #fff;
    cursor: ew-resize;
    z-index: 10;
}

.comparison-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Weather widget */
.weather-widget {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.weather-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.weather-icon {
    font-size: 36px;
    margin-right: 15px;
    color: #d98324;
}

.weather-location {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a3c5a;
}

.weather-details {
    display: flex;
    justify-content: space-between;
}

.weather-temp {
    font-size: 1.5rem;
    font-weight: 600;
}

.weather-desc {
    color: #666;
}

/* Property timeline */
.property-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #d98324;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: #d98324;
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-date {
    font-weight: 600;
    color: #1a3c5a;
    margin-bottom: 5px;
}

/* 3D tour placeholder */
.tour-placeholder {
    width: 100%;
    height: 500px;
    background-color: #f5f3e7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.tour-placeholder i {
    font-size: 64px;
    color: #4a6741;
    margin-bottom: 15px;
}

/* Seasonal photos section */
.seasonal-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.seasonal-photo {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.seasonal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seasonal-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 60, 90, 0.8);
    color: #fff;
    padding: 8px;
    text-align: center;
}

@media (max-width: 768px) {
    .seasonal-photos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lightbox-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .seasonal-photos {
        grid-template-columns: 1fr;
    }
    
    .lightbox-item {
        flex: 0 0 100%;
    }
}
