/* ==========================================================================
   PHOTOGRAPHY PORTFOLIO SPECIFIC STYLES
   ========================================================================== */

/* Overwrite body background for photography portfolio */
body.photography-body {
  background-color: var(--surface);
  color: var(--on-surface);
}

/* Navigation */
.photo-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(251, 249, 244, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-container-highest);
  transition: var(--transition-fast);
}

.photo-nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem 1rem;
}

@media (min-width: 768px) {
  .photo-nav-container {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  }
}

.photo-nav-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .photo-nav-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
  }
}

.photo-logo {
  text-align: center;
  display: block;
}

@media (min-width: 768px) {
  .photo-logo {
    text-align: left;
  }
}

.photo-logo-title {
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--on-surface);
}

@media (min-width: 640px) {
  .photo-logo-title {
    font-size: 2.25rem;
  }
}

.photo-logo-sub {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
  transition: var(--transition-fast);
}

@media (min-width: 640px) {
  .photo-logo-sub {
    font-size: 1rem;
  }
}

.photo-logo:hover .photo-logo-sub {
  color: var(--secondary);
}

.photo-nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-items: center;
}

.photo-nav-link {
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.photo-nav-link:hover {
  color: var(--secondary);
}

.photo-nav-link-divider {
  border-left: 1px solid var(--outline-variant);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

.photo-nav-red-bar {
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .photo-nav-red-bar {
    margin-top: 1.5rem;
  }
}

/* Hero Section */
.photo-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .photo-hero {
    padding: 5rem 1.5rem 3rem 1.5rem;
  }
}

.photo-hero-row {
  display: flex;
  flex-direction: column-reverse;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .photo-hero-row {
    flex-direction: row;
    gap: 4rem;
  }
}

.photo-hero-text {
  text-align: center;
}

@media (min-width: 768px) {
  .photo-hero-text {
    width: 50%;
    text-align: left;
  }
}

.photo-hero-title {
  font-size: 1.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .photo-hero-title {
    font-size: 3rem;
  }
}

.photo-text-highlight {
  color: var(--primary);
}

.photo-hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: #555555;
  line-height: 1.6;
}

.photo-hero-desc p {
  margin-bottom: 1.5rem;
}

.photo-hero-desc p.sub-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.photo-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.25rem;
  transition: var(--transition-fast);
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .photo-insta-link {
    font-size: 0.875rem;
  }
}

.photo-insta-link:hover {
  color: var(--primary);
}

.photo-hero-img-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

@media (min-width: 768px) {
  .photo-hero-img-wrap {
    width: 50%;
    justify-content: flex-end;
  }
}

.photo-bg-blur {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 16rem;
  height: 16rem;
  background-color: var(--surface-dim);
  border-radius: var(--rounded-full);
  filter: blur(48px);
  opacity: 0.4;
  z-index: -10;
}

.photo-portrait {
  width: auto;
  height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

@media (min-width: 768px) {
  .photo-portrait {
    height: 550px;
  }
}

.photo-portrait:hover {
  transform: scale(1.03);
}

/* Gallery Grid */
.photo-gallery {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

.photo-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 0;
}

.photo-grid-item {
  position: relative;
  overflow: hidden;
}

.photo-grid-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.02);
}

/* Fade in animation */
.photo-fade-in {
  animation: photoFadeIn 0.8s ease-out forwards;
  opacity: 0;
}

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

/* Footer & Contact */
.photo-footer {
  background-color: var(--surface-container-low);
  border-top: 1px solid var(--outline-variant);
  padding: 4rem 1.5rem;
}

.photo-footer-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.photo-footer-title {
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .photo-footer-title {
    font-size: 1.5rem;
  }
}

.photo-footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--on-surface-variant);
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .photo-footer-contacts {
    flex-direction: row;
    gap: 2rem;
  }
}

.photo-footer-link {
  transition: var(--transition-fast);
}

.photo-footer-link:hover {
  color: var(--primary);
}

.photo-footer-divider {
  display: none;
  color: var(--outline-variant);
}

@media (min-width: 768px) {
  .photo-footer-divider {
    display: block;
  }
}

.photo-footer-copyright {
  margin-top: 4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
