/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #444;
}

/* Header */
header {
    background: linear-gradient(120deg, #ff6f61, #ffb400);
    color: white;
    text-align: center;
    padding: 3rem;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 600;
}

/* Navigation */
nav {
    background-color: #444;
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
}

nav ul li a:hover {
    color: #ff6f61;
    transform: scale(1.1);
}

/* Sections */
section {
    padding: 3rem;
    text-align: center;
}

/* Portfolio Gallery */
#portfolio {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #f8f8f8;
    padding: 3rem;
    border-radius: 10px;
}

/* Grid Layout for Images */
#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 20px;
    justify-items: center;
}

/* Image Hover Enlargement & Smooth Animation */
.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, opacity 0.3s ease-in-out;
}

.gallery-img:hover {
    transform: scale(1.3);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* Footer */
footer {
    background: linear-gradient(120deg, #ff6f61, #ffb400);
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}
