/* Basic Reset & Body Styling */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #111111;
}

/* Header and Navigation */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}
.site-title { font-size: 1.5rem; margin: 0;}
.grey-text {
  color: #b9b9b9;   /* grey */
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }

/* Filter Buttons and Nav Links */
.filter-btn {
    font-family: 'Lato', sans-serif;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}
.filter-btn.active, .filter-btn:hover { border-bottom: 2px solid #111111; }

.nav-link, .back-link {
    font-family: 'Lato', sans-serif;
    color: #111111;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease;
}
.nav-link:hover, .back-link:hover { border-bottom: 2px solid #111111; }

/* The Image Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 0px;
    padding: 0px;
}
.gallery-item { cursor: pointer; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: opacity 0.3s ease;
}
.gallery-item:hover img { opacity: 0.8; }

/* Footer */
.site-footer { text-align: center; padding: 40px; font-size: 0.9rem; color: #888888; }

/* --- "Coming Soon" Message Styles --- */
.coming-soon-message { display: none; text-align: center; padding: 80px 40px; }
.coming-soon-message.active { display: block; }
.coming-soon-message h2 { font-size: 2rem; margin-bottom: 10px; }
.coming-soon-message p { font-size: 1.1rem; color: #666; }

/* --- About Page Styles (Desktop) --- */
.about-container {
    max-width: 800px; margin: 60px auto;
    padding: 0 40px; text-align: center;
}
.profile-photo {
    width: 100%; max-width: 300px;
    height: 300px; border-radius: 10%;
    object-fit: cover; margin-bottom: 30px;
}
.linkedin-icon {
    width: 30%;
    height: auto;
    margin-top: 50px;
}

.about-container h1 { font-size: 2.5rem; margin-bottom: 20px; }
.about-container p {
    font-size: 1.1rem; line-height: 1.7;
    color: #333; text-align: left;
    margin-bottom: 20px;
}

/* --- Lightbox Styles --- */
.lightbox-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85); display: flex; justify-content: center;
    align-items: center; z-index: 1000; visibility: hidden; opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-container.active { visibility: visible; opacity: 1; }
.lightbox-image {
    max-width: 90vw; max-height: 90vh; 
    transform: scale(0.95); transition: transform 0.3s ease;
    z-index: 1001; 
}
.lightbox-container.active .lightbox-image { transform: scale(1); }

/* --- Navigation Arrow Styles --- */
.nav-btn {
    position: absolute; top: 95%; transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.0); color: white; border: none;
    font-size: 2.5rem; font-weight: bold; padding: 5px 20px;
    cursor: pointer; opacity: 0; transition: opacity 0.3s ease;
    z-index: 1002;
}
.nav-btn:hover { background-color: rgba(255, 255, 255, 0.2); }
#prev-btn { left: 10px; }
#next-btn { right: 10px; }
.lightbox-container.active .nav-btn { opacity: 1; }

/* =================================================================== */
/* --- Mobile Responsiveness (Media Queries) ---                       */
/* =================================================================== */

@media (max-width: 768px) {

    .site-header { flex-direction: column; gap: 15px; padding: 20px; }
    .grey-text {
    color: #b9b9b9;   /* grey */
    }
    .site-nav ul { justify-content: center; gap: 15px; }

    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0px;
    }
    
    .lightbox-image {
        max-width: 100vw;
        max-height: 100vh;
    }
    
    .coming-soon-message { padding: 40px 20px; }
    .coming-soon-message h2 { font-size: 1.8rem; }
    .nav-btn {
        font-size: 2rem;
        padding: 5px 15px;
    }

    /* --- MOBILE "ABOUT" SECTION --- */
    .about-container {
        padding: 0 20px; /* Reduce side padding */
        margin: 40px auto; /* Reduce top/bottom margin */
    }
    .profile-photo {
        max-width: 200px; /* Make photo smaller */
        height: 200px;
    }
    .linkedin-icon {
        width: 50%;
        height: auto;
    }
    .about-container h1 {
        font-size: 2rem; /* Make heading smaller */
    }
    .about-container p {
        text-align: center; /* Center the text on mobile */
    }
}