

/*
Design by TEMPLATED
http://templated.co
Released for free under the Creative Commons Attribution License
*/

/* ---------- Base ---------- */

body {
  margin: 0;
  padding: 0;
  background: #F6F0FA; /* soft lavender */
  font-family: "Momo Trust Display", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  color: #5B5560; /* slightly deeper neutral for contrast */
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-weight: 300;
  color: #6F4BAE; /* lilac/deep purple for headings */
}

h1 { font-size: 2em; }
h2 { font-size: 2.8em; }
h3 { font-size: 1.6em; }

p, ul, ol {
  margin-top: 0;
  line-height: 180%;
}

a {
  text-decoration: none;
  color: #5BA689; /* keeping your original link color for body links */
}

#wrapper {
  overflow: hidden;
  background: #fff7ff;
}

.container {
  width: 1200px;
  margin: 0px auto;
}

/* ---------- Header ---------- */

#header-wrapper {
  overflow: hidden;
  height: 600px;
}

#header {
  width: 960px;
  height: 200px;
  margin: 0 auto;
  padding: 0px 20px;
}

/* ---------- Logo ---------- */

#logo {
  overflow: hidden;
  height: 150px;
}

#logo h1, #logo p {
  text-align: center;
}

#logo h1 {
  padding: 5px 0px 20px 0px;
  letter-spacing: 0px;
  text-transform: capitalize;
  font-size: 80px;
  color: #6F4BAE; /* lilac */
}

#logo p {
  margin-top: -20px;
  padding: 0px 0px 0px 5px;
  font-size: 20px;
  font-weight: 300;
  color: #7A6A9E; /* subtle purple-gray */
}

#logo p a {
  color: #7A6A9E;
}

#logo a {
  border: none;
  background: none;
  text-decoration: none;
  color: #3C342E;
}

/* ---------- Menu (unchanged on purpose) ---------- */

#menu-wrapper {
  overflow: hidden;
  height: 52px;
  margin-bottom: 2em;
  background: #000000;
}

#menu {
  overflow: hidden;
  height: 52px;
}

#menu ul {
  margin: 0;
  padding: 0px 0px 0px 0px;
  list-style: none;
  line-height: normal;
  text-align: center;
}

#menu li {
  display: inline-block;
}

#menu a {
  display: block;
  padding: 0px 30px;
  line-height: 52px;
  border: none;
  text-decoration: none;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #FFFFFF;
}

#menu a:hover, #menu .current_page_item a {
  background: #7A6A9E;
  text-decoration: none;
  color: #FFFFFF;
}

/* ---------- Page ---------- */

#page {
  overflow: hidden;
  padding: 20px 20px 40px 20px;
}

/* ---------- Content ---------- */

#content {
  float: left;
  width: 752px;
  padding: 0px 0px 0px 0px;
}

/* ---------- Footer ---------- */

#footer {
  height: 100px;
  margin: 0 auto;
  padding: 50px 0px 0px 0px;
}

#footer p {
  margin: 0;
  padding-top: 10px;
  line-height: normal;
  text-align: center;
  text-shadow: 1px 1px 0px #FFFFFF;
  color: #7A6A9E; /* lilac tint */
}

#footer a {
  text-decoration: underline;
  color: #7A6A9E;
}

#footer a:hover {
  text-decoration: none;
  color: #4B2A7B;
}

/* ---------- (Legacy) Three Column Content (unused now but kept intact) ---------- */

#three-column {
  overflow: hidden;
  padding: 10px 0px 50px 0px;
}

#three-column .tbox1 {
  float: left;
  width: 384px;
  margin-right: 20px;
}

#three-column .tbox2 {
  float: left;
  width: 384px;
}

#three-column .tbox3 {
  float: right;
  width: 384px;
}

/* ---------- Cards / Boxes ---------- */

.box-style {
  background: #FFFFFF;
  border: 2px solid #E6D8F7;      /* light lilac border */
  box-shadow: 0 6px 16px rgba(111, 75, 174, 0.08);
  border-radius: 10px;
  text-align: left;      
  /* better for paragraphs */
}

.box-style h2 {
  padding: 10px 0px;
  letter-spacing: -1px;
  font-size: 22px;
  color: #4B2A7B;                 /* richer purple for headings inside cards */
}

.box-style .content {
  overflow: hidden;
  width: auto;     /* allow flexible width in two-column layout */
  padding: 30px;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* ---------- Button (non-nav) ---------- */

.button {
  display: inline-block;
  margin: 1em 0em;
  background: #6F4BAE;            /* primary lilac purple */
  padding: 0.9em 1.4em;
  color: #FFFFFF;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.05s ease, background 0.2s ease;
}

.button:hover {
  background: #7F5BC4;            /* slightly brighter on hover */
  transform: translateY(-1px);
}

/* ---------- Alternating Project Rows ---------- */

.project-row {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 10px 0 40px 0;
}

.project-row .box-style {
  flex: 1 1 50%;
}

.project-media {
  flex: 1 1 50%;
  background: linear-gradient(135deg, #EFE4FB 0%, #E6D8F7 100%);
  border: 2px dashed #C5B3EA;     /* visual placeholder if no image yet */
  border-radius: 10px;
  overflow: hidden;
  min-height: 280px;              /* presence before images load */
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Flip order for alternating rows */
.project-row.reverse {
  flex-direction: row-reverse;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .project-row,
  .project-row.reverse {
    flex-direction: column;
  }
  .project-media {
    min-height: 220px;
  }
}
.project-media img {
  transition: opacity 0.3s ease;
}

.project-media img:hover {
  opacity: 0.88;
}
h2 {
  position: relative;
}

h2::after {
  content: "";
  width: 45px;
  height: 3px;
  background: #C5B3EA;
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}
/* -------- Subpage sizing & balance (book-logo.html only) -------- */

.detail-page #logo h1 {               /* smaller page title */
  font-size: 64px;
}

.detail-page #logo p {                /* slightly tighter subtitle */
  margin-top: -10px;
}

/* Center each project row and limit total width so text doesn't stretch */
.detail-page .project-row {
  max-width: 980px;                   /* was full 1200px container */
  margin: 0 auto 36px auto;           /* centers & adds breathing room */
  gap: 28px;                          /* balanced gap between text & image */
  align-items: center;                 /* vertical alignment */
}

/* Keep text column comfortably narrow */
.detail-page .project-row .box-style .content {
  max-width: 520px;                   /* prevents tall, oversized boxes */
  padding: 26px;                      /* a touch tighter than homepage */
}

/* Slightly smaller section headings on this page */
.detail-page .project-row h2 {
  font-size: 1.9em;
}

/* Keep media visually consistent */
.detail-page .project-media {
  min-height: 320px;                  /* uniform image height */
  border-radius: 12px;                /* soft edges match your style */
}

/* Optional: soften box shadow and border for a lighter feel */
.detail-page .box-style {
  border: 1.5px solid #E6D8F7;
  box-shadow: 0 4px 14px rgba(111, 75, 174, 0.10);
  border-radius: 12px;
}
