body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e6e6e6;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 900px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

header {
    background-color: #3e4e6c;
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
}

.header-content {
    display: flex;
    align-items: center;
}

.photo {
    flex: 1;
}

.photo img {
    border-radius: 8px;
    width: 150px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.header-info {
    flex: 3;
    padding-left: 20px;
}

.header-info h1 {
    font-size: 2em;
    margin: 0;
    font-family: 'Doto', cursive;
}

.header-info p {
    margin: 6px 0;
}

.header-info a {
    color: #ffdc32;
    text-decoration: underline;
}

/* Gallery Styles */
#gallery {
    margin: 20px 0;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: box-shadow 0.3s;
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
    cursor: pointer;
}

.gallery-item:hover img,
.gallery-item:focus img {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(62, 78, 108, 0.33);
    z-index: 2;
}

/* Responsive: stack columns on mobile */
@media (max-width: 700px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-info {
        padding-left: 0;
        margin-top: 10px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item img {
        height: 180px;
    }
}

section {
    margin: 20px 0;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    background-color: #e0e0e0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

h2 {
    color: #3e4e6c;
    transition: transform 0.3s ease;
    display: inline-block;
    transform-origin: left center;
}

section:hover h2 {
    transform: scale(1.07);
}

.skills-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.primary-skills, .secondary-skills, .tertiary-skills {
    flex: 1;
    margin: 0 10px;
    min-width: 200px;
}

.primary-skills h3,
.secondary-skills h3,
.tertiary-skills h3 {
    font-weight: bold;
    color: #3e4e6c;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

li {
    margin: 8px 0;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #3e4e6c;
    color: white;
    border-radius: 0 0 8px 8px;
}

footer a {
    color: #ffdc32;
    text-decoration: underline;
}