/* Reset and base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Use the HTML 'hidden' attribute properly everywhere */
[hidden] { display: none !important; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: #121212;
}

/* Typography */
h1, h2, h3, .logo, .footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid #333;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.desktop-nav a {
  text-decoration: none;
  color: #b0b0b0;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.desktop-nav a:hover { color: #d4af37; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #b0b0b0;
}

/* Mobile nav (shown/hidden via [hidden]) */
.mobile-nav {
  background-color: #1a1a1a;
  padding: 1rem 0;
  border-top: 1px solid #333;
}

.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin: 0.5rem 0; }
.mobile-nav a { text-decoration: none; color: #b0b0b0; font-size: 1rem; }

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('https://i.ibb.co/XxqbJJGX/Glorious-Sunset.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-title { font-size: 3.5rem; margin-bottom: 1rem; letter-spacing: 2px; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 0.5rem; letter-spacing: 1px; color: #d4af37; }
.hero-locations { font-size: 1rem; opacity: 0.9; color: #b0b0b0; }

/* Section common */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #d4af37;
}

/* Gallery */

.gallery-section { background-color: #1a1a1a; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: #d4af37;
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image { transform: scale(1.05); }

.gallery-caption {
  padding: 1rem;
  background: rgba(26, 26, 26, 0.9);
  color: #b0b0b0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}

.gallery-image {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

/* Prints */
.prints-section { background-color: #121212; }

.prints-content {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-table {
  width: 100%;
  max-width: 650px;
  margin: 0 auto 2rem;
  border-collapse: collapse;
  color: #e0e0e0;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #333;
}

.pricing-table th {
  color: #ffffff;
  font-weight: bold;
  border-bottom: 2px solid #d4af37;
}

.pricing-table td:first-child { color: #b0b0b0; }
.pricing-table td:last-child { font-weight: bold; color: #d4af37; }

.prints-note {
  text-align: center;
  margin-bottom: 3rem;
  color: #b0b0b0;
  font-style: italic;
}

.paper-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.paper-card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #333;
}

.paper-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
}

.paper-card h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.paper-card p {
  color: #d4af37;
  font-weight: bold;
}

.framing-options,
.shipping-info {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid #333;
}

.framing-options h3,
.shipping-info h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.framing-options ul,
.shipping-info ul {
  list-style: none;
  color: #b0b0b0;
}

.framing-options li,
.shipping-info li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.framing-options li::before,
.shipping-info li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d4af37;
}

/* About */
.about-section { background-color: #1a1a1a; }

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #b0b0b0;
  margin-bottom: 3rem;
  text-align: center;
}

.about-text p { margin-bottom: 1rem; }

.contact-info {
  background: #121212;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #333;
}

.contact-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-text {
  color: #b0b0b0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.email-button {
  display: inline-block;
  background-color: #d4af37;
  color: #121212;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.email-button:hover {
  background-color: #c19b2e;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background-color: #0a0a0a;
  color: #b0b0b0;
  padding: 3rem 0;
  border-top: 1px solid #333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.footer-email a {
  color: #d4af37;
  text-decoration: none;
}

/* Lightbox (shown/hidden via [hidden]) */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content { max-width: 90%; max-height: 90%; position: relative; }

#lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
  border: 2px solid #333;
  border-radius: 4px;
}

.lightbox-info {
  color: white;
  text-align: center;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid #333;
  border-top: none;
  border-radius: 0 0 4px 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid #333;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #d4af37;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: block; }

  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
  .paper-types { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-container { padding: 1rem; }
  .logo { font-size: 1.2rem; }
  .hero-title { font-size: 2rem; }
  .section-container { padding: 3rem 1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .email-button { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
}