:root {
    /* Navy Blue & Gold Theme */
    --primary-color: #001f3f; /* Navy Blue */
    --accent-color: #ead285;  /* Gold */
    --bg-color: #f4f4f4;      /* White */
    --text-color: #111111;    /* Black/Dark Grey */
    --card-bg: #ffffff;       /* Light Grey for contrast */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
nav {
    background: var(--primary-color); /* Navy Background */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--accent-color); /* Gold Logo */
}

.nav-links a {
    text-decoration: none;
    color: #ffffff; /* White text on Navy */
    margin-left: 20px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color); /* Gold on hover */
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-color); /* Gold Underline */
    display: inline-block;
    color: var(--primary-color);
}

/* About Section */
.about-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.headshot {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Circle shape */
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.about-text {
    flex: 1;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid var(--primary-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.project-info {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.project-tags {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-small {
    background: #e0e0e0;
    color: #333;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #003366; /* Darker Navy */
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Skills & Certs */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.skill-tag {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.certifications-list {
    list-style: none;
    padding-left: 0;
}

.certifications-list li {
    background: #fff;
    border-left: 4px solid var(--accent-color);
    padding: 10px 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--primary-color);
    color: white;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

.footer-links a:hover {
    text-decoration: underline;
}