/* Global Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Logo */
.logo {
    max-width: 200px;
    margin: 10px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero header on home page */
.hero {
    background-image: url('images/HAI_Cover.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 70vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero .logo {
    position: absolute;
    top: 10px;
    left: 20px;
    max-width: 180px;
}

.hero-content {
    position: absolute;
    bottom: 30px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    border-radius: 10px;
}

.hero-content h1 {
    margin: 0;
    font-size: 2.5em;
}

/* General header for other pages */
header:not(.hero) {
    background-color: #4d0c0c;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header:not(.hero) nav ul {
    justify-content: flex-end;
}

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

section {
    margin-bottom: 40px;
}

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

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-image {
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.portfolio-item p {
    text-align: center;
    margin-top: 10px;
}

address {
    font-style: normal;
    line-height: 1.4;
}
