/* styles.css
   Rebuilt clean sheet (keeps: Urban/Muse galleries + lightbox + About/Contact raised cards + Home hero).
*/

/* ===================== */
/* Base / Reset           */
/* ===================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
	overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #080909;
  color: #f5f5f5;
}

/* ===================== */
/* Shared Background      */
/* ===================== */

.page-bg {
  min-height: 100vh;
  color: #ffffff;
  background-image:
    linear-gradient(to bottom, rgba(5, 6, 8, 0.45), rgba(5, 6, 8, 0.92)),
    url("Assets/james-urban-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===================== */
/* Header / Navigation    */
/* ===================== */

.site-header {
  position: fixed;              /* was absolute */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 0.65rem 1rem;

  /* gives consistent look on every page + readable on any background */
  background: rgba(8, 9, 10, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* small logo (left) */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-icon {
  width: clamp(46px, 7vw, 78px);
  height: clamp(46px, 7vw, 78px);
  display: inline-block;
  background-image: url("Assets/james-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* menu */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;

  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  /* CRITICAL: prevents overflow on mobile */
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;        /* Firefox hide */
}

.main-nav::-webkit-scrollbar {  /* Chrome hide */
  display: none;
}

.nav-link {
  color: #f8f2df;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  padding: 0.25rem 0;           /* gives consistent click area */
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background-color: #ff6b2e;
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  width: 100%;
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.55rem 0.75rem;
  }

  .main-nav {
    gap: 1rem;
    font-size: 0.72rem;
  }

  .gallery-page {
    padding-top: 4.75rem;
  }

  .hero-home {
    padding-top: 6.25rem;
  }
}


/* ===================== */
/* Home Hero              */
/* ===================== */

.hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6.5rem 1.5rem 4rem;
  text-align: center;
}

 .hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.25rem 1.5rem 4rem; /* slightly more top padding */
  text-align: center;
}


/* big logo (center) uses Assets/james-graffiti-logo.png from HTML */
.hero-home .hero-logo {
  width: min(520px, 92vw);
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;

  /* hard centering */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.hero-home .hero-title {
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 1rem;
  color: #ff6b2e;
}

.hero-home .hero-subtext {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: #f6f2e7;
}

/* CTA buttons row */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===================== */
/* Buttons                */
/* ===================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.75rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.8rem;
  background-color: #ff6b2e;
  color: #111111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #ff8755;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.75rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.8rem;

  background: rgba(0, 0, 0, 0.45);
  color: #f8f2df;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 107, 46, 0.5);
}

/* ===================== */
/* Gallery Pages (Urban/Muse) */
/* ===================== */

.gallery-page {
  min-height: 100vh;
  padding-top: 5.25rem; /* matches fixed header height */
}


.gallery-hero {
  padding: 2rem 1.5rem 1.25rem;
}

.gallery-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  margin: 0 0 0.75rem;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ff6b2e;
}

.page-subtext {
  margin: 0 auto;
  max-width: 42rem;
  color: #f6f2e7;
  line-height: 1.7;
  font-size: 0.98rem;
}

.gallery-wrap {
  padding: 1.25rem 1.5rem 4rem;
}

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transform: translateZ(0);
}

.thumb img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.thumb:hover img,
.thumb:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.15) contrast(1.1);
}

/* ===================== */
/* Lightbox (JS-free :target) */
/* ===================== */

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}

.lightbox:target {
  display: block;
}

.lightbox__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.lightbox__content {
  position: relative;
  max-width: min(1100px, 92vw);
  margin: 7vh auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  background: rgba(10, 10, 10, 0.35);
}

.lightbox__content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.25);
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  color: #111;
  background: #ff6b2e;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* ===================== */
/* About / Contact Raised Card */
/* ===================== */

.about-stage {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6.5rem 1.25rem 3rem;
}

.about-card {
  width: min(860px, 100%);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 22px;
  text-align: center;

  background: rgba(8, 9, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
}

.about-card .page-title {
  margin: 0 0 0.85rem;
}

.about-card .page-subtext {
  margin: 0 auto 1.25rem;
  max-width: 46rem;
}

.about-divider {
  border: none;
  height: 1px;
  margin: 1.35rem auto;
  width: min(520px, 100%);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
}

.about-heading {
  margin: 1.35rem 0 0.75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f8f2df;
}

.about-text {
  margin: 0 auto 1rem;
  max-width: 52rem;
  line-height: 1.75;
  color: #f6f2e7;
  font-size: 0.98rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.25rem;
  max-width: 42rem;
  display: grid;
  gap: 0.6rem;
}

.about-list li {
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.about-card .btn-primary {
  margin: 0.75rem auto 0;
}

/* Contact page "two buttons": email + phone display */
.contact-actions {
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin-bottom: 1rem;
}

.contact-phone {
  padding: 0.85rem 2.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.phone-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transf
