/* ===================================================
   VIBRANT REVAMP
   Cohesive styling for About, Projects, Contact and
   Footer to match the lime/purple hero aesthetic.
   Loaded after style.css so these rules win.
   =================================================== */

/* --- Shared section tags & titles --- */
.section-tag {
    display: inline-block;
    background-color: #baff00;
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    transform: rotate(-2deg);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.4rem;
}

.section-title-vibrant {
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin: 0;
}

.section-title-vibrant .pill {
    font-size: 3.2rem;
    padding: 0 1.2rem;
}

/* --- About (sticky word reveal) --- */
.about-skiper {
    background: #1a1a1a;
}

.about-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.about-deco-1 {
    width: 450px;
    height: 450px;
    background: #6028ff;
    top: -140px;
    left: -140px;
    opacity: 0.35;
}

.about-deco-2 {
    width: 400px;
    height: 400px;
    background: #baff00;
    bottom: -120px;
    right: -120px;
    opacity: 0.14;
}

.about-tag {
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    margin-bottom: 0;
}

.about-skiper-inner {
    font-size: 3rem;
    max-width: 860px;
}

.scroll-word {
    opacity: 0.12;
}

.scroll-word.highlighted {
    opacity: 1;
}

.text-highlight {
    color: #baff00;
}

/* --- Projects (3D crawl) --- */
.projects-3d-section {
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(186, 255, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(186, 255, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.project-card {
    background: #232323;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

.project-card:hover {
    border-color: #baff00;
    box-shadow: 10px 10px 0px rgba(186, 255, 0, 0.18);
}

.glass-icon {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.12);
    transform: rotate(-4deg);
    transition: transform 0.3s ease;
}

.project-card:hover .glass-icon {
    transform: rotate(0deg) scale(1.05);
}

.project-card-category {
    color: #baff00;
}

.glass-pill {
    background: transparent;
    border: 1px solid rgba(186, 255, 0, 0.35);
    color: #ddffa0;
}

.glass-btn {
    background: #baff00;
    color: #1a1a1a;
    font-weight: 800;
    border: 2px solid #baff00;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.35);
}

.glass-btn:hover {
    background: #d3ff4d;
    border-color: #d3ff4d;
}

.glass-btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.glass-btn-secondary:hover {
    background: transparent;
    border-color: #baff00;
    color: #baff00;
}

/* --- Contact --- */
.contact-content {
    border: 2px solid #1a1a1a;
    border-radius: 28px;
    box-shadow: 12px 12px 0px #baff00;
}

.info-card .icon {
    border: 2px solid #1a1a1a;
    border-radius: 16px;
    font-size: 1.5rem;
    transform: rotate(-4deg);
    transition: transform 0.3s ease;
}

.info-card:hover .icon {
    transform: rotate(0deg) scale(1.08);
}

.contact-info .info-card:nth-child(1) .icon {
    background-color: #baff00;
    color: #1a1a1a;
}

.contact-info .info-card:nth-child(2) .icon {
    background-color: #6028ff;
    color: #ffffff;
}

.contact-info .info-card:nth-child(3) .icon {
    background-color: #ff9900;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea {
    border: 2px solid #1a1a1a;
    border-radius: 14px;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1a1a1a;
    background: #ffffff;
    box-shadow: 4px 4px 0px #baff00;
}

/* --- Footer --- */
.slanted-bg {
    background: #6028ff;
}

.footer-cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.footer-cta-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -1px;
    margin: 0;
}

.footer-cta-title .pill {
    font-size: 2.6rem;
    margin-top: 0.8rem;
}

.footer-cta-btn {
    background-color: #baff00;
    color: #1a1a1a;
    font-weight: 800;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.footer-cta-btn:hover {
    background-color: #d3ff4d;
}

.footer-col-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 5px;
    background-color: #baff00;
    border-radius: 4px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- What I Do (services bento) --- */
.wid-card {
    border: 2px solid #1a1a1a;
    box-shadow: 6px 6px 0px rgba(26, 26, 26, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wid-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px #baff00;
}

.wid-features li i {
    font-size: 0.9rem;
}

/* --- Projects: collapsed state after the crawl finishes ---
   The 300vh scroll track shrinks into a normal section so every
   card is fully visible and scrolling up behaves like a regular page. */
.projects-3d-section.projects-revealed {
    height: auto;
    padding: 6rem 0;
}

.projects-revealed .projects-sticky-wrapper {
    position: static;
    height: auto;
    overflow: visible;
    perspective: none;
}

.projects-revealed .projects-3d-container {
    transform: none !important;
}

/* --- Project thumbnails --- */
.project-thumb {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}

/* --- Revamp responsive tweaks --- */
@media (max-width: 768px) {
    .section-title-vibrant {
        font-size: 2.6rem;
    }
    .section-title-vibrant .pill {
        font-size: 2.2rem;
    }
    .about-skiper-inner {
        font-size: 1.7rem;
    }
    .about-tag {
        top: 9vh;
    }
    .contact-content {
        box-shadow: 7px 7px 0px #baff00;
    }
    .footer-cta-title {
        font-size: 2.2rem;
    }
    .footer-cta-title .pill {
        font-size: 1.9rem;
    }
}
