/*
Theme Name: Shane Portfolio
Author: Shane Henry
Description: Custom Photography Portfolio Theme
Version: 5.0
*/

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

body {
  background-color: #fcf8e3;
  color: #222222;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

ul, li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* ====================
   MASTER CONTAINER
   ==================== */
.site-wrap {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 100vh;
  padding: 50px 60px;
  box-sizing: border-box;
}

.site-container {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 80px;
  align-items: flex-start;
}

/* ====================
   LEFT SIDEBAR 
   ==================== */
.sidebar-content {
  width: 220px;
  min-width: 220px;
  position: sticky;
  top: 50px;
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.logo-wrap {
  margin-bottom: 30px;
}

.logo a {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  color: #111111;
  display: block;
  line-height: 1.2;
}

.logo-secondary span {
  font-size: 0.75rem;
  font-weight: 400;
  color: #888888;
  display: block;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.nav-section-title {
  font-size: 0.90rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999999;
  margin-bottom: 12px;
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar-nav ul li {
  margin-bottom: 4px; 
  width: 100%;
}

.sidebar-nav ul li a,
.contact-link-wrap a {
  text-decoration: none;
  color: #777777;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-style: italic;
  transition: color 0.2s ease;
  display: block;
  text-align: left;
}

.sidebar-nav ul li a:hover,
.contact-link-wrap a:hover {
  color: #111111;
}

.contact-link-wrap {
  margin-top: 30px;
  margin-bottom: 25px;
}

/* ====================
   SOCIAL ICONS
   ==================== */
.pf-nav-social ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-start; 
  align-items: center;
  gap: 12px; 
}

.social-icon {
  width: 16px; 
  height: 16px;
  fill: #888888;
  transition: fill 0.2s ease;
  display: block;
}

.social-icon:hover {
  fill: #111111;
}

/* ====================
   MAIN GRID (HOMEPAGE)
   ==================== */
main.main-content {
  flex-grow: 1;
  width: 100%;
}

.project-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100%;
}

.project-cover {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
  background-color: #f2edd5;
}

.cover-image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover__placeholder {
  width: 100%;
  height: 100%;
  background-color: #f2edd5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a09a82;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ====================
   HOVER OVERLAY
   ==================== */
.details-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  padding: 12%;
  z-index: 10;
}

.project-cover:hover .details-wrap {
  opacity: 1;
}

.details {
  background-color: rgba(252, 248, 227, 0.92);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.details .title {
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #111111;
  line-height: 1.25;
}

/* ====================
   INNER PAGE LAYOUT
   ==================== */
.inner-page-main {
  flex-grow: 1;
  width: 100%;
}

.page-content-wrap {
  width: 100%;
}

.page-content-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* ====================
   MOBILE RESPONSIVE
   ==================== */
@media (max-width: 768px) {
  .site-wrap { padding: 25px; }
  .site-container { flex-direction: column; gap: 40px; }
  .sidebar-content { position: relative; top: 0; width: 100%; height: auto; }
  .project-covers { grid-template-columns: 1fr; }
}