/* Base styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/*header {
    background-color: #101820;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    flex-wrap: wrap;
}
*/
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0db4f;
}

main {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

#about {
    text-align: center;
    margin-bottom: 60px;
}

.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-me img {
    width: 150px;
    border-radius: 50%;
}

#projects .project-list {
    display: grid;
    gap: 30px;
}

.project {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;

    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push icons down */
    height: auto; /* Make all projects same height */
}
.logo-text {
  font-size: 1.2rem;
  color: none;
  margin: 0px 0px 0px 0px;
}
.project-img {
    width: auto;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
    object-fit: cover;
}

.project-links {
    margin-top: 15px;
    /* Keep icons horizontally aligned at bottom */
    display: flex;
    gap: 10px;
    font-size: 20px;
    color: #101820;
    transition: color 0.3s;
}

/* Hover color on icons */
.project-links a:hover {
    color: #f0db4f;
}
#project-links a:hover {
    color: #f0db4f;
}

.project:hover {
    transform: translateY(-5px);
}

.project-links a {
    margin-right: 10px;
    font-size: 20px;
    color: #101820;
    transition: color 0.3s;
}

.project-links a:hover {
    color: #f0db4f;
}

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

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 10px;
    color: white;
    font-size: 22px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #f0db4f;
}
/*
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea {
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}
*/
form input[type="submit"] {
    background-color: #f0db4f;
    color: #101820;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

form input[type="submit"]:hover {
    background-color: #e1c93f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #101820;
        padding: 10px 0;
    }

    nav.open ul {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .about-me {
        flex-direction: column;
    }

    #projects .project-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    #projects .project-list {
        grid-template-columns: 1fr 1fr;
    }
}
