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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #000000;
}

header {
    text-align: center;
    padding: 2rem 1rem;
    background: #ffffff;
    border-bottom: 2px solid #000000;
}

header h2 {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    color: #000000;
}

main {
    max-width: 1200px;
    margin: 2rem 1rem;
    padding: 0 1rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.project-card {
    display: block;
    background: #ffffff;
    border: 2px solid #000000;
    overflow: hidden;
    transition: background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    background: #f5f5f5;
}

.project-preview {
    width: 100%;
    height: width;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #000000;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ffffff;
}

.project-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-info p {
    color: #000000;
    line-height: 1.6;
    margin-bottom: 1rem;
}



.site-footer {
    margin-top: 2rem;
    border-top: 2px solid #000000;
    background: #ffffff;
    color: #000000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-title {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /* border: 0px; */
    color: #000000;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    background: #000000;
    color: #ffffff;
}

.footer-links i {
    font-size: 20px;
}

.footer-email {
    color: #000000;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.footer-email:hover {
    border-color: #000000;
}

#projects-container {
    display: contents;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: 0.75rem;
    }

    .footer-links a {
        width: 36px;
        height: 36px;
    }
}
