/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #111;
    color: #fff;
    line-height: 1.6;
}

a {
    color: #fff;
    text-decoration: underline;
}

a:hover {
    color: #ccc;
}

/* Hero section */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: #000;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 0.5rem;
}

.cta-button:hover {
    background-color: #ccc;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-button.secondary:hover {
    background-color: #fff;
    color: #000;
}

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

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Portfolio */
.image-grid {
    column-count: 3;
    column-gap: 1rem;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* About */
#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#about img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

#about p {
    max-width: 600px;
    margin-bottom: 1rem;
}

#about ul {
    list-style: none;
    padding: 0;
}

#about li {
    margin-bottom: 0.5rem;
}

/* Contact */
#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#contact input,
#contact textarea {
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
}

#contact textarea {
    height: 150px;
    resize: vertical;
}

#contact button {
    padding: 1rem;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact button:hover {
    background-color: #ccc;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ccc;
    text-decoration: none;
}

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

    #hero p {
        font-size: 1rem;
    }

    section {
        padding: 2rem 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .image-grid {
        column-count: 2;
    }

    #about {
        flex-direction: column;
    }
}