/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@import url("https://fonts.cdnfonts.com/css/libre-caslon-condensed");
@import url('https://fonts.cdnfonts.com/css/yesyesno');      

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

body {
  font-family: "Libre Caslon Condensed", serif;
  background-color: #F3F3F3;
  color: #000000;
  line-height: 1;
}

a {
   color: #000000;
}

.container {
  max-width: 1400px;
  margin: 0 auto; 
  padding: 40px 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main Content */
.main-content {
  max-width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*text-align: center;*/
  padding: 21px 0;
  line-height: 0.6;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 20%);
  gap: 45px 60px;
  margin-bottom: 80px;
  width: 100%;
  max-width: 900px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: #2d2d2d;
  transition: transform 0.3s ease;
}

.nav-item:hover {
  transform: scale(105%);
}

.nav-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
/*   border: 2px solid #2d2d2d; */
  border-radius: 8px;
/*   background-color: #fff; */
}

.nav-label {
  font-size: 16px;
  font-family: "YesYesNo", monospace;
  letter-spacing: -0.5px;
}

/* Hero Text */
.hero-text {
  max-width: 800px;
  margin-bottom: 30px;
  text-align: left;
}

.subtitle {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: #666;
}
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.logo {
  font-size: 48px;
  color: #000000;
}

.site-title {
  font-size: 36px;
  font-style: italic;
  color: #000000;
}

.menu {
  font-size: 12px;
  font-style:italic;
  cursor: pointer;
}

.menu:hover {
  color:#E75C51;
}

h1 {
  font-size: 33px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 18px;
}

.underline {
  text-decoration: underline;
  text-decoration-color: #2d2d2d;
  text-underline-offset: 4px;
}

/* 
.read-more {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #2d2d2d;
  border-radius: 25px;
  text-decoration: none;
  color: #2d2d2d;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.read-more:hover {
  background-color: #2d2d2d;
  color: #f5f5f0;
} */

/* Footer */
footer {
  text-align: center;
  padding: 40px 0 20px;
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .nav-grid {
    grid-template-columns: repeat(4, 10%);
    gap: 60px 80px;
  }

  h1 {
    font-size: 24px;
  }

  .container {
    padding: 30px;
  }
}

/* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -400px; /* hidden off-screen */
  width: 400px;
  height: 100vh;
  background-color: #fff;
/*   border-left: 2px solid #2d2d2d; */
  padding: 60px 40px;
  transition: right 0.6s ease;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar.open {
  right: 0; /* slides in */
}

.sidebar-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: #2d2d2d;
}

.sidebar-close:hover {
  color: #d64545;
}

.sidebar-content h2 {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: normal;
}

.sidebar-content p {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Make menu icon clickable */
.menu-icon {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-icon:hover {
  transform: rotate(90deg);
}

/* PORTFOLIO PAGE*/
/* Portfolio Listing Page */
.portfolio-listing {
  padding: 60px 0;
}

.portfolio-listing h1 {
  font-size: 48px;
  margin-bottom: 60px;
  font-weight: normal;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 60px;
}

.project-card {
  text-decoration: none;
  color: #2d2d2d;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-thumbnail {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 2px solid #2d2d2d;
  border-radius: 8px;
  margin-bottom: 20px;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card h2 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: normal;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.tag {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid #2d2d2d;
  border-radius: 20px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
}

.project-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Individual Project Page */
.project-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
}

.breadcrumb a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #2d2d2d;
}

.project-header {
  margin-bottom: 60px;
}

.project-header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: normal;
}

.project-hero {
  width: 100%;
  margin-bottom: 60px;
}

.project-hero img {
  width: 100%;
  height: auto;
  border: 2px solid #2d2d2d;
  border-radius: 8px;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  padding: 30px;
  background-color: #fff;
  border: 2px solid #2d2d2d;
  border-radius: 8px;
}

.meta-item h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-item p {
  font-size: 16px;
  color: #666;
}

.project-content {
  margin-bottom: 60px;
}

.project-content section {
  margin-bottom: 40px;
}

.project-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: normal;
}

.project-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-image {
  margin: 60px 0;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.caption {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  font-style: italic;
  text-align: center;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border: 2px solid #2d2d2d;
  border-radius: 8px;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  border-top: 1px solid #ddd;
}

.project-nav a {
  text-decoration: none;
  color: #2d2d2d;
  font-size: 16px;
}

.project-nav a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .project-gallery {
    grid-template-columns: 1fr;
  }
}
