/* Global Styles */
:root {
    --netflix-red: #e50914;
    --dark-bg: #141414;
    --light-text: #ffffff;
    --gray-text: #999999;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--light-text);
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background-color: rgba(20, 20, 20, 0.9);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--netflix-red);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
    position: relative;
}

nav ul li a {
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--netflix-red);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--netflix-red);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 4px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        display: none;
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        margin: 1rem 0;
        text-align: center;
    }
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.neon-wave {
    width: 100%;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.4), transparent);
    animation: pulse 3s infinite;
    position: absolute;
    top: 20%;
}

#hero .content {
    z-index: 2;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.3rem;
    color: var(--gray-text);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

/* Section Styles */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--netflix-red);
    text-align: center;
}


/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background-color: #111;
}

footer .social-links a {
    margin: 0 1rem;
    color: var(--light-text);
    transition: color 0.3s;
}

footer .social-links a:hover {
    color: var(--netflix-red);
}

/* Resume Button */
.resume-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: var(--netflix-red);
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
}

.resume-btn:hover {
    background: #f40612;
}

/* Skills */
#skills .skills-container,
.tools-container,
.hobbies-container {
  display: flex; overflow-x: auto; gap: 1rem; padding-bottom: 1rem;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
#skills .skills-container::-webkit-scrollbar { display: none; }
.skill-card,
.tool-card,
.hobby-card {
  flex: 0 0 auto; min-width: 150px;
  background-color: var(--card); padding: 1rem 2rem; border-radius: 8px;
  text-align: center; scroll-snap-align: start;
  transition: transform 0.3s, box-shadow 0.3s;
}
.skill-card:hover,
.tool-card:hover,
.hobby-card:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(229,9,20,0.5); }

/* Projects */
#projects .projects-carousel {
  display: flex; overflow-x: auto; gap: 1rem; padding-bottom: 1rem;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
#projects .projects-carousel::-webkit-scrollbar { display: none; }
.project-card {
  flex: 0 0 auto; width: 300px; background-color: var(--card);
  border-radius: 8px; overflow: hidden; scroll-snap-align: start;
  transition: transform 0.3s;
}
.project-card:hover { transform: scale(1.05); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-card .info { padding: 1rem; }
.project-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.project-card p { font-size: 1rem; color: var(--gray-text); }

/* GitHub Buttons */
.github-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: var(--netflix-red);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s, transform 0.3s;
}

.github-btn:hover {
  background-color: #f40612;
  transform: scale(1.05);
}