@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;1,400;1,700&display=swap');

:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --secondary: #757575;
    --border: #f0f0f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.serif { 
    font-family: 'Playfair Display', serif; 
    font-style: italic; 
    font-weight: 400;
}

/* --- Navigation --- */
nav {
    padding: 3.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

/* Logo size set to match your 404 reference */
.logo { 
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.4rem; 
    letter-spacing: 0.5px; 
    text-transform: lowercase; 
    margin-bottom: 2rem;
    text-decoration: none;
    color: var(--text);
}

.nav-links { 
    display: flex; 
    gap: 2.5rem; 
    text-transform: lowercase; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--secondary); 
    transition: 0.3s; 
    padding-bottom: 4px;
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--text); 
    border-bottom: 1px solid var(--text); 
}

/* --- Photography Sub-Nav --- */
.sub-nav { 
    margin-top: 2rem; 
    display: flex; 
    gap: 1.5rem; 
    font-size: 0.7rem; 
    text-transform: lowercase;
    color: var(--secondary);
}

.sub-nav span { cursor: pointer; transition: 0.3s; }
.sub-nav span:hover, .sub-nav span.active { color: var(--text); font-weight: 600; }

/* --- Layout --- */
.container { 
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 4rem 2rem; 
    min-height: 70vh; 
}

/* Reduced "Coming Soon" / Section Title Size */
h1.serif, h2.serif {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.text-secondary { color: var(--secondary); }
.text-muted { color: #bbb; font-size: 0.85rem; }

.btn-outline {
    display: inline-block;
    text-transform: lowercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--text);
    padding: 1rem 2rem;
    transition: opacity 0.3s;
}

.btn-outline:hover { opacity: 0.5; }

.fade-in { 
    animation: fadeIn 0.8s ease forwards; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(15px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* --- Photography Grid --- */
.gallery { columns: 2; column-gap: 1.5rem; }
.gallery-item { margin-bottom: 1.5rem; break-inside: avoid; }
.gallery-item img { 
    width: 100%; 
    height: auto; 
    filter: grayscale(100%); 
    transition: 0.8s ease; 
    display: block; 
}
.gallery-item:hover img { filter: grayscale(0%); }

/* --- Projects --- */
.project-list { display: flex; flex-direction: column; gap: 4rem; }
.project-card { 
    display: grid; 
    grid-template-columns: 140px 1fr; 
    gap: 2rem; 
    border-top: 1px solid var(--border); 
    padding-top: 2rem; 
}

.project-year { 
    font-size: 0.7rem; 
    color: var(--secondary); 
    letter-spacing: 1px; 
}

.project-info h3 { 
    font-size: 1.3rem; 
    margin-bottom: 0.5rem; 
    font-weight: 400; 
    font-family: 'Playfair Display', serif; 
    font-style: italic; 
}

.project-info p {
    color: var(--secondary);
    font-size: 0.9rem;
    max-width: 550px;
}

.project-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: lowercase;
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.project-link:hover { color: var(--text); }

/* --- Contact --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.75rem;
    text-transform: lowercase;
    letter-spacing: 1px;
    color: var(--secondary);
}

.form-field input,
.form-field textarea {
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    color: var(--text);
    resize: none;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: var(--text);
}

.btn-submit {
    background: var(--text);
    color: var(--bg);
    border: none;
    padding: 1.2rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    text-transform: lowercase;
    letter-spacing: 1.5px;
    transition: opacity 0.3s;
}

.btn-submit:hover { opacity: 0.7; }

/* --- Lightbox --- */
#lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.98); display: none; justify-content: center; align-items: center;
    z-index: 1000; cursor: zoom-out;
}
#lightbox img { max-width: 90%; max-height: 85vh; }

footer { 
    padding: 6rem 2rem; 
    text-align: center; 
    font-size: 0.7rem; 
    color: #bbb; 
    text-transform: lowercase; 
    letter-spacing: 1px; 
}

@media (max-width: 768px) {
    .gallery { columns: 1; }
    .project-card { grid-template-columns: 1fr; gap: 0.5rem; }
    h1.serif, h2.serif { font-size: 1.8rem; }
}