@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-Regular.woff2') format('woff2'),
       url('/fonts/CrimsonText-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* important to control FOUT */
}

@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-SemiBold.woff2') format('woff2'),
       url('/fonts/CrimsonText-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap; /* important to control FOUT */
}

@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-Bold.woff2') format('woff2'),
       url('/fonts/CrimsonText-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-Italic.woff2') format('woff2'),
       url('/fonts/CrimsonText-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-SemiBoldItalic.woff2') format('woff2'),
       url('/fonts/CrimsonText-SemiBoldItalic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap; /* important to control FOUT */
}

@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-BoldItalic.woff2') format('woff2'),
       url('/fonts/CrimsonText-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap; /* important to control FOUT */
}


body {
  margin: 0;
  font-family: 'Crimson Text', Georgia, serif;
  
  overflow: scroll; /* Show scrollbars */
  background: #F8F7F4; /* Base page background stays white */
}

* {
  box-sizing: border-box;
  vertical-align: middle;
}

.container {
  display: flex;
  min-height: 100vh;
  max-width: 1402px;
  margin: 0 auto;
}

.sidebar {
  width: 250px;
  flex-shrink: 0; /* prevent shrinking */
  background: #282828;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  
  align-items: center;
  border-right: 2px solid #161515;
  box-sizing: border-box;
  
}

.sidebar-inner {
  position: sticky; /* keeps it pinned */
  top: 44px;         /* stick when it hits 50% viewport height */
  /*transform: translateY(-50%); /* center it vertically */
  text-align: center;
}

.sidebar nav {
  align-items: center;
  margin-top: 105px;
  display: flex;
  flex-direction: column;
}

.sidebar nav a.project-link {
  color: #F8F7F4;      /* Warm white text */
  font-size: 0.9rem;
  font-weight: 400; /* Semi-bold subheading */
  align-items: center;
  margin: 0.1rem 0;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 3s ease;
}

.sidebar nav a {
  color: #F8F7F4;      /* Warm white text */
  font-size: 1rem;
  font-weight: 700; /* Semi-bold subheading */
  align-items: center;
  margin: 0.1rem 0;
  text-decoration: none;
  transition: color 3s ease;
}

.sidebar nav a:hover {
  color: #b7a680;
  transition: color 0.2s ease;
}

