/* ========================================
   HERO PROFILE AVATAR IMAGE STYLING
   ======================================== */

/* Desktop hero profile avatar - personal image */
.hero-profile-avatar {
    width: 180px !important;
    height: 180px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
    background: var(--bg-dark) !important;
    border: 3px solid var(--primary-gold) !important;
    box-shadow:
        0 0 0 2px rgba(251, 191, 36, 0.3),
        0 8px 32px rgba(251, 191, 36, 0.4),
        0 16px 64px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
    margin: 0 auto !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

.hero-profile-avatar:hover {
    transform: scale(1.05) !important;
    border-color: var(--primary-gold-hover) !important;
    box-shadow:
        0 0 0 3px rgba(251, 191, 36, 0.4),
        0 12px 40px rgba(251, 191, 36, 0.5),
        0 20px 80px rgba(0, 0, 0, 0.4) !important;
}

/* Add a subtle glow effect behind the image */
.hero-image-container::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 220px !important;
    height: 220px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Ensure hero image container is properly positioned */
.hero-image-container {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Mobile responsive styling for hero profile avatar */
@media (max-width: 768px) {
    .hero-profile-avatar {
        width: 150px !important;
        height: 150px !important;
        border-width: 3px !important;
        box-shadow:
            0 0 0 2px rgba(251, 191, 36, 0.25),
            0 6px 24px rgba(251, 191, 36, 0.35),
            0 12px 48px rgba(0, 0, 0, 0.25) !important;
    }

    .hero-profile-avatar:hover {
        transform: scale(1.03) !important;
        box-shadow:
            0 0 0 2px rgba(251, 191, 36, 0.35),
            0 8px 28px rgba(251, 191, 36, 0.4),
            0 16px 56px rgba(0, 0, 0, 0.3) !important;
    }

    .hero-image-container::before {
        width: 170px !important;
        height: 170px !important;
    }
}

@media (max-width: 480px) {
    .hero-profile-avatar {
        width: 120px !important;
        height: 120px !important;
        border-width: 2px !important;
        box-shadow:
            0 0 0 1px rgba(251, 191, 36, 0.2),
            0 4px 16px rgba(251, 191, 36, 0.3),
            0 8px 32px rgba(0, 0, 0, 0.2) !important;
    }

    .hero-profile-avatar:hover {
        transform: scale(1.02) !important;
        box-shadow:
            0 0 0 2px rgba(251, 191, 36, 0.3),
            0 6px 20px rgba(251, 191, 36, 0.35),
            0 12px 40px rgba(0, 0, 0, 0.25) !important;
    }

    .hero-image-container::before {
        width: 140px !important;
        height: 140px !important;
    }
}

@media (max-width: 360px) {
    .hero-profile-avatar {
        width: 100px !important;
        height: 100px !important;
        border-width: 2px !important;
    }

    .hero-image-container::before {
        width: 120px !important;
        height: 120px !important;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-profile-avatar {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
}

/* ========================================
   END HERO PROFILE AVATAR IMAGE STYLING
   ======================================== */

/* ========================================
   ABOUT PAGE PROFILE AVATAR IMAGE STYLING
   ======================================== */

/* About page profile avatar - same styling as hero avatar */
.about-profile-avatar {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
    background: var(--bg-dark) !important;
    border: 3px solid var(--primary-gold) !important;
    box-shadow:
        0 0 0 2px rgba(251, 191, 36, 0.3),
        0 8px 32px rgba(251, 191, 36, 0.4),
        0 16px 64px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
    margin: 0 auto 20px auto !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

.about-profile-avatar:hover {
    transform: scale(1.05) !important;
    border-color: var(--primary-gold-hover) !important;
    box-shadow:
        0 0 0 3px rgba(251, 191, 36, 0.4),
        0 12px 40px rgba(251, 191, 36, 0.5),
        0 20px 80px rgba(0, 0, 0, 0.4) !important;
}

/* Mobile responsive styling for about profile avatar */
@media (max-width: 768px) {
    .about-profile-avatar {
        width: 120px !important;
        height: 120px !important;
        border-width: 2px !important;
        box-shadow:
            0 0 0 1px rgba(251, 191, 36, 0.25),
            0 6px 24px rgba(251, 191, 36, 0.35),
            0 12px 48px rgba(0, 0, 0, 0.25) !important;
    }

    .about-profile-avatar:hover {
        transform: scale(1.03) !important;
        box-shadow:
            0 0 0 2px rgba(251, 191, 36, 0.35),
            0 8px 28px rgba(251, 191, 36, 0.4),
            0 16px 56px rgba(0, 0, 0, 0.3) !important;
    }
}

@media (max-width: 480px) {
    .about-profile-avatar {
        width: 100px !important;
        height: 100px !important;
        border-width: 2px !important;
        box-shadow:
            0 0 0 1px rgba(251, 191, 36, 0.2),
            0 4px 16px rgba(251, 191, 36, 0.3),
            0 8px 32px rgba(0, 0, 0, 0.2) !important;
    }

    .about-profile-avatar:hover {
        transform: scale(1.02) !important;
        box-shadow:
            0 0 0 2px rgba(251, 191, 36, 0.3),
            0 6px 20px rgba(251, 191, 36, 0.35),
            0 12px 40px rgba(0, 0, 0, 0.25) !important;
    }
}

@media (max-width: 360px) {
    .about-profile-avatar {
        width: 90px !important;
        height: 90px !important;
        border-width: 2px !important;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .about-profile-avatar {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
}

/* ========================================
   END ABOUT PAGE PROFILE AVATAR IMAGE STYLING
   ======================================== */

/* ========================================
   FOOTER BUTTON STYLING - WEBSITE THEME
   ======================================== */

/* Footer button styling - matching website's dark theme with gold accents */
.footer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.footer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-btn:hover::before {
    left: 100%;
}

.footer-btn:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.2);
    text-decoration: none;
}

/* Footer button icons */
.footer-btn-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.footer-btn:hover .footer-btn-icon {
    filter: brightness(1.2) sepia(1) saturate(2) hue-rotate(25deg);
}

/* Specific button styles - all using consistent website theme */
.footer-btn-resume {
    background: var(--bg-card);
    border-color: var(--border-primary);
    color: var(--text-secondary);
}

.footer-btn-resume:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.25);
}

.footer-btn-github {
    background: var(--bg-card);
    border-color: var(--border-primary);
    color: var(--text-secondary);
}

.footer-btn-github:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.25);
}

.footer-btn-linkedin {
    background: var(--bg-card);
    border-color: var(--border-primary);
    color: var(--text-secondary);
}

.footer-btn-linkedin:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.25);
}

/* Mobile responsive footer button styling */
@media (max-width: 768px) {
    .footer-btn {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 10px;
    }

    .footer-btn-icon {
        width: 14px;
        height: 14px;
    }

    .footer-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
    }
}

@media (max-width: 480px) {
    .footer-btn {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 8px;
    }

    .footer-btn-icon {
        width: 12px;
        height: 12px;
    }

    .footer-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 12px rgba(251, 191, 36, 0.15);
    }
}

/* Touch device optimizations for footer buttons */
@media (hover: none) and (pointer: coarse) {
    .footer-btn:hover {
        transform: none;
        background: var(--bg-card);
        border-color: var(--border-primary);
        color: var(--text-secondary);
        box-shadow: none;
    }

    .footer-btn:active {
        background: rgba(15, 23, 42, 0.9);
        border-color: var(--primary-gold);
        color: var(--primary-gold);
        transform: scale(0.95);
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    }

    .footer-btn:active .footer-btn-icon {
        filter: brightness(1.2) sepia(1) saturate(2) hue-rotate(25deg);
    }
}

/* ========================================
   END FOOTER BUTTON STYLING - WEBSITE THEME
   ======================================== */
