/*
Theme Name: Tejas Photography
Theme URI: https://tejassonarphotography.com
Author: Tejas Sonar
Author URI: https://tejassonarphotography.com
Description: A clean, image-first WordPress theme built for photography studios and freelance photographers. Full-width hero, filterable portfolio galleries, testimonials, and a booking-ready contact page.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tejas-photography
*/

/* -------------------------------------------------
   0. Reset / Base
------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2b2b2b;
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; margin: 0 0 .5em; line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  padding: 14px 34px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 2px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  border: 1px solid #1a1a1a;
  cursor: pointer;
}
.btn:hover { background: #fff; color: #1a1a1a; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: #1a1a1a; }
.section { padding: 90px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header .eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: #a88a5c; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 2.4rem; }

/* -------------------------------------------------
   1. Header / Nav
------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 30px 0;
}
.site-header.is-solid {
  position: fixed;
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 16px 0;
  animation: slideDown .3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-branding a { font-family: 'Playfair Display', serif; font-size: 1.5rem; letter-spacing: .05em; color: #fff; }
.site-header.is-solid .site-branding a { color: #1a1a1a; }
.main-navigation ul { display: flex; gap: 34px; }
.main-navigation a { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.site-header.is-solid .main-navigation a { color: #1a1a1a; }
.main-navigation a:hover { color: #a88a5c; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; }
.site-header.is-solid .menu-toggle span { background: #1a1a1a; }

@media (max-width: 860px) {
  .main-navigation { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: #1a1a1a; padding: 90px 30px; transition: right .3s ease; }
  .main-navigation.is-open { right: 0; }
  .main-navigation ul { flex-direction: column; gap: 22px; }
  .main-navigation a { color: #fff; }
  .menu-toggle { display: block; }
}

/* -------------------------------------------------
   2. Hero
------------------------------------------------- */
.hero {
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  background: #111 center/cover no-repeat;
}
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 0 24px; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; opacity: .85; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 14px 0 22px; }
.hero p { font-size: 1.1rem; opacity: .9; margin-bottom: 34px; }

/* -------------------------------------------------
   3. Portfolio Grid
------------------------------------------------- */
.portfolio-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.portfolio-filters button {
  background: none; border: 1px solid #ddd; padding: 9px 22px; border-radius: 30px;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; cursor: pointer;
}
.portfolio-filters button.active, .portfolio-filters button:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.portfolio-item { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item .overlay {
  position: absolute; inset: 0; background: rgba(20,20,20,.65);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: #fff; opacity: 0; transition: opacity .3s ease; text-align: center; padding: 20px;
}
.portfolio-item:hover .overlay { opacity: 1; }
.portfolio-item .overlay span { text-transform: uppercase; font-size: .72rem; letter-spacing: .15em; color: #d8c39a; margin-top: 6px; }
@media (max-width: 780px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------
   4. About / Split section
------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 4px; }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }

/* -------------------------------------------------
   5. Services / Pricing
------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { text-align: center; padding: 44px 26px; border: 1px solid #eee; border-radius: 4px; }
.service-card .icon { font-size: 2.2rem; margin-bottom: 18px; }
.service-card h3 { font-size: 1.2rem; }
@media (max-width: 780px) { .services-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------
   6. Testimonials
------------------------------------------------- */
.testimonials { background: #faf8f5; }
.testimonial-slide { max-width: 700px; margin: 0 auto; text-align: center; }
.testimonial-slide p.quote { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-style: italic; }
.testimonial-slide .name { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: #a88a5c; margin-top: 18px; display: block; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.testimonial-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #ddd; cursor: pointer; }
.testimonial-dots button.active { background: #a88a5c; }

/* -------------------------------------------------
   7. Instagram strip
------------------------------------------------- */
.instagram-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.instagram-strip a { aspect-ratio: 1/1; overflow: hidden; }
.instagram-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .instagram-strip { grid-template-columns: repeat(3, 1fr); } }

/* -------------------------------------------------
   8. Contact / Booking
------------------------------------------------- */
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 16px; border: 1px solid #ddd; border-radius: 3px;
  margin-bottom: 18px; font-family: inherit; font-size: .95rem;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }

/* -------------------------------------------------
   9. Footer
------------------------------------------------- */
.site-footer { background: #161616; color: #ccc; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-grid h4 { color: #fff; font-family: 'Poppins', sans-serif; text-transform: uppercase; font-size: .85rem; letter-spacing: .1em; }
.footer-grid a { color: #ccc; }
.footer-grid a:hover { color: #a88a5c; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-top: 24px; text-align: center; font-size: .8rem; color: #888; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------
   10. Lightbox
------------------------------------------------- */
.tp-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 999; display: none; align-items: center; justify-content: center; }
.tp-lightbox.is-open { display: flex; }
.tp-lightbox img { max-width: 88vw; max-height: 86vh; }
.tp-lightbox .close, .tp-lightbox .nav { position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }
.tp-lightbox .close { top: 24px; right: 34px; }
.tp-lightbox .prev { left: 24px; }
.tp-lightbox .next { right: 24px; }

/* -------------------------------------------------
   11. Generic page / blog
------------------------------------------------- */
.page-hero { padding: 160px 0 70px; text-align: center; background: #faf8f5; }
.entry-content { max-width: 780px; margin: 0 auto; padding: 70px 24px; }
.entry-content img { border-radius: 4px; margin: 20px 0; }
