@import "style2.css";

/*
Theme Name: LordMeble
Theme URI: https://lordmeble.pl
Author: LordMeble
Description: Luxury furniture editorial theme
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lordmeble
*/

.container{
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
}

/*--------- BLACK BOX --------------*/

/* Główny kontener spinający całość */
.black-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background-color: #000000; /* Czarne tło całej sekcji */
    font-family: Arial, sans-serif;
    padding: 40px 0;
}

/* LEWA SEKCJA: Zdjęcie i nakładka */
.bb-image-section {
    position: relative;
    flex: 1;
    max-width: 60%;
    /* Dodatkowy margines z dołu i z prawej, aby wysunięty boks nie obcinał się */
    padding-bottom: 40px;
    padding-right: 40px;
}

.bb-main-img {
    width: 100%;
    height: 800px;
    display: block;
    object-fit: cover;
}

/* Ciemny boks nachodzący na zdjęcie */
.bb-overlay-card {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #161616; /* Bardzo ciemny szary/czarny boks */
    padding: 40px;
    max-width: 380px;
    box-sizing: border-box;
    z-index: 2;
}

.bb-overlay-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.bb-overlay-card p {
    color: #a3a3a3;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 35px 0;
}

.bb-link {
    color: #9c7b54; /* Elegancki złoty/brązowy kolor */
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid #7a5e3c;
    padding-bottom: 4px;
    display: inline-block;
    transition: color 0.3s, border-color 0.3s;
}

.bb-link:hover {
    color: #c09d73;
    border-bottom-color: #c09d73;
}

/* PRAWA SEKCJA: Cytat */
.bb-quote-section {
    flex: 1;
    max-width: 35%;
    padding-left: 20px;
}

.bb-quote-section blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #ffffff;
    font-size: 36px;
    line-height: 1.3;
    margin: 0 0 30px 0;
    padding: 0;
    border: none;
}

.bb-author {
    color: #555555; /* Ciemniejszy szary tekst dla autora */
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-top: 15px;
}

/* Cienka linia nad autorem cytatu */
.bb-author::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 1px;
    background-color: #333333;
}

/* RESPONSYWNOŚĆ (RWD) - dla tabletów i telefonów */
@media (max-width: 991px) {
    .black-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 60px;
    }

    .bb-image-section {
        max-width: 100%;
        width: 100%;
        padding-right: 0;
    }

    .bb-quote-section {
        max-width: 100%;
        padding-left: 0;
    }

    .bb-overlay-card {
        position: relative;
        margin-top: -60px;
        margin-left: 20px;
        float: right;
    }
}

@media (max-width: 576px) {
    .bb-overlay-card {
        margin-left: 0;
        float: none;
        max-width: 100%;
    }
    .bb-quote-section blockquote {
        font-size: 28px;
    }
}

/* ── Contact Form 7 — LordMeble Design ── */

.wpcf7 {
    font-family: 'Manrope', sans-serif;
}

/* Grid 2 kolumny */
.lm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
@media (max-width: 768px) {
    .lm-form-grid { grid-template-columns: 1fr; }
}

/* Kontener pola */
.lm-field {
    position: relative;
    margin-bottom: 2.5rem;
    padding-top: 1.25rem; /* miejsce dla labela nad inputem */
}

/* span wrapper CF7 — musi być block */
.lm-field .wpcf7-form-control-wrap {
    display: block;
}

/* Inputy i textarea */
.wpcf7 .lm-field input[type="text"],
.wpcf7 .lm-field input[type="email"],
.wpcf7 .lm-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #80756b;
    padding: 0.5rem 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #1a1c1a;
    outline: none;
    box-shadow: none;
    transition: border-color 0.3s;
    resize: none;
}

/* Linia focus — kolor primary */
.wpcf7 .lm-field input[type="text"]:focus,
.wpcf7 .lm-field input[type="email"]:focus,
.wpcf7 .lm-field textarea:focus {
    border-bottom: 2px solid #705838;
    box-shadow: none;
    outline: none;
}

.wpcf7 .lm-field textarea {
    min-height: 120px;
}

/* Floating label — domyślnie nad inputem (nie nakłada się) */
.lm-field label {
    position: absolute;
    left: 0;
    top: 0;                      /* zawsze na górze kontenera */
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #80756b;
    transition: color 0.25s ease;
    pointer-events: none;
    line-height: 1;
}

/* Kolor labela gdy input aktywny */
.wpcf7 .lm-field input:focus ~ label,
.wpcf7 .lm-field textarea:focus ~ label {
    color: #705838;
}

/* Checkbox */
.lm-checkbox {
    margin-bottom: 2rem;
}

.wpcf7 .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: #4e453c;
    line-height: 1.5;
    cursor: pointer;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #705838;
    cursor: pointer;
}

.wpcf7 .wpcf7-acceptance a {
    color: #705838;
    text-decoration: underline;
}

/* Przycisk submit */
.wpcf7 input[type="submit"] {
    background: #705838;
    color: #ffffff;
    border: none;
    padding: 1.25rem 3rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 0.125rem;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.85;
}

/* Walidacja */
.wpcf7-not-valid-tip {
    color: #ba1a1a;
    font-size: 0.7rem;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7 .lm-field input.wpcf7-not-valid,
.wpcf7 .lm-field textarea.wpcf7-not-valid {
    border-bottom-color: #ba1a1a;
}

/* Komunikat po wysłaniu */
.wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 0.25rem;
    border: none !important;
}

.wpcf7-mail-sent-ok {
    background: #f4f3f1;
    color: #2e7d32;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background: #ffdad6;
    color: #93000a;
}


