@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/canela');

body {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


.heading-font {
    font-family: 'Canela', Georgia, serif;
}

.code-font {
    font-family: 'JetBrains Mono', monospace;
}

.gradient-bg {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #0f0f0f 50%, #1a1a1a 75%, #0f0f0f 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gold-border {
    border: 2px solid #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.gold-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Parallax Layers */
/* Ensure parallax container covers full screen */
.layered-parallax {
  position: relative;
  height: 100vh;
  overflow: hidden;
  perspective: 1px; /* enhances depth */
}

.parallax-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  will-change: transform;
}


.parallax-bg { z-index: 1; }
.parallax-mg { z-index: 2; }
.parallax-fg { z-index: 3; }
.parallax-content { z-index: 4; position: relative; }

/* Floating Animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Cards */
.skill-card,
.contact-card {
    background: rgb(0, 0, 0);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
}
.skill-card:hover,
.contact-card:hover {
    transform: translateY(-10px);
    border-color: #fbbf24;
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

.project-card {
    background: rgb(0, 0, 0);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    transition: all 0.4s ease;
}
.project-card:hover {
    transform: scale(1.05);
    border-color: #fbbf24;
    box-shadow: 0 25px 50px rgba(251, 191, 36, 0.3);
}

/* Navbar Links */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    transition: all 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Resume Button */
.resume-btn {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.resume-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f59e0b, #dc2626);
    transition: left 0.3s ease;
    z-index: -1;
}
.resume-btn:hover::before { left: 0; }
.resume-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.4);
    color: white;
}
/* Section fade-in animation */
.hidden-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.show-section {
    opacity: 1;
    transform: translateY(0);
}
/* Navbar hidden by default */
nav {
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

/* When active (hover top area), navbar slides down */
nav.show-nav {
  transform: translateY(0);
}

@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Manrope';
  src: url('./fonts/Manrope-Bold.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Manrope';
  src: url('./fonts/Manrope-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Manrope';
  src: url('./fonts/Manrope-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Manrope';
  src: url('./fonts/Manrope-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}
.manrope-font {
  font-family: 'Manrope', sans-serif !important;
}
.name-gradient {
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


