/* Instagram Section Styles */
.instagram-section {
    background: transparent;
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--text-main);
}

.instagram-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side - Text */
.instagram-text {
    padding-right: 2rem;
}

.instagram-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.instagram-title .highlight-text {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.instagram-description {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.instagram-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4);
}

/* Right Side - Phone */
.instagram-phone {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: none;
    transition: transform 0.5s ease;
}

.phone-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-notch {
    display: none;
}

.insta-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* Instagram UI in Phone */
.insta-header {
    padding: 0 16px;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dbdbdb;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.insta-logo {
    height: 29px;
    margin-top: 7px;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.insta-stories {
    padding: 10px 0;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #dbdbdb;
    background: #fff;
}

.insta-stories::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    width: 76px;
    flex-shrink: 0;
}

.story-circle {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}

.story-name {
    font-size: 11px;
    color: #262626;
    max-width: 74px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.insta-feed {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    scrollbar-width: none;
}

.insta-feed::-webkit-scrollbar {
    display: none;
}

.insta-post {
    background: #fff;
    margin-bottom: 10px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
}

.post-header {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.post-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fafafa;
    border: 1px solid #dbdbdb;
    object-fit: cover;
}

.post-username-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-username {
    font-weight: 600;
    font-size: 13px;
    color: #262626;
    line-height: 18px;
}

.post-location {
    font-size: 11px;
    color: #262626;
    line-height: 14px;
}

.post-image {
    width: 100%;
    height: 375px;
    background: #fafafa;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.post-actions-row {
    padding: 12px 14px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-icons-left {
    display: flex;
    gap: 16px;
}

.post-likes {
    padding: 0 14px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: #262626;
    display: block;
}

.post-caption {
    padding: 0 14px;
    font-size: 13px;
    color: #262626;
    line-height: 18px;
    margin-bottom: 6px;
}

.caption-text {
    font-weight: 400;
}

.post-time {
    padding: 0 14px 10px;
    font-size: 10px;
    color: #8e8e8e;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.insta-bottom-nav {
    height: 48px;
    border-top: 1px solid #dbdbdb;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

@media (max-width: 900px) {
    .instagram-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .instagram-text {
        padding-right: 0;
    }

    .instagram-stats {
        justify-content: center;
    }

    .phone-frame {
        transform: rotate(0);
    }
}