body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    /* width: 100%; */
}

header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.header-content {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
}

h2 {
    font-size: 1.2rem;
    margin: 1rem 0 0;
    /* font-weight: 300; */
}

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

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f0f0f0;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

section h2 {
    color: #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#contact a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
}

footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    /* width: 100%; */
}

#about p {
    margin-bottom: 1rem;
}

.small-text {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 2rem;
}

address {
    font-style: normal;
    margin-bottom: 1rem;
}

.about-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    /* border: 3px solid #1a1a1a; */
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-text {
    flex: 1;
}

.profile-image {
    max-width: 300px;
    height: auto;
    order: 2;
}

/* Responsive design for narrow viewports */
@media screen and (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1rem;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    main {
        padding: 1rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .profile-image {
        order: 1;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .about-text {
        order: 2;
    }
}

/* Additional responsive adjustments */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
}