/* Full Width Image Sections - Vinhomes Green City */

/* Main full-width image container */
.full-width-image-section {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

/* Image styling within full-width sections */
.full-width-image-section img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
}

/* Ensure no container restrictions */
.full-width-image-section > div {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .full-width-image-section {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }
    
    .full-width-image-section img {
        width: 100% !important;
        height: auto !important;
    }
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .full-width-image-section {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }
}

/* Desktop optimization */
@media (min-width: 1025px) {
    .full-width-image-section {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }
}

/* Remove any potential spacing issues */
.full-width-image-section::before,
.full-width-image-section::after {
    display: none !important;
}

/* Ensure proper stacking */
.full-width-image-section {
    z-index: 1;
    position: relative;
}

/* Smooth loading transition */
.full-width-image-section img {
    transition: opacity 0.3s ease;
}

.full-width-image-section img[loading="lazy"] {
    opacity: 1;
}

.full-width-image-section img[loading="lazy"].loaded {
    opacity: 1;
} 