
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&family=Lora:wght@400;500&display=swap');

/* --- General Styles --- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lora', serif;
  color: #2c2c2c;
  line-height: 1.6;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home {
  background-image: url('images/background.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* --- Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6); /* optional but recommended */
  padding: 10px 0;
}

.navbar ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #2c2c2c;
}

body.home .navbar a {
  color: white;
}
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1em;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1.5px;
}

.home-link a {
  font-size: 1.3em;
}

.navbar a:hover {
  color: #a8cfff;
}
.contact-content {
  margin-top: 80px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  color: white;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}

/* Hero Name */
.name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5em;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: none;
  margin: 0;
}

/* Tagline */
.tagline {
  font-family: 'Lora', serif;
  font-size: 1.3em;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 10px;
}

/* --- Homepage Link Boxes --- */
.links-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  background-color: #fff;
}

.link-box {
  width: 90%;
  height: 350px;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-box.work {
  background-image: url('images/aspens.JPG');
}

.link-box.gallery {
  background-image: url('images/explore.JPG');
}

.link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 1.6em;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background 0.3s ease;
}

.link-box:hover .link-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-of-type(2) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Subpage Headers --- */
.subpage-header {
  padding: 80px 0 30px;
  text-align: center;
  background-color: #f5f5f5;
}

.subpage-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5em;
  font-weight: 400;
  letter-spacing: 2px;
  color: #2c4a3b;
  text-transform: none;
  margin: 0;
}

/* --- Contact Page Styles --- */
.about-content {
  max-width: 800px;   /* controls line length */
  margin: 0 auto;     /* centers it */
  padding: 60px 20px; /* adds space on sides */
  font-size: 1.2em;
  line-height: 1.8;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-icons img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.contact-icons a:hover img {
  transform: scale(1.2);
}

/* --- Pieces Page --- */
.pieces-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.story-stack {
  display: flex;
  flex-direction: column;
}

.story-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  margin-bottom: 40px;
}

.story-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  text-align: center;
  border-radius: 8px;
}

.overlay h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.source {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #a8cfff;
}

.arrow {
  display: block;
  font-size: 2rem;
  margin-top: 15px;
  transition: transform 0.3s ease;
}

.story-card:hover .arrow {
  transform: translateX(8px);
}

/* --- Gallery Page Styles --- */
.gallery-container {
  padding: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  padding: 8px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

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

/* --- Responsive Layout --- */
@media (max-width: 800px) {
  .links-section {
    flex-direction: column;
    align-items: center;
  }

  .link-box {
    width: 80%;
    height: 300px;
  }

  .name {
    font-size: 2.5em;
  }

  .tagline {
    font-size: 1em;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .name {
    font-size: 1.8em;
  }

  .tagline {
    font-size: 0.9em;
  }
}
.bio {
  display: flex;
  align-items: center;
  gap: 40px;
}

.headshot {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
}

.bio-text {
  flex: 1;
}
.contact-content {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
  font-family: 'Lora', serif;
  line-height: 1.8;
}

.contact-links {
  margin-top: 40px;
}

.contact-links a {
  color: inherit;
  text-decoration: underline;
}

.contact-links a:hover {
  opacity: 0.7;
}
