/*
Theme Name: Liberty Painting US
Theme URI: https://libertypainting.us
Description: Custom theme for Liberty Painting Services - Livermore, CA
Author: Digital Concierge
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: libertypaintingus
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --red: #B22234;
    --dark-red: #8B1A28;
    --blue: #3C3B6E;
    --dark-blue: #2A2A5A;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --light-gray: #E8E8E8;
    --dark-gray: #333333;
    --text: #2D2D2D;
    --gold: #C5A55A;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

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

/* === HEADER === */
.site-header {
    background: var(--white);
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-top {
    background: var(--blue);
    padding: 6px 0;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top-email a,
.header-top-phone {
    color: var(--white);
    font-size: 17px;
    letter-spacing: 0.3px;
}

.header-top-email {
    color: var(--white);
    font-size: 17px;
}

.header-top-phone {
    font-weight: 600;
}

.header-top a:hover { opacity: 0.85; }

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1440px;
    margin: 0 auto;
}

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

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

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.header-phone-btn:hover {
    background: var(--dark-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(178, 34, 52, 0.4);
}

.header-phone-btn .phone-icon {
    font-size: 20px;
}

.header-phone-btn .phone-text {
    line-height: 1.2;
}

.header-phone-btn .phone-text small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.9;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav a {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 17px;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--blue);
    color: var(--white);
}

/* Mobile Nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--blue);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(60, 59, 110, 0.85) 0%,
        rgba(178, 34, 52, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.hero-stat .label {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* === KEN BURNS HERO SLIDESHOW === */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 12s ease infinite alternate;
}

.hero-slide:nth-child(2) img {
    animation-delay: -3s;
    transform-origin: top right;
}

.hero-slide:nth-child(3) img {
    animation-delay: -6s;
    transform-origin: bottom left;
}

.hero-slide:nth-child(4) img {
    animation-delay: -9s;
    transform-origin: center;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(178, 34, 52, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue);
}

.btn-blue {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-blue:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(60, 59, 110, 0.4);
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === SECTIONS === */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--off-white);
}

.section-blue {
    background: var(--blue);
    color: var(--white);
}

.section-red {
    background: var(--red);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header .accent-line {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-blue .accent-line {
    background: var(--gold);
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-blue .section-header p {
    color: rgba(255,255,255,0.8);
}

/* === SERVICES GRID === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card-image {
    height: 220px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-content {
    padding: 28px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--blue);
}

.service-card p {
    color: #666;
    margin-bottom: 16px;
    font-size: 17px;
}

.service-card .btn {
    padding: 10px 24px;
    font-size: 17px;
}

/* === IMAGE GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: 1/2;
}

/* === FEATURES / WHY US === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--white);
}

.section-blue .feature-icon {
    background: rgba(255,255,255,0.15);
    border: 2px solid var(--gold);
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.feature-item p {
    font-size: 17px;
    opacity: 0.8;
    line-height: 1.5;
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 60px;
    color: var(--red);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 16px;
    font-size: 17px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--blue);
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 18px;
}

/* === CTA SECTION === */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* === FOOTER === */
.site-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-about p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 17px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 17px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 17px;
    opacity: 0.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--red);
}

/* === PAGE SPECIFIC === */
.page-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgb(60, 59, 110) 0%,
        rgb(178, 34, 52) 100%
    );
}

.page-hero.has-slideshow {
    min-height: 60vh;
}

.page-hero.has-slideshow::before {
    background: linear-gradient(
        135deg,
        rgba(60, 59, 110, 0.85) 0%,
        rgba(178, 34, 52, 0.7) 100%
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content with sidebar image */
.content-image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-image-row.reverse {
    direction: rtl;
}

.content-image-row.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.content-text p {
    color: #555;
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.7;
}

.content-text ul {
    margin-bottom: 20px;
}

.content-text ul li {
    padding: 6px 0 6px 28px;
    position: relative;
    color: #555;
    font-size: 17px;
}

.content-text ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--red);
    font-size: 17px;
}

