/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Background with gradient */
body {
    background: linear-gradient(to right, rgba(252, 234, 187, 0.9), rgba(248, 181, 0, 0.9));
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Navbar */
header {
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #5a3e2b;
}

ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 50px;
}

ul li a {
    text-decoration: none;
    color: #5a3e2b;
    font-weight: 500;
    transition: 0.3s;
}

ul li a:hover {
    color: black;
}

/* Projects Section */
.projects {
    max-width: 900px;
    margin: 120px auto;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Headings */
.projects h1 {
    font-size: 36px;
    color: #5a3e2b;
    margin-bottom: 10px;
}

/* Paragraph */
.projects p {
    font-size: 18px;
    margin-top: 10px;
    line-height: 1.6;
    color: #333;
}

/* Project Cards */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.project-card h2 {
    color: #5a3e2b;
}

.project-card p {
    margin: 10px 0;
    color: #222;
}

/* Links */
.project-card a {
    text-decoration: none;
    color: #f8b500;
    font-weight: 600;
}

.project-card a:hover {
    color: black;
}

/* Back to Portfolio Link */
.back-link {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #5a3e2b;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .projects {
        width: 90%;
        padding: 20px;
    }
}
