/* Custom Styles for the Page */
:root {
    --text-color-light: #1e293b;
    --primary-color-light: #00809D;
    /* Teal */
    --button-bg-light: #FF7900;
    --button-hover-light: #d96700;
}

body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'Courier New', monospace;
    background-color: #ffffff;
    color: var(--text-color-light);
    scroll-behavior: smooth;
}

.text-muted {
    color: #64748b;
}

/* 3D Canvas Styles */
#tech-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Places the canvas behind all other content */
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    /* Back to light grey */
    color: var(--text-color-light);
    /* Back to default text color */
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    background-color: #FF4F0F;
    /* Orange background on hover */
    color: white;
    /* White icon color on hover */
    transform: translateY(-2px);
}

/* Tooltip styles */
.social-link::after {
    content: attr(data-name);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #1e293b;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    font-family: sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.social-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.profile-image-container {
    position: relative;
    /* Adjust size for the orange border */
    width: 240px;
    /* Bigger DP size */
    height: 240px;
    /* Bigger DP size */
    margin: auto;
    /* Center the DP */
    border-radius: 50%;
    border: 5px solid #FF4F0F;
    /* Orange border */
    overflow: hidden;
    /* Ensure image stays within border */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

@media (min-width: 768px) {
    .profile-image-container {
        width: 320px;
        /* Larger for desktop */
        height: 320px;
        /* Larger for desktop */
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Keep image circular */
    position: relative;
    z-index: 2;
    /* Ensure image is above the animation */
}

/* Navbar Active State */
.nav-link.active {
    color: var(--button-bg-light); /* Orange */
    font-weight: 700;
}

/* Navbar Scroll State */
.scrolled-nav {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Mode Overrides */
body.dark-mode {
    background-color: #0f172a;
    color: #f1f5f9;
}
body.dark-mode .bg-white,
body.dark-mode .bg-white\/70,
body.dark-mode .bg-white\/80 {
    background-color: rgba(30, 41, 59, 0.8) !important;
    border-color: #334155 !important;
}
body.dark-mode .text-\[\#1e293b\], 
body.dark-mode .text-gray-800, 
body.dark-mode .text-gray-700 {
    color: #f1f5f9 !important;
}
body.dark-mode .text-gray-600,
body.dark-mode .text-gray-500,
body.dark-mode .text-muted {
    color: #94a3b8 !important;
}
body.dark-mode .bg-gray-100,
body.dark-mode .bg-gray-200 {
    background-color: #334155 !important;
    color: #f1f5f9 !important;
}
body.dark-mode .border-gray-100,
body.dark-mode .border-gray-200 {
    border-color: #334155 !important;
}
body.dark-mode .scrolled-nav {
    background-color: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5) !important;
}
body.dark-mode .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}