.content-image img {
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* === PROCESS STEPS === */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--red);
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.section-blue .process-step::before {
    background: var(--gold);
    color: var(--blue);
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.process-step p {
    font-size: 17px;
    opacity: 0.8;
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .nav-toggle { display: block; }

    .header-right {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .header-phone-btn .phone-text small { display: none; }
    .header-phone-btn {
        padding: 8px 14px;
        font-size: 15px;
        gap: 6px;
    }
    .header-phone-btn .phone-icon { font-size: 16px; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        display: none;
        border-top: 3px solid var(--red);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .main-nav.active { display: block; }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 12px 16px;
    }

    .hero h1 { font-size: 36px; }
    .hero-stats { gap: 20px; }
    .hero-stat .number { font-size: 30px; }

    .services-grid,
    .testimonials-grid { grid-template-columns: 1fr; }

    .features-grid,
    .process-grid { grid-template-columns: repeat(2, 1fr); }

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

    .content-image-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-image-row.reverse { direction: ltr; }

    .content-image-row .content-image { order: -1; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .page-hero h1 { font-size: 36px; }
    .section-header h2 { font-size: 28px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 17px; }
    .hero-stats { flex-direction: column; gap: 12px; }

    .features-grid,
    .process-grid { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr; }

    .section { padding: 50px 0; }

    .page-hero h1 { font-size: 28px; }
    .cta-section h2 { font-size: 24px; }
}

/* === PROJECT FEED === */
.feed {
    max-width: 1440px;
    margin: 0 auto;
    columns: 2;
    column-gap: 30px;
}

.feed-post {
    break-inside: avoid;
    margin-bottom: 30px;
}

.feed-post.feed-full {
    /* masonry handles sizing naturally */
}

.feed-post {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.feed-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--off-white);
    flex-shrink: 0;
}

.feed-name {
    display: block;
    font-size: 17px;
    color: var(--blue);
}

.feed-date {
    font-size: 17px;
    color: #888;
}

.feed-text {
    padding: 0 20px 16px;
}

.feed-text p {
    font-size: 17px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
}

.feed-text p:last-child {
    margin-bottom: 0;
}

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

.feed-gallery-2 {
    grid-template-columns: repeat(2, 1fr);
}

.feed-gallery-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.feed-gallery-item a {
    display: block;
    height: 100%;
}

.feed-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.feed-video {
    padding: 0;
    max-height: 400px;
    overflow: hidden;
}

.feed-video video {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background: #000;
    display: block;
}

/* Page gallery - masonry style */
.page-gallery {
    columns: 4;
    column-gap: 8px;
    grid-template-columns: unset;
    display: block;
}

.page-gallery .feed-gallery-item {
    break-inside: avoid;
    margin-bottom: 8px;
    aspect-ratio: unset;
    border-radius: 4px;
}

@media (max-width: 968px) {
    .page-gallery { columns: 3; }
}

@media (max-width: 600px) {
    .page-gallery { columns: 2; }
}

.feed-hidden {
    display: none !important;
}

.feed-show-more {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-top: none;
    color: var(--blue);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.feed-show-more:hover {
    background: var(--light-gray);
}

.feed-tags {
    padding: 12px 20px 16px;
    font-size: 17px;
    color: var(--blue);
    opacity: 0.7;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .feed {
        columns: 1;
    }
}

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

/* === TRUCK SECTION === */
.truck-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.truck-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(6px);
    transform: scale(1.1);
}

.truck-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(60, 59, 110, 0.9) 0%, rgba(26, 26, 46, 0.85) 100%);
}

.truck-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.truck-text h2 {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.truck-text p {
    opacity: 0.9;
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.7;
}

.truck-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.truck-img-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    border: 3px solid rgba(255,255,255,0.15);
    transition: transform 0.3s ease;
}

.truck-img-card:hover {
    transform: translateY(-4px);
}

.truck-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

@media (max-width: 968px) {
    .truck-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .truck-images {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* === VIDEO EMBED === */
.video-embed {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.video-embed video,
.video-embed iframe {
    width: 100%;
    max-width: 640px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* === LIGHTBOX === */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 16px 14px;
    border-radius: 4px;
    transition: background 0.2s;
    z-index: 10001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 17px;
    letter-spacing: 1px;
}

