/*
Theme Name: JT Design & Photography
Theme URI: https://jtdesignidaho.com
Author: Jeff Torres
Author URI: https://jtdesignidaho.com
Description: Custom theme for JT Design & Photography
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jt-photo-theme
*/


/* ===================================
   Base Styles
=================================== */
body {
  font-family: 'Nunito Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main.site-content {
  padding: 40px 0;
}

/* ===================================
   Header & Footer
=================================== */
header.site-header {
  background: #ffffff;
  color: #fff;
  padding: 0 0 20px 0;
  text-align: center;
}

footer.site-footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
}

.site-title a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
}

.main-navigation a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.top-nav .header-social a {
  color: inherit;
  margin-right: 15px;
  text-decoration: none;
  font-size: 1.1rem;
}

.top-nav .header-social a:last-child {
  margin-right: 0;
}

.top-nav .header-email {
  font-size: 0.95rem;
}

.site-footer {
  background-color: #222;
  color: #ccc;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-logo img {
  max-height: 50px;
}

.footer-nav .footer-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.footer-nav .footer-menu a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav .footer-menu a:hover {
  color: #d81b60;
}

.footer-social a {
  color: #ccc;
  font-size: 1.2rem;
  margin-left: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  margin-top: 40px;
  font-size: 0.85rem;
}

/* Responsive layout */
@media screen and (max-width: 767px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav .footer-menu {
    flex-direction: column;
    gap: 10px;
  }

  .footer-social a {
    margin-left: 10px;
    margin-right: 10px;
  }
}


/* ===================================
   Blog Posts
=================================== */

.post-article {
  background-color: #fff;
  padding: 50px;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-radius: 10px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
}

.post-header {
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.post-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #2c2c2c;
  font-weight: 700;
}

.post-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 5px;
}

.post-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
}

.post-content h2, 
.post-content h3 {
  margin-top: 2em;
  font-weight: 600;
}

.post-content blockquote {
  font-style: italic;
  padding: 20px;
  border-left: 4px solid #ccc;
  margin: 30px 0;
  background: #f9f9f9;
}

.post-content ul,
.post-content ol {
  margin-left: 1.5em;
  padding-left: 0.5em;
}

.post-footer {
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  color: #555;
}

.post-categories,
.post-tags {
  margin-bottom: 10px;
}

.post-navigation {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.post-navigation a {
  font-weight: 600;
  color: #4f002a;
  text-decoration: none;
}

@media (max-width: 768px) {
  .post-article {
    padding: 30px 20px;
  }

  .post-title {
    font-size: 2rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-navigation {
    flex-direction: column;
    gap: 15px;
  }
}


/* ===================================
   Top Navigation (Desktop/Tablet Only)
=================================== */
.top-nav {
  background: #f2f2f2;
  color: #000;
  font-size: 0.9rem;
  padding: 8px 0;
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
}

/* ===================================
   Main Navigation
=================================== */
.main-nav {
  background: #ffffff;
  color: #000;
  padding: 15px 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

.logo img.custom-logo {
  max-height: 60px;
  height: auto;
  width: auto;
}

/* ===================================
   Main Menu Styles
=================================== */
.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.main-menu li {
  display: inline-block;
  position: relative;
}

.main-menu a {
  display: inline-block;
  padding: 10px 15px;
  color: #45443e;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  font-weight: 500;
}

.main-menu a:hover,
.main-menu a:focus {
  background-color: #ffffff;
  color: #4f002a;
}

.main-menu .current-menu-item a,
.main-menu .current_page_item a {
  background-color: #ffffff;
  color: #4f002a;
  font-weight: 600;
  
}

/* Fix for anchor links like /#about being treated as current-menu-item */
.main-menu li.current-menu-item a[href*="#"] {
  background-color: transparent;
  color: #45443e;
  font-weight: 500;
}

/* ===================================
   Mobile Navigation
=================================== */
.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  color: #000;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding: 10px 20px;
}

.mobile-menu a {
  padding: 12px 0;
  color: #000000;
  text-decoration: none;
}

.mobile-menu a:hover {
  color: #4f002a;
}

/* ===================================
   Hero Section
=================================== */
.hero {
  background: #f5f5f5;
  padding: 30px 20px;
  text-align: center;
}

.hero-video-slideshow {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-video.active {
  opacity: 1;
  z-index: 1;
}




.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
  font-size: 2rem;
  padding: 20px;
  background-color: rgba(0,0,0,0.2);
  border-radius: 8px;
}
/* Smaller screens */
@media screen and (max-width: 767px) {
  .hero-overlay h1.draw-in {
    font-size: 1.5rem;
  }
}
.draw-in {
  margin-top: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: drawIn 1s ease-out forwards;
  animation-delay: 1s; /* start after 1 seconds */
}

@keyframes drawIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-text {
  background-color: #f6f1fa; /* soft lavender */
  text-align: center;
  padding: 20px 20px;
}

.intro-text h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #2d2d2d;
}

.intro-text h1 .script-highlight {
  font-family: "Mea Culpa", cursive;
  font-size: 5rem;
  display: block;
  margin-top: 10px;
  color: #6a2e6a; /* soft plum or purple */
}

.intro-text p.lead {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.8rem;
  color: #555;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}



/* Responsive Adjustments */
@media screen and (max-width: 767px) {
  .intro-text h1 {
    font-size: 2.2rem;
  }

  .intro-text h1 .script-highlight {
    font-size: 3.5rem;
  }

  .intro-text {
    padding: 20px 15px;
  }
}

/* === About Me Section === */
.about-me {
  padding: 50px 20px;
  background-color: #ffffff;
}

.about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 300px;
  max-width: 500px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2d2d2d;
  font-family: 'Nunito Sans', sans-serif;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background-color: #6a2e6a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #8b3f8b;
}

.about-photo {
  flex: 1 1 300px;
  max-width: 400px;
}

.about-photo img {
  width: 100%;
  border: 10px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.about-photo img:hover {
  transform: rotate(0deg) scale(1.02);
}

@media screen and (max-width: 768px) {
  .about-grid {
    flex-direction: column;
  }

  .about-photo img {
    transform: none;
  }
}

/* ===================================
   Contact Page Layout
=================================== */
.page-header {
  font-size: 2.2rem;
  text-align: center;
}

.page .contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  justify-content: space-between;
}

.page .contact-form,
.page .contact-gallery {
  flex: 1 1 400px;
  min-width: 300px;
}

.page .contact-gallery {
  display: grid;
  gap: 16px;
}

.page .contact-gallery img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .page .contact-layout {
    flex-direction: column;
  }

  .page .contact-gallery {
    grid-template-columns: 1fr;
  }
}

