/*
Theme Name: Wolny
Author: Brian Melendez
Description: Custom HTML to WordPress conversion.
Version: 1.0
*/

:root {
    --color-0: #6F4E37;
    --color-1: #B36D4C;
    --color-2: #38291F;
    --color-3: #EDE0D4;
    --color-4: #5D7961;
    --navbar-height: 80px;
    --footer-height: 55px;
    --body-min-height: calc(100vh - var(--navbar-height) - var(--footer-height)) !important;
}

.clean-navbar {
    background-color: var(--color-0) !important;
    height: var(--navbar-height) !important;
}

.clean-navbar * {
    color: #fff !important;
    background-color: var(--color-0) !important;
}

body {
    font-size: 18px !important;
    /*min-height: 100vh;*/
    /*margin-top: var(--navbar-height);*/
    /*padding-bottom: var(--footer-height);*/
}

.txt-white {
    color: #fff !important;
}

.z-index-1 {
    z-index: 1 !important;
}

.z-index-h {
    z-index: inherit !important;
}

.page {
    min-height: calc(100vh - var(--footer-height)) !important;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
    /*padding-bottom: var(--navbar-height);*/
    padding-top: var(--navbar-height);
}

.features {
    text-align: left !important;
}

.clean-pricing-item, form {
    border-color: var(--color-1) !important;
}

.text-info-wln {
    color: var(--color-4) !important;
}

.clean-block.clean-hero {
    background-image: url("./assets/img/main-bg-0.jpeg");
    color: rgba(0,0,0, 0.4);
}

.clean-block .block-heading p {
    max-width: none !important;
}

.page-footer.dark {
    height: var(--footer-height) !important;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.footer-copyright {
    background-color: var(--color-2) !important;
}

/*.product-line-item {*/
/*    min-width: 40% !important;*/
/*}*/

.product-line-item .features > h3 {
    font-size: 18px !important;
}

.product-line-item p {
    color: #57585C !important;
    opacity: 1;
}

.w-max-75 {
    max-width: 75% !important;
}

.dropdown-menu, .dropdown-menu * {
    background-color: var(--color-2) !important;
}

p {
    white-space: pre-line;
}

[data-i18n][data-untranslated] {
    visibility: hidden;
}

.product-heading {
    min-height: 6rem;
    align-content: center;
}

.wolny-link {
    color: var(--color-2) !important;
    text-decoration: underline;
}

/* Basic fix for WordPress Column Block alignment */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.75em;
}

@media (min-width: 782px) {
    .wp-block-columns {
        flex-wrap: nowrap;
    }
}

.wp-block-column {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wp-block-columns {
    display: flex !important; /* Forces flex behavior */
}

/* Ensure the columns don't lose their width when reordered */
.wp-block-column.order-last,
.wp-block-column.order-first {
    flex-basis: 0;
    flex-grow: 1;
}

/* Hide the sub-menu by default */
.navbar ul.sub-menu {
    display: none;
    position: absolute;
    background: #fff; /* Match your header background */
    padding: 10px;
    box-shadow: 0px 8px 15px rgba(0,0,0,0.1);
    list-style: none;
    z-index: 999;
}

/* Show sub-menu when hovering over the parent list item */
.navbar li:hover > ul.sub-menu {
    display: block;
}

/* Styling for the dropdown links */
.navbar ul.sub-menu li a {
    padding: 5px 15px;
    display: block;
    color: #333;
    text-decoration: none;
}

.navbar ul.sub-menu {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block; /* Change from none to block so transition works */
}

.navbar li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav-link > a {
    text-decoration: none !important;
}

.hr-border {
    border: 0 !important;
    border-top: 1px solid #000 !important;
}

.social-media-icon {
    font-size: 2.5rem !important;
}

/* Target the specific container from your screenshot */
.wp-block-columns.are-vertically-aligned-center {
    align-items: center;
}

/* Ensure the individual column contents are centered */
.wp-block-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-display{
    display: none;
}

.large-display{
    display: block;
}

.swiper-slide {
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/* This forces all columns in that row to start at the exact same pixel from the top */
.wp-block-columns.is-layout-flex {
    align-items: flex-start !important;
}

/* Specifically target the inner blocks of the first column */
.product-line-item > .wp-block-column {
    justify-content: flex-start !important;
}

@media (max-width: 300px) {
    .clean-block.clean-hero {
        background-image: url("./assets/img/panel2.jpeg?h=32978f7f74ae38e2ffff4a55b90c31ec");
        color: rgba(0,0,0, 0.4);
    }
}

@media (max-width: 768px) {
    .text-center {
        /*text-align: justify !important;*/
    }
}
@media (max-width: 767px) {
    .mobile-column-reverse {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    .mobile-column {
        display: flex !important;
        flex-direction: column !important;
    }
}

@media (max-width: 781px) {
    .small-display{
        display: block;
    }
    .large-display{
        display: none;
    }
}

/* Desktop: full horizontal menu */
.navbar .navbar-nav {
    display: flex !important;
}

/* Mobile: hide the horizontal menu links, show only logo + hamburger */
@media (max-width: 768px) {  /* Bootstrap md breakpoint */
    /* Optional: make sure the navbar still shows logo */
    .navbar {
        justify-content: space-between;
    }

    /* Style your hamburger if needed */
    .menu-toggle {
        font-size: 1.8rem;
        background: none;
        border: none;
        color: inherit;
        padding: 0.5rem;
    }
}

/* Force hamburger visibility on mobile */
.navbar-toggler {
    display: block !important;
    font-size: 1.9rem;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.15);
    color: inherit;
}

@media (min-width: 992px) {
    .navbar-toggler { display: none !important; }
}