/* Portfolio Section */
.portfolio-section {
    padding: 32px 0;
}

.portfolio-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
}

/* Gallery Grid */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    padding: 16px;
}

.portfolio-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}





@media (min-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* Sidebar */
.sidebar {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: calc(40% - 16px);
    height: 100%;
    background: lightslategray;
    color: white;
    padding: 2rem;
    z-index: 1000;
    flex-direction: column-reverse;
    will-change: transform;
    contain: content;
     
}

.contact-form {
    display: grid;
    gap: var(--spacing-unit);
    max-width: var(--max-width);
    margin: 0 auto;
}

.menu-toggle {
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);

}

.footer {
    background: var(--primary-bg);
    color: var(--primary-text);
    padding: var(--spacing-unit);
    margin-top: auto;
}

