/*
Theme Name: Jennifer Theme - JS Visions
Theme URI: https://jsvisionsphotoandvideo.com
Description: Clean, minimal wedding photography theme for JS Visions Photo and Video.
Version: 1.0
Author: JS Visions
Author URI: https://jsvisionsphotoandvideo.com
License: GNU General Public License v2 or later
Text Domain: jennifer-theme
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300; font-size: 16px; line-height: 1.8;
    color: #333; background: #fff; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #333; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.6; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400; line-height: 1.3;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
    padding: 30px 0; border-bottom: 1px solid #eee;
    background: #fff; position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
body { padding-top: 200px; }
.header-inner {
    display: flex; align-items: center; justify-content: center;
    max-width: 1200px; margin: 0 auto; padding: 0 30px;
}
.nav-left, .nav-right {
    display: flex; gap: 35px; list-style: none; flex: 1;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-left a, .nav-right a {
    text-transform: uppercase; letter-spacing: 3px; font-size: 11px;
    font-family: 'Montserrat', sans-serif; font-weight: 400; color: #333;
}
.site-logo { padding: 0 50px; flex-shrink: 0; }
.site-logo img { height: 140px; width: auto; }
.site-logo a:hover { opacity: 1; }

/* Check Availability Button */
.check-availability-btn {
    background: #e8833a !important; color: #fff !important;
    padding: 8px 18px !important; border-radius: 0;
    font-size: 10px !important; letter-spacing: 2px !important;
    transition: background 0.3s;
}
.check-availability-btn:hover { background: #d0722e !important; }

/* Dropdowns */
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
    display: none; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%); background: #fff; padding: 20px 0;
    min-width: 200px; box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 200; padding-top: 35px; margin-top: 0;
}
.has-dropdown .dropdown::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 35px; background: transparent;
}
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown .dropdown li { list-style: none; }
.has-dropdown .dropdown a {
    display: block; padding: 8px 25px; font-size: 10px; letter-spacing: 2px;
    text-transform: uppercase; font-family: 'Montserrat', sans-serif; color: #666;
}
.has-dropdown .dropdown a:hover { color: #333; opacity: 1; }

/* Sub-dropdowns */
.has-dropdown .dropdown .has-sub { position: relative; }
.has-dropdown .dropdown .has-sub .sub-dropdown {
    display: none; position: absolute; left: 100%; top: 0;
    background: #fff; padding: 15px 0; min-width: 180px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.has-dropdown .dropdown .has-sub:hover .sub-dropdown { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block; padding: 14px 32px; border: 1px solid #333;
    text-transform: uppercase; letter-spacing: 3px; font-size: 11px;
    font-family: 'Montserrat', sans-serif; font-weight: 400;
    color: #333; background: transparent; cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover { background: #333; color: #fff; opacity: 1; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: #333; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider { width: 100%; overflow: hidden; background: #f5f5f0; position: relative; }
.slides { display: flex; transition: transform 0.6s ease; }
.slide { min-width: 100%; }
.slide img { width: 100%; height: 85vh; object-fit: cover; }
.slider-nav {
    position: absolute; bottom: 30px; left: 0; right: 0;
    display: flex; justify-content: space-between; padding: 0 40px;
    pointer-events: none;
}
.slider-nav button {
    pointer-events: auto; background: none; border: none; font-size: 28px;
    color: #333; cursor: pointer; font-family: serif; padding: 10px;
    transition: opacity 0.3s;
}
.slider-nav button:hover { opacity: 0.5; }

/* ============================================================
   INTRO / SECTION HELPERS
   ============================================================ */
.intro-section { padding: 100px 30px; text-align: center; max-width: 800px; margin: 0 auto; }
.intro-tagline {
    font-style: italic; font-size: 16px; color: #888;
    margin-bottom: 25px; letter-spacing: 1px;
}
.intro-heading {
    font-size: 48px; font-weight: 400; line-height: 1.2;
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px;
}
.intro-subtext {
    text-transform: uppercase; letter-spacing: 4px; font-size: 11px;
    font-family: 'Montserrat', sans-serif; color: #888; margin-bottom: 35px;
}
.section-label {
    text-transform: uppercase; letter-spacing: 4px; font-size: 11px;
    font-family: 'Montserrat', sans-serif; color: #888; margin-bottom: 15px;
}
.section-heading {
    font-size: 36px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 3px; margin-bottom: 30px;
}
.body-text { color: #666; font-size: 16px; line-height: 1.8; margin-bottom: 15px; }

/* ============================================================
   DUAL IMAGE
   ============================================================ */
.dual-image { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.dual-image img { width: 100%; height: 600px; object-fit: cover; }

/* ============================================================
   THREE COLUMN LINKS
   ============================================================ */
.three-col-links {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    text-align: center; padding: 40px 30px 80px; max-width: 1200px; margin: 0 auto;
}
.three-col-links .col { padding: 30px; }
.three-col-links h3 {
    font-size: 22px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 4px; margin-bottom: 12px;
}
.three-col-links p {
    text-transform: uppercase; letter-spacing: 3px; font-size: 11px;
    font-family: 'Montserrat', sans-serif; color: #888; margin-bottom: 25px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: #f5f5f0; padding: 100px 30px; text-align: center; }
.cta-label {
    text-transform: uppercase; letter-spacing: 4px; font-size: 11px;
    font-family: 'Montserrat', sans-serif; color: #888; margin-bottom: 20px;
}
.cta-heading { font-size: 42px; font-weight: 400; margin-bottom: 35px; }

/* ============================================================
   GALLERY GRID (used on gallery pages)
   ============================================================ */
.gallery-hero { padding: 120px 30px 60px; text-align: center; }
.gallery-hero h1 {
    font-size: 42px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 8px; color: #555;
}
.gallery-hero .gallery-sub {
    font-size: 15px; color: #999; font-style: italic; margin-top: 10px;
}
.gallery-section { padding: 20px 30px 60px; max-width: 1100px; margin: 0 auto; }
.gallery-section.has-title { padding: 60px 30px; text-align: center; }
.gallery-section h2 {
    font-size: 38px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 6px; margin-bottom: 10px; color: #555;
}
.gallery-section .gallery-sub {
    font-size: 15px; color: #999; font-style: italic; margin-bottom: 35px;
}
.gallery-grid {
    columns: 2; column-gap: 10px;
    max-width: 1200px; margin: 0 auto;
}
.gallery-grid .gallery-item {
    position: relative; overflow: hidden; border-radius: 6px;
    break-inside: avoid; margin-bottom: 10px; cursor: pointer;
}
.gallery-grid .gallery-item img {
    width: 100%; height: auto; object-fit: cover; display: block;
    border-radius: 6px; transition: transform 0.4s ease;
}
.gallery-grid .gallery-item:hover img { transform: scale(1.02); }
.gallery-grid .gallery-item .overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.3s ease;
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
}
.gallery-grid .gallery-item .overlay::after {
    content: "\2922"; font-size: 40px; color: #fff;
    background: rgba(0,0,0,0.4); width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.gallery-grid .gallery-item:hover .overlay { opacity: 1; }

/* Lightbox */
.jsv-lightbox {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 99999; align-items: center;
    justify-content: center;
}
.jsv-lightbox.active { display: flex; }
.jsv-lightbox img {
    max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px;
}
.jsv-lightbox-close {
    position: absolute; top: 20px; right: 25px; background: none; border: none;
    color: #fff; font-size: 36px; cursor: pointer; z-index: 100000; line-height: 1;
}
.jsv-lightbox-prev, .jsv-lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%); background: none;
    border: none; color: #fff; font-size: 48px; cursor: pointer; padding: 20px;
    z-index: 100000;
}
.jsv-lightbox-prev { left: 15px; }
.jsv-lightbox-next { right: 15px; }
.gallery-divider { width: 60px; height: 1px; background: #ddd; margin: 0 auto; }
.back-link { text-align: center; margin: 30px 0; }
.back-link a {
    font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2px; color: #888;
    text-decoration: none; border-bottom: 1px solid #ccc; padding-bottom: 3px;
}
.back-link a:hover { color: #555; border-color: #555; }

/* ============================================================
   PORTFOLIO LANDING PAGE
   ============================================================ */
.portfolio-hero { padding: 120px 30px 40px; text-align: center; }
.portfolio-hero h1 {
    font-size: 42px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 8px; color: #555;
}
.portfolio-hero .portfolio-sub {
    font-size: 15px; color: #999; font-style: italic; margin-top: 10px;
}
.portfolio-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1300px; margin: 0 auto; padding: 40px 30px 80px;
}
.portfolio-card {
    position: relative; overflow: hidden; border-radius: 8px;
    height: 400px; display: block; text-decoration: none;
}
.portfolio-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card .card-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35); display: flex; align-items: center;
    justify-content: center; flex-direction: column;
    transition: background 0.3s ease;
}
.portfolio-card:hover .card-overlay { background: rgba(0,0,0,0.5); }
.portfolio-card .card-title {
    color: #fff; font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 4px; text-align: center; padding: 0 10px;
}
.portfolio-card .card-count {
    color: rgba(255,255,255,0.7); font-family: 'Montserrat', sans-serif;
    font-size: 12px; letter-spacing: 2px; margin-top: 8px;
    text-transform: uppercase;
}

/* ============================================================
   CARDS / FORMS / FAQ
   ============================================================ */
.card { border: 1px solid #eee; padding: 40px 30px; text-align: center; }
.form-input {
    width: 100%; padding: 15px; border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif; font-size: 12px;
    letter-spacing: 1px; margin-bottom: 15px; background: #fafafa;
    text-transform: uppercase;
}
textarea.form-input { height: 150px; resize: vertical; text-transform: none; }

/* Contact Form 7 Styles */
.wpcf7 { width: 100%; }
.wpcf7 p { margin: 0; }
.wpcf7 .wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 .wpcf7-form-control { width: 100% !important; box-sizing: border-box; }
.wpcf7 label { display: block; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; margin-top: 20px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100% !important; padding: 8px 10px; border: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif; font-size: 13px;
    letter-spacing: 1px; margin-bottom: 5px; background: #fff;
    box-sizing: border-box;
}
.wpcf7 textarea { height: 120px; resize: vertical; }
.wpcf7 input[type="submit"] {
    width: 100% !important; padding: 12px 40px; margin-top: 20px;
    background: #333; color: #fff; border: none; cursor: pointer;
    font-family: 'Montserrat', sans-serif; font-size: 12px;
    letter-spacing: 3px; text-transform: uppercase;
    transition: background 0.3s;
}
.wpcf7 input[type="submit"]:hover { background: #555; }

.faq-item { border-bottom: 1px solid #eee; padding: 25px 0; }
.faq-q { font-size: 18px; font-weight: 400; margin-bottom: 10px; cursor: pointer; }
.faq-a { color: #666; }

/* ============================================================
   LOGO SLIDER
   ============================================================ */
.logo-slider { overflow: hidden; max-width: 900px; margin: 0 auto; position: relative; }
.logo-track { display: flex; align-items: center; transition: transform 0.5s ease; }
.logo-item {
    min-width: 33.333%; display: flex; justify-content: center; padding: 0 20px;
}
.logo-item img { height: 100px; width: auto; object-fit: contain; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: 60px 30px 30px; text-align: center; border-top: 1px solid #eee; }
.footer-logo { margin-bottom: 25px; }
.footer-logo img { height: 160px; margin: 0 auto; }
.footer-social-icons {
    display: flex; justify-content: center; gap: 50px; margin-bottom: 25px;
}
.footer-social-icons a { color: #888; text-decoration: none; transition: color 0.3s; }
.footer-social-icons a:hover { color: #333; }
.footer-links {
    font-family: 'Montserrat', sans-serif; font-size: 12px;
    letter-spacing: 2px; color: #888; margin-bottom: 25px;
}
.footer-links a { color: #888; text-decoration: none; }
.footer-links a:hover { color: #333; }
.footer-contact {
    font-family: 'Montserrat', sans-serif; font-size: 12px;
    letter-spacing: 1px; color: #888; margin-bottom: 25px;
}
.footer-copyright {
    font-size: 11px; color: #aaa; letter-spacing: 1px;
    border-top: 1px solid #eee; padding-top: 20px;
}


/* ============================================================
   HAMBURGER BUTTON (right side)
   ============================================================ */
.hamburger {
    display: none; position: absolute; right: 25px; top: 50%;
    transform: translateY(-50%); background: none; border: none;
    cursor: pointer; padding: 10px; z-index: 1001;
}
.hamburger span {
    display: block; width: 28px; height: 2px; background: #333;
    margin: 6px 0; transition: 0.3s;
}

/* ============================================================
   MOBILE DROPDOWN PANEL
   ============================================================ */
.mobile-panel {
    position: fixed; top: 0; left: 0; right: 0;
    background: #fff; z-index: 2000; overflow-y: auto;
    max-height: 100vh; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.mobile-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 25px; border-bottom: 1px solid #eee;
}
.mobile-panel-header .site-logo { padding: 0; flex-shrink: 0; }
.mobile-panel-close {
    font-size: 32px; background: none; border: 1px solid #ccc;
    cursor: pointer; color: #333; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.mobile-inquire-btn {
    display: block; background: #e8833a; color: #fff;
    padding: 14px 20px; font-family: 'Montserrat', sans-serif;
    font-size: 12px; letter-spacing: 3px; text-decoration: none;
    text-align: center; text-transform: uppercase; margin: 15px 25px;
}
.mobile-inquire-btn:hover { background: #d0722e; }
.mobile-nav-list {
    list-style: none; padding: 0; margin: 0;
}
.mobile-nav-list > li {
    border-bottom: 1px solid #eee; position: relative;
}
.mobile-nav-list > li > a {
    display: block; padding: 16px 25px;
    font-family: 'Montserrat', sans-serif; font-size: 13px;
    text-transform: uppercase; letter-spacing: 2px; color: #333;
    text-decoration: none;
}
.mobile-nav-list > li > a:hover { color: #e8833a; }
.mobile-expandable { position: relative; }
.mobile-expand-btn {
    position: absolute; right: 15px; top: 10px;
    background: none; border: none; font-size: 16px; color: #999;
    cursor: pointer; padding: 8px 12px;
}
.mobile-sub {
    list-style: none; padding: 0 0 10px 0; margin: 0;
    background: #fafafa;
}
.mobile-sub li a {
    display: block; padding: 10px 25px 10px 45px;
    font-family: 'Montserrat', sans-serif; font-size: 12px;
    text-transform: uppercase; letter-spacing: 2px; color: #666;
    text-decoration: none;
}
.mobile-sub li a:hover { color: #e8833a; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .nav-left, .nav-right { display: none !important; }
    .hamburger { display: block !important; }
    .site-logo { padding: 0; }
    .header-inner { justify-content: center; position: relative; }
    body { padding-top: 140px; }
    .slide img { height: 50vh; }
    .intro-heading { font-size: 32px; }
    .dual-image { grid-template-columns: 1fr; }
    .dual-image img { height: 400px; }
    .three-col-links { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2; }
    .portfolio-cards { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
    .slide img { height: 40vh; }
    .intro-heading { font-size: 26px; }
    .intro-section { padding: 60px 20px; }
    .cta-heading { font-size: 30px; }
    .gallery-grid { columns: 1; }
    .portfolio-cards { grid-template-columns: 1fr; }
    .portfolio-card { height: 280px; }
}
