/* 
  FULVIO TANURE | FOTOGRAFIA - Premium Minimalist Museum Light Stylesheet
  Typography: Cormorant Garamond (Serif) & Inter (Sans-serif)
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #fcfcfc;      /* Pure Gallery White */
  --bg-secondary: #ffffff;    /* Solid White */
  --bg-lightbox: rgba(255, 255, 255, 0.98);
  
  --text-primary: #141414;    /* Slate Dark Charcoal */
  --text-secondary: #5a5a5a;  /* Medium Muted Graphite */
  --text-muted: #8c8c8c;      /* Fine Light Gray */
  
  --accent: #141414;          /* Pure Minimalist Slate Black Accent */
  --accent-rgb: 20, 20, 20;
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  --transition-smooth: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  --border-thin: 1px solid rgba(0, 0, 0, 0.05);
  --border-accent: 1px solid rgba(20, 20, 20, 0.2);
}

/* --- CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}



/* --- Scroll-Reveal Motion Animations --- */
.reveal {
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(15px);
}

.reveal-left {
  transform: translateX(-35px);
}

.reveal-right {
  transform: translateX(35px);
}

.reveal-fade {
  transform: translateY(0);
}

.reveal.reveal-active {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 45px;
  height: 1px;
  background-color: var(--accent);
  margin: 0.8rem auto 0;
  opacity: 0.6;
}

.text-left {
  text-align: left !important;
}

.text-left::after {
  margin: 0.8rem 0 0 !important;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: var(--border-thin);
  background-color: rgba(252, 252, 252, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0.6rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: 60px;
}

.logo-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.1;
}

.logo-group > .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 50%;
  color: var(--text-secondary);
  background-color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.logo-group > .back-link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-group > .back-link:hover {
  color: var(--text-primary);
  border-color: rgba(20, 20, 20, 0.25);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.logo-group > .back-link:hover svg {
  transform: translateX(-2px);
}

.logo-group > .logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.44em;
  color: var(--accent);
  margin-top: 0.15rem;
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--accent);
}

/* Mobile Menu Toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 13px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* --- Hero Section (Full-Screen Carousel Layout) --- */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000000;
}

.hero-showcase-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  animation: fade-in-showcase 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes fade-in-showcase {
  to {
    opacity: 1;
  }
}

.showcase-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
}

/* Dark overlay overlayed on top of slide images for premium readability and contrast */
.showcase-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 3;
  pointer-events: none;
}

.showcase-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.showcase-slide.active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 2;
}

