* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #131313;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #131313;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    max-width: 150px;
    height: auto;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #90EE90;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
    min-height: calc(100vh - 400px);
}

/* Portfolio Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Text Section */
.intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    line-height: 1.8;
    font-size: 1rem;
    color: #cccccc;
    text-align: justify;
}

.tagline {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem;
    padding: 0 0.25rem;
    color: #cccccc;
    letter-spacing: 0.02em;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.tagline .dot {
    display: inline-block;
    transform: translateY(20%);
    font-size: 0.3em;
    line-height: 1;
    font-weight: bold;
    text-shadow: 0 0 0.5px currentColor;
}

/* Kontakt Image */
.contact-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.contact-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #cccccc;
    font-size: 1rem;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #90EE90;
}

/* Footer */
footer {
    background-color: #131313;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #2a2a2a;
}

footer p {
    color: #888888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        gap: 1rem;
    }

    header img {
        max-width: 150px;
    }

    main {
        margin: 1.5rem auto;
    }

    .contact-image {
        max-width: 300px;
    }
}

@media (max-width: 900px) {
    .tagline {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .tagline .dot {
        transform: translateY(0);
    }
}
