@charset "UTF-8";
/* =============================
   Base / Reset
============================= */

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

:root {
  --text-color: #9a9a9a;
  --text-dark: #6a6a6a;
  --accent: #ef35b6;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* =============================
   Header
============================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white; /* Or your site's background color */
  border-bottom: 1px solid #eaeaea;
}

/* Ensure the lightbox close button doesn't get hidden behind the header */
.lightbox .close {
  z-index: 1001;
}

/* This ensures that when a lightbox is active, 
   the user only sees the client work and can't scroll the main page */
.lightbox:target {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98); /* Solid white look */
  overflow-y: auto; /* Allows scrolling within the gallery only */
  z-index: 9999;
}


.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px; 
}

.logo-link {
  display: flex;
  justify-content: center;
}

.site-logo {
  width: 180px;
  display: block;
  margin: 0 auto 30px;
}

/* =============================
   Navigation
============================= */

.main-nav {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}

.main-nav a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: #bdbdbd;
}

.main-nav a.active {
  color: #4a4a4a;
}

.main-nav a:hover {
  color: var(--text-dark);
}

/* =============================
   Layout
============================= */

main {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

main.about-page {
  margin-top: 20px;
}

section {
  margin: 0;
}

/* =============================
   Typography
============================= */

h1 {
  font-size: 48px;
  letter-spacing: 0.3em;
  margin: 0 0 10px;
  color: #8a8a8a;
  text-align: center;
}

h2 {
  font-size: 32px;
  letter-spacing: 0.28em;
  margin: 10px 0;
  color: var(--text-dark);
}

/* =============================
   Work / Projects
============================= */

.work-section {
  background-color: #ffffff;
  padding-top: 10px;    
  margin-top: 0;
}

.projects {
  display: flex;            
  justify-content: center;  
  align-items: center;       
  flex-wrap: wrap;          
  gap: 40px;                 
  padding: 30px 20px;    
  max-width: 1200px;     
  margin: 0 auto;
}

.project {
  text-align: center;
}

.project img {
  display: block;
  max-width: 170px;
  height: auto;
}

/* =============================
   Buttons (Pill)
============================= */

a.pill-button {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  border-radius: 999px;
  background-color: #4f4f4f;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  border: none;
}

/* Hover = shadow ONLY */

a.pill-button:hover,

a.pill-button:focus {
  background-color: var(--accent);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Keyboard focus */

a.pill-button:focus-visible {
  outline: 3px solid rgba(245, 138, 217, 0.5);
  outline-offset: 3px;
}

/* =============================
   Fade-in Animation
============================= */

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

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

.site-logo.fade-in { animation-delay: 0.3s; }
.pill-button.fade-in { animation-delay: 0.6s; }

/* =============================
   Lightbox
============================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.96);
  display: none;
  overflow-y: auto;
  padding: 80px 20px;
  text-align: center;
  z-index: 999;
}

.lightbox:target {
  display: block;
}

.lightbox img {
  max-width: 1100px;
  width: 100%;
  margin: 80px auto;
  display: block;
}

.close {
  position: fixed;
  top: 24px;
  right: 36px;
  font-size: 40px;
  text-decoration: none;
  color: #666;
}

.lightbox-title {
margin: 0 auto 48px;
max-width: 1100px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 24px;
font-weight: 400;
letter-spacing: 0.28em;
text-transform: uppercase;
color: #6a6a6a;
text-align: center;
}

.lightbox-subtitle {
  margin: -32px auto 56px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-color);
}

/* Lightbox actions */

.lightbox-actions {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 60px auto 40px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  color: #4f4f4f;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.lightbox-link {
  color: #6a6a6a;
  text-decoration: none;
  font-weight: 400;
}

.lightbox-link:hover {
  color: #ef35b6;
}



/* =============================
   Footer
============================= */

.site-footer {
  margin-top: 4rem;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-color);
  text-align: center;
}

/* =============================
   About Page
============================= */

.about-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4rem; /* Increased gap for a more airy feel */
  max-width: 850px; 
  margin: 40px auto; 
  padding: 0 20px;
}

.about-photo {
  flex: 0 0 240px; 
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px; 
}

.about-title {
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 20px 0 50px;
}

.about-text p {
  margin: 0 0 20px 0; 
  font-family: system-ui, -apple-system, sans-serif; 
  font-size: 16px;
  line-height: 1.7; 
  color: #4f4f4f;
}

.about-text p:first-child {
  margin-top: 5px;
}

.about-text a:not(.pill-button) {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
}

/* =============================
   Contact Page
============================= */

.contact {
  max-width: 600px;
  margin: 15px auto;
  text-align: center;
}

.contact-title {
  font-size: 32px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.contact-text {
  margin: 15px 10px 30px;
  font-family: Gotham, Calibri, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #4f4f4f;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-secondary {
  font-family: Gotham, Calibri, Arial, sans-serif;
  font-size: 16px;
  color: var(--text-dark);
}

.contact-secondary a {
  font-weight: 600;
  text-decoration: none;
}

.contact-secondary a:hover {
  color: #0c5ee4;
}

/* =============================
   Responsive
============================= */

@media (max-width: 768px) {
  .main-nav a {
    font-size: 18px;
  }

  .projects {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    flex-direction: column;
    align-items: center;
  }
}
