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

body {
    font-family: 'Roboto', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
}

h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin: 60px 0 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-align: center;
}

nav {
    background: #000000;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: right;
    position: relative;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Masonry Layout */
.gallery {
    column-count: 3;
    column-gap: 20px;
    padding: 50px 30px;
}

.gallery .image-card {
    background: #000000;
    border: 2px solid #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    position: relative;
}

.gallery .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
    display: block;
}

.gallery .image-card img:hover {
    filter: brightness(1.2);
}

.image-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Darkened background for better text readability */
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.image-card:hover .overlay {
    opacity: 1;
}

.overlay .text {
    color: #ffffff; /* Ensure text is white for readability */
    font-size: 1.5rem;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    cursor: pointer;
}

footer {
    background-color: #000000;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    position: relative;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 15px 0;
    border-top: 1px solid #ffffff;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 500;
}

footer p {
    font-size: 1.1rem;
    margin: 5px 0;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: #ffffff;
    margin: 0 15px;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
    transform: scale(1.2);
}

footer p:last-of-type {
    font-size: 1rem;
    opacity: 0.7;
}

/* Hide navigation links by default on small screens */
.nav-links {
    display: none;
    flex-direction: column;
    background: #000000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    text-align: right;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.nav-links a {
    display: block;
    margin: 10px 0;
}

/* Show links when nav is active */
nav.active .nav-links {
    display: flex;
}

/* Style for the burger menu icon */
.burger-menu {
    display: none; /* Hidden on larger screens */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
}

/* Mobile View Fix: Make the burger menu pop out in its own window */
.burger-menu {
    position: fixed; /* Use fixed positioning to pop it out */
    top: 20px;
    right: 20px;
    z-index: 1000; /* Ensure the burger menu is on top of all other elements */
}

.nav-links {
    z-index: 999; /* Ensure nav menu is above other elements */
}

nav.active .nav-links {
    position: fixed; /* Make the nav menu fixed when active */
    top: 60px; /* Adjust based on your header height */
    right: 0;
    width: 100%;
    height: calc(100% - 60px); /* Cover the rest of the viewport */
    flex-direction: column; /* Stack links vertically */
    background: #000000; /* Ensure background matches the design */
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}


/* Desktop View Fix: Ensure nav-links are visible on larger screens */
@media (min-width: 769px) {
    .nav-links {
        display: flex; /* Ensure nav-links are shown as flex on desktops */
        flex-direction: row;
        justify-content: flex-end;
        position: static; /* Remove the absolute positioning */
        box-shadow: none; /* Remove box shadow for desktop */
    }

    .nav-links a {
        display: inline-block; /* Display links inline for desktop */
        margin: 0 20px; /* Adjust spacing */
        padding: 0; /* Remove padding from links */
    }

    .burger-menu {
        display: none; /* Hide burger menu on desktops */
    }
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .burger-menu {
        display: block; /* Show burger menu on smaller screens */
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        color: #ffffff;
        cursor: pointer;
    }

    nav a {
        display: none; /* Hide nav links by default */
        text-align: right;
        padding: 10px 20px;
        background: #000000;
        border-bottom: 1px solid #ffffff; /* Optional divider between links */
    }

    .burger-menu.active + a {
        display: block; /* Show links when the menu is active */
    }
}

