/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    overflow-y: scroll; /* Enable vertical scroll only for the body */
    background: url('https://images.unsplash.com/photo-1470004914212-05527e49370b?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTR8fHRhaXdhbnxlbnwwfHwwfHx8MA%3D%3D') no-repeat center center fixed;
    background-size: cover; /* Cover the entire body */
    height: 100%; /* Ensure the body takes up the full height */
}

#wrapper {
    display: flex;
    flex-direction: column;
}

#page1, #page2 {
    height: 100vh;
    width: 100%;
}

/* First Page Styles */
#page1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Allow positioning of the scroll-down indicator */
}

header h1 {
    font-size: 3.5rem;
    margin: 0.5rem 0;
    color: #ffffff;
    letter-spacing: 2px;
}

header p {
    font-size: 1.3rem;
    margin: 0.5rem 0 1.5rem;
    color: #b0b0b0;
    font-style: italic;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a i {
    font-size: 1.5rem;
    color: #f0f0f0;
    display: inline-block;
    width: 24px; /* Fixed size for icons */
    height: 24px; /* Fixed size for icons */
    background-size: cover; /* Ensure icon images fit the element */
    background-position: center;
}

nav ul li a .linkedin-icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/174/174857.png');
}

nav ul li a .email-icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/732/732200.png');
}

nav ul li a .github-icon {
    background-image: url('https://cdn-icons-png.flaticon.com/512/25/25231.png');
}

nav ul li a:hover {
    background-color: #1e90ff;
}

nav ul li a:hover i {
    color: #ffffff;
}

/* Scroll Down Indicator */
#scroll-down-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #fff;
    animation: bounce 1.5s infinite;
}

.arrow-down {
    display: inline-block;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    padding: 5px;
    transform: rotate(45deg);
}

/* Animation for the scroll down indicator */
@keyframes bounce {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* Second Page Styles (Projects) */
#page2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    width: 100%;
}

#projects {
    width: 90%;
    max-width: 1200px; /* Limit the max width of the projects container */
    padding: 60px 20px;
    text-align: center;
}

#projects h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.project-list {
    display: block; /* Stacked layout */
    margin-top: 20px;
}

.project-item {
    padding: 30px;
    background-color: rgba(51, 51, 51, 0.8); /* Slight transparency */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Adding shadow for depth */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    color: #fff;
    text-align: left; /* Align text to the left */
    margin-bottom: 30px; /* Space between the stacked items */
}

.project-item:hover {
    transform: translateY(-5px); /* Lift the item up on hover */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); /* Enhance shadow on hover */
}

.project-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.project-item p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Custom Scrollbar for the entire page */
::-webkit-scrollbar {
    width: 12px; /* Set the width of the scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: #1e90ff; /* Set the thumb color */
    border-radius: 10px; /* Rounded corners for the thumb */
    border: 2px solid #121212; /* Border to separate thumb from track */
}

::-webkit-scrollbar-track {
    background-color: #2c2c2c; /* Darker background for the track */
    border-radius: 10px;
}

/* Custom Scrollbar on Hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #4682b4; /* Lighter color on hover */
}

/* Footer */
footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #808080;
    text-align: center;
}
