/* ============================================
   FULL-WIDTH STRUCTURAL IMAGE SECTIONS
   Matching neeyumnanae.com image placement logic
   ============================================ */

/* Full-Width Image Container */
.image-section {
    width: 100%;
    padding: 0;
    margin: var(--spacing-3xl) 0;
    overflow: hidden;
}

.image-section.no-margin-top {
    margin-top: 0;
}

.image-section.no-margin-bottom {
    margin-bottom: 0;
}

/* Full-Width Image Display */
.full-width-image {
    width: 100%;
    min-height: 400px;
    height: 50vh;
    max-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional Overlay for Contrast */
.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.image-overlay.dark {
    background: rgba(0, 0, 0, 0.3);
}

.image-overlay.light {
    background: rgba(255, 255, 255, 0.1);
}

/* Image with Text Overlay */
.image-section-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--color-white);
}

.image-section-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-3xl);
}

.image-section-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-size-lg);
}

/* Alternative: Image as Block Element */
.full-width-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

/* Responsive Heights */
@media (max-width: 768px) {
    .full-width-image {
        min-height: 300px;
        height: 40vh;
        max-height: 400px;
    }

    .image-section {
        margin: var(--spacing-2xl) 0;
    }

    .image-section-content h2 {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 480px) {
    .full-width-image {
        min-height: 250px;
        height: 35vh;
    }

    .image-section {
        margin: var(--spacing-xl) 0;
    }
}