* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background-color: #fff; 
    font-family: "Georgia", serif; 
    color: #111;
    scroll-behavior: smooth;
}

header {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    z-index: 100;
}
.logo-link { text-decoration: none; color: inherit; }
h1 { font-size: 1rem; letter-spacing: 4px; font-weight: 400; }
nav a { text-decoration: none; color: #999; margin-left: 30px; font-size: 0.8rem; text-transform: uppercase; }
nav a:hover { color: #000; }

/* Main Project Grid */
.project-card {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    margin-bottom: 4px;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 1.2s ease, filter 1.2s ease;
}
.project-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}
.project-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
}
.project-overlay h2 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* Page Content Styling */
.content-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    min-height: 80vh;
}
.center-container {
    max-width: 700px;
    width: 100%;
    text-align: center;
}
#about-content {
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 2;
    text-align: justify; /* Editorial feel */
}
.about-image {
    max-width: 400px;
    width: 100%;
    filter: grayscale(100%);
    margin-top: 20px;
}

/* Back to Top */
#backToTop {
    display: none;
    position: fixed;
    bottom: 40px; right: 40px;
    z-index: 99;
    border: 1px solid #ccc;
    background: white;
    padding: 10px 15px;
    cursor: pointer;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    header { flex-direction: column; text-align: center; padding: 20px; }
    nav { margin-top: 15px; }
    nav a { margin: 0 10px; }
    .project-card { height: 60vh; }
    .project-overlay h2 { font-size: 0.9rem; letter-spacing: 3px; }
}
