/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: black; /* Set the background to black */
    color: #fff;  /* Text color white for contrast */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/* Style for the particle container */
#particles-js {
    position: fixed;  /* Fix the particles container to the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  /* Ensure it covers the whole viewport */
    z-index: -1;  /* Place the particles behind the content */
}

/* Ensure your sections take up full height if needed */
body, html {
    margin: 0;
    padding: 0;
    height: 100%; /* Make sure the body and html elements take up the full height */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Optional: Adding some padding to sections if you want space between content and the edges */
section {
    position: relative;
    z-index: 1; /* Ensures sections stay above the particles */
    padding: 50px;
}
/* Global Fade-In Animation */
* {
    opacity: 0; /* Start all elements as invisible */
    animation: fadeIn 1.5s ease-in forwards; /* Apply fade-in globally */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ensure the background of the landing page section is transparent */
.landing {
    position: relative;
    background-color: rgba(0, 0, 0, 0); /* Transparent background */
    color: #fff; /* White text for contrast */
    height: 100vh; /* Full viewport height */
    z-index: 1; /* Make sure content is on top of the particles */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Add style for the content in the landing section */
.landing .content {
    position: relative;
    z-index: 2; /* Ensure content stays above the particles */
}
/* Animated Title Style */
.animated-title {
    font-size: 3rem; /* Size of the name */
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    animation: fadeIn 2s ease-in-out forwards; /* 'forwards' ensures the final state is retained */
    margin-bottom: 20px;
}

/* Fade-in animation for name */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intro text */
.intro {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

/* Explore Button */
.btn {
    padding: 12px 24px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInButton 2.5s ease forwards 1.5s;
}

.btn:hover {
    background-color: #f39c12; /* Golden color on hover */
    color: #fff;
}

/* Scroll Icon */
.scroll-down {
    position: absolute;
    bottom: 30px;
    font-size: 1.5rem;
    color: #aaa;
    animation: pulse 1.5s infinite;
}

/* About Section */
.about {
    background-color: rgba(17, 17, 17, 0.8); /* Dark transparent background */
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    animation: fadeIn 2s ease-in forwards 2s;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Blog Section */
.blog {
    background-color: rgba(0, 0, 0, 0.7); /* Dark transparent background */
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 40px;
    animation: fadeIn 2s ease-in forwards 2.5s;
}

.blog h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    background-color: rgba(51, 51, 51, 0.8);
    color: white;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.post-item a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.post-item p {
    font-size: 14px;
    margin-top: 10px;
    color: #bbb;
}

.post-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Golden Hue Hover Effect for all Links */
a:hover {
    color: #f39c12; /* Golden hue on hover for all links */
    transform: scale(1.05);
}

/* Resume & Contact Sections */
.resume, .contact {
    background-color: rgba(34, 34, 34, 0.8); /* Slightly transparent background */
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
    animation: fadeIn 2s ease-in forwards 3s;
}

.resume a, .contact a {
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
    color: #fff;
}

.resume a:hover, .contact a:hover {
    color: #f39c12; /* Golden hue on hover */
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInButton {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Media Query for Mobile Adjustments */
@media (max-width: 768px) {
    .landing .content {
        padding: 10px;
    }

    .blog-posts {
        gap: 10px;
    }

    .post-item {
        padding: 15px;
    }

    .about, .resume, .contact {
        padding: 20px;
    }
}
