/* Shared styles for property detail pages (farmland, housing, venture, resort,
   high-demand project, newly-launched project). Generated from the identical
   inline <style> rules those templates carried; page-specific rules stay inline. */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;600&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.luxury-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}
.luxury-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}
.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
}
.luxury-carousel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: slideInLeft 0.8s ease-out;
}
.luxury-carousel .carousel-item {
    position: relative;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.luxury-carousel .carousel-item img, .luxury-carousel .carousel-item video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.5s ease, filter 0.3s ease;
}
.carousel-item.active img:hover, .carousel-item.active video:hover {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1);
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #2e4372;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
    transform: scale(1.15);
    background-color: #0056b3;
}
.luxury-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}
.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}
.luxury-description .section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    color: #1a2a44;
    background: linear-gradient(90deg, #1a2a44, #2e4372);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 3px solid #2e4372;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1.2px;
    transition: transform 0.3s ease;
}
.luxury-description .section-title:hover {
    transform: scale(1.05);
}
.description-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.9;
    letter-spacing: 0.5px;
    animation: fadeIn 1s ease-in-out;
}
.luxury-details-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 0;
    border-top: 6px solid #2e4372;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInRight 0.8s ease-out;
}
.luxury-details-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.property-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    color: #1a2a44;
    background: linear-gradient(90deg, #1a2a44, #2e4372);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: transform 0.3s ease;
}
.property-title:hover {
    transform: scale(1.05);
}
.price-text {
    font-size: 1.8rem;
    color: #0056b3;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}
.location-text {
    font-size: 1.2rem;
    color: #777;
    font-style: italic;
    letter-spacing: 0.5px;
}
.luxury-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #0056b3, #2e4372);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.luxury-btn:hover {
    background: linear-gradient(90deg, #003087, #1a2a44);
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}
.luxury-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.luxury-btn:hover::after {
    width: 400px;
    height: 400px;
    opacity: 0;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@media (min-width: 768px) {
    .col-md-6 {
            flex: 0 0 48%;
            max-width: 48%;
        }
    .luxury-carousel .carousel-item img, .luxury-carousel .carousel-item video {
            height: 400px;
        }
    .thumbnail-item img, .thumbnail-item video {
            height: 90px;
            width: 90px;
        }
    .property-title {
            font-size: 2.6rem;
        }
    .price-text {
            font-size: 2.1rem;
        }
}
@media (min-width: 992px) {
    .luxury-carousel .carousel-item img, .luxury-carousel .carousel-item video {
            height: 500px;
        }
    .thumbnail-item img, .thumbnail-item video {
            height: 100px;
            width: 100px;
        }
    .luxury-details-box {
            position: sticky;
            top: 20px;
            padding: 40px;
        }
    .property-title {
            font-size: 3rem;
        }
    .price-text {
            font-size: 2.4rem;
        }
}
