/* Instagram (OGIG) Page Styles */

.insta-hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(14, 17, 38, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%),
                url('https://images.unsplash.com/photo-1613972858172-435f7518fbbd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: -85px;
    padding-top: 85px;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(14,17,38,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.insta-watermark {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    width: 600px;
    opacity: 0.15;
    fill: #D62828; /* Instagram Red */
    pointer-events: none;
    z-index: 1;
}

.hero-z {
    position: relative;
    z-index: 5;
    width: 100%;
}

.insta-hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.insta-title {
    color: #fff;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin: 20px 0;
    letter-spacing: -2px;
}

.insta-lead {
    font-size: clamp(18px, 2vw, 24px);
    opacity: 0.9;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 35px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle.gold {
    display: inline-block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-subtitle.gold::before,
.section-subtitle.gold::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 35px;
    height: 2px;
    background: var(--gradient-1);
    margin: 0 15px;
}

/* Instagram Feed Section */
.instagram-feed-wrapper {
    min-height: 400px;
    padding: 80px 0;
}

/* Force Vertical Reels Aspect Ratio */
#sb_instagram .sbi_item {
    aspect-ratio: 9 / 16 !important;
    height: auto !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background: #f0f0f0;
}

#sb_instagram .sbi_link, 
#sb_instagram .sbi_photo {
    height: 100% !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
}

#sb_instagram .sbi_item:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(14, 17, 38, 0.15) !important;
    z-index: 10;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .insta-hero {
        height: auto;
        min-height: 400px;
        padding: 120px 0 80px;
    }
}

@media (max-width: 992px) {
    .insta-title {
        font-size: 48px;
    }
    .insta-watermark {
        width: 450px;
        right: -120px;
    }
}

@media (max-width: 768px) {
    .insta-hero {
        min-height: 360px;
        padding: 100px 0 60px;
    }
    .insta-watermark {
        width: 400px;
        right: -150px;
    }
}

@media (max-width: 600px) {
    .insta-hero {
        min-height: 320px;
        padding: 110px 0 60px;
    }
    .insta-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .insta-lead {
        font-size: 15px;
        line-height: 1.5;
    }
    .instagram-feed-wrapper {
        padding: 40px 0;
    }
}
