﻿html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color:#111;
}

/* Background image layer */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Translucent scrolling panel */
.panel {
    background: rgba(255,255,255,0.83);
    min-height: 100vh;
    padding: 40px 20px;
}

/* Width constraint */
.container {
    max-width: 880px;
    margin: auto;
}

/* Typography */
h1 {
    letter-spacing: 2px;
    margin-bottom:4px;
    color:#111;
}

.subtitle {
    font-weight:bold;
    color:#666;
    margin-top:-4px;
}

.author {
    color:#666;
    margin-top:-6px;
}

/* --- PROJECT SECTION STRUCTURE --- */

.project-section {
    margin: 8rem 0;
}

.project-location{
    font-size:0.9em;
    letter-spacing:0.08em;
    margin-bottom:0.2em;
}

.project-country{
    margin-top:-0.4em;
    margin-bottom:1.2em;
}

/* Headings inside project */

.project-section h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.project-section h3 {
    margin-top: 4rem;
    margin-bottom: 1.2rem;
}

/* Paragraph rhythm */

.project-section p {
    margin-bottom: 1.4rem;
}

/* Images */

.project-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 3.5rem 0;
}

/* --- LEGACY PROJECT CLASS (kept for safety) --- */

.project {
    margin: 8vh 0;
}

.project img {
    display:block;
    width:100%;
    height:auto;
}

/* FIGURES */

figure {
    margin:2.5em 0;
    padding:0;
}

figcaption {
    max-width:640px;
    margin-top:0.6em;
    font-size:0.9rem;
    font-style:italic;
    color:#555;
}

/* --- CLOSING LINE --- */

.closing-line {
    margin-top: 6rem;
    margin-bottom: 3rem;
}
.project-colophon {
    font-size: 0.9em;
    letter-spacing: 0.06em;
    margin-top: 1.2em;
    opacity: 0.8;
}