/* Project Detail Page Styles */
@import url("https://fonts.googleapis.com/css2?family=Sorts+Mill+Goudy&display=swap");

body {
  background: #1a1a1a;
  color: #beb38a;  /* Updated to match main page text color */
  font-family: 'Sorts Mill Goudy', serif;  /* Updated to match main page font */
  text-align: center;  /* Match main page text alignment */
  letter-spacing: 0.1em;  /* Match main page letter spacing */
  line-height: 1.8;  /* Match main page line height */
  margin: 0;
  padding: 0;
  font-size: 1.8rem;  /* Base font size for desktop */
}

/* Responsive font sizes */
@media screen and (max-width: 1023px) {
  body {
    font-size: 1.3rem;
  }
}

/* Links */
a {
  color: #beb38a;
  text-decoration: none;
  border: none;
  vertical-align: top;
}

a:hover {
  color: #869334;
  text-decoration: none;
}

@media screen and (min-width: 960px) {
  a:hover {
    transition: 0.3s;
    opacity: 0.7;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header styles */
header {
  width: 100%;
}

/* Navigation */
.nav-wrap {
  display: flex;
  gap: 16px;
}

.nav-link {
  color: #beb38a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #869334;
}

/* Main content */
main {
  min-height: calc(100vh - 200px);
  padding: 50px 0;
}

/* Project detail card */
.project-detail {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 30px;
  margin: 0 auto;
  max-width: 900px;
  border: 1px solid #3a2a14;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-align: left;
  animation: fadeIn 0.5s ease-out forwards;
}

/* Project preview image */
.project-preview {
  margin: 20px 0;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #3a2a14;
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.project-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.5s ease;
}

.project-preview:hover .project-image {
  transform: scale(1.02);
}

/* Responsive image sizing */
@media (max-width: 768px) {
  .project-preview {
    margin: 15px -10px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  
  .project-image {
    width: 100%;
  }
}

/* Back link */
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #c19231;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: #e6d7b8;
  text-decoration: underline;
}

/* Typography */
.project-detail h1 {
  color: #e6ddbd;
  border-bottom: 1px solid #3a2a14;
  padding-bottom: 10px;
  margin: 0 0 20px 0;
  font-size: 2.5rem;
  font-weight: normal;
}

.project-detail h2 {
  color: #e6ddbd;
  margin: 1.5em 0 0.8em;
  font-size: 2rem;
  font-weight: normal;
}

.project-detail p {
  color: #beb38a;
  line-height: 1.8;
  margin: 1em 0;
}

.project-detail ul {
  margin: 1em 0;
  padding-left: 2em;
}

.project-detail li {
  color: #beb38a;
  margin-bottom: 0.8em;
  list-style-type: square;
  line-height: 1.6;
}

.project-detail strong {
  color: #c19231;
  font-weight: normal;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  color: #beb38a;
  font-size: 1.2rem;
}

.site-copyright {
  margin: 0;
  color: #beb38a;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .project-detail {
    padding: 20px;
    margin: 0 10px;
  }
  
  .project-detail h1 {
    font-size: 2rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Background */
#bgCol {
  background: #2b1a00;
  background: linear-gradient(350deg, rgba(36,18,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,30,30,0.3) 100%);
  min-height: 100vh;
}
