/*
Theme Name: Rudy Was Custom
Theme URI: https://example.com
Author: Rudy Was
Author URI: https://example.com
Description: Custom theme for Rudy Was barbershop.
Version: 1.0.2
Text Domain: rudywas
*/

:root {
    --gold: #c5a059;
    --bg: #121212;
    --bg-soft: #1a1a1a;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.header-row {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    letter-spacing: 0.03em;
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--white);
    padding: 8px 10px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.15em;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.primary-nav a {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
}

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.booksy-btn {
    display: inline-block;
    background: var(--gold);
    color: #000;
    border: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    padding: 12px 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.booksy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.35);
}

.hero {
    padding: 120px 0 90px;
    text-align: center;
    background:
        linear-gradient(rgba(18, 18, 18, 0.76), rgba(18, 18, 18, 0.95)),
        url("https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&q=80&w=2000") center/cover no-repeat;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.15;
    margin: 0 0 16px;
}

.hero p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.gold {
    color: var(--gold);
}

.section {
    padding: 80px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--gold);
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: center;
}

.feature-image {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 8px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4d4d4;
}

.section.alt {
    background: var(--bg-soft);
}

.section h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-top: 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px;
}

.price {
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.cta-panel {
    background:
        linear-gradient(120deg, rgba(18, 18, 18, 0.96), rgba(26, 26, 26, 0.9)),
        url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&q=80&w=1600") center/cover no-repeat;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 36px;
}

/* Usługi */
.services-section {
    background: #0f0f0f;
}

.services-intro {
    max-width: 780px;
    color: #d1d5db;
    margin: -8px 0 26px;
}

.services-menu-wrap {
    display: grid;
    gap: 0;
}

.service-group {
    padding: 22px 0;
}

.service-group + .service-group {
    position: relative;
}

.service-group + .service-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 1px;
    transform: translateX(-50%);
    background: rgba(197, 160, 89, 0.18);
}

.service-group h3 {
    margin: 0 0 14px;
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
}

.service-list {
    display: flex;
    flex-direction: column;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
}

.service-list .service-row:first-child {
    border-top: 0;
    padding-top: 4px;
}

.service-row-main h4 {
    margin: 0 0 3px;
    font-size: 1.275rem;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    color: var(--gold);
}

.service-row-main p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-row-price {
    margin: 0;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 0.03em;
    font-size: 1.8rem;
    font-family: "Playfair Display", serif;
    text-align: right;
    white-space: nowrap;
}

.service-row-currency {
    font-size: 0.9rem;
    color: var(--gold);
}

.services-cta-section {
    background: #0f0f0f;
    padding-top: 44px;
}

.services-cta-banner .contact-cta-bg {
    background: url("https://images.unsplash.com/photo-1593702275677-f916c8c7041d?auto=format&fit=crop&q=80&w=2000") center/cover no-repeat;
}

.services-cta-banner::after {
    background: linear-gradient(to right, rgba(18, 18, 18, 0.28), rgba(18, 18, 18, 0.95) 58%);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.quote {
    border-left: 3px solid var(--gold);
    padding: 10px 0 10px 18px;
    color: #d1d5db;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.map-wrap iframe {
    width: 100%;
    min-height: 340px;
    border: 0;
    filter: grayscale(1) contrast(1.2);
}

.blog-hero {
    padding: 120px 0 70px;
    background:
        linear-gradient(rgba(18, 18, 18, 0.85), rgba(13, 13, 13, 0.95)),
        url("https://images.unsplash.com/photo-1622286342621-4bd786c2447c?auto=format&fit=crop&q=80&w=2000") center/cover no-repeat;
}

.post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card h3 {
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
}

.meta {
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.pagination,
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
}

.pagination .current {
    border-color: var(--gold);
    color: #000;
    background: var(--gold);
}

.card h3 {
    margin-top: 0;
    font-family: "Playfair Display", serif;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.post-card {
    background: var(--bg-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.post-card .content {
    padding: 20px;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7280;
    padding: 24px 0;
}

/* ──────────────────────────────
   SINGLE POST
────────────────────────────── */

.post-hero {
    padding: 130px 0 70px;
    text-align: center;
    background:
        linear-gradient(rgba(18, 18, 18, 0.82), rgba(18, 18, 18, 0.97)),
        url("https://images.unsplash.com/photo-1585747860715-2ba37e788b70?auto=format&fit=crop&q=80&w=2000") center/cover no-repeat;
}

.post-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    margin: 12px auto 20px;
    max-width: 860px;
}

.post-meta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
}

.post-meta-bar .sep {
    color: var(--gold);
}

.post-featured-image {
    margin-top: -24px;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.post-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Typography ── */

.post-content {
    max-width: 780px;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #d1d5db;
}

.post-content p.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #e5e7eb;
    border-left: 3px solid var(--gold);
    padding-left: 18px;
    margin-bottom: 2em;
    font-style: italic;
}

.post-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #f3f4f6;
    margin: 2em 0 0.5em;
    padding-top: 0.5em;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.post-content h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.15rem, 2.5vw, 1.55rem);
    color: #f3f4f6;
    margin: 1.7em 0 0.4em;
}

.post-content h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin: 1.6em 0 0.4em;
}

.post-content strong {
    font-weight: 700;
    color: #f3f4f6;
}

.post-content em {
    font-style: italic;
    color: #e5e7eb;
}

