body {
    font-family: 'Afacad Flux', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../images/background-pattern.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: #333;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007BFF;
}

/* External Link */
.external-link {
    color: #FF5722;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.external-link:hover {
    color: #FF7043;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    color: white;
    background: linear-gradient(to right, #007BFF, #6C63FF);
}

.hero h1 {
    font-size: 3em;
    font-weight: 700;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.hero h1:hover {
    transform: scale(1.1);
}

/* Portfolio Section */
.portfolio {
    padding: 50px 20px;
}

.portfolio .gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.portfolio img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.portfolio img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* About Section */
.about {
    padding: 50px 20px;
    position: relative;
    text-align: center;
}

.about img {
    max-width: 150px;
    border-radius: 50%;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Footer */
footer {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 20px; 
    position: relative; 
    bottom: auto; 
    width: 100%;
    margin-top: 20px; 
}

