/*
Theme Name: Jerome Boudry Photography
Author: Jerome Boudry
Version: 1.0
*/

/* Local Font*/

@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/jerome-boudry-theme/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/jerome-boudry-theme/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/jerome-boudry-theme/fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
}
@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/jerome-boudry-theme/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* GLOBAL */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: inherit;
}
/* SITE TITLE */
.site-branding {
    position: fixed;
    margin-top: 0.5rem;
    top: 2rem;
    left: 2rem;
    z-index: 3000;
}
.site-header .site-branding h1 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(0,0,0,0.85);

}
.light-page .site-header .site-branding h1 {
    color: rgba(0,0,0,0.85);
}
/* BURGER */
/* MENU PANEL */
.burger {
    position: fixed;
    top: 4rem;
    left: 2rem;
    width: 22px;
    cursor: pointer;
    z-index: 3000;
}
.burger span {
    display: block;
    height: 1.5px;
    background: rgba(0,0,0,0.85);
    margin-bottom: 5px;
    transition: 0.3s ease;
}
    /* visibility on dark images 
    box-shadow: 0 1px 2px rgba(255,255,255,0.5);
} */
.light-page .burger span {
    background: #000;
    box-shadow: none;
}
.burger.active span {
    background: #000;
    box-shadow: none;
}
.light-page .burger.active span {
    background: #000;
    box-shadow: none;
}

.menu-panel {
    position: fixed;
    top: 6rem;
    left: 2rem;
    background: transparent;
    padding: 0;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;

}
.menu-panel.active {
    
    opacity: 1;
    pointer-events: auto;
}
.menu-panel ul {
    list-style: none;
}
.menu-panel li {
    margin-bottom: 1.5rem;
}
.menu-panel a {
    font-size: 1.2rem;
    font-weight: 500;
}
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* MENU PANEL STRUCTURE */

.menu-panel ul {
    list-style: none;
}
.menu-panel > ul > li {
    margin-bottom: 2rem;
}
.menu-panel a {
    font-size: 0.85rem;
    font-weight: 350;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* SUBMENU */

.menu-panel ul ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}
.menu-panel ul ul li {
    margin-bottom: 1rem;
}
.menu-panel ul ul a {
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* OVERLAY FADE */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.50);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1500;
}
.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
/* Prevent scroll when menu is open */
body.menu-open {
    overflow: hidden;
}
/* HOME RANDOM IMAGE */
.hero-image {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
}
/* WORKS GRID */
.works-grid {
    column-count: 3;
    column-gap: 1.5rem;
    padding: 8rem 2rem 2rem 2rem;
}
.work-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}
.work-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}
@media (max-width: 1024px) {
    .works-grid {
        column-count: 2;
    }
}
@media (max-width: 640px) {
    .works-grid {
        column-count: 1;
    }
}
/* ===============================
   LIGHTBOX PREMIUM
================================ */

.custom-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 4000;
}
.custom-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.custom-lightbox img {
    max-width: 85%;
    max-height: 85%;
    height: auto;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    font-weight: 300;
}
.lightbox-prev {
    left: 3rem;
}

.lightbox-next {
    right: 3rem;
}
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 2rem;
    cursor: pointer;
}
.lightbox.active {
    display: flex;
}
.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
}
/* ===============================
   WORKS - MASONRY GRID
================================ */
.works-grid {
    column-count: 3;
    column-gap: 1.5rem;
    padding: 8rem 2rem 4rem 2rem;
}
.work-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}
.work-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}
@media (max-width: 1024px) {
    .works-grid {
        column-count: 2;
    }
}
@media (max-width: 640px) {
    .works-grid {
        column-count: 1;
    }
}
/* ===============================
   PERSONAL PROJECTS GRID
================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 8rem 2rem 4rem 2rem;
}
.project-item img {
    width: 100%;
    height: auto;
    display: block;
}
.project-item h2 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.8rem;
    letter-spacing: 0.05em;
}
.single-project {
    padding: 8rem 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.single-project h1 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
}
.project-content img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}
/* ===============================
   PERSONAL PROJECT SINGLE
================================ */

.project-page {
    padding: 14rem 4rem 10rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}
.project-intro h1 {
    font-weight: 500;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}
.project-description {
    font-weight: 300;
    line-height: 2;
    font-size: 1rem;
}

/* Gallery refinement */

.project-description .wp-block-gallery {
    margin-top: 6rem;
    gap: 2rem;
}
.project-description img {
    width: 100%;
    height: auto;
}
/* ===============================
   PERSONAL PROJECTS ARCHIVE
================================ */

.projects-archive {
    padding: 16rem 4rem 12rem 4rem;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 8rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}
