/* -----------------------------------------------------
   GLOBAL BASE STYLES
----------------------------------------------------- */

body {
  font-family: 'Arial', sans-serif;
}

p {
  line-height: 1.7;
  color: #444;
}

html {
  scroll-behavior: auto !important;
}

/* -----------------------------------------------------
   NAVBAR
----------------------------------------------------- */

.navbar {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.85) !important;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
}

.navbar-brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-nav .nav-link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  padding: 0.6rem 1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.instagram-icon {
  color: #E1306C;
}

/* -----------------------------------------------------
   SECTION TITLES & HEADINGS
----------------------------------------------------- */

section {
  scroll-margin-top: 90px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 2rem;
}

.subheading {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 1rem;
}

/* -----------------------------------------------------
   GALLERY — GENERAL
----------------------------------------------------- */

.gallery img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

.gallery-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 3rem 0;
  width: 100%;
}

.gallery > .gallery-section:nth-child(even) {
  background: #f8f8f8;
}

/* -----------------------------------------------------
   GALLERY — SECTION BLOCKS
----------------------------------------------------- */

.gallery-section {
  opacity: 1 !important;
  transform: none !important;
}

.gallery-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-section h2 {
  margin-bottom: 1.5rem;
  padding: 0;
  border: none;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #111;
  margin-top: 1rem;
}

.gallery-section .subtitle {
  margin-top: -0.8rem;
  font-size: 0.95rem;
  color: #666;
  letter-spacing: 0.2px;
}

.gallery-section + .container-fluid {
  margin-top: 3rem;
}

.gallery-section:first-of-type {
  opacity: 1 !important;
  transform: none !important;
}

.gallery-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 1.5rem;
}


/* -----------------------------------------------------
   GALLERY — MASONRY GRID
----------------------------------------------------- */

.masonry-gallery {
  column-count: 4;
  column-gap: 2.2rem;
}

.masonry-gallery .item {
  break-inside: avoid;
  margin-bottom: 2.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  background: white;
  border-radius: 8px;
}

.masonry-gallery .item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.masonry-gallery img {
  width: 100%;
  display: block;
  border-radius: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  min-height: 50px;
}

.masonry-gallery img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.masonry-gallery .item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

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

.masonry-like .col-md-8 {
  padding-right: 4rem;
}

@media (max-width: 767px) {
  .masonry-like .col-md-8 {
    padding-right: 0;
  }
}

/* Responsive masonry */
@media (max-width: 992px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-gallery {
    column-count: 1 !important;
    column-gap: 0 !important;
  }

  .masonry-gallery .item {
    break-inside: auto !important;
    width: 100%;
    margin-bottom: 1.5rem;
  }
}


.markmaking-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; /* space between items */
  max-width: 900px;   /* adjust to taste: 700–1000px works beautifully */
  margin-left: 0;     /* align left */
  margin-right: auto; /* prevent centering */
  max-width: 920px;     /* container width */
  margin-left: 0;       /* align left */
  margin-right: auto;   /* prevent centering */
  padding-left: 0.5rem; /* subtle breathing room */
}
/* DESKTOP */
.markmaking-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 920px;
  margin-left: 0;
  margin-right: auto;
  padding-left: 0.5rem;
}

/* TABLET */
@media (max-width: 992px) {
  .markmaking-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .markmaking-gallery {
    grid-template-columns: 1fr;
  }
}

.markmaking-gallery .item {
  break-inside: avoid;
  margin-bottom: 2.4rem;
  width: 100%;
  height: auto;
  display: block;
  padding: 0.5rem; /* thin border like Figurative */
  background: white; /* ensures even border */
  position: relative;
  overflow: hidden;
}

.markmaking-gallery .item span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  text-align: left;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

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

.markmaking-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------
   CUSTOM LIGHTBOX — CLEAN, NO ROUNDED CORNERS
----------------------------------------------------- */

.custom-lightbox,
.custom-lightbox-content,
.custom-lightbox-image-wrapper,
.custom-lightbox-image {
  border-radius: 0 !important;
}

/* Remove hover enlargement */
.custom-lightbox-image:hover {
  transform: none !important;
}

/* Overlay */
.custom-lightbox {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 9999;
  overflow-y: auto;
}

/* Center content with top breathing room */
.custom-lightbox-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 16px 40px;
  box-sizing: border-box;
}

/* Close button */
.custom-lightbox-close {
  position: fixed;
  top: 20px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: #ffffff;
  border: none;
  border-radius: 0;
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  cursor: pointer;
}

/* Image wrapper to clip zoom */
.custom-lightbox-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  overflow: visible !important;
}

