/* --- Global Styles & Resets --- */
body {
    font-family: 'NormalText', sans-serif;
    background-color: #0d1117; /* Rich Black */
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 25px 25px;
    color: #e6edf3; /* Light Gray */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* --- Hero Section Parallax --- */
#home {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1534972195531-d756b9bfa9f2?w=800&auto=format&fit=crop');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 17, 23, 0.6);
    z-index: 1;
}

#home .container {
    position: relative;
    z-index: 2;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6, .font-big {
    font-family: 'BigText', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p, a, span, label, textarea, button, .font-long {
    font-family: 'LongText', sans-serif;
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #22d3ee, #0ea5e9);
}

/* --- Header & Navigation --- */
.header-nav {
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #22d3ee; /* Cyan */
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #22d3ee; /* Cyan */
}

/* --- Buttons & Interactive Elements --- */
.glow-btn {
    background: linear-gradient(to right, #0ea5e9, #22d3ee);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.glow-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(34, 211, 238, 0.2);
}

/* --- Cards (Projects, Skills, etc.) --- */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* --- Profile Picture --- */
.profile-picture-wrapper {
    position: relative;
    width: 250px; /* Adjust size as needed */
    height: 250px; /* Adjust size as needed */
    margin: 0 auto;
}

.profile-picture-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px; /* Border thickness */
    background: linear-gradient(45deg, #22d3ee, #0ea5e9, #8b5cf6);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.profile-picture-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    padding: 8px; /* Gap between image and glowing border */
}


/* New Project Card from index.html */
.project-card-new {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 1rem; 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.project-card-new::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 17, 23, 1) 20%, rgba(13, 17, 23, 0.7) 50%, rgba(13, 17, 23, 0) 100%);
    transition: background 0.4s ease;
}
.project-card-new:hover::after {
    background: linear-gradient(to top, rgba(13, 17, 23, 1) 35%, rgba(13, 17, 23, 0.8) 60%, rgba(13, 17, 23, 0.1) 100%);
}
.project-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.project-details {
    transform: translateY(calc(100% - 150px)); /* Adjust this value */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.project-card-new:hover .project-details {
    transform: translateY(0);
}

.project-logo {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card-new:hover .project-logo {
    opacity: 0;
    transform: scale(0.9);
}


/* --- Scroll Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Menu --- */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}