.projects-grid:has(.project-item:only-child){
    justify-items: center;
}
.project-item {
    text-decoration: none;
    color: inherit;
}
.project-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
}
.project-item h2 {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
/* ===============================
   SERVICES – SPLIT LUXURY LAYOUT
================================ */

.services-page {
    padding: 14rem 4rem 10rem 4rem;
}
.services-layout {
    display: flex;
    align-items: top;
    gap: 8rem;
    max-width: 1400px;
    margin: 0 auto;
}
.services-text {
    flex: 1;
    max-width: 620px;
    font-size: 1rem;
    line-height: 2.1;
    font-weight: 300;
    letter-spacing: 0.02em;
}
.services-text p {
    margin-bottom: 2.5rem;
}
.services-text p:first-of-type {
    font-size: 1.2rem;
    line-height: 2.2;
}

/* Elegant dash list */

.services-text ul {
    list-style: none;
    padding: 0;
    margin: 3.5rem 0;
}
.services-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}
.services-text li::before {
    content: "—";
    position: absolute;
    left: 0;
    font-weight: 300;
}

/* Vertical image styling */

.services-image {
    flex: 0 0 400px;
}
.services-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Elegant dash */

.services-content li::before {
    content: "— ";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 300;
}
.services-content li {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Subtle image placement */

.services-image {
    margin-top: 6rem;
    max-width: 800px;
}
.services-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* Language section titles */

.services-content h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 6rem;
    margin-bottom: 3rem;
    font-weight: 500;
}
@media (max-width: 1100px) {

    .contact-layout {
        flex-direction: column;
        gap: 5rem;
    }

    .contact-image {
        max-width: 600px;
    }

}
/* ===============================
   CONTACT – SPLIT LUXURY
================================ */

.contact-page {
    padding: 14rem 4rem 10rem 4rem;
}
.contact-layout {
    display: flex;
    align-items: top;
    gap: 8rem;
    max-width: 1400px;
    margin: 0 auto;
}
.contact-left {
    flex: 1;
    max-width: 620px;
}
.contact-text {
    font-size: 1rem;
    line-height: 2;
    font-weight: 300;
    margin-bottom: 4rem;
}

/* FORM STYLING */

.contact-form label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}
.wpcf7-form input,
.wpcf7-form textarea {
border: none;
border-bottom: 1px solid #d8d8d8;
padding: 10px 0;
background: transparent;
width: 100%;
font-size: 15px;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
outline: none;
border-bottom: 1px solid #000;
}
.wpcf7-submit {
border: 1px solid #000;
background: transparent;
color: #000;
padding: 10px 26px;
font-size: 14px;
letter-spacing: 0.08em;
text-transform: uppercase;
cursor: pointer;
transition: all 0.25s ease;
}
.wpcf7-response-output {
margin-top: 30px;
font-size: 14px;
color: #000;
border: none;
padding: 0;
}
.wpcf7-submit:hover {
background: #000;
color: #fff;
}
.contact-image {
    flex: 0 0 400px;
}
.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 1100px) {

    .contact-layout {
        flex-direction: column;
        gap: 5rem;
    }

    .contact-image {
        max-width: 600px;
    }

}
.grecaptcha-badge {
    opacity: 0.2;
}
.hidden-fields-container {
border: none;
margin: 0;
padding: 0;
}
.cf-turnstile {
margin: 30px 0 20px 0;
}

/* =====
    page-legal styling
    */

.legal-page {
    padding: 14rem 4rem 10rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.legal-content h2 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 2;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.legal-content a {
    text-decoration: underline;
}
.legal-content hr {
    margin: 4rem 0;
    border: none;
    border-top: 1px solid #e5e5e5;
}
/* ===============================
   FOOTER
================================ */
.site-footer {
    padding: 2rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* LEFT */
.footer-left {
    opacity: 0.6;
}
.footer-left p {
    margin: 0;
}

/* MENU */

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #000;
}

/* SOCIALS */

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    text-decoration: none;
    color: #000;
}
.footer-socials svg {
    display: block;
    width: 16px;
    height: 16px;
}

.footer-socials a {
    color: #000;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.footer-socials a:hover {
    opacity: 1;
}
/* HOVER */

.footer-links a:hover,
.footer-socials a:hover {
    opacity: 0.6;
}
@media (max-width: 768px) {

    .footer-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-socials {
        width: 100%;
        margin-top: 1rem;
    }
}
/* FOOTER CONSENT BANNER*/
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 1rem 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 5000;
    max-width: 320px;
}

.cookie-banner a {
    text-decoration: underline;
    color: #fff;
}

.cookie-banner button {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.65rem;
    cursor: pointer;
}

.cookie-banner button:hover {
    background: #fff;
    color: #000;
}
.cookie-actions {
    display: flex;
    gap: 0.8rem;
}