* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'roboto', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #1a1a1a;
  color: #fff;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
}

.logo a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.logo {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.2;
}

.logo span {
  display: block;
  font-weight: 500;
}

nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

nav a {
  color: #999;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid #333;
}

.social-icons a {
  color: #666;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.social-icons svg {
  display: block;
}

/* Gallery Container */
.gallery-container {
  margin-top: 100px;
  padding: 0;
  min-height: 100vh;
}

/* Main Image Display */
.main-image-container {
  position: relative;
  width: 70%;
  max-width: 100%;
  margin: auto;
  padding: 0;
  display: block;
}

.photo-section {
  width: 100%;
  margin: 0 0 120px 0;
  padding: 0;
}

.main-image-wrapper {
  width: 100%;
  position: relative;
  background: #0a0a0a;
  overflow: hidden;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

/* Color photos on mobile */
@media (max-width: 768px) {
  .main-image {
    filter: none;
  }
}

/* Photo Info */
.photo-info {
  text-align: center;
  margin: 40px auto 60px;
  max-width: 800px;
  padding: 0 40px;
}

.photo-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  color: #fff;
}

.photo-year {
  font-size: 15px;
  color: #999;
  font-weight: 300;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.photo-description {
  font-size: 16px;
  color: #aaa;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Loading State */
.loading {
  text-align: center;
  padding: 100px;
  font-size: 18px;
  color: #666;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 999;
}

.scroll-top:hover {
  background: rgba(255, 255, 255, 0.2);
}

.scroll-top.visible {
  display: flex;
}

/* Footer */
footer {
  background: #0a0a0a;
  border-top: 1px solid #222;
  padding: 60px 50px 40px;
  margin-top: 80px;
}

/* Lightbox for full-size photos */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-image {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: background 0.3s;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-info {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  border-radius: 4px;
}

.lightbox-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.lightbox-date {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #fff;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #999;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.footer-social a {
  color: #666;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #222;
  color: #666;
  font-size: 13px;
}

.footer-bottom a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  footer {
    padding: 40px 20px 30px;
    margin-top: 60px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Content Pages */
.content-page {
  margin-top: 120px;
  padding: 0 50px 100px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  min-height: 80vh;
}

.content-page h1 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.content-page h2 {
  font-size: 32px;
  font-weight: 300;
  margin: 40px 0 20px;
  letter-spacing: -0.5px;
}

.content-page p {
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
}

/* About Page */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.about-image {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

.about-text h2 {
  margin-top: 0;
}

/* Contact Page */
.contact-info {
  margin-top: 40px;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-item p,
.contact-item a {
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #999;
}

.contact-form {
  margin-top: 60px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #666;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: #fff;
  color: #1a1a1a;
  border: none;
  padding: 15px 40px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  font-family: inherit;
}

.submit-btn:hover {
  background: #e0e0e0;
}

/* Galleries Page */
.galleries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
  filter: grayscale(100%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 30px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 20px 30px;
  }

  .logo {
    font-size: 22px;
  }

  nav {
    gap: 20px;
  }

  nav a {
    font-size: 11px;
  }

  .social-icons {
    display: none;
  }

  .gallery-container {
    margin-top: 90px;
  }

  .content-page {
    padding: 0 20px 50px;
    margin-top: 90px;
  }

  .photo-info {
    padding: 0 20px;
    margin: 30px auto 60px;
  }

  .photo-section {
    margin-bottom: 80px;
  }

  .content-page h1 {
    font-size: 32px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .galleries-grid {
    grid-template-columns: 1fr;
  }
}
