/* Collabs Page - Professional Masonry Gallery */

/* Fixed Navigation at Top */
.collabs-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.collabs-nav.fade-out {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.collabs-nav .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.collab-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.collab-cta-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 107, 157, 0.5);
}

/* Hero Section */
.collabs-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.15) 0%,
        rgba(255, 193, 69, 0.15) 50%,
        rgba(78, 205, 196, 0.15) 100%
    ),
    url('https://page.gensparksite.com/v1/base64_upload/68767ef74d00802b2742a3b89b66d659');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.mega-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 50%,
        var(--accent-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-dark);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
}

.scroll-hint.fade-out {
    opacity: 0;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    background: var(--white);
    min-height: 100vh;
}

.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Simple 3-Column Grid - Borderless, Scrollable */
.simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    width: 100%;
}

.grid-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* Grid Overlay with Creator Tags */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.grid-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.grid-tags span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Instagram Link Item */
.instagram-link-item .instagram-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    gap: 1rem;
}

.instagram-placeholder .fab.fa-instagram {
    font-size: 4rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.collab-names-placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.creator-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.collab-names-placeholder .x-symbol {
    font-size: 1.2rem;
    font-weight: 700;
}

.view-on-instagram {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    margin: 0;
}

.instagram-link-item:hover .instagram-placeholder {
    background: linear-gradient(135deg, #9b4abf, #ff2d2d, #ff8947);
}

/* Gallery Placeholder */
.gallery-placeholder {
    grid-column: 1 / -1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(255, 107, 157, 0.05) 0%,
        rgba(255, 193, 69, 0.05) 100%
    );
    border-radius: 16px;
    text-align: center;
    padding: 3rem;
}

.placeholder-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Call to Action */
.collab-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg,
        rgba(255, 107, 157, 0.1) 0%,
        rgba(255, 193, 69, 0.1) 100%
    );
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.collab-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.collab-cta p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.3);
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 48px rgba(255, 107, 157, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .simple-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .collabs-nav .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-title {
        font-size: 1.2rem;
    }

    .collab-cta-btn span,
    .back-link span {
        display: none;
    }

    .mega-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .gallery-section {
        padding: 2rem 1rem;
    }

    .gallery-header {
        margin-bottom: 2rem;
    }

    .simple-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .collab-cta h2 {
        font-size: 2rem;
    }

    .collab-cta p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .grid-tags span {
        font-size: 0.75rem;
    }

    .grid-overlay {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .simple-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .grid-tags {
        font-size: 0.7rem;
    }
}
