/* Ryan Wurst Portfolio - Jackie Theme Recreation */

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

body {
  font-family: "myriad-pro", "Myriad Pro", Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #333;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER / NAV ===== */
.site-header {
  padding: 40px 40px 20px;
  text-align: left;
}

.site-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.site-title a {
  color: #333;
}

.site-nav {
  padding: 0 40px 30px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
}

.site-nav a {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #333;
  opacity: 1;
}

/* Sub-navigation indentation */
.site-nav .sub-item {
  padding-left: 15px;
  font-size: 12px;
}

/* Nav category labels */
.site-nav .nav-category {
  font-size: 12px;
  color: #bbb;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: default;
}

.site-nav .nav-top-link a {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

/* Footer nav category labels */
.site-footer .nav-category {
  font-size: 11px;
  color: #bbb;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: default;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 0 40px 60px;
  max-width: 1400px;
}

/* ===== THUMBNAIL GRID ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .overlay {
  opacity: 1;
}

.project-card .overlay h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== PROJECT PAGE ===== */
.project-page {
  max-width: 1200px;
  padding: 0 40px 60px;
}

.project-page h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.project-description {
  font-size: 14px;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 40px;
  color: #555;
}

.project-description a {
  color: #333;
  text-decoration: underline;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-images img {
  width: 100%;
  cursor: pointer;
}

/* ===== VIDEO EMBED ===== */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== IMAGE GALLERY (Album Covers, Cassettes) ===== */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 15px;
}

.image-gallery img {
  width: 100%;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.image-gallery img:hover {
  opacity: 0.85;
}

/* ===== ABOUT/CONTACT PAGE ===== */
.about-page {
  max-width: 800px;
  padding: 0 40px 60px;
}

.about-page .profile-img {
  max-width: 400px;
  margin-bottom: 30px;
}

.about-page h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.about-page p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.about-page .contact-info {
  margin-top: 20px;
}

.about-page .contact-info a {
  color: #333;
  text-decoration: underline;
}

/* ===== CATEGORY PAGE ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.03);
}

.category-card .label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 30px 40px;
  border-top: 1px solid #eee;
}

.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
}

.site-footer nav a {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.5px;
}

.site-footer nav a:hover {
  color: #333;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.94);
  z-index: 1000;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-header {
    padding: 20px;
  }

  .site-nav {
    padding: 0 20px 20px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 5px;
  }

  .main-content,
  .project-page,
  .about-page {
    padding: 0 20px 40px;
  }

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

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 20px;
  }

  .site-footer nav ul {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
