/* ============================================================
   LP Event — Landing Page template styles
   ============================================================ */

:root {
    --lp-primary-color: #1A1A1A;
    --lp-accent-color: #8C7A6B;
    --lp-bg-light: #F9F8F6;
    --lp-text-dark: #2C2C2C;
    --lp-text-light: #FFFFFF;
    --lp-font-serif: 'Playfair Display', Georgia, serif;
    --lp-font-sans: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.lp-body {
    font-family: var(--lp-font-sans);
    color: var(--lp-text-dark);
    background-color: var(--lp-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.lp-body *,
.lp-body *::before,
.lp-body *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- HEADER --- */
.lp-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 30px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
}

.lp-logo-investment {
    max-width: 220px;
    height: auto;
    display: block;
}

/* --- HERO --- */
.lp-hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8%;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    color: var(--lp-text-light);
    max-width: 600px;
    margin-top: 60px;
    background-color: rgba(140, 122, 107, 0.85);
    padding: 50px;
    border-radius: 3px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.lp-hero-title {
    font-family: var(--lp-font-serif);
    font-size: 3.8rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.lp-hero-date {
    font-family: var(--lp-font-serif);
    font-size: 1.9rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.95;
    letter-spacing: 0.05em;
}

.lp-hero-promo {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-left: 2px solid var(--lp-text-light);
    padding-left: 20px;
    margin-bottom: 35px;
}

.lp-btn-scroll {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    color: var(--lp-text-light);
    border: 1px solid var(--lp-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lp-btn-scroll:hover {
    background-color: var(--lp-text-light);
    color: var(--lp-primary-color);
}

/* --- MAIN CONTAINER --- */
.lp-main-container {
    padding: 100px 8% 60px 8%;
    max-width: 1400px;
    margin: 0 auto;
    scroll-margin-top: 40px;
}

/* --- INFO BLOCK --- */
.lp-info-block-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.lp-info-details h2 {
    font-family: var(--lp-font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 35px;
}

.lp-info-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.lp-info-item {
    border-bottom: 1px solid #E0DCD5;
    padding-bottom: 15px;
}

.lp-info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777;
    margin-bottom: 5px;
}

.lp-info-value {
    font-family: var(--lp-font-serif);
    font-size: 1.4rem;
    color: var(--lp-text-dark);
}

.lp-info-visualization img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- HIGHLIGHT BANNER --- */
.lp-highlight-banner {
    border-top: 1px solid #E0DCD5;
    border-bottom: 1px solid #E0DCD5;
    padding: 60px 0;
    margin-bottom: 80px;
    text-align: center;
}

.lp-highlight-banner p {
    font-family: var(--lp-font-serif);
    font-size: 1.9rem;
    line-height: 1.5;
    color: var(--lp-primary-color);
    max-width: 1100px;
    margin: 0 auto 30px auto;
}

.lp-btn-dark-scroll {
    display: inline-block;
    padding: 16px 45px;
    background-color: var(--lp-primary-color);
    color: var(--lp-text-light);
    border: 1px solid var(--lp-primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lp-btn-dark-scroll:hover {
    background-color: transparent;
    color: var(--lp-primary-color);
}

/* --- SIDE EVENT --- */
.lp-side-event-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 1.4fr;
    gap: 60px;
    align-items: stretch;
}

.lp-side-event-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    border-radius: 2px;
}

.lp-side-event-text {
    background-color: #EFECE6;
    padding: 50px 45px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lp-side-event-text .lp-tag {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lp-accent-color);
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}

.lp-side-event-text h3 {
    font-family: var(--lp-font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.lp-side-event-text h4 {
    font-family: var(--lp-font-serif);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    color: #555;
    margin-bottom: 25px;
}

.lp-side-event-text p {
    font-size: 0.95rem;
    font-weight: 300;
    color: #4A4A4A;
    text-align: justify;
}

/* --- FORM SECTION --- */
.lp-form-section {
    background-color: #1C2321;
    color: var(--lp-text-light);
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 20px;
}

.lp-form-container {
    width: 100%;
    max-width: 700px;
}

.lp-form-container h2 {
    font-family: var(--lp-font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
}

.lp-form-container .lp-form-desc {
    text-align: center;
    font-weight: 300;
    color: #A0A5A4;
    margin-bottom: 50px;
    letter-spacing: 0.02em;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================================================
   Formularz CF7 — samodzielny styl (markup: input-field/w-input,
   wpcf7-acceptance, submit-btn/w-button). Niezależny od motywu.
   ============================================================ */
.lp-form-section .wpcf7 {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* Ukryj kontener pól ukrytych CF7 (pola nadal wysyłane) */
.lp-form-section .hidden-fields-container {
    display: none;
}

.lp-form-section .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
    color: var(--lp-text-light);
}

/* Pola tekstowe */
.lp-form-section .wpcf7-form-control-wrap[data-name="email"],
.lp-form-section .wpcf7-form-control-wrap[data-name="telefon"] {
    grid-column: span 2;
}

.lp-form-section .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

.lp-form-section .wpcf7-form input.w-input,
.lp-form-section .wpcf7-form input[type="text"],
.lp-form-section .wpcf7-form input[type="email"],
.lp-form-section .wpcf7-form input[type="tel"] {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #4A5351;
    border-radius: 0;
    padding: 12px 5px;
    color: var(--lp-text-light);
    font-family: var(--lp-font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.lp-form-section .wpcf7-form input.w-input:focus,
.lp-form-section .wpcf7-form input[type="text"]:focus,
.lp-form-section .wpcf7-form input[type="email"]:focus,
.lp-form-section .wpcf7-form input[type="tel"]:focus {
    outline: none;
    border-bottom-color: var(--lp-text-light);
}

.lp-form-section .wpcf7-form input::placeholder {
    color: #9AA09E;
    opacity: 1;
}

/* Zgody (checkboxy) */
.lp-form-section .form-zgody {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.lp-form-section .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.lp-form-section .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.lp-form-section .wpcf7-acceptance input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    margin-top: 2px;
    accent-color: var(--lp-text-light);
}

.lp-form-section .wpcf7-list-item-label {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #A0A5A4;
}

/* Tekst pod zgodami */
.lp-form-section .form-zgoda-text {
    grid-column: span 2;
}

.lp-form-section .zgoda-text-text {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #A0A5A4;
}

.lp-form-section .zgoda-link {
    color: var(--lp-text-light);
    text-decoration: underline;
}

/* Przycisk wyślij */
.lp-form-section .wpcf7-form .submit-btn,
.lp-form-section .wpcf7-form input[type="submit"] {
    grid-column: span 2;
    justify-self: center;
    width: auto;
    margin-top: 10px;
    padding: 18px 60px;
    background-color: transparent;
    background-image: none;
    color: var(--lp-text-light);
    border: 1px solid var(--lp-text-light);
    border-radius: 0;
    font-family: var(--lp-font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lp-form-section .wpcf7-form input[type="submit"]:hover {
    background-color: var(--lp-text-light);
    color: #1C2321;
}

/* Komunikaty walidacji / odpowiedzi */
.lp-form-section .wpcf7-response-output {
    grid-column: span 2;
    margin: 0 !important;
}

.lp-form-section .wpcf7-not-valid-tip {
    color: #ffb4b4;
    font-size: 0.75rem;
}

.lp-form-section .wpcf7-form .wpcf7-pum {
    display: none;
}

.lp-legal-notice {
    color: #B7BBBA;
}

/* --- FOOTER --- */
.lp-footer {
    background-color: #141918;
    padding: 50px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    border-top: 1px solid #252D2B;
}

.lp-logo-footer {
    max-width: 180px;
    height: auto;
    display: block;
}

.lp-footer-link {
    color: #B7BBBA;
    font-family: var(--lp-font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.25s ease;
}

.lp-footer-link:hover {
    color: var(--lp-text-light);
    text-decoration: underline;
}

.lp-footer-copy {
    color: #8A8F8E;
    font-family: var(--lp-font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-align: center;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .lp-info-block-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-side-event-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .lp-info-visualization img,
    .lp-side-event-image img {
        height: 350px;
    }

    .lp-highlight-banner p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .lp-hero {
        padding: 0 5%;
        justify-content: center;
        text-align: center;
    }

    .lp-hero-content {
        padding: 30px 20px;
    }

    .lp-hero-title {
        font-size: 2.5rem;
    }

    .lp-hero-promo {
        border-left: none;
        border-top: 1px solid var(--lp-text-light);
        padding-left: 0;
        padding-top: 15px;
    }
}
