/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    background: #f8f5f2; /* Soft beige background */
    color: #333;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    max-width: 80%;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

/* Heading */
h2 {
    font-size: 32px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #444;
}

/* Search Input */
input {
    width: 90%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
    background: #fff;
    color: #333;
    text-align: center;
    transition: 0.3s ease;
}

input::placeholder {
    color: #aaa;
}

input:focus {
    border-color: #ff7f50; /* Coral color */
}

/* Buttons */
.buttons {
    margin-bottom: 20px;
}

button {
    padding: 10px 18px;
    margin: 5px;
    border: none;
    background: linear-gradient(to right, #ff7f50, #ff6347);
    color: white;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s ease;
}

button:hover {
    background: linear-gradient(to right, #ff6347, #ff4500);
    transform: scale(1.05);
}

/* Gallery Masonry Grid */
.gallery {
    column-count: 3;
    column-gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
    break-inside: avoid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.15);
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    padding: 2px;
}

/* Enlarged Image in Lightbox */
.lightbox-img {
    width: 60vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(255, 255, 255, 0.2);
}

/* Close Button */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #ff6347;
}

/* Lightbox Navigation */
.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .gallery {
        column-count: 2;
    }
    .lightbox-img {
        width: 80vw;
    }
}

@media (max-width: 480px) {
    .gallery {
        column-count: 1;
    }
    .lightbox-img {
        width: 90vw;
    }
}
/* Footer Styles */
footer {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent dark footer */
    color: black;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 14px;
    border-radius: 10px;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.3);
}

/* Footer Links */
footer a {
    color: #00bcd4; /* Light blue accent */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff9800; /* Orange hover effect */
}

/* Social Buttons */
.social-links {
    margin-top: 10px;
}

.social-btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: 0.3s ease-in-out;
}

/* Button Colors */
.github { background: #333; }
.fb { background: #1877F2; }
.linkedin { background: #0077b5; }

/* Hover Effects */
.github:hover { background: #444; transform: scale(1.05); }
.fb:hover { background: #1659a9; transform: scale(1.05); }
.linkedin:hover { background: #005582; transform: scale(1.05); }