.post-content blockquote {
    border-left: 4px solid var(--gold);
    background: rgba(197, 160, 89, 0.05);
    padding: 20px 28px;
    margin: 2em 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #e5e7eb;
    border-radius: 0 2px 2px 0;
}

.post-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.post-content ul,
.post-content ol {
    padding-left: 1.5em;
    margin: 1em 0 1.5em;
}

.post-content li {
    margin-bottom: 0.55em;
}

.post-content ul li::marker {
    color: var(--gold);
}

.post-content ol li::marker {
    color: var(--gold);
    font-weight: 700;
}

.post-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 2.5em 0;
}

.post-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content figure img {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-content figcaption {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    margin-top: 6px;
    font-style: italic;
}

.latest-posts-heading {
    margin-bottom: 30px;
}

/* ─── Card with portrait image (team) ─── */

.card-person {
    padding: 0;
    text-align: center;
    overflow: hidden;
}

.card-person-img-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.card-person-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.card-person:hover .card-person-img-wrap img {
    transform: scale(1.05);
}

/* ─── Card with landscape image (services) ─── */

.card-service {
    padding: 0;
    overflow: hidden;
}

.card-service-img-wrap {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.card-service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-service:hover .card-service-img-wrap img {
    transform: scale(1.05);
}

/* ─── Shared card inner body (when card has image on top) ─── */

.card-body {
    padding: 22px;
}

.card-body h3 {
    margin-top: 0;
    font-family: "Playfair Display", serif;
}

/* ===== KONTAKT PAGE ===== */
.contact-hero {
    padding: 120px 0 70px;
    background:
        linear-gradient(rgba(18, 18, 18, 0.85), rgba(13, 13, 13, 0.95)),
        url("https://images.unsplash.com/photo-1512690196236-d5a232933d44?auto=format&fit=crop&q=80&w=2000") center/cover no-repeat;
}
.contact-hero-inner { text-align: center; }
.contact-hero-inner h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.15;
    margin: 0 0 16px;
}
.contact-hero-sub { max-width: 760px; margin: 0 auto; color: #d1d5db; }

.contact-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}
.contact-info h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    margin-bottom: 2rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.contact-label {
    display: block;
    color: var(--gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 4px;
}
.contact-details p { color: #d1d5db; margin: 0; font-size: 1.05rem; }
.contact-details a { color: #d1d5db; }
.contact-details a:hover { color: var(--gold); }

.contact-hours h4 {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}
.contact-hours ul { list-style: none; padding: 0; margin: 0; }
.contact-hours li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-form-wrap {
    background: var(--bg-soft);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    height: 100%;
    display: flex;
}
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #6b7280;
    margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; }
.contact-form .form-field:last-of-type {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.contact-form .form-field:last-of-type textarea {
    flex: 1;
    min-height: 180px;
}
.contact-submit { width: 100%; display: block; text-align: center; }

.contact-dark {
    background: #0d0d0d;
}

.contact-section {
    padding: 56px 0;
}

.contact-section-compact {
    padding-top: 40px;
    padding-bottom: 40px;
}

.contact-map-section {
    padding: 40px 0 56px;
}

.section-header-center { text-align: center; margin-bottom: 2.5rem; }
.section-header-center h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}
.gold-bar { width: 4rem; height: 3px; background: var(--gold); margin: 0 auto; }

.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.video-bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1593702275677-f916c8c7041d?auto=format&fit=crop&q=80&w=2000") center/cover no-repeat;
    opacity: 0.4;
    transition: opacity 0.4s;
}
.video-placeholder:hover .video-bg { opacity: 0.25; }
.video-play-btn {
    position: relative;
    z-index: 2;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: 0 0 30px rgba(197,160,89,0.4);
}
.video-placeholder:hover .video-play-btn { transform: scale(1.1); }
.video-play-btn svg { width: 2rem; height: 2rem; color: #000; margin-left: 6px; }
.video-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #d1d5db;
    margin: 0;
}

.contact-cta-banner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197,160,89,0.2);
}
.contact-cta-bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&q=80&w=2000") center/cover no-repeat;
    opacity: 0.35;
}
.contact-cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg) 25%, rgba(197,160,89,0.1));
    pointer-events: none;
}
.contact-cta-inner {
    position: relative;
    z-index: 1;
    padding: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.contact-cta-text { max-width: 680px; }
.contact-cta-text h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 1rem;
}
.contact-cta-text p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; margin: 0; }
.eyebrow-line { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.gold-rule { display: block; width: 2rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.contact-cta-actions { flex-shrink: 0; }

.map-wrap-full iframe {
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(1) contrast(1.2);
    opacity: 0.7;
    display: block;
}

@media (max-width: 900px) {
    .split,
    .testimonials,
    .contact-grid,
    .contact-cols {
        grid-template-columns: 1fr;
    }

    .contact-cta-inner {
        flex-direction: column;
        padding: 2rem;
    }

    .contact-cta-actions { width: 100%; }
    .contact-cta-actions .booksy-btn { display: block; text-align: center; }

    .grid-3,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-row-price {
        text-align: left;
    }

    .services-cta-banner::after {
        background: linear-gradient(to bottom, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.96));
    }

    .nav-toggle {
        display: inline-block;
    }

    .primary-nav {
        display: none;
        width: 100%;
        padding-bottom: 12px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .header-row {
        flex-wrap: wrap;
        padding-top: 14px;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}
