/* Basic Reset & Body Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header & Navigation */
header {
    background: #333;
    color: #fff;
    padding-top: 10px;
    min-height: 80px;
    border-bottom: #77aaff 3px solid;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

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

header li {
    padding: 0 15px;
}

header #branding {
    margin: 0 10px;
    display: flex;
    align-items: center;
}

header #branding h1 {
    margin: 0 10px;
}

header nav {
    margin: 0 10px;
}

header .highlight, header .current a {
    color: #77aaff;
    font-weight: bold;
}

header a:hover {
    color: #77aaff;
    font-weight: bold;
}

/* Logo Styling */
.logo {
    width: 100px;
    height: auto;
    margin: 0 20px;
    vertical-align: middle;
}

/* Hero Section */
.hero {
    min-height: 600px; /* Increased height to better fit the image */
    background: #333 url('iamalready.bg.png') no-repeat center top; /* Adjusted vertical position to show top of image */
    background-size: cover; /* Ensures the image covers the area */
    text-align: left;
    color: #fff;
    position: relative;
    padding: 40px 20px;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: absolute;
    left: 10%;
    transform: translateX(-10%);
    top: 60%;
    transform: translateY(-60%);
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .tagline {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #ccc;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: pre-wrap;
}

/* Sections */
section {
    padding: 40px 20px;
    border-bottom: #ccc 1px solid;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.project-item h3 {
    margin-top: 0;
    color: #77aaff;
}

.project-item a {
    text-decoration: none;
    color: #77aaff;
}

.project-item a:hover {
    text-decoration: underline;
}

/* Social Links */
.social-links {
    text-align: center;
    margin-top: 30px;
}

.social-button {
    display: inline-block;
    background: #77aaff;
    color: #fff;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-button:hover {
    background: #5588dd;
}

/* Footer */
footer {
    padding: 20px;
    margin-top: 20px;
    color: #fff;
    background-color: #333;
    text-align: center;
}

footer a {
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    background-color: #fff;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav, header #branding {
        float: none;
        text-align: center;
    }

    header li {
        padding: 0 10px;
    }

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

    .hero .tagline {
        font-size: 1.2em;
    }

    .container {
        width: 95%;
    }

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

    .logo {
        width: 80px;
    }
}