:root {
    --pink-accent: #ff4081;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: #ffffff;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

section {
    scroll-snap-align: start;
    min-height: 100vh;
    position: relative;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.3);
    z-index: 1000;
    top: 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

#typing-title {
    font-size: 2rem;
    color: var(--pink-accent);
}

.hamburger {
    display: none; /* Hidden by default */
    font-size: 24px; /* Size of the hamburger icon */
    cursor: pointer; /* Pointer cursor on hover */
}

.menu {
    display: flex; /* Show menu items */
    gap: 2rem;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--pink-accent);
}

.hero {
    background-image: url('assets/images/dark.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    color: #cccccc;
}

.projects {
    padding: 6rem 2rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--pink-accent);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 400px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 70%;
    background-size: cover;
    background-position: center;
}

.card h3 {
    padding: 1rem;
    color: var(--pink-accent);
    font-size: 1.5rem;
}

.card p {
    padding: 0 1rem 1rem;
    color: #cccccc;
    flex-grow: 1;
}

.cursor {
    display: inline-block;
    width: 1px;
    height: 0px;
    background-color: var(--pink-accent);
    animation: blink 1.5s step-end infinite;
    margin-left: 5px;
    vertical-align: left;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .menu {
        display: none; /* Hide menu items by default on small screens */
        flex-direction: column; /* Stack menu items vertically */
        position: absolute; /* Position the menu */
        top: 60px; /* Position below the header */
        right: 0; /* Align to the right */
        background-color: rgba(18, 18, 18, 0.9); /* Background color */
        width: 100%; /* Full width */
        z-index: 999; /* Above other content */
    }

    .menu.active {
        display: flex; /* Show menu items when active */
    }

    .hamburger {
        display: block; /* Show hamburger icon on small screens */
    }
}

.contact {
    padding: 2rem 2rem;
    text-align: center;
    min-height: auto;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.icon img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.icon:hover img {
    transform: scale(1.1);
} 