/* Page-specific styles: instagram.css */

/* Font Imports */

        /* General Reset */

        body {
            width: 100%;
            margin: 0 auto;
            font-family: 'MiSans-Regular', sans-serif;
            background-color: #FFFFFF;
            color: #2C3E50;
        }

        ul {
            list-style: none;
        }

        /* Color Variables */

        /* Helper Classes */
        .container {
            width: 90%;
            max-width: 1440px;
            margin: 0 auto;
        }

        .section-title {
            font-family: 'Alibaba-PuHuiTi-Bold', sans-serif;
            font-size: 42px;
            color: var(--dark-green);
            text-align: center;
            margin-bottom: 50px;
        }

     
        
        /* HERO SECTION */
        .hero {
            background-color: var(--dark-green);
            color: var(--white);
            padding: 5px 0 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .breadcrumb {
            display: none !important;
        }

        .hero h1 {
            font-family: 'Alibaba-PuHuiTi-Bold';
            font-size: clamp(32px, 8vw, 64px);
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 24px;
            color: var(--soft-sage);
            margin-bottom: 30px;
        }

        .instagram-handle {
            font-family: 'Alibaba-PuHuiTi-Bold';
            font-size: clamp(20px, 4vw, 32px);
            color: var(--teal-green);
            margin-bottom: 40px;
            display: block;
        }

        .hero .btn-follow {
            background-color: var(--teal-green);
            color: var(--white);
            font-size: 20px;
            padding: 16px 40px;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 10px 20px rgba(119, 191, 163, 0.3);
        }

        /* FEATURED POSTS */
        .featured-posts {
            background-color: var(--light-cream);
            padding: 100px 0;
        }

        .featured-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .featured-card {
            background: var(--white);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
            position: relative;
        }
        
        .featured-card:hover {
            transform: translateY(-10px);
        }

        .featured-img-wrapper {
            width: 100%;
            height: 400px;
            background-color: #eee;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid var(--teal-green);
        }

        .featured-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .featured-content {
            padding: 25px;
        }

        .featured-date {
            color: #999;
            font-size: 14px;
            margin-bottom: 10px;
            display: block;
        }

        .featured-caption {
            font-family: 'MiSans-Medium';
            font-size: 18px;
            line-height: 1.5;
            color: var(--dark-green);
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .featured-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #f0f0f0;
            padding-top: 20px;
        }

        .engagement {
            display: flex;
            gap: 15px;
            color: #666;
            font-size: 14px;
        }

        .engagement span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .view-link {
            color: var(--teal-green);
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* INSTAGRAM STORIES */
        .stories-section {
            background-color: var(--pale-green);
            padding: 60px 0;
            overflow: hidden;
        }

        .stories-wrapper {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .story-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
        }

        .story-circle {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid var(--teal-green);
            padding: 4px;
            background: var(--white);
            margin-bottom: 15px;
            transition: transform 0.3s;
        }

        .story-circle img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .story-item:hover .story-circle {
            transform: scale(1.05);
            border-color: var(--medium-green);
        }

        .story-name {
            font-family: 'MiSans-Medium';
            font-size: 16px;
            color: var(--dark-green);
        }

        /* RECENT POSTS GRID */
        .instagram-feed {
            background-color: var(--white);
            padding: 100px 0;
        }

        .feed-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .feed-item {
            position: relative;
            padding-bottom: 100%; /* Square aspect ratio */
            background-color: #f5f5f5;
            overflow: hidden;
            border-radius: 12px;
            border: 2px solid transparent;
            transition: all 0.3s;
        }

        .feed-item:hover {
            border-color: var(--teal-green);
        }

        .feed-item img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .feed-item:hover img {
            transform: scale(1.1);
        }

        .feed-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(44, 62, 80, 0.7);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s;
            color: var(--white);
        }

        .feed-item:hover .feed-overlay {
            opacity: 1;
        }

        .overlay-stats {
            display: flex;
            gap: 20px;
            font-size: 18px;
            font-weight: 600;
        }

        .overlay-stats div {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .post-category {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--teal-green);
            color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            z-index: 2;
        }

        /* ENGAGEMENT SECTION */
        .engagement-section {
            padding: 100px 0;
            background-color: var(--light-cream);
            text-align: center;
            border-top: 1px solid #eee;
        }

        .stats-container {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 50px 0;
            flex-wrap: wrap;
        }

        .stat-box {
            text-align: center;
            min-width: 150px;
        }

        .stat-number {
            font-family: 'Alibaba-PuHuiTi-Bold';
            font-size: clamp(40px, 6vw, 60px);
            color: var(--teal-green);
            line-height: 1;
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 18px;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* HASHTAGS */
        .hashtags-section {
            background-color: var(--light-cream);
            padding: 80px 0;
            text-align: center;
        }

        .hashtag-cloud {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .hashtag-pill {
            background-color: var(--white);
            color: var(--teal-green);
            padding: 12px 24px;
            border-radius: 30px;
            font-family: 'MiSans-Medium';
            font-size: 18px;
            border: 1px solid var(--teal-green);
            transition: all 0.3s;
        }

        .hashtag-pill:hover {
            background-color: var(--teal-green);
            color: var(--white);
            transform: translateY(-2px);
        }

        /* USER GENERATED CONTENT */
        .ugc-section {
            background-color: var(--white);
            padding: 100px 0;
            text-align: center;
        }

        .ugc-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .ugc-item {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            border: 3px solid var(--teal-green);
            height: 350px;
        }

        .ugc-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .ugc-user {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 20px;
            color: white;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .ugc-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #ccc;
            border: 2px solid var(--white);
        }

        /* SOCIAL LINKS */
        .social-links-section {
            background-color: var(--teal-green);
            padding: 80px 0;
            text-align: center;
        }

        .social-links-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .social-btn {
            background: rgba(255,255,255,0.2);
            padding: 20px 40px;
            border-radius: 12px;
            color: var(--white);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            min-width: 180px;
            transition: background 0.3s;
        }

        .social-btn:hover {
            background: rgba(255,255,255,0.3);
        }

        .social-btn i {
            font-size: 32px;
        }

        .social-count {
            font-size: 14px;
            opacity: 0.9;
        }

        /* FOOTER */
        footer {
            background-color: var(--dark-green);
            color: var(--white);
            padding: 80px 5% 40px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 60px;
            margin-bottom: 60px;
        }

        .footer-logo {
            font-family: 'Alibaba-PuHuiTi-Bold';
            font-size: 24px;
            margin-bottom: 20px;
            display: inline-block;
        }

        .footer-desc {
            color: rgba(255,255,255,0.7);
            line-height: 1.6;
            max-width: 300px;
        }

        .footer-col h4 {
            font-family: 'MiSans-Bold';
            font-size: 18px;
            margin-bottom: 25px;
            color: var(--medium-green);
        }

        .footer-links li {
            margin-bottom: 15px;
        }

        .footer-links a {
            color: rgba(255,255,255,0.8);
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--teal-green);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 30px;
            text-align: center;
            color: rgba(255,255,255,0.5);
            font-size: 14px;
        }

        /* Utility for Background Images (Simulated) */
        .bg-pattern {
            background-image: radial-gradient(var(--medium-green) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0.1;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
          
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 600px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
        }
