/* =====================
   Global Variables
===================== */
:root {
    --primary: #4aa3a3;
    --primary-light: #e6f6f6;
    --accent: honeydew;
    --text-dark: #222;
    --text-muted: #666;
    --border-light: #d9eeee;
}

/* =====================
   Reset & Base
===================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--text-dark);
    background-color: #fafafa;
}

/* =====================
   Header
===================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 120px;
    background-color: var(--primary-light);
    border-bottom: 1px solid var(--border-light);
}

header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 36px;
}

nav a {
    text-decoration: none;
    font-size: 14px;
    padding: 6px 4px;
    color: var(--text-dark);
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

/* =====================
   Main Content
===================== */
main {
    flex: 1;
}

/* Hero Image */
main .image-container {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    transition: opacity 0.8s ease-in-out;
}

main .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

main .overlay-text {
    position: absolute;
    bottom: 80px;
    left: 120px;

    max-width: 480px;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
}

/* Sections */
main section,
main .career,
main .projects,
main .spotlight {
    margin: 64px 120px;
}

main section h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

/* Grid Lists */
main .projects-list,
main .spotlight-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Cards */
main .project-item,
main .spotlight-item {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

main .project-item:hover,
main .spotlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* =====================
   Footer
===================== */
footer {
    background-color: var(--primary-light);
    margin-top: auto;
}

/* Top section */
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 48px;

    padding: 48px 240px;
}

/* About block */
.footer-about {
    max-width: 360px;
}

.footer-about h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.footer-about p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* Links + Social */
.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links h4,
.footer-social h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
}

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

/* Bottom bar */
.footer-note {
    border-top: 1px solid #ddd;
    padding: 16px 240px;
    font-size: 12px;
    color: #666;
}
