/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  color: #111;
  background: #ffffff;
  line-height: 1.55;
  font-weight: 300;
  padding-top: 76px;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.5;
}

/* HERO */
.hero {
  min-height: 25vh;   /* smaller and more elegant */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  margin-top: 2rem;
  padding: 1rem 0;
}

/* HOME GRID */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 2.5rem;
  max-width: 1200px;
  margin: auto;
}

.category-card {
  text-decoration: none;
  color: #111;
}

.category-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 3px;
  transition: opacity .25s ease;
}

.category-card:hover img {
  opacity: 0.8;
}

.category-card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-align: left;
}

/* PAGE HEADER/TITLES (shared across Live / Film / About / Contact) */
.page-header {
  text-align: center;
  margin-top: 0;           /* controlled by body padding-top instead */
  margin-bottom: 2.25rem;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0 0 0.6rem 0;
  opacity: 0.95;
  text-align: center;
}

.page-subtitle {
  font-size: 1rem;
  color: #555;
  margin: 0;
  font-weight: 300;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* small line under header (same position as Live/Film) */
.page-header::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #ddd;
  margin: 1.2rem auto 0;
}

/* GALLERY — MASONRY */
.gallery-section {
  padding: 3rem 2.5rem 6rem;
}

.container{
  padding: 1rem;
  column-count: 4;
  column-gap: 0.3rem;
}

.container img {
  width: 100%;
  display: block;
  margin-bottom: 0.3rem;
}

.container img:hover {
  opacity: 0.8;
}

/* FIX: prevent hover transparency on LIGHTBOX image */
#lightbox img:hover {
  opacity: 1 !important;
  filter: none !important;
}

@media only screen and (max-width: 1000px){
  .container{
    column-count: 3;
  }
}

@media only screen and (max-width: 800px){
  .container{
    column-count: 2;
  }
}

@media only screen and (max-width: 400px){
  .container{
    column-count: 1;
  }
}

/* LIGHTBOX — OPTION 3 (Subtle Zoom Animation) */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.90);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  transform: scale(0.97);      /* start slightly smaller */
  opacity: 0;
  transition: 
    opacity 0.3s ease,
    transform 0.35s ease;      /* smooth zoom */
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox.active img {
  opacity: 1;
  transform: scale(1);         /* zoom to full size */
}

/* HOVER CURSOR */
.gallery img {
  cursor: zoom-in;
}

/* ABOUT PAGE — image on top, text centered, matches site typography */
.about-section {
  padding: 2rem 1rem 4rem;  /* spacing around the section */
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;   /* image on top, text below */
  gap: 1.25rem;
  align-items: center;      /* center portrait and text */
  box-sizing: border-box;
}

.about-image img {
  width: 320px;       /* portrait size on desktop */
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.about-text {
  text-align: center; /* center paragraph text as requested */
  max-width: 760px;
}

.about-text h1 {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem 0;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 300;
}

/* responsive: keep portrait smaller and centered */
@media (max-width: 800px) {
  .about-image img {
    width: 60%;
  }

  .about-text h1 {
    font-size: 1.9rem;
  }
}

/* CONTACT PAGE */
.contact-intro {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.contact-intro a {
  color: inherit;        /* makes link same color as parent text (#444) */
  text-decoration: none; /* removes underline */
  font-weight: 500;
}

.contact-intro a:hover {
  text-decoration: underline; /* optional: subtle hover underline */
}

.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fafafa;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #000;
  outline: none;
}

.contact-form button {
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-form button:hover {
  opacity: 0.85;
}

/* FOOTER */
.footer {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  opacity: 0.7;
  border-top: 1px solid #eee;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 800px) {
  .home-previews {
    flex-direction: column;
  }

  .preview-box img {
    height: 350px;
  }
}

@media (max-width: 600px) {
  nav ul {
    gap: 1rem;
  }

  .masonry {
    column-count: 1;
  }

  .preview-box img {
    height: 280px;
  }
}