/* Image full width, centered */
.custom-lightbox-image {
  display: block;
  width: 70%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.25s ease;
  transform-origin: center center;
  cursor: zoom-in;
  pointer-events: auto;
  max-width: none !important;
  max-height: none !important;
}

/* Zoomed state */
.custom-lightbox-image.is-zoomed {
  transform: scale(1.7) !important;
  cursor: zoom-out !important;
}

/* Caption */
.custom-lightbox-caption {
  text-align: center;
  padding: 24px 0 0;
  color: #111;
}

.custom-lightbox-title {
  font-family: Arial, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.custom-lightbox-meta {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  margin: 0;
}

/* Navigation arrows */
.custom-lightbox-nav {
  position: fixed;
  top: 30%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
  padding: 0;
  z-index: 10000;
}

.custom-lightbox-prev {
  left: 20px;
}

.custom-lightbox-next {
  right: 20px;
}

/* Desktop */
@media (min-width: 992px) {
  .custom-lightbox-image {
    width: 70%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .custom-lightbox-content {
    max-width: 900px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .custom-lightbox-image {
    width: 75%;
  }

  .custom-lightbox-prev {
    left: 10px;
  }

  .custom-lightbox-next {
    right: 10px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .custom-lightbox-image {
    width: 80%;
  }

  .custom-lightbox-prev {
    left: 10px;
  }

  .custom-lightbox-next {
    right: 10px;
  }
}

/* Hide arrows + caption when zoomed */
.custom-lightbox-image.is-zoomed ~ .custom-lightbox-caption,
.custom-lightbox-image.is-zoomed ~ .custom-lightbox-prev,
.custom-lightbox-image.is-zoomed ~ .custom-lightbox-next {
  display: none !important;
}

/* Keep close button always visible */
.custom-lightbox-close {
  z-index: 99999 !important;
}

/* Hide caption on ALL devices when zoomed */
.zoom-active .custom-lightbox-caption {
  display: none !important;
}

/* Hide arrows on all views when zoomed */
  .zoom-active .custom-lightbox-prev,
  .zoom-active .custom-lightbox-next {
    display: none !important;
  }


.custom-lightbox-prev,
.custom-lightbox-next {
  position: fixed;
  top: 30vh; /* halfway down the viewport */
  transform: translateY(-50%);
}

/* Desktop only — arrows visible */
@media (min-width: 992px) {
  .custom-lightbox-prev,
  .custom-lightbox-next {
    display: block;
  }
}

/* Desktop-only arrow sizing */
@media (min-width: 992px) {
  .custom-lightbox-prev,
  .custom-lightbox-next {
    font-size: 48px;   /* increase icon size */
    width: 48px;       /* optional: increase hit area */
    height: 48px;
  }
}

/* Tablet + mobile — arrows hidden when zoomed */
@media (max-width: 991.98px) {
  .zoom-active .custom-lightbox-prev,
  .zoom-active .custom-lightbox-next {
    display: none !important;
  }
}

/* Make the wrapper the vertical reference */
.custom-lightbox-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  overflow: visible !important;
  position: relative;   /* ← THIS FIXES THE CENTRING */
}

.custom-lightbox-image.is-zoomed {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(1.7) !important;
  cursor: zoom-out !important;
}

/* -----------------------------------------------------
   ABOUT SECTION
----------------------------------------------------- */

.about-block {
  margin-bottom: 2.5rem;
}

.about-photo {
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 1rem;
}

.about-section .about-photo {
  margin-top: 1.5rem;
  margin-left: 2rem;
  max-width: 100%;
  height: auto;
}

@media (max-width: 576px) {
  .about-section .about-photo {
    margin-left: 0;
    margin-right: 0;
    margin-top: 1.5rem; /* keep a little breathing room above */
  }
}

.about-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 3rem 0;
  width: 100%;
}

.about-block p {
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

.about-section .section-title {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 2.5rem;
  text-align: left;
}

.about-section .subheading {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 1.2rem;
}

@media (max-width: 576px) {
  #about,
  #contact,
  #gallery {
    scroll-margin-top: 120px;
  }
}

/* -----------------------------------------------------
   CV SECTION
----------------------------------------------------- */

.cv-box {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-top: 2rem;
  padding-left: 0.5rem;
}

.cv-heading {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #111;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
}

.cv-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.cv-list li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.cv-indent {
  padding-left: 2rem;
  margin-left: 1.2rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.cv-list > li:first-child {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #111;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

/* -----------------------------------------------------
   CONTACT SECTION
----------------------------------------------------- */

.contact-section {
  background: #f8f9fa;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.contact-text {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.contact-section a {
  color: #000;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

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

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */

.site-footer {
  background: #fff;
  color: #111;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 40px 0;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 400;
}

.site-footer p {
  margin: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.site-footer p:hover {
  opacity: 1;
}

  
  
  
  
