/* ================================================
   AEROGRAPHY PORTFOLIO — MINIMAL LIGHT (CENTERED)
   Clean, neutral design with masonry-style grid
================================================= */
@font-face {
  font-family: 'Inter';
  src: url('font/Inter/static/Inter_18pt-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  src: url('font/Inter/static/Inter_18pt-LightItalic.ttf') format('truetype');
  font-style: italic;
  font-weight: 300; /* light */
}
/* --------- Reset --------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background-color: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

/* --------- Color Variables --------- */
:root {
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --border: #e3e3e3;
  --bg-light: #ffffff;
  --bg-page: #fafafa;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* --------- Header --------- */
.site-header {
  background: rgba(250, 250, 250, 0.85);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
}

.logo h1 {
/*  font-family: 'Poppins', sans-serif; */
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--text-primary);
}

.logo h1 a {
  color: rgba(26,26,26,0.85);
  text-decoration: none;
}
/*
.logo h1 a:hover {
  text-decoration: underline;
}
*/
/* --------- Navigation --------- */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

nav a:hover {
  color: var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
}

/* --------- Main --------- */
main {
  flex: 1;
  padding: 3rem 1rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

/* --------- Sections --------- */
section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: var(--text-primary);
  text-decoration: underline 1px dotted rgba(0,0,0,0.3);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--text-secondary);
}

/* --------- Profile Image --------- */
.profile-photo {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0.6rem auto 1rem;
  object-fit: cover;
  broder-radius: 50%;
  -webkit-border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* --------- Instagram Masonry Grid --------- */
.insta-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 10px;
  gap: 15px;
  width: 100%;
}

.insta-post {
  display: block;
  background: var(--bg-light);
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 0px 0px 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.insta-post:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 12px rgba(0,0,0,0.08);
}
.insta-post img {
  width: 100%;
  display: block;
}
.insta-post p {
  font-size: 0.85em;
  margin: 6px;
  color: var(--text-secondary);
}
.insta-post .caption {
  font-size: 0.85em;
  margin: 6px 6px 6px;
  color: var(--text-secondary);
  word-wrap: break-word;
}
.insta-post .timestamp {
  font-size: 0.75em;
  color: #888;
  margin-top: 4px;
  word-wrap: break-word;
}

.insta-feed-error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  width: 100%;
  text-align: center;
}


/* --------- Contact --------- */
.contact {
  text-align: center;
}

#email-link a {
  color: var(--text-primary);
  text-decoration: none;
}
#email-link a:hover {
  text-decoration: underline;
  color: var(--text-secondary);
}

/* --------- Footer --------- */
.site-footer {
  background: var(--bg-light);
  color: var(--text-secondary);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

/* --------- Utilities --------- */
::selection {
  background-color: #d0d0d0;
  color: #000;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

img {
  user-select: none;
}
