/* Phototo Studio - Minimal B&W Style */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #000000;
  color: #cccccc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #cccccc;
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.6;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e0e0e0;
}

.logo img {
  height: 290px;
  width: auto;
  opacity: 0.7;
}

/* Hide company name text next to logo */
.logo span {
  display: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero Section */
.hero {
  padding: 240px 0 80px;
  text-align: center;
  border-bottom: 1px solid #333;
}

.hero h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #e0e0e0;
}

.hero p {
  font-size: 15px;
  color: #888;
  letter-spacing: 1px;
}

/* Section Titles */
.section-title {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 67px 0 32px;
  border-bottom: 1px solid #333;
  margin-bottom: 48px;
  color: #e0e0e0;
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 80px;
}

.project-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: #1a1a1a;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-thumb:hover img {
  transform: scale(1.05);
}

.project-thumb .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-thumb:hover .overlay {
  opacity: 1;
}

.project-thumb .overlay h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}

.project-thumb .overlay p {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}

/* Project Detail Page */
.project-hero {
  padding: 180px 0 48px;
  text-align: center;
}

.project-hero h1 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #e0e0e0;
}

.project-hero .subtitle {
  font-size: 14px;
  color: #888;
  letter-spacing: 1px;
}

/* Photo Grid - Project Detail */
.photo-grid {
  column-count: 3;
  column-gap: 16px;
  padding: 48px 0 80px;
}

.photo-grid .photo-item {
  break-inside: avoid;
  margin-bottom: 16px;
  cursor: pointer;
  overflow: hidden;
  background: #1a1a1a;
  display: inline-block;
  width: 100%;
}

.photo-grid .photo-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.photo-grid .photo-item:hover img {
  transform: scale(1.03);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox .close-btn {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 1001;
}

.lightbox .nav-btn:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox .prev-btn {
  left: 24px;
}

.lightbox .next-btn {
  right: 24px;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  border-top: 1px solid #333;
  text-align: center;
}

.contact-section h2 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: #e0e0e0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-links a {
  font-size: 14px;
  letter-spacing: 1px;
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 12px;
  color: #777;
  letter-spacing: 1px;
}

.site-footer .social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.site-footer .social-links a {
  font-size: 13px;
  color: #cccccc;
}

/* Back Link */
.back-link {
  display: inline-block;
  padding: 48px 0 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.back-link::before {
  content: "← ";
}

/* Responsive */
@media (max-width: 768px) {
  .site-header .container {
    height: 95px;
    justify-content: center;
  }

  .logo img {
    height: 235px;
  }

  /* Hide text label on mobile - logo image has the name */
  .logo span {
    display: none;
  }

  .hero {
    padding: 180px 0 48px;
  }

  .hero h1 {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .photo-grid {
    column-count: 2;
    column-gap: 8px;
  }

  .photo-grid .photo-item {
    margin-bottom: 8px;
  }

  .project-hero h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 11px;
    padding: 53px 0 20px;
    margin-bottom: 32px;
  }

  .contact-links {
    gap: 12px;
  }

  .lightbox .nav-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .photo-grid {
    column-count: 1;
  }
}
