/* --- General Styles & Variables --- */
:root {
    --primary-color: #ffffff;
    --background-color: #fdfdfd;
    --text-color: #333333;
    --heading-color: #1a1a1a;
    --border-color: #e0e0e0;
    --accent-color: #888888;
    /* New font family: Helvetica */
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 400; /* Regular weight for body text */
}

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

a {
    color: var(--text-color);
    text-decoration: none;
}

.page-title {
    font-weight: 700; /* Bold weight */
    color: var(--heading-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-content {
    padding-top: 120px; 
}


/* --- Header & Navigation --- */
.main-header {
    background: rgba(253, 253, 253, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700; /* Bold weight */
    letter-spacing: 1px;
    color: var(--heading-color);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    transition: color 0.3s ease;
    font-weight: 700; /* Bold weight */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Homepage Client Gallery Grid --- */
.client-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item .item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

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

.item-overlay h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700; /* Bold weight */
    text-align: center;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Individual Client Page Masonry Gallery --- */
.masonry-gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Contact Page Styles --- */
.contact-grid {
    display: flex;
    gap: 2rem;
}

.contact-column {
    flex: 1;
}

.contact-column h4 {
    font-size: 0.9rem;
    font-weight: 700; /* Bold weight */
    color: var(--heading-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-column p, .contact-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-column a, .contact-column li {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-color);
    font-weight: 400; /* Regular weight for lists/links */
}

.contact-column a {
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-column a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}


/* --- Footer --- */
.main-footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* --- Mobile Navigation & Responsiveness --- */
.hamburger { display: none; background: none; border: none; cursor: pointer; z-index: 101; }
.hamburger span { display: block; width: 25px; height: 2px; background-color: var(--heading-color); margin: 6px 0; transition: all 0.3s ease; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
    .client-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .masonry-gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: block; }

    .mobile-nav { display: flex; flex-direction: column; align-items: center; position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; background: var(--background-color); z-index: 99; padding-top: 6rem; transition: left 0.4s ease-in-out; }
    .mobile-nav.is-active { left: 0; }
    .mobile-nav a { font-size: 1.8rem; padding: 1.5rem 0; font-weight: 700; }
    
    .hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    .contact-grid {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 500px) {
    .client-gallery-grid {
        grid-template-columns: 1fr;
    }
    .masonry-gallery-grid {
        column-count: 1;
    }
    .page-title {
        font-size: 2rem;
    }
}
