* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e5e5e5;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #2c2c2c;
}

.header p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

/* Navigation */
.nav {
    text-align: center;
    padding: 30px 0;
}

.nav a {
    text-decoration: none;
    color: #666;
    margin: 0 25px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #2c2c2c;
}

/* Gallery Grid */
.gallery {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    background-color: #fff;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.01);
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.9;
}

/* Overlay for project info */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.gallery-overlay p {
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    color: #ccc;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 0 40px;
    border-top: 1px solid #e5e5e5;
    margin-top: 40px;
}

.footer p {
    color: #999;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2c2c2c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .nav a {
        display: block;
        margin: 10px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .gallery-overlay h3 {
        font-size: 1rem;
    }

    .gallery-overlay p {
        font-size: 0.8rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}