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

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    color: #111;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logo img {
    height: 3rem;      /* statt max-height */
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.6;
}

/* Hero */
.hero {
    padding: 5rem 2rem;
    text-align: center;
    background: #f5f5f5;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    max-width: 900px;
    margin: 2rem auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

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

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-left: 5px solid #000;
    padding-left: 0.75rem;
    border-radius: 5px;
}

section ul {
    list-style: square;
    padding-left: 1.25rem;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.image-block {
    background: #fafafa;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    text-align: center;
    flex-shrink: 0;
}

.image-block img {
    width: 100%;
    height: auto;
    display: block;
}

.image-block.wide {
    flex: 1 1 40%;
    max-width: 45%;
}

.image-block.tall {
    flex: 1 1 250px;
    max-width: 250px;
}

.caption {
    padding: 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

/* Contact */
address {
    font-style: normal;
    line-height: 1.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #111;
    color: #fff;
    font-size: 0.9rem;
    border-radius: 1rem 1rem 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .image-gallery {
        flex-direction: column;
        align-items: center;
    }

    .image-block {
        max-width: 90% !important;
    }
}

/* Modal-Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.close {
    color: #aaa;
    float: right;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}