* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: #333;
    background: #f7f7f7;
    line-height: 1.6;
}

.page-hero {
    background: #ddd;
    padding: 70px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 8px;
}


.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo a {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #111;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
}

.btn {
    padding: 10px 18px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.btn.outline {
    background: transparent;
    border: 1px solid #111;
    color: #111;
}

.hero {
    padding: 100px 0;
    background: #eaeaea;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.section {
    padding: 70px 0;
}

.section.light {
    background: #fff;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 6px;
}

.site-footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

.alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.alert.success {
    background: #e6f4ea;
    color: #1e7e34;
}

.alert.error {
    background: #fdecea;
    color: #b02a37;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .overlay {
    opacity: 1;
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
}

#lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

