/* ==========================================================================
   Włoski Van — Dedykowane style
   ========================================================================== */

/* --- Custom Properties --- */
.page-wloski-bar {
    --wbar-bg: #f8f8f5;
    --wbar-text: #111111;
    --wbar-taupe: #928679;
    --wbar-orange: #e67e22;

    background-color: var(--wbar-bg);
    color: var(--wbar-text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* --- Lenis --- */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* --- Preloader --- */
.wbar-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #111111;
    color: #f8f8f5;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display', serif;
}

/* --- Navigation --- */
.wbar-nav {
    font-family: 'Inter', sans-serif;
}

/* --- Hero --- */
.wbar-hero-img-container {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    will-change: transform;
}

.wbar-hero-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    will-change: transform;
}

.wbar-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.wbar-line-wrapper {
    overflow: hidden;
    display: inline-block;
}

.wbar-line-content {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}

/* --- Trust Logos --- */
.wbar-trust-logos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.wbar-trust-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    padding: 1rem; 
    background-color: #1e1502;
    border-radius: 10px;
}

.wbar-trust-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1; /* Maximum visibility */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.wbar-trust-logo-item:hover img {
    transform: scale(1.05);
}

/* --- Background utility --- */
.wbar-bg-default {
    background-color: var(--wbar-bg);
}

/* --- Gallery --- */
.wbar-gallery-item {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    overflow: hidden;
}

.wbar-gallery-img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

@media (hover: hover) {
    .wbar-gallery-item:hover .wbar-gallery-img {
        transform: scale(1.05);
    }
}

/* --- Clip Mask (Vibe section) --- */
.wbar-clip-mask {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    will-change: clip-path;
}

/* --- FAQ --- */
.wbar-faq-item {
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.wbar-faq-question {
    width: 100%;
    text-align: left;
    padding: 2rem 0;
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

.wbar-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-weight: 300;
    color: #4b5563;
}

.wbar-faq-answer.active {
    max-height: 300px;
    padding-bottom: 2rem;
}

.wbar-faq-icon {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.wbar-faq-item.active .wbar-faq-icon {
    transform: rotate(45deg);
}

/* --- Contact Section --- */
.wbar-contact {
    background-color: var(--wbar-taupe);
}

form p {
	margin-bottom: 30px;
}

.footer__form-input {
	font-size: 1.6rem;
	background-color: transparent;
	color: #fff;
	border: none;
	border-bottom: 1px solid #fff;
	height: auto; /* Changed from 65px to auto */
	line-height: 1.4; /* Changed from 65px */
    padding: 25px 0 10px; /* Added padding to maintain height and visibility */
	width: 100%;
    border-radius: 0;
    transition: border-color 0.3s ease;
}

.footer__form-input:focus {
	outline: 0;
    border-bottom-color: #fff;
}

textarea.footer__form-input {
	height: 150px; /* Increased from 70px to avoid cutting off multi-line text */
    line-height: 1.5;
    padding-top: 1.5rem;
    resize: vertical;
}

.footer__form-input::placeholder {
	color: rgba(255, 255, 255, 0.8);
}

/* Date input specifically */
.wpcf7-date.footer__form-input {
    padding-top: 25px;
    padding-bottom: 10px;
}

.wpcf7-date.footer__form-input:before {
	content: attr(placeholder);
    color: rgba(255, 255, 255, 0.8);
    margin-right: 0.5em;
}

.wpcf7-date.footer__form-input:focus:before,
.wpcf7-date.footer__form-input:valid:before {
    content: "";
}

.footer__form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Checkboxes event_wedding */
.wpcf7-checkbox.event_wedding .wpcf7-list-item {
    margin: 0 10px 0 0;
}

.wpcf7-checkbox.event_wedding label {
	color: #fff;
	font-size: 1.6rem;
	display: inline-flex;
    align-items: center;
	cursor: pointer;
    line-height: inherit;
}

.wpcf7-checkbox input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #fff;
	border-radius: 4px;
	outline: none;
	cursor: pointer;
	transition: all 0.3s;
	vertical-align: middle;
	margin-right: 10px;
    margin-left: 10px;
    position: relative;
}

.wpcf7-checkbox input[type="checkbox"]:checked {
	background-color: #e57b006e;
	border: 4px solid #fff;
}

/* Submit Button */
.footer__form-button {
	width: 244px !important;
	height: 64px !important;
	background-color: #e57b00 !important;
	font-size: 1.8rem !important;
	color: #fff !important;
	border: 1px solid transparent !important;
	margin-top: 30px;
	cursor: pointer;
	border-radius: 5px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 1 !important;
    visibility: visible !important;
}

.footer__form-button:hover {
	background-color: transparent !important;
	color: #fff !important;
	border: 1px solid #fff !important;
}

.footer__form-button:focus {
	outline: 0;
}

/* Validation Tips */
.wpcf7-not-valid-tip {
    color: #fff;
    background: #dc3232;
    padding: 5px 10px;
    font-size: 1.2rem;
    margin-top: 5px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 576px) {
	textarea.footer__form-input {
		height: 100px;
		line-height: 140%;
	}
	.footer__form-input, 
    .wpcf7-checkbox.event_wedding label {
		font-size: 1.1rem;
	}
    .footer__form-button {
		width: 160px !important;
		height: 55px !important;
		display: block !important;
		margin: 30px auto !important;
        font-size: 1rem !important;
	}
}

/* --- Testimonials --- */
.wbar-testimonials {
    background-color: #111111;
}

/* --- Footer --- */
.wbar-footer {
    background-color: #111111;
}

.cmp-logo__image {
    fill: #fff;
}
