/* Mark Geiger Art - Static Site Styles */

:root {
  --primary-color: #b52e2b;
  --primary-dark: #8a2320;
  --text-dark: #333333;
  --text-light: #888888;
  --background-dark: #1a1a1a;
  --background-card: #242424;
  --background-light: #f5f5f5;
  --border-color: #333333;
  --font-heading: 'Gelasio', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  background-color: var(--background-dark);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #111111;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.site-title:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a {
  font-size: 0.9rem;
  color: #cccccc;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-color);
  color: white;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
              url('https://markgeigerart.com/wp-content/uploads/2024/01/mark-geiger-art-infinity-houseNP.webp') center/cover;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.25rem;
  color: #cccccc;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

/* Page Header */
.page-header {
  background: #111111;
  padding: 50px 20px;
  text-align: center;
  border-bottom: 3px solid var(--primary-color);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
}

.page-header p {
  color: #888888;
  margin-top: 10px;
}

/* Category Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 30px 20px;
  background: #111111;
}

.category-pill {
  background: var(--background-card);
  color: #cccccc;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  text-decoration: none;
}

.category-pill .count {
  opacity: 0.7;
  font-size: 0.85em;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.grid-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: var(--background-card);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.grid-item:hover img {
  transform: scale(1.05);
}

.grid-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 60px 15px 15px;
  opacity: 0;
  transition: opacity 0.3s;
}

.grid-item:hover .grid-item-overlay {
  opacity: 1;
}

.grid-item-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-info {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.lightbox-description {
  font-size: 0.9rem;
  color: #aaaaaa;
  max-width: 600px;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Main Content */
.main-content {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.main-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
}

.main-content p {
  margin-bottom: 20px;
  color: #cccccc;
}

/* Footer */
.site-footer {
  background: #111111;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #888888;
  margin: 0 15px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-text {
  color: #666666;
  font-size: 0.9rem;
}

/* Featured Grid (Home) */
.featured-section {
  padding: 60px 20px;
}

.featured-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #cccccc;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111111;
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--border-color);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .category-pills {
    padding: 20px 10px;
  }

  .category-pill {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
