/* Global */
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: #f4f4f3;
    color: #2e2e2e;
    line-height: 1.6;
}

html, body {
    background: #000; /* full black */
    margin: 0;
    padding: 0;
}



/* Header */
header {
    background: #000; /* BLACK */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Navigation */
nav a {
    color: #e6e6e6;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.6;
}

/* Dark mode toggle */
#darkToggle {
    background: #000; /* BLACK */
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* Hero sections */
.hero-large {
    background: #000; /* BLACK */
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero-small {
    background: #000; /* BLACK */
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.tagline {
    color: #e6e6e6;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* CTA button */
.cta-button {
    display: inline-block;
    background: #000; /* BLACK */
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #fff;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background: #111;
}

/* Gallery links */
.gallery-links a {
    background: #000; /* BLACK */
    color: #fff;
    border-radius: 6px;
    padding: 14px 28px;
    text-decoration: none;
}

.gallery-links a:hover {
    background: #222;
}

/* Footer */
footer {
    background: #000; /* BLACK */
    color: #ccc;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
}

/* Dark mode */
body.dark {
    background: #111;
    color: #e6e6e6;
}

body.dark header,
body.dark footer {
    background: #000;
}

.intro-black {
    background: #000;       /* Pure black */
    color: #fff;            /* White text */
    padding: 80px 20px;
    text-align: center;
}

.intro-black h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.intro-black p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #e6e6e6;         /* Soft white for readability */
}

section {
    margin-bottom: 0;
    padding-bottom: 40px; /* keeps breathing room without a visible gap */
}

footer {
    margin-top: 0;
}

/* Thumbnail grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.thumb {
    overflow: hidden;
    border-radius: 8px;
    background: #111;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    /* Fade-in animation */
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.8s ease forwards;

    /* Hover effect */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.thumb:hover img {
    transform: scale(1.05);
}

/* Fade-in keyframes */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade‑in on load */
.thumb img {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#loadMore {
    display: block;
    margin: 40px auto;
    padding: 12px 28px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#loadMore:hover {
    background: #444;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    border-radius: 6px;
    animation: popIn 0.3s ease;
    pointer-events: none; /* ← THIS FIXES THE CLOSE ISSUE */
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999; /* ← BOOST THIS */
}

.thumb {
    position: relative;
    z-index: 1;
}

footer {
    pointer-events: none;
}