/* --- Basic Reset & Defaults --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "elza-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9; /* Light background */
    padding-top: 80px; /* Prevent content from hiding under fixed nav */
}

.container {
    max-width: 960px;
    margin: 2rem auto; /* Add space top/bottom, center horizontally */
    padding: 0 1rem; /* Add padding on sides */
    background-color: #fff; /* White content background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
    border-radius: 8px; /* Slightly rounded corners */
    padding: 2rem;
}

/* --- Header & Navigation --- */
header {
    background-image: linear-gradient(rgb(14, 1, 14), rgba(100, 1, 100));
    font-family: "space-mono", mono;
    font-weight: 400;
    font-style: normal;
    padding: 1rem;
    position: fixed; /* Keep nav visible */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .container-navbar {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between; /* Space out logo/name and nav links */
    align-items: center;
}

header .container-navbar-toggle {
    display: none; /* Hide by default */
}

header .logo a {
    color:rgb(208, 208, 1);
    text-decoration: none;
    font-size: 1.5rem;
}

header nav {
    display: block;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 1.5rem; /* Space between nav items */
}

header nav ul li a {
    color: #e0aaff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav ul li a.active { /* Style for active page */
     color:rgb(208, 208, 1);
}


/* --- Main Content Area --- */
main {
    /* Container styling handles padding/margin */
}

h1, h2, h3, h4 {
    color: #5a189a; /* A primary color for headings - CHANGE ME! */
    margin-bottom: 1rem;
    line-height: 1.3;
}

/*
h1, h2 {
    font-family: "space-mono", mono;
    font-weight: 400;
    font-style: normal;
}
*/

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }


.were-header {
    color: rgba(0, 0, 100, 0.7);
    font-family: "Rubik Wet Paint", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;

}

p {
    margin-bottom: 1rem;
}

a {
    /*color: #7b2cbf;
    text-decoration: none;*/
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 90%; /* Make images responsive */
    max-height: 600px; /* Never larger than laptop screen viz */
    height: auto;
    display: block; /* Prevents extra space below image */
    margin: 1rem 0;
    border-radius: 15px; /* Slightly rounded images */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* --- Specific Sections --- */
.hero {
    text-align: center;
    padding: 2rem 0;
}

.hero img {
    max-width: 250px; /* Control size of hero image */
    border-radius: 50%; /* Make profile pic circular */
    margin: 1rem auto;
    border: 5px solid #fff; /* Optional border */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.proj-head {
    text-align: center;
    max-width: 960px;
    margin: 1rem auto; /* Add space top/bottom, center horizontally */
    padding: 1rem 1rem; /* Add padding on sides */
    background-color: #fff; /* White content background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
    border-radius: 8px; /* Slightly rounded corners */
}

.proj-head img {
    max-width: 300px; /* Control size of hero image */
    /* border-radius: 50%; Make profile pic circular */
    margin: 1rem auto;
    border: 3px solid #fff; /* Optional border */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.project, .blog-post {
    border-bottom: 1px solid #eee; /* Separator */
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.project:last-child, .blog-post:last-child {
    border-bottom: none; /* Remove border on last item */
}

.logline {
    font-style: italic;
    color: #555;
}

.status {
    font-weight: bold;
    color: #5a189a; /* Match heading color */
}

.date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem;
}

/* --- Contact Form (Basic Styling) --- */
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical; /* Allow vertical resizing */
}

.contact-form button {
    background-color: #5a189a; /* Button color - CHANGE ME! */
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #7b2cbf; /* Darker shade on hover */
}

.social-links {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}
.social-links li {
    display: inline-block; /* Horizontal list */
    margin-right: 1rem;
}
.social-links a {
    font-weight: bold;
    /* Add icons later if desired */
}


/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #e9ecef; /* Light grey footer */
    color: #6c757d; /* Muted text color */
    font-size: 0.9rem;
}

/* --- Responsive Design --- */

@media (max-width: 768px) {
    header .container-navbar {
        align-items: flex-start;
        flex-direction: column;
    }
    
    header .container-navbar-toggle {
        display: flex;
        background-color: rgb(14, 1, 14);
        border-radius: 4px;
        cursor: pointer;
        margin-right: 20px;
    }
    
    header .logo {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    /*
    header .container-navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    */

    header nav {
        display: none; /* Hide nav links by default */
    }

    header nav ul {
        margin-top: 1rem;
        flex-direction: column; /* Stack nav links */
        width: 100%;
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 0.5rem; /* Space between stacked links */
        text-align: left;
        width: 100%;
        padding: 0.5rem 0;
        border-radius: 4px;
    }

    body {
        padding-top: 120px; /* Adjust for taller stacked header */
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }

    .container {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 1.5rem;
    }

    .navbar-toggle {
        border: 2px solid rgb(100, 1, 100);
        border-radius: 4px;
        color: rgb(175, 1, 175);
        background-color:rgb(14, 1, 14);
        cursor: pointer;
        font-size: 20px;
        padding: 8px 12px;
        transition: all 0.3s ease;
    }

    .navbar-toggle:hover {
        border: 2px solid rgb(208, 208, 1);
        color: rgb(208, 208, 1);
    }
    
}
