/* Instagram Z-Pattern Layout */
.ig-z-pattern-section {
    background: var(--white);
    padding: 8vw 0;
    overflow: hidden;
}

.ig-z-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6vw;
    gap: 4vw;
}

.ig-z-row:nth-child(even) {
    flex-direction: row-reverse;
}

.ig-text-col {
    flex: 1;
    padding: 0 2vw;
}

.ig-text-col.ig-text-right {
    text-align: right;
}

.ig-text-col h3 {
    font-family: var(--font-body);
    font-size: clamp(40px, 5vw, 80px);
    color: var(--black);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5vw;
}

.ig-text-col h3 .highlight {
    display: block;
    font-size: 1.2em;
}

.ig-text-desc {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.2vw, 22px);
    color: rgba(0,0,0,0.7);
    line-height: 1.4;
    max-width: 80%;
}

.ig-text-col.ig-text-right .ig-text-desc {
    margin-left: auto;
}

.ig-reel-col {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
}

.ig-polaroid {
    background: var(--white);
    padding: 1vw 1vw 4vw 1vw;
    border: 3px solid var(--black);
    border-radius: 4px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    width: 100%;
}

.ig-polaroid.color-mustard { box-shadow: 1vw 1vw 0 var(--mustard); }
.ig-polaroid.color-red { box-shadow: -1vw 1vw 0 var(--red); }
.ig-polaroid.color-green { box-shadow: 1vw 1vw 0 var(--green); }
.ig-polaroid.color-orange { box-shadow: -1vw 1vw 0 var(--orange); }

.ig-z-row:nth-child(even) .ig-polaroid {
    transform: rotate(2deg);
}

.ig-z-row:nth-child(3) .ig-polaroid {
    transform: rotate(-3deg);
}

.ig-z-row:nth-child(4) .ig-polaroid {
    transform: rotate(1deg);
}

.ig-polaroid:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

.ig-polaroid iframe {
    border-radius: 2px;
    border: 2px solid var(--black);
}

@media (max-width: 991px) {
    .ig-z-row, .ig-z-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 4vw;
        margin-bottom: 12vw;
    }
    
    .ig-text-col.ig-text-right {
        text-align: center;
    }
    
    .ig-text-col.ig-text-right .ig-text-desc {
        margin: 0 auto;
    }
    
    .ig-text-desc {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .ig-text-col h3 {
        font-size: clamp(32px, 8vw, 60px);
    }
    
    .ig-polaroid {
        max-width: 300px;
        padding: 3vw 3vw 10vw 3vw;
    }
}
