/* Professional minimalist styling for Photopedia */

/* Import professional fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap');

/* CSS Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

/* Override architect theme completely */
header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e5e5;
  padding: 2rem 0;
  box-shadow: none !important;
}

header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  text-shadow: none !important;
}

header h1 a {
  color: #1a1a1a !important;
  text-decoration: none;
}

header h1 a:hover {
  color: #666666;
}

header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #666666;
  margin: 0;
  text-shadow: none !important;
}

/* Remove GitHub button and other clutter */
header .button,
aside#sidebar {
  display: none !important;
}

/* Main content area */
#content-wrapper {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0;
  padding: 3rem 0;
}

#content-wrapper .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

#main-content {
  width: 100% !important;
  float: none !important;
  margin: 0;
  background: transparent !important;
  padding: 0 !important;
}

/* Homepage photographer grid */
#main-content p {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}

#main-content p a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

#main-content p a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#main-content p a img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

#main-content p a:hover img {
  opacity: 0.9;
}

/* Photographer detail pages */
.photographer-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.photographer-page .main-photo {
  text-align: center;
  margin: 2rem 0;
}

.photographer-page .main-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.photographer-page .description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
  color: #444444;
}

.photographer-page h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1a1a1a;
  margin: 3rem 0 1.5rem 0;
  text-align: center;
}

.photographer-page .shots-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.photographer-page .shots-gallery a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.photographer-page .shots-gallery a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.photographer-page .shots-gallery img {
  display: block;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}

.photographer-page .shots-gallery a:hover img {
  opacity: 0.9;
}

.photographer-page .references ul {
  list-style: none;
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.photographer-page .references li {
  margin: 0.5rem 0;
}

.photographer-page .references a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.photographer-page .references a:hover {
  border-bottom-color: #2563eb;
}

/* Responsive design */
@media (max-width: 768px) {
  header .inner {
    padding: 0 1rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  #content-wrapper .inner {
    padding: 0 1rem;
  }
  
  #main-content p {
    gap: 1rem;
  }
  
  #main-content p a img {
    width: 240px;
    height: 240px;
  }
  
  .photographer-page h1 {
    font-size: 1.8rem;
  }
  
  .photographer-page .description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .photographer-page .shots-gallery {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  #main-content p a img {
    width: 200px;
    height: 200px;
  }
  
  header h1 {
    font-size: 1.6rem;
  }
  
  .photographer-page h1 {
    font-size: 1.5rem;
  }
}

/* Remove unwanted architect theme elements */
.highlight,
.highlight pre,
.highlight table,
blockquote {
  background: transparent !important;
  border: none !important;
  margin: 1rem 0 !important;
  padding: 0 !important;
}

pre, code {
  font-family: 'Inter', monospace !important;
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  border-radius: 4px !important;
}