/* ARLUXIS Portfolio Styles */

/* Global Styles */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  color: #f0f0f0;
  overflow-x: hidden;
}

:root {
  --nav-height: 96px;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  height: var(--nav-height);
  top: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.95);
  padding: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 170, 60, 0.3);
}

.nav-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 0;
  padding: 0 0px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.back-link {
  color: #e2aa3c;
  text-decoration: none;
  font-size: 1.5em;
  transition: opacity 0.3s;
  justify-self: start;
}

.back-link:hover {
  opacity: 0.7;
}

.portfolio-title {
  font-size: 2em;
  color: #e2aa3c;
  margin: 0;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.nav-logo {
  height: 110px;
  width: auto;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.instagram-link {
  color: #e2aa3c;
  text-decoration: none;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s;
  justify-self: center;
}

.instagram-link:hover {
  opacity: 0.7;
}

.social-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(73%) sepia(48%) saturate(513%) hue-rotate(358deg) brightness(94%) contrast(89%);
}

/* Hero Section */
.hero-section {
  margin-top: var(--nav-height);
  padding: 130px 40px 110px;
  min-height: 52vh;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.58) 35%, rgba(10, 10, 10, 0.82) 100%),
    radial-gradient(circle at 50% 45%, rgba(226, 170, 60, 0.14) 0%, rgba(226, 170, 60, 0) 55%),
    url("images/arluxis/hero_shot.jpg");
  background-size: 125%;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 26px 30px;
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.38);
  border: 1px solid rgba(226, 170, 60, 0.22);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.hero-kicker {
  margin: 0 0 10px;
  color: #e2aa3c;
  font-size: 0.85em;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.hero-title {
  margin: 0;
  color: #f5f5f5;
  font-size: 3.4em;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95);
}

.hero-subtitle {
  font-size: 1.35em;
  color: #f0f0f0;
  margin: 12px 0 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-description {
  font-size: 1.3em;
  color: #d0d0d0;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.88);
}

.hero-highlight {
  color: #e2aa3c;
  font-weight: 600;
}

/* Gallery Section */
.gallery-section {
  padding: 60px 40px 100px;
  background-color: #0a0a0a;
}

.gallery-category-title {
  max-width: 1400px;
  margin: 0 auto 30px;
  padding-top: 40px;
  color: #e2aa3c;
  font-size: 2em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: left;
  border-bottom: 2px solid rgba(226, 170, 60, 0.3);
  padding-bottom: 15px;
}

.gallery-category-title:first-of-type {
  padding-top: 0;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s ease;
  max-width: 500px;
  width: 100%;
  will-change: transform;
  transform: translateZ(0);
}

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

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  will-change: transform;
  backface-visibility: hidden;
}

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

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 30px 20px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.photo-caption {
  color: #e2aa3c;
  font-size: 1.2em;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* About Portfolio Section */
.about-portfolio-section {
  padding: 80px 40px;
  background-color: #1a1a1a;
}

.about-portfolio-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-portfolio-content h3 {
  font-size: 2em;
  color: #e2aa3c;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.about-portfolio-content p {
  font-size: 1.2em;
  color: #b0b0b0;
  line-height: 1.8;
  font-weight: 400;
}

.inline-link {
  color: #e2aa3c;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.3s;
}

.inline-link:hover {
  border-bottom-color: #e2aa3c;
}

/* Footer */
.portfolio-footer {
  padding: 40px 20px;
  text-align: center;
  background-color: #0a0a0a;
  border-top: 1px solid rgba(226, 170, 60, 0.3);
}

.portfolio-footer p {
  color: #808080;
  font-size: 1em;
  margin: 0;
}

.footer-link {
  color: #e2aa3c;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 0.7;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(226, 170, 60, 0.3);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #e2aa3c;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.3s;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-caption {
  color: #e2aa3c;
  font-size: 1.5em;
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  max-width: 80%;
}

/* Responsive Design */
@media (max-width: 910px) {
  :root {
    --nav-height: 82px;
  }

  .nav-container {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    padding: 0 20px;
  }

  .portfolio-title {
    font-size: 1.5em;
  }

  .nav-logo {
    height: 54px;
  }

  .hero-section {
    padding: 95px 20px 70px;
    min-height: 46vh;
    background-size: 165%;
    background-position: 56% 28%;
  }

  .hero-content {
    padding: 20px 18px;
  }

  .hero-title {
    font-size: 2.5em;
  }

  .hero-subtitle {
    font-size: 1.1em;
  }

  .hero-description {
    font-size: 1.1em;
  }

  .gallery-category-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    margin-bottom: 40px;
  }

  .photo-item {
    max-width: 100%;
    border-radius: 6px;
  }

  .about-portfolio-section {
    padding: 60px 20px;
  }

  .about-portfolio-content h3 {
    font-size: 1.6em;
  }

  .about-portfolio-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-height: 68px;
  }

  .navbar {
    border-bottom: 1px solid rgba(226, 170, 60, 0.24);
  }

  .nav-container {
    gap: 8px;
    padding: 0 12px;
  }

  .back-link,
  .instagram-link {
    font-size: 0.78em;
    gap: 5px;
  }

  .portfolio-title {
    font-size: 1.1em;
    letter-spacing: 0.08em;
  }

  .nav-logo {
    height: 42px;
  }

  .social-icon {
    width: 16px;
    height: 16px;
  }

  .hero-section {
    padding: 82px 14px 48px;
    min-height: 40vh;
    background-size: 205%;
    background-position: 60% 24%;
  }

  .hero-content {
    padding: 16px 14px;
    border-radius: 10px;
  }

  .hero-title {
    font-size: 1.85em;
    letter-spacing: 0.1em;
  }

  .hero-subtitle {
    font-size: 0.82em;
    letter-spacing: 0.08em;
    margin: 10px 0 12px;
  }

  .hero-description {
    font-size: 0.95em;
    line-height: 1.45;
  }

  .gallery-section {
    padding: 34px 14px 60px;
  }

  .gallery-category-title {
    font-size: 1.2em;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .photo-item {
    aspect-ratio: 3/2;
  }

  .about-portfolio-section {
    padding: 44px 14px;
  }

  .about-portfolio-content h3 {
    font-size: 1.35em;
    margin-bottom: 12px;
  }

  .about-portfolio-content p {
    font-size: 1em;
    line-height: 1.6;
  }

  .lightbox-close {
    top: 14px;
    right: 16px;
    font-size: 38px;
  }

  .lightbox-caption {
    font-size: 1.05em;
    margin-top: 12px;
    max-width: 92%;
  }
}

