/*
Theme Name: JasonLanier-Like Photography Theme
Theme URI: https://example.com/
Author: Custom Build
Author URI: https://example.com/
Description: A custom photography theme inspired by Jason Lanier's website. Includes gallery, lightbox, homepage hero, about page.
Version: 1.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
*/


Theme URI:  https://example.com/
Author: ChatGPT
Description: Photography theme with demo content styled like Jason Lanier's homepage.
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: jlanier-like-demo
*/
body{margin:0;font-family:Arial,sans-serif;color:#111;background:#fff;}
header.site-header{display:flex;justify-content:space-between;align-items:center;padding:20px;}
header.site-header h1{margin:0;font-size:22px;letter-spacing:2px;}
nav.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:20px;}
nav.main-nav a{text-decoration:none;color:#111;font-weight:bold;}
.hero{position:relative;overflow:hidden;margin-bottom:30px;}
.hero img{width:100%;height:60vh;object-fit:cover;display:block;}
.hero .hero-caption{position:absolute;bottom:20px;left:20px;background:rgba(255,255,255,0.85);padding:10px 15px;border-radius:4px;font-weight:bold;}
.about{max-width:900px;margin:0 auto;padding:40px 20px;text-align:center;}
.about h2{margin-bottom:20px;}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:20px;}
.gallery-grid img{width:100%;height:180px;object-fit:cover;border-radius:4px;}
footer.site-footer{text-align:center;font-size:14px;color:#666;margin-top:40px;padding:20px;border-top:1px solid #eee;}


.wpcf7 form {
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}
.wpcf7 input[type="submit"] {
  background: #111;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.wpcf7 input[type="submit"]:hover {
  background: #444;
}
.wpcf7-response-output {
  margin-top: 10px;
  font-size: 14px;
}
    

.gallery-grid img {
  transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(80%);
}
    

.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}
.lightbox-overlay.active {
  display: flex;
}
    

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}
.lightbox-arrow:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-arrow.left { left: 20px; }
.lightbox-arrow.right { right: 20px; }
    

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  max-width: 80%;
}
    

.lightbox-thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 8px;
  max-width: 90%;
}
.lightbox-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.lightbox-thumbs img.active {
  border-color: #fff;
  opacity: 1;
}
.lightbox-thumbs img:hover {
  opacity: 1;
}
    

.lightbox-fullscreen {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 10001;
  user-select: none;
}
.lightbox-fullscreen:hover {
  background: rgba(255,255,255,0.2);
}
    

.lightbox-slideshow {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 10001;
  user-select: none;
}
.lightbox-slideshow:hover {
  background: rgba(255,255,255,0.2);
}
    

.lightbox-overlay img {
  transition: opacity 0.5s ease;
  opacity: 1;
}
.lightbox-overlay img.fade-out {
  opacity: 0;
}
    

.hero-section {
  position: relative;
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  background: rgba(0,0,0,0.5);
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
}
.hero-title {
  font-size: 48px;
  color: #fff;
  margin: 0;
}
.hero-tagline {
  font-size: 20px;
  color: #ddd;
}

.intro-section {
  margin: 60px auto;
  max-width: 800px;
  text-align: center;
}
.intro-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.featured-gallery {
  margin: 60px auto;
  text-align: center;
}
.featured-gallery h2 {
  font-size: 32px;
  margin-bottom: 30px;
}
.featured-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.featured-gallery .gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.featured-gallery .gallery-item img:hover {
  transform: scale(1.05);
}
.gallery-button {
  margin-top: 30px;
}
.gallery-button .btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.gallery-button .btn:hover {
  background: #444;
}


.about-hero {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.about-hero h1 {
  font-size: 48px;
  margin: 0;
}

.about-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin: 60px auto;
  max-width: 1000px;
}
.about-profile img {
  max-width: 300px;
  border-radius: 8px;
}
.about-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.6;
}

.about-philosophy {
  max-width: 800px;
  margin: 60px auto;
  text-align: center;
}
.about-philosophy h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.about-philosophy p {
  font-size: 18px;
  line-height: 1.7;
}
.about-quote {
  margin-top: 30px;
  font-size: 22px;
  font-style: italic;
  color: #555;
}


/* Contact Page */
.contact-hero {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.contact-hero h1 {
  font-size: 48px;
  margin: 0;
}

.contact-details {
  margin: 40px auto;
  text-align: center;
  font-size: 18px;
}
.contact-details p {
  margin: 10px 0;
}

.contact-form {
  max-width: 600px;
  margin: 40px auto 80px auto;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}
.contact-form .btn {
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form .btn:hover {
  background: #444;
}
.contact-form .success {
  color: green;
  margin-bottom: 20px;
}
.contact-form .error {
  color: red;
  margin-bottom: 20px;
}
