/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


.material-symbols-outlined {
    font-variation-settings: 'wght' 100;
}

/* ============================================================
   FORMULAR — Contact Form 7
   ============================================================ */

.formular-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.formular-field {
    display: flex;
    flex-direction: column;
}

.formular-field--full {
    grid-column: 1 / -1;
}

/* Inputs & Textarea */
.formular-grid input[type="text"],
.formular-grid input[type="tel"],
.formular-grid input[type="email"],
.formular-grid input[type="date"],
.formular-grid input[type="number"],
.formular-grid textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.04em;
    padding: 12px 0;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.formular-grid textarea {
    resize: none;
    min-height: 120px;
}

.formular-grid input::placeholder,
.formular-grid textarea::placeholder {
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.04em;
}

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

/* Focus state */
.formular-grid input:focus,
.formular-grid textarea:focus {
    border-bottom-color: #ffffff;
}

/* Submit button */
.formular-grid input[type="submit"] {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 40px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    width: fit-content;
}

.formular-grid input[type="submit"]:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0d0d0d;
}

/* Validation messages */
.formular-grid .wpcf7-not-valid-tip {
    color: rgba(255, 100, 100, 0.8);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-top: 4px;
}

.formular-grid .wpcf7-not-valid {
    border-bottom-color: rgba(255, 100, 100, 0.6) !important;
}

.wpcf7-response-output {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    letter-spacing: 0.04em !important;
    padding: 12px 20px !important;
    margin-top: 20px !important;
}

/* ============================================================
   CĂSUȚE — Gallery Slider (Splide)
   ============================================================ */

.casuta-splide {
    width: 100%;
    overflow: hidden;
}

.casuta-splide .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Arrows */
.casuta-splide .splide__arrow {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0;
    width: 44px;
    height: 44px;
    opacity: 1;
    transition: background 0.3s ease;
}

.casuta-splide .splide__arrow:hover {
    background: rgba(0, 0, 0, 0.75);
}

.casuta-splide .splide__arrow svg {
    fill: #ffffff;
    width: 16px;
    height: 16px;
}

/* Pagination dots */
.casuta-splide .splide__pagination__page {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0;
    width: 24px;
    height: 2px;
    margin: 0 3px;
    transition: background 0.3s ease, width 0.3s ease;
}

.casuta-splide .splide__pagination__page.is-active {
    background: #ffffff;
    width: 40px;
    transform: none;
}

/* ============================================================
   FLATPICKR — dark theme override
   ============================================================ */

.flatpickr-calendar {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    box-shadow: 0 16px 48px rgba(35, 56, 44, 0.6);
    font-family: inherit;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
    border-bottom-color: #111111;
}

.flatpickr-months {
    background: #111111 !important;
}

.flatpickr-months .flatpickr-month {
    background: #111111 !important;
    color: #ffffff !important;
    fill: #ffffff !important;
}

.flatpickr-current-month {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #111111 !important;
    color: #ffffff !important;
    font-weight: 300;
    letter-spacing: 0.06em;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #111111 !important;
    color: #ffffff !important;
}

.flatpickr-current-month input.cur-year {
    color: #ffffff !important;
    font-weight: 300;
    letter-spacing: 0.06em;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: #ffffff !important;
    color: #ffffff !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    fill: #ffffff !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    fill: #ffffff !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #ffffff !important;
}

.flatpickr-weekdays,
.flatpickr-weekday {
    background: #111111;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.flatpickr-day {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    border-radius: 0;
    border: none;
}

.flatpickr-day:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: none;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #ffffff;
    color: #0d0d0d;
    border: none;
    font-weight: 400;
}

.flatpickr-day.inRange {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    box-shadow: none;
}

.flatpickr-day.today {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.flatpickr-day.today:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: rgba(255, 255, 255, 0.15);
}

/* ── Bright variant — for dark sections with image backgrounds ── */

.formular-bright .formular-grid input[type="text"],
.formular-bright .formular-grid input[type="tel"],
.formular-bright .formular-grid input[type="email"],
.formular-bright .formular-grid input[type="date"],
.formular-bright .formular-grid input[type="number"],
.formular-bright .formular-grid textarea {
    border-bottom-color: #ffffff;
    color: #ffffff;
}

.formular-bright .formular-grid input::placeholder,
.formular-bright .formular-grid textarea::placeholder {
    color: #ffffff;
}

.formular-bright .formular-grid input:focus,
.formular-bright .formular-grid textarea:focus {
    border-bottom-color: #ffffff;
}

.formular-bright .formular-grid input[type="submit"] {
    border-color: #ffffff;
    color: #ffffff;
}

.formular-bright .formular-grid input[type="submit"]:hover {
    background: #ffffff;
    color: #0d0d0d;
}

/* ── Light variant — for white/light background sections ── */

.formular-light .formular-grid input[type="text"],
.formular-light .formular-grid input[type="tel"],
.formular-light .formular-grid input[type="email"],
.formular-light .formular-grid input[type="date"],
.formular-light .formular-grid input[type="number"],
.formular-light .formular-grid textarea {
    border-bottom-color: #23382C;
    color: #23382C;
}

.formular-light .formular-grid input::placeholder,
.formular-light .formular-grid textarea::placeholder {
    color: #23382C;
}

.formular-light .formular-grid input:focus,
.formular-light .formular-grid textarea:focus {
    border-bottom-color: #23382C;
}

.formular-light .formular-grid input[type="submit"] {
    border-color: #23382C;
    color: #23382C;
}

.formular-light .formular-grid input[type="submit"]:hover {
    background: #23382C;
    border-color: #23382C;
    color: #ffffff;
}

.formular-light .wpcf7-response-output {
    border-color: #23382C !important;
    color: #23382C !important;
}

/* Mobile */
@media (max-width: 640px) {
    .formular-grid {
        grid-template-columns: 1fr;
    }

    .formular-field--full {
        grid-column: 1;
    }
}