/* Hero Content Layer */
.hero-container {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-split {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

.hero-text-side {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-title {
  font-size: 5.5rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up-hero 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 4.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
    letter-spacing: 0.1em;
  }
}

.hero-subtitle {
  font-size: 1.35rem;
  font-family: var(--font-serif);
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #fafafa;
  margin-bottom: 3rem;
  max-width: 650px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up-hero 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up-hero 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

@keyframes fade-up-hero {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Custom styled CTA button for Hero Section Overlay */
.hero-text-side .btn-primary {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  background: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-text-side .btn-primary:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
  text-shadow: none;
}

/* White styled scroll indicator for visibility on dark overlay background */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse-icon {
  display: block;
  width: 20px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  position: relative;
}

.mouse-wheel {
  display: block;
  width: 2px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 1px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  50% {
    top: 14px;
    opacity: 0;
  }
  100% {
    top: 6px;
    opacity: 1;
  }
}

@keyframes scroll-wheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  50% {
    top: 14px;
    opacity: 0;
  }
  100% {
    top: 6px;
    opacity: 1;
  }
}

/* --- Portfólio Section --- */
.portfolio-section {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
  border-top: var(--border-thin);
}

/* Filters Menu */
.filter-wrapper {
  margin-bottom: 4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-wrapper::-webkit-scrollbar {
  display: none;
}

.filter-menu {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
  min-width: max-content;
  margin: 0 auto;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.3rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn:hover::after,
.filter-btn.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.filter-btn.active {
  color: var(--accent);
}

/* Gallery Grid (Flexbox Masonry) */
.gallery-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 1.8rem;
  width: 100%;
}

.masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

@media (max-width: 1200px) {
  .gallery-grid {
    gap: 1.5rem;
  }
  .masonry-col {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    gap: 0.5rem;
  }
  .masonry-col {
    gap: 0.5rem;
  }
}

/* Gallery Card (Light Theme) */
.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 0;
  background-color: var(--bg-secondary);
  border: var(--border-thin);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
  .gallery-item {
    margin-bottom: 0;
  }
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 20, 20, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #f3f3f3 25%, #eaeaea 50%, #f3f3f3 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  transition: background 0.4s ease;
}

.image-container.loaded {
  background: none !important;
  animation: none !important;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.01);
}

.image-container.loaded img {
  opacity: 1;
}

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

/* Minimalist caption panel revealed on hover with clean light gradient */
.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.6rem;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.gallery-item:hover .item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.item-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}

.item-category {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

/* Spinner Container */
.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 3rem 0 1rem;
}

.loading-spinner {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(20, 20, 20, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Contatos & Quem Sou Section --- */
.contatos-section {
  padding: 7rem 0;
  background-color: var(--bg-secondary);
  border-top: var(--border-thin);
  border-bottom: var(--border-thin);
}

.contatos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .contatos-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Left Column: Info Block */
.info-block {
  display: flex;
  flex-direction: column;
}

.bio-text {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  text-align: justify;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--accent);
  padding-left: 1.2rem;
  transition: var(--transition-smooth);
}

.detail-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.detail-value {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 300;
}

a.detail-value:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Social Links */
.social-links {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.social-icon:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Form Intro Text */
.form-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Right Column: Form Block (Light Theme) */
.form-block {
  background-color: var(--bg-primary);
  padding: 3rem;
  border: var(--border-thin);
  border-radius: 4px;
}

@media (max-width: 480px) {
  .form-block {
    padding: 1.6rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.6rem 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.contact-form textarea {
  resize: none;
}

/* Floating labels */
.form-group label {
  position: absolute;
  top: 0.6rem;
  left: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
}

.contact-form input:focus ~ label,
.contact-form input:not(:placeholder-shown) ~ label,
.contact-form textarea:focus ~ label,
.contact-form textarea:not(:placeholder-shown) ~ label {
  top: -1.2rem;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--accent);
}

.btn-submit {
  display: inline-block;
  padding: 1rem 2.2rem;
  background-color: transparent;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  align-self: flex-start;
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.form-feedback {
  font-size: 0.85rem;
  margin-top: 1rem;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.form-feedback.success {
  color: #5d7c50;
}

.form-feedback.error {
  color: #ad4b4b;
}

/* --- Footer --- */
footer {
  padding: 4.5rem 0;
  background-color: var(--bg-primary);
  border-top: var(--border-thin);
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-lightbox);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 85%;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
}

.lightbox-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox.open .lightbox-img {
  opacity: 1;
}

.lightbox-caption-panel {
  width: 100%;
  text-align: center;
  padding: 1.5rem 0 0;
}

.lightbox-caption {
  display: none !important;
}

.lightbox-meta {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

/* Lightbox Controls (Dark Grey icons on White overlay) */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 2100;
  outline: none;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  color: var(--accent);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  font-weight: 200;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  font-weight: 100;
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  font-weight: 100;
}

@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }
  .scroll-indicator {
    display: none;
  }
  .filter-wrapper {
    overflow-x: visible;
    margin-bottom: 2.5rem;
  }
  .filter-menu {
    min-width: unset;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  .filter-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.65rem;
  }
  .lightbox-prev {
    left: 0.5rem;
    font-size: 3rem;
  }
  .lightbox-next {
    right: 0.5rem;
    font-size: 3rem;
  }
  .lightbox-close {
    top: 1rem;
    right: 1.2rem;
    font-size: 2.2rem;
  }
  .lightbox-content {
    height: 75%;
    width: 95%;
  }
  .lightbox-caption {
    font-size: 1.1rem;
  }
}

/* --- Mobile Menu Drawer --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
}

/* --- Album Cards View for Ensaios --- */
.gallery-grid.album-view {
  column-count: unset !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  gap: 4rem !important;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .gallery-grid.album-view {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    max-width: 400px;
  }
}

.album-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.album-cover-container {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: var(--border-thin);
  background-color: #f7f7f7;
  position: relative;
  transition: var(--transition-smooth);
}

.album-card:hover .album-cover-container {
  transform: translateY(-6px);
  border-color: rgba(20, 20, 20, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.album-cover-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.01);
}

.album-card:hover .album-cover-container img {
  transform: scale(1.05);
}

.album-info {
  text-align: center;
  padding: 1.5rem 0 0;
}

.album-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.album-count {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* Back Button for photoshoots */
.back-button-container {
  margin-bottom: 3rem;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.btn-back {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-back:hover {
  color: var(--text-primary);
  transform: translateX(-4px);
}

/* --- Success Modal (Minimalist Light Theme) --- */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.success-modal-card {
  background-color: var(--bg-secondary);
  border: var(--border-accent);
  padding: 3.5rem 2.5rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.05);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal-overlay.open .success-modal-card {
  transform: scale(1);
}

.success-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 20, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  margin-bottom: 0.5rem;
}

.success-modal-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin: 0;
}

.success-modal-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.btn-close-modal {
  display: inline-block;
  width: 100%;
  padding: 0.85rem 2rem;
  background-color: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 0.5rem;
}

.btn-close-modal:hover {
  background-color: transparent;
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}


