@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Playfair+Display:wght@700;900&family=Open+Sans:wght@300;400;600&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: auto;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== BACKGROUND ===== */
.bg-gradient {
  background: url('../images/background.png') center center / cover no-repeat fixed;
  min-height: 100vh;
}

.bg-dark {
  background: #0a0a0a;
  color: #f0f0f0;
  min-height: 100vh;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.6);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e8652e;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dark page nav adjustments */
.bg-dark .navbar {
  background: rgba(0, 0, 0, 0.4);
}

/* ===== HOMEPAGE HERO ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 80px 20px 40px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-logo {
  width: 160px;
  height: auto;
}

.hero-divider {
  width: 2px;
  height: 100px;
  background: #1a1a1a;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  color: #1a1a1a;
}

.hero-cta {
  margin-top: 80px;
}

.btn-pill {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid #333;
  border-radius: 50px;
  font-family: 'Lobster', cursive;
  font-size: 1.1rem;
  color: #333;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.7);
}

.btn-pill:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* ===== ABOUT PAGE ===== */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 40px 80px;
}

.page-title {
  font-family: 'Lobster', cursive;
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 60px;
  color: #1a1a1a;
}

.page-title.outline-text {
  -webkit-text-stroke: 1.5px #1a1a1a;
  color: transparent;
}

.about-text p {
  margin-bottom: 28px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #000;
  font-weight: 500;
}

/* ===== WORK / EXPERIENCE PAGE ===== */
.work-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 40px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.work-item {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.work-item:last-child {
  margin-bottom: 0;
}

.work-logo {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-logo img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.work-info h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.work-info p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #444;
}

/* ===== PHOTOGRAPHY PAGE ===== */
.photo-hero-split {
  display: flex;
  align-items: stretch;
  min-height: 70vh;
  padding-top: 64px;
}

.photo-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  max-width: 480px;
}

.photo-intro h1 {
  font-family: 'Lobster', cursive;
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.photo-intro p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #ccc;
}

.photo-hero-img {
  flex: 1.4;
  position: relative;
  overflow: hidden;
}

.photo-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(0,0,0,0.7) 80%);
}

.photo-section {
  padding: 40px 30px 50px;
}

.photo-divider {
  border: none;
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.25);
  margin: 20px 0 20px 40px;
}

.photo-section h2 {
  font-family: 'Lobster', cursive;
  font-size: 2.4rem;
  margin-bottom: 24px;
  color: #f0f0f0;
  padding-left: 10px;
}

.photo-grid {
  column-count: 5;
  column-gap: 6px;
}

.photo-grid .photo-item {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border-radius: 2px;
}

.photo-grid .photo-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.photo-grid .photo-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
  z-index: 2001;
  background: none;
  border: none;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  transition: background 0.2s ease;
  z-index: 2001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right 0.35s ease;
    padding: 40px;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-brand {
    flex-direction: column;
    gap: 20px;
  }

  .hero-divider {
    width: 60px;
    height: 2px;
  }

  .hero-name {
    font-size: 2.6rem;
  }

  .hero-logo {
    width: 120px;
  }

  .page-content {
    padding: 120px 24px 60px;
  }

  .page-title {
    font-size: 2.4rem;
  }

  .work-item {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .work-logo {
    width: 150px;
  }

  .photo-hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .photo-intro {
    max-width: 100%;
    padding: 40px 24px;
  }

  .photo-intro h1 {
    font-size: 2rem;
  }

  .photo-hero-img {
    height: 50vh;
  }

  .photo-section {
    padding: 30px 16px;
  }

  .photo-section h2 {
    font-size: 1.8rem;
  }

  .photo-grid {
    column-count: 3;
    column-gap: 4px;
  }

  .photo-grid .photo-item {
    margin-bottom: 4px;
  }

  .photo-divider {
    height: 60px;
    margin: 16px 0 16px 20px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .photo-grid {
    column-count: 2;
    column-gap: 3px;
  }

  .photo-grid .photo-item {
    margin-bottom: 3px;
  }
}