.contact-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contact-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.contact-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.contact-slideshow .slide.active {
  opacity: 1;
  position: relative;
}

/* ===================================
   Pricing Section
=================================== */

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  font-size: 30px;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide:has(.play-icon-overlay) a.glightbox {
  position: relative;
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.swiper-slide:has(.play-icon-overlay) a.glightbox img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.swiper-slide {
  position: relative;
}


.pricing-section {
  margin-bottom: 60px;
  text-align: center;
}

.pricing-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2d2d2d;
}

.pricing-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.pricing-slider {
  margin: 20px auto;
  position: relative;
  overflow: hidden;
}

.swiper-wrapper {
  align-items: center;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.swiper-slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.swiper-slide img:hover {
  transform: scale(1.03);
}

/* CTA Button */
.pricing-section .cta-button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #6a2e6a;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.pricing-section .cta-button:hover {
  background-color: #8b3f8b;
}

/* Navigation Arrows */
.swiper-button-prev,
.swiper-button-next {
  color: #4f002a;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .swiper-slide img {
    max-height: 200px;
  }

  .pricing-section h2 {
    font-size: 1.6rem;
  }

  .pricing-section p {
    font-size: 1rem;
  }

  .pricing-section .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* === Pricing Intro Grid === */
.pricing-intro-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.intro-text-block {
  flex: 1 1 300px;
}

.intro-text-block h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2d2d2d;
}

.section-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 600px;
}

/* Pricing Cards */
.pricing-table {
  display: flex;
  gap: 20px;
  flex: 1 1 400px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1 1 120px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.pricing-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
  color: #6a2e6a;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.pricing-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid #e0e0e0;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .pricing-intro-grid {
    flex-direction: column;
  }

  .pricing-table {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .pricing-card {
    width: 90%;
  }
}


/* === Services Grid Section === */
.services-grid {
  background-color: #f9f5fb;
  padding: 60px 20px;
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-block {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
}

.service-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-block:hover img {
  transform: scale(1.05);
}

.service-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 20px 10px;
  font-family: 'Nunito Sans', sans-serif;
  transition: background 0.3s ease;
}

.service-block:hover .service-label {
  background: rgba(106, 46, 106, 0.7);
}
.section-heading {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #2d2d2d;
  font-family: 'Nunito Sans', sans-serif;
}
/* Responsive Grid */
@media screen and (max-width: 1024px) {
  .services-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .services-wrapper {
    grid-template-columns: 1fr;
  }
}


/* ===================================
   Gallery Section
=================================== */
.featured-gallery .gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.featured-gallery .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-gallery .gallery-item h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  text-align: center;
}


  .gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item a {
  text-decoration: none;
  color: inherit;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 15px 15px 5px;
  color: #2d2d2d;
  font-family: 'Nunito Sans', sans-serif;
}

.gallery-item h3 a {
  text-decoration: none;
  color: inherit;
}

.gallery-item h3 a:hover {
  color: #6a2e6a;
}

.gallery-item .excerpt {
  font-size: 0.95rem;
  color: #666;
  margin: 0 15px 20px;
  line-height: 1.5;
}




/* ===================================
   Media Queries
=================================== */

/* Medium screens: Tablet */
@media screen and (max-width: 1024px) {
  .featured-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-title a {
    font-size: 1.75rem;
  }
}

/* Small screens: Phone */
@media screen and (max-width: 767px) {
  .top-nav {
    display: none;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  body.mobile-menu-open .mobile-menu {
    display: flex;
  }

  .logo a {
    font-size: 1.5rem;
  }

  .featured-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }

  .top-nav .header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}





  header.site-header,
  footer.site-footer {
    padding: 15px 0;
  }

  .site-title a {
    font-size: 1.5rem;
  }

  .hero {
    padding: 40px 10px;
  }

  main.site-content {
    padding: 20px 0px;
  }

  .mobile-menu li {
    display: block;
  }
}
