/* Glassmorphism Portfolio Block - Converted from Tailwind/Framer */

.glass-portfolio-section {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
    background-color: transparent;
}

.glass-portfolio-section .max-w-6xl {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 15px;
}

.glass-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem; /* 24px */
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .glass-card {
        padding: 3rem;
        border-radius: 1.5rem;
    }
}

.glass-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.02), transparent, transparent);
    pointer-events: none;
    z-index: 0;
}

.glass-grid {
    display: grid;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .glass-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.glass-left-col > * + * {
    margin-top: 2rem;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.6);
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    transition: background-color 0.3s;
}

.glass-badge:hover {
    background: rgba(255,255,255,0.8);
}

.glass-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .glass-title {
        font-size: 1.875rem;
    }
}

.glass-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(0,0,0,0.7);
    max-width: 36rem;
    margin-bottom: 1rem;
}

.glass-highlights {
    display: grid;
    gap: 1rem;
}

.glass-highlight-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.6);
    padding: 1.25rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.glass-highlight-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0,0,0,0.15);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.highlight-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.03), transparent, transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.glass-highlight-item:hover .highlight-hover-overlay {
    opacity: 1;
}

.highlight-content {
    position: relative;
    z-index: 1;
}

.highlight-content h5 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(0,0,0,0.4);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(0,0,0,0.7);
    margin: 0;
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    background: #1a202c;
    color: white !important;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    width: 100%;
}

@media (min-width: 576px) {
    .glass-btn {
        width: auto;
    }
}

.glass-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    transform: translateY(-2px);
    color: white;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.glass-right-col {
    position: relative;
    height: 100%;
}

.profile-glow-bg {
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    background: linear-gradient(to bottom, rgba(59,130,246,0.1), transparent, transparent);
    filter: blur(24px);
    z-index: 0;
}

.glass-profile-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.7);
    padding: 2rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1;
}

.profile-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8rem;
    height: 8rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(59,130,246,0.15);
    filter: blur(24px);
    z-index: 0;
}

.avatar-img {
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    object-fit: cover;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
    z-index: 1;
}

.profile-titles {
    margin-bottom: 1rem;
}

.profile-titles h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.profile-titles p {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(0,0,0,0.45);
    margin: 0;
}

.profile-bio {
    max-width: 24rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(0,0,0,0.7);
    margin: 0;
}

.glass-social-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.glass-social-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.8);
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    text-decoration: none !important;
    color: inherit;
}

.glass-social-item:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.glass-social-item:active {
    transform: scale(0.985);
}

.social-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-icon-wrapper {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    color: rgba(0,0,0,0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.social-icon-wrapper i {
    width: 1rem;
    height: 1rem;
}

.glass-social-item:hover .social-icon-wrapper {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.social-text {
    text-align: left;
}

.social-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.social-handle {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.6);
    margin: 0;
}

.social-arrow {
    width: 1rem;
    height: 1rem;
    color: rgba(0,0,0,0.4);
    transition: all 0.3s;
}

.glass-social-item:hover .social-arrow {
    transform: translate(2px, -2px);
    color: rgba(0,0,0,0.7);
}
