body, html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
}

nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 165, 0, 0.7);
}

section {
    padding: 80px 20px;
    min-height: 100vh;
}

#home {
    background: url('hero.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
}

#home h1 {
    font-size: 2.5em;
}

#home p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    background: rgba(255, 165, 0, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: rgba(255, 140, 0, 1);
}

#about, #projects, #contact {
    background: #fdf6ec;
    color: #333;
}

#projects a {
    color: #d2691e;
    text-decoration: underline;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}