body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
}

header {
    background-color: #000;
    color: #fff;
    padding: 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

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

h1, h2, h3 {
    font-weight: 600;
}

.media-gallery, .blog-posts, .founders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.thumbnail {
    width: 300px; /* Fixed width */
    height: 200px; /* Fixed height */
    object-fit: cover; /* Ensures images fill the space without distortion */
    filter: grayscale(100%); /* Black-and-white filter */
    cursor: pointer;
    display: block; /* Ensures consistent rendering */
    margin: 0; /* Removes any default margins */
}

.gallery-btn {
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    margin: 1rem 0;
    font-family: 'Montserrat', sans-serif;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, max-width 0.3s ease, max-height 0.3s ease;
}

.lightbox-content.zoomed {
    max-width: 95%;
    max-height: 95%;
    transform: translate(-50%, -50%) scale(1.2);
}

.lightbox-content img, .lightbox-content video {
    width: 100%;
    height: auto;
    cursor: pointer;
}

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

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.hidden {
    display: none;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    padding: 0.5rem;
    border: 1px solid #000;
    background: #fff;
    color: #000;
}

.contact button {
    padding: 0.5rem;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .media-gallery, .blog-posts, .founders {
        grid-template-columns: 1fr;
    }
    .thumbnail {
        width: 100%; /* Full width on mobile */
        height: 150px; /* Smaller height for mobile */
    }
    .lightbox-content.zoomed {
        max-width: 90%;
        max-height: 90%;
        transform: translate(-50%, -50%) scale(1.1);
    }
}