.sidebar nav p {
  color: #F8F7F4;      /* Warm white text */
  font-size: 1rem;
  font-weight: 700; /* Semi-bold subheading */
  align-items: center;
  margin: 0.3rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar-footer {
  color: #F8F7F4;
  font-size: 1rem;
  font-weight: 700; /* Semi-bold subheading */
  text-align: center;
  position: fixed;
  bottom: 0;
  margin-bottom: 20px;
}

.logo {
  display: flex;
  justify-content: center; /* centers horizontally */
}

.logo a {
  position: relative; /* for absolute imgs inside */
  display: inline-block;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 1;
}

.logo img {
  text-align: center; /* if needed */
  margin: auto;
  max-width: 110px;
  height: auto;
  display: block;
}

.logo-link {
  display: inline-block; /* so it respects text-align */
  position: relative;
  display: block;
  height: auto;
  width: 150px; /* example */
  margin: 20px auto;
}

.logo-link img {
  position: absolute;
  top: -20px; left: 20px;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

.logo-front {
  opacity: 1;
  z-index: 2;
  position: relative; /* front image is on top */
}

.logo-back {
  opacity: 1;
  z-index: 1;
}

.logo-link:hover .logo-front {
  opacity: 0;
}

.logo-link:hover .logo-back {
  opacity: 1;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /*gap: 1rem;*/
  /*padding: 2rem;*/
  flex: 1;
}


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

.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 20;
  text-align:center;
}

.mobile-menu nav a {
  color: #282828;      /* Warm white text */
  font-size: 2rem;
  font-weight: 700; /* Semi-bold subheading */
  align-items: center;
  display: block;
  margin: 1rem 0;
  text-decoration: none;
}

.mobile-menu .close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/*
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}*/

@media (max-width: 800px) {
  .mobile-header {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .container {
    flex-direction: column;
  }

  .logo {
    max-height: 50px;
  }
  
  .mobile-footer {
  display: block;
  }
}

.project-detail {
  max-width: 1080px; /* Or your preference */
  padding: 2rem;
}

.project-detail h1 {

  font-size: 1.8rem;
  font-weight: 700; /* Bold heading */
  margin-top: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  line-height: 1;
}

.image-full img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}
.thumb-grid {
  display: grid;
  margin-bottom: 3.5rem;
  margin-top: 6.5rem;
}

.image-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

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

.grid-9 {

  max-width: 1017px; 
  grid-template-columns: repeat(9, 1fr);
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
}
.content {
  flex: 1; /* Take up all remaining space */
  /*background: #F8F7F4; /* Warm background for everything right of the sidebar */
}

.about-detail {
  text-align:center;
   max-width: 645px;
  margin: 0 auto;
  padding: 3.6rem 2rem;
  font-size: 1.2rem;
  text-align:center;
}

.about-detail h1 {

  font-size: 3.8rem;
  font-weight: 700; /* Bold heading */
  margin-top: 44px;
  margin-bottom: -1.5rem;
  letter-spacing: -2px;
  line-height: 1;
}

.about-detail h2 {
  font-size: 2.1rem;
  font-weight: 600; /* Semi-bold subheading */
  margin-top: 3.5rem;
  margin-bottom: 2.8rem;
  letter-spacing: -0.6px;
  line-height: 1;
}

.about-detail p {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.cta-block {
  background: #282828; /* Dark green block */
  color: #F8F7F4;      /* Warm white text */
  padding-top: 0.2rem;
  padding-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 2rem;
}

.cta-block p {
  font-size: 1.5rem;
  font-weight: 600; /* Semi-bold subheading */
  letter-spacing: -0.6px;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background: #dcd1bc; /* Cream button */
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
}


/* /////////////////////////////////////////////////////////////////////////////// Hover///////// */
.work-item {
  position: relative;
  display: block; /* or inline-block */
  overflow: hidden;
}

.thumb-front {
  display: block;
  width: 100%;
  height: auto;
}

.thumb-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: color 0.3s ease;
}

.work-item:hover .thumb-back {
  opacity: 1;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #282828; /* Soft gold */
  color: #F8F7F4;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hover-text {
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: -0.5px;
  padding: 1rem;
}

.work-item:hover .hover-overlay {
  opacity: 1;
}
/* /////////////////////////////////////////////////////////////////////////////// CONTACT///////// */

.contact-detail {
   max-width: 645px;
  margin: 0 auto;
  padding: 3.6rem 2rem;
  font-size: 1.2rem;
  text-align:center;
  
}

.contact-detail h1 {
  text-align:center;
  font-size: 3.8rem;
  font-weight: 700; /* Bold heading */
  margin-top: 44px;
  margin-bottom: -1.5rem;
  letter-spacing: -2px;
  line-height: 1;
}

.contact-detail h2 {
  text-align:center;
  font-size: 2.1rem;
  font-weight: 600; /* Semi-bold subheading */
  margin-top: 3.5rem;
  margin-bottom: 2.8rem;
  letter-spacing: -0.6px;
  line-height: 1;
}

.contact-detail p {
  text-align:center;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.contact-detail a {
  text-align:center;
  color: inherit;
  text-decoration: underline;
}

.contact-form {
  text-align:left;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 1rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  border: 2px solid #dcd1bc;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.cf-block {
  background: #282828; /* Dark green block */
  color: #F8F7F4;      /* Warm white text */
  padding-top: 0.2rem;
  padding-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 2rem;
}

.contact-form button {
  text-align:center;
  font-size: 1.25rem;
  line-height: 1.4;
  
  display: inline-block;
  background: #dcd1bc; /* Cream button */
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-form button:hover {
  opacity: 0.8;
}

.privacy-note,
.call-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive tweaks */
@media (max-width: 800px) {
  .contact-detail {
    padding: 3rem 1.5rem;
  }

  .contact-detail h1 {
    font-size: 2.2rem;
  }
}

/* /////////////////////////////////////////////////////////////////////////////// SOCIAL SIDEBAR///////// */

.thank-you {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* /////////////////////////////////////////////////////////////////////////////// SOCIAL SIDEBAR///////// */

.social {
  height: auto;
}

.sidebar-social {
  display: flex;
  justify-content: center;
}

.sidebar-social a {
  color: #F8F7F4;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sidebar-social a:hover {
  opacity: 0.6; /* Default to inactive */
}

.sidebar-social .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.sidebar-scaler .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.toggle-btn {
  cursor: pointer;
  transition: opacity 0.3s ease;
  opacity: 0.6; /* Default to inactive */
}

.toggle-btn.active {
  opacity: 1; /* Fully visible when active */
}

/* /////////////////////////////////////////////////////////////////////////////// 404///////// */
body.not-found {
  background: #282828; /* same as sidebar dark background */
  color: #F8F7F4;      /* warm white text */
  font-family: 'Crimson Text', serif;
  text-align: center;
  padding: 4rem 2rem;
}

.not-found-content {
  max-width: 700px;
  margin: 0 auto;

  /* Add these  */
  min-height: 80vh;            /* Fill viewport */
  display: flex;                /* Enable flex */
  flex-direction: column;       /* Stack vertically */
  justify-content: center;      /* Center vertically */
  align-items: center;          /* Center horizontally */
  padding: 4rem 2rem;           /* Keep your padding */
  box-sizing: border-box;       /* Prevent overflow issues */
}

.not-found-logo {
  max-width: 400px;
  height: auto;
  padding: 0.75rem 1.5rem;
}

.not-found-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 0.1;
}

.not-found-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1;
}

.not-found-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.not-found-cta .button {
  display: inline-block;
  background: #F8F7F4; /* light text on dark background */
  color: #282828;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.not-found-cta .button:hover {
  opacity: 0.8;
}

@media (min-width: 600px) {
  .not-found-cta {
    flex-direction: row;
    justify-content: center;
  }
}
/* /////////////////////////////////////////////////////////////////////////////// MOBILE FOOTER///////// */
/* Base: hidden */
/* Base — hidden by default */
.mobile-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #282828;
  color: #F8F7F4;
  text-align: center;
  padding: 1rem 2rem;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.mobile-footer .sidebar-social {
  display: flex;
  gap: 1rem;
}

.mobile-footer .sidebar-social a {
  color: #F8F7F4;
}

.mobile-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.mobile-footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-footer a:hover {
  color: #b7a680;
}
/* Force hide on large screens */
@media (min-width: 801px) {
  .mobile-footer {
    display: none !important;
  }
}

/* Show + flex only on mobile */
@media (max-width: 800px) {
  .mobile-footer {
    display: flex !important;
  }
  .container {
    padding-bottom: 120px; /* or height of your footer */
  }
}