/* =============================================
   INSTAGRAM SHOWCASE SECTION - LIGHT THEME
============================================= */
.insta-section {
    padding: 80px 40px;
    background: #F8F9FB;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #E7EAF0;
    border-bottom: 1px solid #E7EAF0;
}

.insta-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.insta-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #E7EAF0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* ---- Profile Header ---- */
.insta-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 26px;
    border-bottom: 1px solid #efefef;
    background: #fff;
}

.insta-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.insta-avatar-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    padding: 2.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insta-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.insta-avatar img,
.insta-avatar-inner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FB;
    font-size: 20px;
    font-weight: 900;
    color: #FF7A1A;
    letter-spacing: -1px;
    font-family: 'Courier New', monospace;
    border: 1px solid #E7EAF0;
}

.insta-meta {
    flex: 1;
}

.insta-username-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.insta-name {
    font-size: 17px;
    font-weight: 700;
    color: #2A262D;
    font-family: inherit;
    margin: 0;
    line-height: 1;
}

.insta-verified {
    color: #0095f6;
    font-size: 15px;
}

.insta-handle {
    font-size: 13px;
    color: #6F6B73;
    margin-bottom: 10px;
    font-family: inherit;
}

.insta-stats {
    display: flex;
    gap: 28px;
}

.insta-stat {
    text-align: center;
}

.insta-stat strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #2A262D;
    line-height: 1.1;
}

.insta-stat span {
    font-size: 12px;
    color: #6F6B73;
}

.insta-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.insta-btn-follow {
    background: #0095f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.insta-btn-follow:hover {
    background: #0081d6;
    color: #fff;
    text-decoration: none;
}

.insta-btn-msg {
    background: #efefef;
    color: #2A262D;
    border: none;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.insta-btn-msg:hover {
    background: #dbdbdb;
    color: #2A262D;
    text-decoration: none;
}

/* ---- Posts Slider ---- */
.insta-slider-wrap {
    position: relative;
    background: #fafafa;
    overflow: hidden;
}

.insta-posts-track {
    display: flex;
    transition: transform 0.42s cubic-bezier(.4,0,.2,1);
}

.insta-post {
    min-width: calc(100% / 3);
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 0.5px solid #efefef;
}

.insta-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.insta-post:hover img {
    transform: scale(1.06);
}

/* Hover overlay with stats */
.insta-post-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    opacity: 0;
    transition: all 0.3s ease;
}

.insta-post:hover .insta-post-overlay {
    background: rgba(0,0,0,0.38);
    opacity: 1;
}

.insta-post-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

/* Brand watermark at bottom of each post */
.insta-post-brand {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 12px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, transparent 100%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.insta-post-brand-logo {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #F8F9FB;
    border: 1.5px solid rgba(255, 122, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    color: #FF7A1A;
    letter-spacing: -0.5px;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

.insta-post-brand-info {
    display: flex;
    flex-direction: column;
}

.insta-post-brand-name {
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.insta-post-brand-date {
    color: rgba(255,255,255,0.75);
    font-size: 10px;
    line-height: 1.2;
}

/* Multi-image indicator */
.insta-multi-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 18px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

/* Reel icon */
.insta-reel-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 18px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

/* Arrow navigation */
.insta-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: #262626;
    font-size: 14px;
}

.insta-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.32);
    transform: translateY(-50%) scale(1.08);
}

.insta-arrow-left  { left: 10px; }
.insta-arrow-right { right: 10px; }

/* ---- Section heading above card ---- */
.insta-section-label {
    text-align: center;
    margin-bottom: 36px;
}

.insta-section-label h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2A262D;
    margin-bottom: 6px;
}

.insta-section-label h2 span {
    color: #FF7A1A;
}

.insta-section-label p {
    color: #6F6B73;
    font-size: 14px;
}

.insta-section-label .insta-ig-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #bc1888);
    color: #fff;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Dots pagination */
.insta-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0 0;
    background: #fff;
    margin-bottom: 10px;
}

.insta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dbdbdb;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.insta-dot.active {
    background: #FF7A1A;
    transform: scale(1.3);
}

/* ---- Footer strip inside card ---- */
.insta-footer-strip {
    padding: 14px 26px;
    border-top: 1px solid #efefef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.insta-footer-strip a {
    font-size: 13px;
    color: #FF7A1A;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.insta-footer-strip a:hover {
    text-decoration: underline;
    color: #A8C93C;
}

.insta-footer-strip-text {
    font-size: 12px;
    color: #6F6B73;
}

/* Responsive */
@media (max-width: 768px) {
    .insta-section {
        padding: 60px 16px;
    }

    .insta-header {
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px;
    }

    .insta-actions {
        width: 100%;
    }

    .insta-btn-follow,
    .insta-btn-msg {
        flex: 1;
        justify-content: center;
    }

    .insta-stats {
        gap: 16px;
    }

    .insta-section-label h2 {
        font-size: 24px;
    }

    .insta-post-brand-name {
        font-size: 10px;
    }

    .insta-post-brand-date {
        font-size: 9px;
    }

    .insta-footer-strip {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
