/* GLOBAL STYLES */
body {
    background-color: #0d1b2a; /* Dark blue background */
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* Prevent text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ======================
   NAVBAR STYLES
   Reusable across pages
   ====================== */
.nav-bar {
    background-color: #0d1b2a;
    padding: 20px;
    text-align: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    display: inline-block;
    margin-right: 20px;
}

.nav-links li:last-child {
    margin-right: 0;
}

.nav-links li a {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #c63c0e;
}

/* ======================
   INTRO SECTION STYLES
   ====================== */
.intro-section {
    margin-top: 20px;
    padding: 100px 20px;
    background-color: #0d1b2a;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.intro-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.intro-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInName 2s forwards;
}

.intro-text h2 {
    font-size: 2rem;
    color: #c63c0e;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.skills-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c63c0e;
    color: #0d1b2a;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.skills-link:hover {
    background-color: #8d3f1a;
}

/* Fade-in animation */
@keyframes fadeInName {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MEDIA QUERIES */
@media (min-width: 768px) {
    .intro-section {
        padding-left: 50px;
    }
}
